/* =====================================================
   ESPY ADVISORY – EXECUTIVE PREMIUM STYLESHEET
   Hybrid Light + Navy Corporate System
===================================================== */

/* ===============================
   1. ROOT VARIABLES
================================= */

/* ===================================
   1. LIGHT MODE (DEFAULT)
=================================== */

:root {

  /* BRAND */
  --brand-primary: #4C3DFF;

  /* BACKGROUNDS */
  --bg-primary: #0A0A1F;
  --bg-section: #14143A;
  --bg-card: #1C1C4D;

  /* TEXT */
  --text-primary: #F8FAFC;
  --text-secondary: #000;

  /* BORDERS */
  --border-color: #2E2E66;

  --bg: #121212;
  --card-bg: #1e1e1e;
  --text: #ffffff;
}




/* ===============================
   2. GLOBAL RESET
================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'bold', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.7;
  transition: background 0.4s ease , color 0.4s ease;
}

p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}
p{
    color: var(--text-secondary);
}
a {
  text-decoration: none;
  color: inherit;
}

/* ================= NAVBAR ================= */


.navbar{

position:fixed;
top:0;
width:100%;
background:white;
padding:0 40px;
box-shadow:0 5px 20px rgba(0,0,0,0.05);
z-index:1000;

}

.nav-container{

display:flex;
justify-content:space-between;
align-items:center;
height: 85px;

}

/* LOGO FIX */
.logo{
  position: relative;
  height: 100px;
  display: flex;
  align-items: center;
  z-index: 1001;
  overflow: visible;
}
.logo img {
            position: relative;
            top: 0;
            left: 0;
            transform: none;
            height: 200px;
            width: auto;
            transition: 0.3s;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 38px;
    font-size: 24px;
    line-height: 1;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgb(18, 4, 106);
    color: white;
    border-radius: 10px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.16);
}

.menu-toggle .sme-icon,
.menu-toggle .material-symbols-outlined {
    display: block;
    font-size: 24px;
    line-height: 1;
    color: white !important;
    fill: white !important;
}

.nav-links a{

margin-left:30px;
text-decoration:none;
color:rgb(18, 4, 106);
font-weight:500;

}
  
@media(max-width:768px){

  .navbar{
    padding:0 15px;
  }

  .nav-container{
    position:relative;
    height: 70px;
  }

  .menu-toggle{
    display:flex;
    position:absolute;
    right:20px;
    top:50%;
    width:38px;
    height:34px;
    transform:translateY(-50%);
    font-size:24px;
    cursor:pointer;
    background: rgba(18, 4, 106, 0.96);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    padding:0;
  }

  .menu-toggle .sme-icon,
  .menu-toggle .material-symbols-outlined {
    font-size: 22px;
    line-height:1;
    color: white !important;
    fill: white !important;
  }

  .nav-links{
    display:none;
    flex-direction:column;
    color:rgb(18, 4, 106);
    position:absolute;
    top:70px;
    left:0;
    width:100%;
    padding:20px 0;
    align-items: center;
    background: rgb(18, 4, 106);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    z-index: 999;
  }

  .nav-links a{
    color:white;
    margin:10px 0;
    padding: 10px 20px;
    width: calc(100% - 40px);
    text-align: center;
    border-radius: 999px;
  }

  .nav-container.active .nav-links{
    display:flex;
  }

}
.logo {
    height: 100px; /* Adjust for mobile */
  }

  .logo img {
    height: 220px; /* Slightly smaller on mobile */
    top: -10px;
  }

    /* HERO */
    .hero{height:100vh;position:relative;display:flex;justify-content:center;align-items:center;text-align:center;overflow:hidden}
    .slider{position:relative;width:100%;height:100%}
    .slider .slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1.2s ease}
    .slider .slide.active{opacity:1}
    .overlay{position:absolute;inset:0;background:rgba(0,0,0,.45)}
    .hero-content{position:relative;z-index:2;color:#fff;max-width:800px;padding:20px}
    .hero-content h1, .hero-content p{color:#ffffff !important;text-shadow:0 6px 20px rgba(0,0,0,0.75)}
    .hero-content h1{font-size:4rem;margin-bottom:20px}
    .hero-content p{font-size:1.2rem;margin-bottom:30px}
    .btn{display:inline-block;padding:15px 35px;background:rgb(18, 4, 106);color:#fff;text-decoration:none;border-radius:50px;font-weight:600;transition:.4s}
    .btn:hover{background:#0f3460;transform:translateY(-3px)}

    /* INTRO */
    .intro{padding:50px 10%;text-align:center}
    .intro h2{color:rgb(18, 4, 106);margin-bottom:15px;font-size:2.5rem}

    /* SERVICES */
    .services{padding:50px 8%;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
    .flip-card{height:350px;perspective:1000px}
    .flip-inner{position:relative;width:100%;height:100%;transform-style:preserve-3d;animation:flip 13s infinite}
    .flip-front,.flip-back{position:absolute;width:100%;height:100%;backface-visibility:hidden;border-radius:50px;padding:20px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;color:white}
    .flip-front h3 {
        font-size: 30px;
    }
    .yellow .flip-front,.yellow .flip-back{background:rgb(18, 4, 106)}
    .blue .flip-front,.blue .flip-back{background:rgb(18, 4, 106)}
    .green .flip-front,.green .flip-back{background:rgb(18, 4, 106)}
    .services p{
        color: #fff;
    }
    .flip-back{transform:rotateY(180deg)}
    @keyframes flip{0%,40%{transform:rotateY(0)}50%,90%{transform:rotateY(180deg)}100%{transform:rotateY(360deg)}}

    

    

    /* remove CTA/footer inline styles so assets/css/style.css controls them */
    @media(max-width:768px){
        .navbar{flex-direction:column}
        .hero-content h1{font-size:2.5rem}
        .hero-content p{font-size:1rem}
        .logo img{height:55px}
    }

/* ===============================
   3. CONTAINER SYSTEM
================================= */

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: auto;
  text-align: center;
}

.section {
  padding: 55px 8%;
  position: relative;
 
  color: white;
} 


.section-dark h2{
  color:  slategray;
  font-weight: bold;
  font-size: 600;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* ===============================
   4. NAVBAR
================================= */


/* ===============================
   5. HERO SECTION
================================= */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: url('../img/Espy\ logo\ no\ background\ \(1\).png') center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11,31,59,0.9) 0%,
    rgba(11,31,59,0.7) 40%,
    rgba(11,31,59,0.3) 100%
  );
}

.hero-content {
  position: relative;
  color: white;
  max-width: 650px;
  animation: fadeUp 1s ease forwards;
 
}

.hero h1 {
  font-size: 15px !important;
  margin-bottom: 20px;
}

.hero p {
  font-size: 15px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}
.hero-description {
  max-width: 760px;
  margin: 24px auto 40px auto;
  text-align: center;
  line-height: 1.8;
  color: #1f2937;
  padding: 0 18px;
}
.btn-primary {
  background: white;
  color: rgb(18, 4, 106);
  padding: 14px 28px;
  border-radius: 30px;
  display: inline-block;
  transition: 0.3s ease;
  font-weight: 600;
}

.btn-primary:hover {
  background: white;
  color: rgb(18, 4, 106);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(18, 4, 106, 0.2);
}
.btn-outline {
  border: 2px solid white;
  padding: 12px 28px;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-outline:hover {
  background: white;
  color: var(--navy-dark);
}

/* ===============================
   6. CARD SYSTEM
================================= */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}


/* ===============================
   7. IMPACT COUNTERS
================================= */

.counter {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent-gold);
}
/* ===============================
   8. CLIENT LOGO GRID
================================= */

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  align-items: center;
  opacity: 0.8;
}

.logo-grid img {
  filter: grayscale(100%);
  transition: var(--transition);
}

.logo-grid img:hover {
  filter: grayscale(0%);
}

/* ===============================
   9. CONTACT FORM
================================= */

form {
  display: grid;
  gap: 20px;
}

input, textarea {
  padding: 14px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--corporate-blue);
}

/* ===============================
   10. FOOTER
================================= */

.footer {
  background: rgb(18, 4, 106);
  color: white;
  padding: 60px 5% 20px;
  position: relative;
  overflow: hidden;
}

body.dark-mode .footer {
  background: linear-gradient(135deg, #667eea 0%, rgb(18, 4, 106) 25%, rgb(18, 4, 106) 50%, #4facfe 75%, #00f2fe 100%);
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
  color: #f8fafc;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 3.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  width: 200px;
}

.footer-logo-img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

body.dark-mode .footer-logo-img {
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

body.dark-mode .footer-tagline {
  color: rgba(255,255,255,0.85);
}

.footer-mode-toggle {
  margin-top: 10px;
}

.mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}

body.dark-mode .mode-btn {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

.mode-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.mode-icon {
  font-size: 16px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 30px;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  width: 200px;
}

.footer-logo-img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

body.dark-mode .footer-logo-img {
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

body.dark-mode .footer-tagline {
  color: rgba(255,255,255,0.85);
}

.footer-mode-toggle {
  margin-top: 10px;
}

.mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}

body.dark-mode .mode-btn {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

.mode-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.mode-icon {
  font-size: 16px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-section h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: white;
  transform: translateX(5px);
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

.contact-info li i {
  color: white;
  width: 16px;
}

.footer-social {
  text-align: center;
  margin-bottom: 40px;
}

.footer-social h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 18px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
}

.social-link:hover {
  background: white;
  color: #667eea;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 30px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: white;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* RESPONSIVE FOOTER */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 5% 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .social-links {
    gap: 15px;
  }

  .social-link {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
}


/* Footer bottom layout: align developer credit to the right on desktop, centered on small screens */
.footer-bottom-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    width:100%;
}
.footer-legal{
    display:flex;
    align-items:center;
    gap:8px;
}
.footer-legal a{color:inherit;text-decoration:none}
.footer-legal span{font-weight:500}

@media (max-width:576px){
    .footer-bottom-content{flex-direction:column;text-align:center;gap:8px}
    .footer-legal{justify-content:center}
}
/* ===============================
   11. ANIMATIONS
================================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition);
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   12. RESPONSIVE
================================= */

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    height: auto;
    padding: 140px 0 80px;
  }
}

.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: white;
}

.slides {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
  animation: heroZoom 8s ease-in-out infinite;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Optional: use class to force no cropping in inner content */
.section-dark, .hero-slider .slide {
  background-repeat: no-repeat;
  background-position: center center;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11,31,59,0.18) 0%,
    rgba(11,31,59,0.12) 50%,
    rgba(11,31,59,0.08) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.dot {
  width: 10px;
  height: 10px;
  background: white;
  opacity: 0.4;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  opacity: 1;
}

.slider-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 3;
  pointer-events: none;
}

.slider-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  pointer-events: all;
  backdrop-filter: blur(10px);
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}



/* Responsive */

@media(max-width: 900px){
  .service-cards {
    grid-template-columns: 1fr;
  }
}

:root {
  --bg-color: #ffffff;
  --text-color: #0B1F3B;
  --nav-bg: rgba(255,255,255,0.85);
  --card-bg: #ffffff;
}

/* DARK MODE */

body.dark-mode {
  --bg-color: #0F172A;
  --text-color: #F1F5F9;
  --nav-bg: rgba(15,23,42,0.9);
  --card-bg: #1E293B;
}

/* =========================
   GLOBAL
========================= */

body {
  background: var(--bg-color);
  color: var(--text-color);
  transition: 0.3s ease;
}

/* =========================
   NAVBAR
========================= */


  

/* RIGHT SIDE */



.login {
  color: white;
  text-decoration: none;
}

.btn-nav {
 
  display: inline-block;
  background: rgb(18, 4, 106);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(79, 172, 254, 0.3);
  margin-bottom: 30px;
  margin-top: 60px;
}

.btn-nav:hover {
  background: slategrey;
}

/* THEME ICON */

.theme-toggle {
  cursor: pointer;
  color: white;
}

/* WHEN SCROLLING */

/* SCROLLED STATE */
.navbar.scrolled {
  background: var(--bg-primary);
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
/* When scrolled in LIGHT MODE */
body:not(.dark-mode) .navbar.scrolled .nav-links a,
body:not(.dark-mode) .navbar.scrolled .login,
body:not(.dark-mode) .navbar.scrolled .theme-toggle {
  color: #0A0A0A;
}

/* When scrolled in DARK MODE */
body.dark-mode .navbar.scrolled .nav-links a,
body.dark-mode .navbar.scrolled .login,
body.dark-mode .navbar.scrolled .theme-toggle {
  color: white;
}
.navbar.scrolled .nav-links a,
.navbar.scrolled .login,
.navbar.scrolled .theme-toggle {
  color: white;
}

.navbar.scrolled .btn-nav {
  background:rgb(18, 4, 106) ;
  color: white;
}
.trusted-section {
  padding: 80px 0;
  background: #f8fafc;
  text-align: center;
  overflow: hidden;
}

.trusted-section p {
  margin-bottom: 40px;
  font-weight: 500;
  color: #64748b;
}

.logo-slider{
overflow:hidden;
width:100%;
margin-top:40px;
}

.logo-track{
display:flex;
align-items:center;
gap:60px;
animation:scrollLogos 30s linear infinite;
}

.logo-track img{
height:100px;
width: auto;
margin: 0 40px;
opacity:0.8;
filter:grayscale(100%);
transition:0.3s;
}

.logo-track img:hover{
opacity:1;
filter:grayscale(0%);
}

@keyframes scrollLogos{
0%{transform:translateX(0);}
100%{transform:translateX(-50%);}
}


/* ===== SERVICES SECTION ===== */
/* =========================
   SERVICES SECTION
========================= */
.services-section {
  padding: 80px 40px;
  background: var(--bg-section);
  transition: background 0.3s;
}

.containerser {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 40px;
  justify-items: center;
  max-width: 1140px;
  margin: 0 auto;
}

@media (max-width: 768px){
  .containerser {
    grid-template-columns: 1fr; /* Mobile: one card per row */
  }
}

/* CARD STRUCTURE */

.card{
width:280px;
height:380px;
perspective:1200px;
position:relative;
}

.card-inner{
width:100%;
height:100%;
position:relative;
transform-style:preserve-3d;
animation: cardFlip 8s infinite;
}
.card:hover{
  transform: translateY(-8px);
  transition: 0.3s ;
}
.card h3{
  color: var(--text-primary);
  font-size: 18px;
}
.card:nth-child(1) h3 {
  font-size: 16px;
}
.card p{
  color: var(--text-secondary);
}
.front,
.back{
position:absolute;
width:100%;
height:100%;
backface-visibility:hidden;
border-radius:12px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
background: var(--bg-card);
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
padding:20px;
}

.back{
transform:rotateY(180deg);
background: rgb(18, 4, 106);
color: white !important;
}
.back p{
  color: rgba(255,255,255,0.9) !important;
}
/* IMAGE */

.image{
width:100%;
height:150px;
background-size:cover;
background-position:center;
border-radius:8px;
margin-bottom:15px;
}

/* AUTO FLIP */

@keyframes cardFlip{

0%{
transform:rotateY(0deg);
}

40%{
transform:rotateY(0deg);
}

60%{
transform:rotateY(180deg);
}

100%{
transform:rotateY(180deg);
}

}

/* DIFFERENT BACK COLORS - ALL SAME rgb(18, 4, 106) */
.card:nth-child(1) .back { background: rgb(18, 4, 106); color: white !important; }
.card:nth-child(2) .back { background: rgb(18, 4, 106); color: white !important; }
.card:nth-child(3) .back { background: rgb(18, 4, 106); color: white !important; }
.card:nth-child(4) .back { background: rgb(18, 4, 106); color: white !important; }

/* IMAGE */
.image {
  width: 100%;
  height: 100px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* FLIP BUTTON */
.flip-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s;
  z-index: 10;
}

.flip-btn:hover {
  transform: rotate(180deg);
  background: rgba(255,255,255,1);
}

body.dark-mode .flip-btn {
  background: rgba(0,0,0,0.7);
  color: white;
}

.animated-hero {
  position: relative;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #5f2eea, #8c6bff);
  transition: background 0.5s;
}
body.dark-mode .animated-hero {
  background:#0f172a;
}
.animated-hero-content {
  position: relative;
  z-index: 2;
  color: var(--text);
}

#animated-hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



.cta-section {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%), url('assets/img/img/board2.png') no-repeat center center / cover;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23ff6b6b;stop-opacity:0.3"/><stop offset="50%" style="stop-color:%234ecdc4;stop-opacity:0.3"/><stop offset="100%" style="stop-color:%2345b7d1;stop-opacity:0.3"/></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23a8e6cf;stop-opacity:0.2"/><stop offset="50%" style="stop-color:%23ffd3a5;stop-opacity:0.2"/><stop offset="100%" style="stop-color:%23ffaaa5;stop-opacity:0.2"/></linearGradient></defs><rect width="1200" height="600" fill="url(%23grad1)"/><g stroke="url(%23grad2)" stroke-width="2" fill="none"><path d="M0,300 Q300,100 600,300 T1200,300" class="animate-path"/><path d="M0,400 Q300,200 600,400 T1200,400" class="animate-path"/><path d="M0,200 Q300,400 600,200 T1200,200" class="animate-path"/><path d="M0,500 Q300,300 600,500 T1200,500" class="animate-path"/></g><style>.animate-path{animation: draw 8s ease-in-out infinite; stroke-dasharray: 1000; stroke-dashoffset: 1000;}@keyframes draw{to{stroke-dashoffset: 0;}}</style></svg>');
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: white;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  color: white;
}

.cta-section .btn-primary {
  background: white;
  color: rgb(18, 4, 106);
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

body.dark-mode .cta-section .btn-primary {
  background: #25d366;
  color: white;
}

.cta-section .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

/* Premium Animated Gallery CTA Section */
.cta-hero-gallery {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 20px;
  overflow: hidden;
  color: #fff;
}

.cta-gallery-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.4) saturate(1.2) contrast(1.1);
  z-index: 1;
}

.cta-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18,4,106,0.85) 0%, rgba(102,126,234,0.75) 50%, rgba(118,75,162,0.85) 100%);
  z-index: 2;
}

.cta-gallery-items {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.cta-gallery-items .gallery-item {
  position: absolute;
  width: 200px;
  height: 150px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  overflow: hidden;
  animation: galleryFloat 15s ease-in-out infinite;
}

.cta-gallery-items .gallery-item:nth-child(1) {
  top: 10%;
  left: 5%;
  animation-duration: 14s;
  animation-delay: 0s;
}

.cta-gallery-items .gallery-item:nth-child(2) {
  top: 20%;
  right: 10%;
  animation-duration: 16s;
  animation-delay: 2s;
}

.cta-gallery-items .gallery-item:nth-child(3) {
  bottom: 15%;
  left: 15%;
  animation-duration: 18s;
  animation-delay: 4s;
}

.cta-gallery-items .gallery-item:nth-child(4) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 20s;
  animation-delay: 1s;
}

.cta-gallery-items .gallery-item:nth-child(5) {
  bottom: 25%;
  right: 5%;
  animation-duration: 17s;
  animation-delay: 3s;
}

.cta-gallery-items .gallery-item:nth-child(6) {
  top: 5%;
  right: 25%;
  animation-duration: 19s;
  animation-delay: 5s;
}

@keyframes galleryFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0.9;
  }
  25% {
    transform: translateY(-20px) rotate(2deg) scale(1.05);
    opacity: 1;
  }
  50% {
    transform: translateY(-10px) rotate(-1deg) scale(1.02);
    opacity: 0.95;
  }
  75% {
    transform: translateY(-25px) rotate(1deg) scale(1.08);
    opacity: 1;
  }
}

.cta-gallery-content {
  display: none;
}

/* Provide clean gallery-only layout */
.cta-hero-gallery {
  padding: 40px 20px;
  min-height: 520px;
}

.cta-gallery-overlay {
  background: none;
  opacity: 0.15;
}

.cta-gallery-bg {
  filter: brightness(0.65) saturate(1.1);
}

.cta-gallery-items .gallery-item {
  width: 230px;
  height: 180px;
  border-radius: 20px;
}

.cta-gallery-items .gallery-item:nth-child(1) {
  top: 8%;
  left: 6%;
}

.cta-gallery-items .gallery-item:nth-child(2) {
  top: 22%;
  right: 8%;
}

.cta-gallery-items .gallery-item:nth-child(3) {
  bottom: 18%;
  left: 12%;
}

.cta-gallery-items .gallery-item:nth-child(4) {
  top: 48%;
  left: 48%;
  transform: translate(-50%, -50%);
}

.cta-gallery-items .gallery-item:nth-child(5) {
  bottom: 22%;
  right: 8%;
}

.cta-gallery-items .gallery-item:nth-child(6) {
  top: 10%;
  right: 20%;
}

.cta-gallery-content h2 {
  color: #fff;
  font-size: 3.2rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.cta-gallery-content p {
  color: rgba(255,255,255,0.95);
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 35px;
  line-height: 1.6;
}

.cta-gallery-content .btn-primary {
  background: #fff;
  color: rgb(18, 4, 106);
  padding: 16px 45px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.cta-gallery-content .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

/* Responsive adjustments for CTA gallery */
@media (max-width: 1024px) {
  .cta-gallery-items .gallery-item {
    width: 150px;
    height: 120px;
  }
  .cta-gallery-content h2 { font-size: 2.5rem; }
  .cta-gallery-content p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .cta-gallery-items { display: none; }
  .cta-gallery-content {
    padding: 30px 20px;
    margin: 20px;
  }
  .cta-gallery-content h2 { font-size: 2rem; }
  .cta-gallery-content p { font-size: 1rem; }
}

/* Responsive adjustments for CTA section */
@media (max-width: 768px) {
  .cta-section::before {
    opacity: 0.2;
  }
  
  .cta-section h2 {
    font-size: 2rem;
  }
  
  .cta-section p {
    font-size: 1rem;
  }
}

.testimonial-card{
background:white;
padding:35px;
border-radius:10px;
box-shadow:0 10px 25px rgba(0,0,0,0.05);
text-align:left;
}

.testimonial-card p{
font-style:italic;
margin-bottom:20px;
color:#555;
}

.testimonial-card h4{
color:rgb(18, 4, 106);
margin-bottom:4px;
}

.testimonial-card span{
font-size:14px;
color:#777;
}

/* ================= HERO ANIMATION ================= */

.hero-animation{
height:500px;
display:flex;
align-items:center;
justify-content:center;
flex-direction:column;
background:#f4f6fb;
position:relative;
overflow:hidden;
}

.hero-content{
text-align:center;
max-width:700px;
z-index:2;
}

.hero-content h1{
font-size:36px;
margin-bottom:20px;
}

.hero-content p{
color:#555;
}

.orbit{
position:absolute;
width:350px;
height:350px;
border-radius:50%;
animation:rotateOrbit 20s linear infinite;
}

.e{
position:absolute;
font-size:28px;
font-weight:bold;
color:#6c4cff;
}

.e:nth-child(1){ top:-20px; left:50%; }
.e:nth-child(2){ top:50%; right:-20px; }
.e:nth-child(3){ bottom:-20px; left:50%; }
.e:nth-child(4){ top:50%; left:-20px; }
.e:nth-child(5){ top:20%; left:20%; }

@keyframes rotateOrbit{

0%{
transform:rotate(0deg);
}

100%{
transform:rotate(360deg);
}

}

/* ================= TESTIMONIALS ================= */

.testimonials{
padding:120px 8%;
background:#f4f6fb;
text-align:center;
overflow:hidden;
}

.testimonials h2{
margin-bottom:60px;
}

.testimonial-slider{
overflow:hidden;
position:relative;
}

.testimonial-track{
display:flex;
gap:80px;
animation:scrollTestimonials 25s linear infinite;
}

.testimonial{
min-width:280px;
max-width:320px;
text-align:center;
}

.testimonial img{
width:90px;
height:90px;
border-radius:50%;
object-fit:cover;
margin-bottom:15px;
}

.testimonial h4{
color:rgb(18, 4, 106);
margin-bottom:6px;
}

.stars{
color:#FFD700;
margin-bottom:10px;
}

.testimonial p{
font-style:italic;
color:#555;
}

@keyframes scrollTestimonials{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-50%);
}

}
.whatsapp-float{
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  z-index: 999;
  transition: 0.3s;
  text-decoration: none;
}

.whatsapp-float i{
  color: white;
  font-size: 28px;
}

.whatsapp-float:hover{
  transform: scale(1.1);
}
/* MOBILE */
@media(max-width: 768px){

  .nav-container{
    flex-direction: column;
    align-items: center;
  }

  .nav-links{
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .section{
    padding: 60px 20px;
  }

  h1{
    font-size: 28px;
  }

  h2{
    font-size: 24px;
  }

  p{
    font-size: 14px;
  }

  /* Leadership section */
  .about-leadership{
    flex-direction: column;
    text-align: center;
  }

  .about-leadership img{
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px;
  }

}
.cv-section {
  background-color: #f9f9f9;
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
}

.cv-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.cv-profile {
  flex: 1 1 250px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.profile-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid #0077b6;
}

.profile-name {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.profile-contact {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.cv-bio {
  flex: 2 1 600px;
  background-color: #ffffff;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.cv-bio h3 {
  color: #0077b6;
  margin-bottom: 10px;
}

.cv-bio p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
}

.cv-bio ul {
  list-style: disc inside;
  color: #333;
}

@media (max-width: 768px) {
  .cv-container {
    flex-direction: column;
  }
}

/* ================= NEW ANIMATED SECTIONS ================= */

/* ESD ADVISORY SECTION */
.esd-section {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(18, 4, 106, 0.04) 0%, rgba(79, 172, 254, 0.08) 100%);
  position: relative;
  overflow: hidden;
}

body.dark-mode .esd-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.esd-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.esd-content {
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.esd-text {
  flex: 1;
  min-width: 350px;
}

.esd-text h2 {
  font-size: 42px;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 700;
}

body.dark-mode .esd-text h2 {
  color: #ffffff;
}

.esd-text p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

body.dark-mode .esd-text p {
  color: rgba(255, 255, 255, 0.85);
}

.feature-item > span:not(.feature-icon),
.strategy-item > span:not(.strategy-icon),
.sme-item > span:not(.sme-icon) {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.esd-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 30px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon {
  font-size: 24px;
  min-width: 30px;
  text-align: center;
}

.btn-esd {
  display: inline-block;
  background: rgb(18, 4, 106);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  display: inline-block;
}

.btn-esd:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.esd-visual {
  flex: 1;
  position: relative;
  height: 500px;
  min-width: 400px;
}

.image-gallery-esd {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-main-esd {
  position: absolute;
  top: 0;
  left: 0;
  width: 380px;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  z-index: 3;
  animation: slideInUp 0.8s ease-out;
}

.gallery-main-esd img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.gallery-main-esd:hover img {
  transform: scale(1.08);
}

.gallery-float-1-esd {
  position: absolute;
  bottom: 20px;
  right: 0;
  width: 200px;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  z-index: 2;
  border: 4px solid white;
  animation: slideInRight 0.8s ease-out 0.2s both;
}

.gallery-float-1-esd img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.gallery-float-1-esd:hover img {
  transform: scale(1.1);
}

.gallery-float-2-esd {
  position: absolute;
  top: 80px;
  right: 40px;
  width: 180px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border: 4px solid white;
  animation: slideInLeft 0.8s ease-out 0.4s both;
}

.gallery-float-2-esd img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.gallery-float-2-esd:hover img {
  transform: scale(1.1);
}

/* STRATEGY DEVELOPMENT SECTION - LARGE + INSET IMAGE */

.strategy-section {
  padding: 100px 0;
  background: white;
  position: relative;
  overflow: hidden;
}

body.dark-mode .strategy-section {
  background: #1a1a2e;
  color: white;
}

.strategy-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(240, 147, 251, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.strategy-content {
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.strategy-visual {
  flex: 1;
  position: relative;
  height: 480px;
  min-width: 400px;
}

.image-gallery-strategy {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-large-strategy {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  animation: slideInLeft 0.8s ease-out;
}

.gallery-large-strategy img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}

.gallery-large-strategy:hover img {
  transform: scale(1.06);
}

.overlay-gradient-strategy {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240, 147, 251, 0.15) 0%, rgba(18, 4, 106, 0.1) 100%);
  pointer-events: none;
  z-index: 1;
}

.gallery-inset-strategy {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 200px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  border: 4px solid white;
  z-index: 2;
  animation: slideInUp 0.8s ease-out 0.3s both;
}

.gallery-inset-strategy img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.gallery-inset-strategy:hover img {
  transform: scale(1.12);
}

.strategy-text {
  flex: 1;
}

.strategy-text h2 {
  font-size: 42px;
  margin-bottom: 20px;
  color: rgb(18, 4, 106);
  font-weight: 700;
}

body.dark-mode .strategy-text h2 {
  color: #ffffff;
}

.strategy-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgb(18, 4, 106);
}

body.dark-mode .strategy-text p {
  color: rgba(255, 255, 255, 0.85);
}
  
.strategy-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 30px 0;
}

.strategy-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.strategy-icon {
  font-size: 22px;
  min-width: 30px;
  text-align: center;
  color: white;
}

body.dark-mode .strategy-icon {
  color: white;
}

.btn-strategy {
  display: inline-block;
  background: rgb(18, 4, 106);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(240, 147, 251, 0.3);
  display: inline-block;
}

.btn-strategy:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(240, 147, 251, 0.4);
}

.strategy-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
}

.strategy-icon {
  font-size: 20px;
}

.btn-strategy {
  display: inline-block;
  background: rgb(18, 4, 106);
  color: white;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

body.dark-mode .btn-strategy {
  background: rgb(18, 4, 106);
  color: white;
}

.btn-strategy:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* SME DEVELOPMENT SECTION */
.sme-section {
  padding: 100px 0;
  background: white;
  position: relative;
  overflow: hidden;
}

.sme-section::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.08) 0%, transparent 70%);
  animation: rotate 30s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.sme-content {
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
  flex-direction: row-reverse;
}

.sme-visual {
  flex: 1;
  position: relative;
  height: 480px;
  min-width: 380px;
}

.image-gallery-sme {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  align-items: flex-start;
}

.gallery-item-sme {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(18, 4, 106, 0.15);
  transition: all 0.3s ease;
}

.gallery-item-1-sme {
  grid-row: 1 / 3;
  grid-column: 1;
  height: 100%;
  animation: slideInLeft 0.8s ease-out;
}

.gallery-item-1-sme img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.gallery-item-1-sme:hover img {
  transform: scale(1.07);
}

.gallery-item-2-sme {
  grid-row: 2;
  grid-column: 2;
  height: 200px;
  animation: slideInRight 0.8s ease-out 0.2s both;
}

.gallery-item-2-sme img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.gallery-item-2-sme:hover img {
  transform: scale(1.08);
}

.gallery-item-3-sme {
  grid-row: 1;
  grid-column: 2;
  height: 250px;
  animation: slideInRight 0.8s ease-out 0.4s both;
}

.gallery-item-3-sme img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.gallery-item-3-sme:hover img {
  transform: scale(1.08);
}

.sme-text {
  flex: 1;
  min-width: 350px;
}

.sme-text h2 {
  font-size: 42px;
  margin-bottom: 20px;
  color: rgb(18, 4, 106);
  font-weight: 700;
}

.sme-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: rgb(18, 4, 106);
}

.sme-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 30px;
  color: rgb(18, 4, 106);
}

.sme-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sme-icon {
  font-size: 22px;
  min-width: 30px;
  text-align: center;
  color: rgb(18, 4, 106);
}
.sme-icon i{
  color: rgb(18, 4, 106);
  size: 20px;

}

.btn-sme {
  display: inline-block;
  background: rgb(18, 4, 106);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(79, 172, 254, 0.3);
}

body.dark-mode .btn-sme {
  background: rgb(18, 4, 106);
  color: white;
}

.btn-sme:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(79, 172, 254, 0.4);
}

.sme-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.sme-growth-chart {
  display: flex;
  align-items: end;
  gap: 20px;
  height: 200px;
}

.growth-bar {
  width: 40px;
  background: rgba(255,255,255,0.8);
  border-radius: 20px 20px 0 0;
  animation: grow 2s ease-out;
  position: relative;
}

body.dark-mode .growth-bar {
  background: rgba(255,255,255,0.6);
}

.growth-bar::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 10px solid rgba(255,255,255,0.8);
}

body.dark-mode .growth-bar::after {
  border-bottom-color: rgba(255,255,255,0.6);
}

.bar-1 {
  height: 60px;
  animation-delay: 0.2s;
}

.bar-2 {
  height: 100px;
  animation-delay: 0.4s;
}

.bar-3 {
  height: 140px;
  animation-delay: 0.6s;
}

.bar-4 {
  height: 180px;
  animation-delay: 0.8s;
}

@keyframes grow {
  0% { height: 0; }
  100% { height: var(--final-height); }
}

/* ANIMATIONS */
.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

@keyframes slideIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .esd-content, .strategy-content {
    flex-direction: column;
    gap: 40px;
  }

  .sme-content {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .esd-text h2, .strategy-text h2, .sme-text h2 {
    font-size: 32px;
  }

  .esd-features, .strategy-features, .sme-features {
    grid-template-columns: 1fr;
  }

  .esd-visual, .strategy-visual, .sme-visual {
    min-width: 100%;
    max-width: 100%;
  }

  .gallery-main-esd {
    width: 100%;
    height: 300px;
  }

  .gallery-float-1-esd, .gallery-float-2-esd {
    width: 130px;
    height: 150px;
  }

  .gallery-large-strategy {
    height: 350px;
  }

  .gallery-inset-strategy {
    width: 150px;
    height: 150px;
  }

  .image-gallery-sme {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-item-1-sme {
    grid-row: auto;
    height: 280px;
  }

  .gallery-item-2-sme {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .esd-section, .strategy-section, .sme-section {
    padding: 60px 0;
  }

  .esd-text h2, .strategy-text h2, .sme-text h2 {
    font-size: 26px;
  }

  .esd-text p, .strategy-text p, .sme-text p {
    font-size: 15px;
  }

  .esd-visual, .strategy-visual, .sme-visual {
    height: auto;
  }

  .gallery-float-1-esd, .gallery-float-2-esd {
    position: static;
    width: 100%;
    height: 150px;
    border: none;
  }

  .gallery-main-esd {
    position: static;
    width: 100%;
    height: auto;
  }

  .gallery-large-strategy {
    height: 300px;
  }

  .gallery-inset-strategy {
    display: none;
  }

  .image-gallery-sme {
    grid-template-columns: 1fr;
  }

  .gallery-item-1-sme, .gallery-item-2-sme {
    height: 200px;
  }

  .btn-esd, .btn-strategy, .btn-sme {
    width: 100%;
    text-align: center;
  }
}


/* ================= CTA SECTION ================= */

.cta-section {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* YOUR IMAGE HERE */
  background: url("../img/img/normal.jpg") center/cover no-repeat;

  overflow: hidden;
}

/* DARK OVERLAY (THIS IS THE SECRET ✨) */
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* adjust: 0.4 lighter / 0.7 darker */
  z-index: 1;
}

/* CONTENT */
.cta-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 700px;
  padding: 20px;
}

.cta-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 800;
}

.cta-content p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

/* BUTTON */
.cta-btn {
  display: inline-block;
  padding: 10px 20px;
  background: gradient(135deg, #25D366 0%, rgb(18, 4, 106) 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid rgba(37, 211, 102, 0.35);
  transition: 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

.scroll-up {
  position: fixed;
  right: 20px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  background: white;
  color: rgb(18, 4, 106);
  border: 1px solid rgba(18, 4, 106, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 10000;
}

.scroll-up.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-up svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 28px;
  }

  .cta-content p {
    font-size: 16px;
  }

  .cta-section {
    height: auto;
    padding: 80px 20px;
  }
}

/* Footer Mobile Responsiveness */
@media (max-width: 768px) {
  .footer {
    padding: 40px 15px 15px;
  }
  
  .footer-container {
    max-width: 100%;
    padding: 0 10px;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .footer-section h4 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .footer-section a, .footer-section li {
    font-size: 13px;
  }
  
  .footer-logo {
    width: 150px;
  }
  
  .footer-tagline {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 30px 12px 12px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .footer-main {
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .footer-section h4 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .footer-section a, .footer-section li {
    font-size: 12px;
  }
  
  .footer-logo {
    width: 120px;
  }
  
  .footer-tagline {
    font-size: 12px;
  }
  
  .mode-btn {
    padding: 10px 15px;
    font-size: 12px;
  }
}

.developer-credit{
    text-align:center;
    margin-top:15px;
    font-size:13px;
    color:#777;
}

.developer-credit a{
    color:#12046A;
    text-decoration:none;
    font-weight:600;
}

.developer-credit a:hover{
    text-decoration:underline;
}