  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-top: 0; 
  }

  .page-has-no-hero body,
  body:not(:has(.hero)) {
  padding-top: 120px;               /* match your header height                */
}



  :root {
    --bg: #F5F1EB;        /* light beige */
    --text: #1A1A1A;
    --muted: #6F6A64;
    --line: #E2DBD3;
    --accent: #6B1F2B;   /* maroon */
  }

  * {
    box-sizing: border-box;
    padding: 0;
  }

  body {
    font-family: 'Palatino Linotype', sans-serif, serif,
      'Book Antiqua', Palatino, serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    text-align: justify;
  }

  html {
    scroll-behavior: smooth;
  }

  /* HEADER */
  header {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .site-header {
    background: #174548;          /* fully transparent — stars show through */
    border-bottom: none;
    position: relative;                  /* ← KEY CHANGE: was position:relative    */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    transition: background 0.4s ease;
  }

  .site-header.scrolled {
    background: rgba(23, 69, 72, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(225, 171, 121, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  }

  .header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px 40px;
    display: flex;
    align-items: center;      /* ✅ vertical centering */
    justify-content: space-between;
    gap: 12px;
    position: relative;
  }

  






  /* LOGO WRAPPER */
  .logo-wrap {
    width: 180px;        /* ← controls box width */
    height: 120px;        /* ← controls box height */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: -70px;
    margin-top: auto;
    overflow: visible; /* 🔥 critical for hover effects */
  }
.logo-wrap.right-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  width: 200px;
  height: 140px;
  margin-right: -130px; /* ✅ MOVED LEFT - Changed from -150px */
  margin-top: -30px;
}

.animated-logos-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.logo-animated-item {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
}

.logo-animated-icon {
  width: 75px;
  height: 75px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.logo-animated-icon img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  display: block;
  opacity: 0.9;
}

/* ============================================================
   🔥 ADD YOUR CUSTOM POSITIONING HERE 🔥
   ============================================================ */

/* PRECISION logo - margin-left: -160px */
.logo-animated-item:nth-child(1) .logo-animated-icon img {
  margin-left: -160px;
}

/* PURPOSE logo - margin-left: -40px */
.logo-animated-item:nth-child(2) .logo-animated-icon img {
  margin-left: -40px;
}

/* POISE logo - margin-right: -55px */
.logo-animated-item:nth-child(3) .logo-animated-icon img {
  margin-right: -63px;
}


/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 1200px) {
  .logo-wrap.right-logo {
    width: 180px;
    height: 120px;
  }

  .logo-animated-icon {
    width: 68px;
    height: 68px;
  }

  .logo-animated-icon img {
    width: 58px;
    height: 58px;
  }

  /* 🔥 ADJUST YOUR CUSTOM MARGINS FOR TABLET 🔥 */
  .logo-animated-item:nth-child(1) .logo-animated-icon img {
    margin-left: -140px;
  }

  .logo-animated-item:nth-child(2) .logo-animated-icon img {
    margin-left: -35px;
  }

  .logo-animated-item:nth-child(3) .logo-animated-icon img {
    margin-right: -48px;
  }
}

@media (max-width: 768px) {
  .logo-wrap.right-logo {
    margin-right: -50px;
    margin-top: -20px;
    width: 160px;
    height: 110px;
  }

  .logo-animated-icon {
    width: 58px;
    height: 58px;
  }

  .logo-animated-icon img {
    width: 50px;
    height: 50px;
  }

  /* 🔥 ADJUST YOUR CUSTOM MARGINS FOR MOBILE 🔥 */
  .logo-animated-item:nth-child(1) .logo-animated-icon img {
    margin-left: -120px;
  }

  .logo-animated-item:nth-child(2) .logo-animated-icon img {
    margin-left: -30px;
  }

  .logo-animated-item:nth-child(3) .logo-animated-icon img {
    margin-right: -40px;
  }
}

.right-text {
  position: absolute;
  font-size: 14.5px;
  font-family: 'Mistral', serif;
  font-weight: 100;
  margin-top: 25%;
  margin-left: -5px;
  margin-right: 58px;
  color: #FCE4CF; /* same gold tone */
  letter-spacing: 0.5px;
}

  /* LOGO IMAGE */
  .site-logo {
    max-width: 140%;
    max-height: 120%;
    object-fit: contain;   /* 🔥 key line */
    display: block;
  }

  .logo-link {
    display: inline-flex;
    align-items: center;
  }

  /* NAVIGATION */
  .nav {
    display: flex;
    align-items: center;
    margin-left: 20px;
    margin-top: -45px;
    gap: 16px;

    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
  }

  .nav a {
    margin-left: 28px;
    text-decoration: none;
    font-size: 0.95rem;
    color: #E1AB79;
    padding: 8px 16px;
    border-radius: 25px;
    transition: 
      background-color 0.25s ease,
      box-shadow 0.25s ease,
      color 0.25s ease;
  }

 .nav-dropdown > a {
  position: relative;
  margin-left: 0; /* Remove default margin */
  text-decoration: none;
  font-size: 0.95rem;
  color: #E1AB79;
  
  /* ✅ INDIVIDUAL PILL STYLING */
  background: rgba(255, 255, 255, 0.08); /* Subtle frosted glass */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(225, 171, 121, 0.25); /* Soft gold border */
  border-radius: 25px; /* Pill shape */
  padding: 10px 22px; /* Comfortable padding */
  
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  
  transition: 
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease,
    color 0.3s ease;
  
  /* Remove default margins */
  margin-left: 0;
}


/* HOVER STATE */
.nav-dropdown > a:hover {
  background: rgba(149, 55, 53, 0.95); /* Solid maroon */
  border-color: #E1AB79; /* Bright gold border */
  color: #f5e6c8;
  box-shadow: 
    0 4px 15px rgba(149, 55, 53, 0.5),
    0 0 25px rgba(225, 171, 121, 0.3); /* Gold glow */
  transform: translateY(-3px); /* Lift effect */
}


/* ACTIVE STATE */
.nav-dropdown > a:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}



  /* REMOVE DEFAULT LINK UNDERLINES */
  a {
    text-decoration: none;
    color: inherit;
  }

  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
  }







  .nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
  }


  .dropdown-menu {
    position: absolute;
    top: calc(100% + 12px); /* 10px gap below parent */
    left: 50%;
    background: #ffffff;
    min-width: 200px;
    padding: 10px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(0);
    transition: all 0.25s ease;
    z-index: 1000;
    margin-left: -2px;
    border-radius: 15px; /* Rounded dropdown */
    border: 1px solid rgba(225, 171, 121, 0.2);
  }

  .dropdown-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 0.9rem;
    color: #6b4a3a;
    white-space: nowrap;
    border-radius: 10px;
    margin: 2px 8px;
    transition: all 0.2s ease;
  }

  .dropdown-menu a:hover {
    background: #f4f1ee;
    color: #5c1822;
  }
  .dropdown-toggle {
    padding: 4px 8px;
    line-height: 40px;   /* same as nav height */
    display: inline-flex;
    align-items: center;
  }
    /* Show dropdown on hover */
    .nav-dropdown:hover > .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }
    /* Nested dropdown styling */
  .dropdown-menu .nav-dropdown {
    display: block;
    position: relative;
  }

  .dropdown-menu .nav-dropdown > .dropdown-toggle {
    width: 86%;
    padding: 10px 18px;
    line-height: normal;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Add arrow indicator for nested items */
  .dropdown-menu .nav-dropdown > .dropdown-toggle::after {
    content: '›';
    margin-left: auto;
    padding-left: 10px;
    font-size: 1.2rem;
    transition: transform 0.25s ease;
  }

  .dropdown-menu .nav-dropdown:hover > .dropdown-toggle::after {
    transform: translateX(3px);
  }

  /* Nested dropdown menu positioning */
  .dropdown-menu .dropdown-menu {
    top: 0;
    left: 100%;
    transform: translateX(0) translateY(0);
    margin-left: 2px;
  }

  /* Show nested dropdown on hover */
  .dropdown-menu .nav-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(0);
  }



  




  /* HERO CONTAINER — SINGLE BACKGROUND */
  .hero {
    position: relative;
    width: 100vw;
    height: 77vh;                    /* ← was 74vh, now full screen            */
    background-color: #174548;
    overflow: hidden;
  }


  
  .hero-center-row {
    position: relative;
    top: 5%;                 /* move whole group up/down */
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;                /* 🔥 distance from emblem (yellow boxes) */

    z-index: 10;
    pointer-events: none; 
  }
  /* TAGLINE */
  .hero-tagline {
    position: relative;
    top: 110%;
    left: 33%;
    z-index: 4;
    text-align: left;
    pointer-events: none;
  }

  .tagline-main {
    font-size: 40px;
    color: #E1AB79;
    max-width: 200%;
    font-style: italic;
    font-family: 'Pristina';
    margin: 0;
  }


  .emblem-container {
    perspective: 1000px;
  }
  .swinging-emblem {
    width: 240px;
  }


  .hero-center-row img,
  .hero-center-row a {
    pointer-events: auto;  /* restore clickability if needed */
  }


  .hero-text img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }


  .text-en-img {
    width: 300px;
    margin-bottom: -110px;
  }

  .hero-text.left {
    display: flex;
    justify-content: flex-end;
    margin-bottom: -120px;
    margin-right: -60px;
  }

  /* 3D TEXT IMAGE */
  .text-3d {
    width: 300px;
    transform-style: preserve-3d;
    filter:
      drop-shadow(0 1px 0 #c89b5c)
      drop-shadow(0 2px 6px rgba(0,0,0,0.55));
    transition: transform 0.4s ease, filter 0.4s ease;
  }

  /* subtle lift on hover */
  .text-3d:hover {
    transform: translateY(-2px) rotateX(6deg);
    filter:
      drop-shadow(0 4px 0 #e6b36a)
      drop-shadow(0 32px 55px rgba(0,0,0,0.6));
  }

  /* TEXT CONTAINER */
  .hero-text {
    position: relative;
    isolation: isolate;
    width: 300px;
    height: -250px;
    overflow: hidden; /* 🔥 clips stars */
  }




  /* TEXT IMAGE (FOREGROUND) */
  .hero-text img {
    position: relative;
    z-index: 5;
    display: block;
    margin: 0 auto;
  }





  .text-ar-img {
    width: 300px;
    margin-bottom: -70px;

  }

  .hero-text.right {
    display: flex;
    position: relative;
    justify-content: flex-start;
    margin-bottom: -70px;
    margin-left: -60px;
  }




  /* WORLD MAP */
.hero-map {
  position: absolute;
  inset: 0;

  background-image: url("../images/worldmapv1.png");
  background-repeat: no-repeat;
  background-size: 100%;        /* 🔥 FLAT */
  background-position: center 150%;
  
  z-index: 2;
  pointer-events: none;

  
}


  /* CONTENT */
  .container {
    max-width: 100%;
    margin: auto;
    padding: 0 20px;
  }


  .cta {
    margin-top: 40px;
    display: inline-block;
    padding: 14px 28px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 14px;
    transition: all 0.2s ease;
  }

  .cta:hover {
    background: var(--accent);
    color: #fff;
  }

  /* SECTIONS */
  section {
    padding: 100px 0;
    border-top: none;
    background: var(--bg);
  }

  .section-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 24px;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
  }

  .service-list {
    list-style: none;
  }

  .service-list li {
    color: var(--muted);
    padding: 6px 0;
  }

  /* PROJECT SECTION */

  .projects-hero {
    position: relative;
    min-height: 10vh;
    padding: 0 4vw;
    background-color: #631E0F; 
    display: flex;
    align-items: center;
  }

  .projects-content {
    max-width: 720px;
    z-index: 2;
    text-align: left;
  }

  .projects-content h1 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
  }

  .projects-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 20px;
  }

  /* SECTORS */

  * {
    box-sizing: border-box;
  }
  .page-title {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f6f3ed; /* similar neutral tone */
    color: #000;
  }

  .page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
  }

  .sector {
    padding: 20px;
    background: #f6f3ed;
  }

  .sector h2 {
    font-size: 32px;
    margin-bottom: 48px;
  }



  /* IMAGE FIX */
  .grid img {
    width: 100%;
    height: 320px;        /* force uniform height */
    object-fit: cover;   /* prevents stretching */
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .grid img {
    filter: grayscale(10%);
  }

  .grid img:hover {
    transform: scale(1.02);
    filter: grayscale(0%);
  }


  /* IMAGE GRID */
  .grid {
    column-count: 4;
    column-gap: 20px;
  }

  @media (max-width: 1200px) { .grid { column-count: 3; } }
  @media (max-width: 860px)  { .grid { column-count: 2; } }
  @media (max-width: 520px)  { .grid { column-count: 1; } }


    /* ============================================================
    PRINCIPAL'S PROJECT GALLERY — MASONRY
    Overrides the generic .grid only on the photo wall
    ============================================================ */
  .photo-wall {
    display: block !important;
    column-count: 4 !important;
    column-gap: 20px !important;
    grid-template-columns: unset !important;
    gap: unset !important;
  }

  @media (max-width: 1200px) { .photo-wall { column-count: 3 !important; } }
  @media (max-width: 860px)  { .photo-wall { column-count: 2 !important; } }
  @media (max-width: 520px)  { .photo-wall { column-count: 1 !important; } }

  .photo-wall .img-text h1 {
  font-size: 32px;
  font-weight: 500;
  margin: 0;
  color: #fff;
  text-align: left ;
  }
  
  .photo-wall .img-card.active .img-text {
    opacity: 1;
    transform: translateY(0);
  }


  .img-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: default;
    margin-bottom: 20px;
    break-inside: avoid;
    display: block;
  }

  
  .img-card img {
    width: 100%;
    height: 220px;           /* ← uniform height for every card */
    object-fit: cover;       /* ← crops to fit, no stretching */
    display: block;
    transition: transform 0.55s ease, filter 0.4s ease;
    filter: grayscale(8%);
  }

  .img-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
  }


.img-card:hover .img-text {
  opacity: 1;
  transform: translateY(0);
}

  #lightbox-img {
  transition: opacity 0.18s ease;
  cursor: zoom-out;
}

  /* Text overlay */
  .img-text {
    position: absolute;
    inset: 0;
    background: rgba(92, 24, 34, 0.88); /* dark maroon */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.45s ease;
  }

  .img-text p {
    color: #f3e7d7; /* light beige */
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 8px;
  }
  

  /* ACTIVE (on click) */
  .img-card.active img {
    transform: scale(1.05);
  }




  /* Lightbox */
  .lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 999;
  }

  .lightbox-img {
    max-width: 90%;
    max-height: 90%;
  }

  .close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
  }




  /* SECTION BASE */
  .horizon-section {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background-color: #ffffff;
    overflow: hidden;
    align-items: center;
    padding: 0 6%;
  }

  .horizon-section2 {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background-color: #f6f2ec;
    overflow: hidden;
    align-items: center;
    padding: 0 6%;
  }

  /* TEXT */
  .horizon-text {
    width: 50%;
    padding: 0 40px 0 40px;
    box-sizing: border-box;
  }

  .horizon-text h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 42px;
    margin-bottom: 28px;
    color: #2b2b2b;
  }

  .horizon-text p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
  }

  /* IMAGE */
  .horizon-image {
    width: 50%;
  }

  .horizon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    
  }


  /* IMAGE2 */
  .horizon-image2 {
    width: 60%;
    height: 100%;
  }

  .horizon-image2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    
  }

  /* ANIMATION */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
  }

  /* ANIMATION */
  .reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease, transform 0.9s ease;
  }

  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }




  /* RESPONSIVE */
  @media (max-width: 900px) {
    .horizon-section {
      flex-direction: column;
      padding: 60px 8%;
    }

    .horizon-section2 {
      flex-direction: column;
      padding: 60px 8%;
    }


    .horizon-text,
    .horizon-image {
      width: 100%;
    }

    .horizon-image {
      height: 400px;
      margin-top: 40px;
    }
    .horizon-image.reveal {
    transition-delay: 0.15s;
    }

  }

 /* ============================================================
   SERVICES CHARTER - FIT ALL 9 CARDS WITHOUT CUTTING
   ============================================================ */

.services-charter {
  padding: 60px 20px; /* Reduced padding */
  background-image: url("../images/servicecharter-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.services-charter-container {
  max-width: 95%; /* Changed from 1600px to percentage for better fit */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 40% 60%; /* Left gets 40%, Right gets 60% */
  gap: 20px; /* Reduced gap */
  align-items: start;
}

/* ============================================================
   LEFT SIDE - SERVICE CHARTER TEXT
   ============================================================ */

.services-charter-left {
  background: linear-gradient(145deg, #174548 0%, #1a5458 100%);
  padding: 40px 30px; /* Reduced padding */
  border-radius: 12px;
  color: white;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.charter-title {
  font-size: 28px; /* Slightly smaller */
  font-weight: 300;
  font-style: italic;
  letter-spacing: 3px;
  margin-bottom: 25px;
  color: #E1AB79;
  text-align: center;
  border-bottom: 2px solid rgba(225, 171, 121, 0.3);
  padding-bottom: 20px;
}

.charter-description {
  font-size: 22px; /* Smaller text */
  line-height: 1.7;
  text-align: justify;
  color: rgba(255, 255, 255, 0.95);
}

/* ============================================================
   RIGHT SIDE - SERVICE CARDS GRID (FIT 3 COLUMNS PROPERLY)
   ============================================================ */

.services-charter-right {
  display: flex;
  flex-direction: column;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px; /* Smaller gap to fit better */
  width: 100%; /* Ensure it uses full available width */
}

/* ============================================================
   SERVICE CARDS - COMPACT SIZE TO FIT SCREEN
   ============================================================ */

.service-card {
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(149, 55, 53, 0.3);
  border-color: #953735;
}

.service-number {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 32px; /* Smaller circle */
  height: 32px;
  background: linear-gradient(135deg, #953735 0%, #631E0F 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.service-card img {
  width: 100%;
  height: 90px; /* Smaller image height */
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card-title {
  padding: 10px 8px; /* Reduced padding */
  font-size: 18px; /* Smaller font */
  font-weight: 600;
  line-height: 1.3;
  color: #631E0F;
  text-align: center;
  background: linear-gradient(to bottom, #ffffff 0%, #f8f6f3 100%);
  min-height: 50px; /* Shorter text box */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

/* ============================================================
   SCROLL TO TOP BUTTON - FIXED POSITIONING
   ============================================================ */

.scroll-to-top {
  position: fixed;
  bottom: 30px;   /* ✅ SAME height as FAB */
  right: 110px;   /* ✅ LEFT of FAB (creates 20px gap) */
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #174548 0%, #1a5458 100%);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9998; /* Below FAB (9999) */
  box-shadow: 0 4px 20px rgba(23, 69, 72, 0.4);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(23, 69, 72, 0.6);
  background: linear-gradient(135deg, #1a5458 0%, #174548 100%);
}

.scroll-to-top:active {
  transform: scale(0.95);
}

.scroll-to-top svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
}

/* ============================================================
   RESPONSIVE POSITIONING
   ============================================================ */

@media (max-width: 992px) {
  .scroll-to-top {
    bottom: 105px;
    right: 25px;
    width: 55px;
    height: 55px;
  }

  .scroll-to-top svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 100px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .scroll-to-top svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .scroll-to-top {
    bottom: 95px;
    right: 15px;
    width: 50px;
    height: 50px;
  }

  .scroll-to-top svg {
    width: 22px;
    height: 22px;
  }
}
/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* For very large screens */
@media (min-width: 1920px) {
  .services-charter-container {
    max-width: 1700px;
  }
}

/* Standard desktop */
@media (max-width: 1600px) {
  .services-charter-container {
    max-width: 96%;
  }
}

@media (max-width: 1400px) {
  .services-charter-container {
    max-width: 98%;
    grid-template-columns: 42% 58%;
    gap: 18px;
  }

  .services-charter-left {
    padding: 35px 25px;
  }

  .charter-title {
    font-size: 26px;
  }

  .charter-description {
    font-size: 13px;
  }

  .services-grid {
    gap: 10px;
  }

  .service-card img {
    height: 85px;
  }

  .service-card-title {
    font-size: 10px;
    min-height: 48px;
    padding: 9px 7px;
  }

  .service-number {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

@media (max-width: 1200px) {
  .services-charter-container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .services-charter-left {
    padding: 35px 25px;
  }

  .charter-title {
    font-size: 26px;
  }

  .charter-description {
    font-size: 13px;
  }

  .services-grid {
    gap: 10px;
  }

  .service-card img {
    height: 85px;
  }

  .service-card-title {
    font-size: 10px;
    min-height: 48px;
  }
}

/* Tablets - Stack vertically */
@media (max-width: 992px) {
  .services-charter-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-charter-left {
    padding: 40px 30px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .charter-title {
    font-size: 28px;
  }

  .charter-description {
    font-size: 14px;
  }

  .service-card img {
    height: 95px;
  }

  .service-card-title {
    font-size: 11px;
    min-height: 52px;
  }

  .service-number {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .services-charter {
    padding: 50px 15px;
  }

  .services-charter-left {
    padding: 30px 20px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .charter-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .charter-description {
    font-size: 13px;
  }

  .service-card img {
    height: 100px;
  }

  .service-card-title {
    font-size: 10.5px;
    min-height: 52px;
  }
}

/* Small Mobile - Single column */
@media (max-width: 480px) {
  .services-charter {
    padding: 40px 12px;
  }

  .services-charter-left {
    padding: 25px 18px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .charter-title {
    font-size: 22px;
  }

  .charter-description {
    font-size: 13px;
  }

  .service-card img {
    height: 140px;
  }

  .service-card-title {
    font-size: 12px;
    min-height: 60px;
  }

  .service-number {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}





  /* SECTION BASE */
  .sc-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0 0 0;
    box-sizing: border-box;
    overflow: hidden;
  }



  .sc-section2.reverse {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0 0 0;
    box-sizing: border-box;
    background-color: #f6f2ec;
    flex-direction: row-reverse; 
    overflow: hidden;
  }


  /* TEXT */
  .sc-text {
    width: 50%;
    padding: -20px 80px 0 120px;
    box-sizing: border-box;
  }

  .sc-text2 {
    width: 50%;
    padding: -20px 80px 0 120px;
    box-sizing: border-box;
  }

  .sc-text2 h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    margin-bottom: 28px;
    color: #2b2b2b;
  }

  .sc-text2 p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
  }

  .sc-text h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    margin-bottom: 28px;
    color: #2b2b2b;
  }

  .sc-text p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
  }

  /* IMAGE */
  .sc-image {
    width: 50%;
  }

  .sc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: multiply;
    filter: contrast(1.1);
    
  }


  /* IMAGE2 */
  .sc-image2 {
    width: 60%;
  }

  .sc-image2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: multiply;
    filter: contrast(1.1);
    
  }

  /* ANIMATION */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
  }

  /* ANIMATION */
  .reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease, transform 0.9s ease;
  }

  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }




  /* RESPONSIVE */
  @media (max-width: 900px) {
    .sc-section {
      flex-direction: column;
      padding: 60px 8%;
    }

    .sc-section2.reverse {
      flex-direction: column;
      padding: 60px 8%;
    }


    .sc-text,
    .sc-image {
      width: 100%;
    }

    .sc-image {
      height: 400px;
      margin-top: 40px;
    }
    .sc-image.reveal {
    transition-delay: 0.15s;
    }

  }




  /* Service Charter reveal ONLY */
  .services-charter .sc-reveal {
    opacity: 0;
    transform: translateY(28px);
    animation: scFadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.4s;
  }

  /* Unique keyframes */
  @keyframes scFadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* */

  @keyframes revealItem {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }





  /* MODE N MODUS PAGE */
  .modenmodus {
    padding: 80px 0px;
    position: relative;
    background-color: #f6f2ec;
    overflow: hidden;
  }

  .modenmodus-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 60px;
    padding-left: 110px; /* bring content left */
    position: relative;
    z-index: 1;
  }

  .modenmodus::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #ffffff;
    opacity: 0.05; /* 👈 subtle, eye-friendly */
    pointer-events: none;
  }

  /* GRID */
  .modenmodus-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 20px;
  }

  /* LEFT TEXT */
  .modenmodus-text {
    max-width: 1000px;     /* 👈 controls how many words per line */
    margin-left: 50px;       /* text starts earlier */
    margin-right: 60px;   /* keeps white space on the right */

  }

  .modenmodus-header h1 {
    font-family: "Palatino Linotype", serif;
    font-size: 1.9rem;
    font-weight: 500;
    margin-bottom: 12px;

  }

  .modenmodus-text p {
    font-size: 19px;
    line-height: 1.5; 
    text-align: justify;
  }

  /* RIGHT IMAGE */
  .modenmodus-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px; /* optional */
  }

  @media (max-width: 900px) {
    .modenmodus-grid {
      grid-template-columns: 1fr;
    }

    .modenmodus-text {
      padding-left: 0;
    }
  }





  .site-footer {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10px;
    background-color: #631E0F; /* light beige */
    min-height: 10px;



  }




  /* LEFT TEXT */
  .footer-left {
    font-size: 14px;
    color: #D7E4BD;
  }

  .footer-left a {
    color:#D7E4BD;
    text-decoration: none;
  }

  .footer-left a:hover {
    text-decoration: underline;
  }

  .footer-right {
    font-size: 14px;
    color: #D7E4BD;
    text-align: right;
    max-width: 45%;
    font-style: italic;
    font-family: 'Pristina';
    padding-top: 0px;      /* 🔥 move text down */
    line-height: 1.6;      /* 🔥 prevents top clipping */
  }

  .footer-right h1 {
  margin-top: 0px;
  margin-bottom: 0px;
}







  /* ========== BULLET SLIDER STYLES ========== */
  .bullet-slider {
    display: flex;
    align-items: center;
    position: relative;
    margin: 20px 0;
  }

  .slider-container {
    overflow: hidden;
    width: 100%;
  }

  .slider-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
  }

  .slide ul {
    margin-left: 40px;
    padding-left: 0;
  }

  .slider-arrow {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
    padding: 0 10px;
    z-index: 1;
    transition: color 0.3s;
  }

  .slider-arrow:hover {
    color: #007bff;
  }

  .slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 10px;
  }

  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .dot.active {
    background: #007bff;
  }

  .dot:hover {
    background: #999;
  }

  .engagementmodel {
    padding: 20px 0; /* matches previous section height */
    background-image: url("../images/engagementmodel/em-bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }

  .engagementmodel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 60px;

  }
  .engagementmodel-container > * {
    position: relative;
    z-index: 1;
  }
  .engagementmodel-header h3 {
    font-weight: 500;

    margin: 16px 0 60px;
    line-height: 1.4;
    margin-left: -60px;
      max-width: auto;
    font-size: 24px;
    line-height: 1.65;
    font-weight: 400;
    color: #F4B083;
  }

  .engagementmodel-header small {
    font-size: 30px;
    letter-spacing: 2px;
    color: #E1AB79; /* dark maroon */
    margin-left: -60px;
  }



  .em-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 60px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .em-text {
    width: 50%;
    padding: -20px 80px 0 120px;
    box-sizing: border-box;
  }

  .em-text h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    margin-bottom: 28px;
    color: #2b2b2b;
    text-align: left;
  }

  .em-text p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
  }

  .em-image {
    width: 50%;
  }

  .em-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: multiply;
    filter: contrast(1.1);
    
  }




  @media (max-width: 900px) {
    .em-section {
      flex-direction: column;
      padding: 60px 8%;
    }
  }



  .em-section2.reverse {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 40px 0 40px;
    box-sizing: border-box;
    background-color: #f6f2ec;
    flex-direction: row-reverse; 
    overflow: hidden;
  }

  .em-text2 {
    width: 50%;
    padding: -20px 80px 0 120px;
    box-sizing: border-box;
  }

  .em-text2 h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    margin-bottom: 28px;
    color: #2b2b2b;
  }

  .em-text2 p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
  }

  /* IMAGE2 */
  .em-image2 {
    width: 60%;
  }

  .em-image2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: multiply;
    filter: contrast(1.1);
    
  }

  /* Sponsor Section Styling */
  .sponsor-section {
    padding: 0 0 20px 0;
    overflow: hidden;
    position: relative;
  }

  .sponsor-section::before,
  .sponsor-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
  }

  .sponsor-section::before {
    left: 0;
    background: linear-gradient(to right, #f5f5f5, transparent);
  }

  .sponsor-section::after {
    right: 0;
    background: linear-gradient(to left, #f5f5f5, transparent);
  }

  .sponsor-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    color: #2c5f5d;
    letter-spacing: 1px;
  }

  .sponsor-scroll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .sponsor-track {
    display: flex;
    gap: 60px;
    animation: scrollLogos 220s linear infinite;
    width: max-content;
    will-change: transform;
  }

  .sponsor-track:hover {
    animation-play-state: paused;
  }

  .sponsor-logo-item {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
  }

  .sponsor-logo-item:hover {
    transform: translateY(-10px) scale(1.15);
    box-shadow: 0 8px 30px rgba(44, 95, 93, 0.25);
    z-index: 10;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  }

  .sponsor-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0);
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(1);
  }

  .sponsor-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
  }

  @keyframes scrollLogos {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .sponsor-logo-item {
      width: 140px;
      height: 100px;
    }
    
    .sponsor-track {
      gap: 40px;
      animation-duration: 120s;
    }
    
    .sponsor-title {
      font-size: 1.5rem;
    }
  }

/* ========== FLOATING ACTION BUTTON ========== */
.fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.fab-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4A574 0%, #B8935E 100%);
  border: none;
  box-shadow: 0 4px 20px rgba(212, 165, 116, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 10001;
}

.fab-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(212, 165, 116, 0.6);
}

.fab-toggle .fab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 28px;
  height: 28px;
}

.fab-toggle .fab-icon svg {
  width: 28px;
  height: 28px;
  color: white;
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Message icon visible by default */
.fab-toggle .icon-message {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.fab-toggle .icon-close {
  opacity: 0;
  transform: scale(0.8) rotate(90deg);
}

/* When active, swap icons */
.fab-toggle.active .icon-message {
  opacity: 0;
  transform: scale(0.8) rotate(-90deg);
}

.fab-toggle.active .icon-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.fab-menu {
  position: absolute;
  bottom: 75px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 1;
  visibility: visible;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-button {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: fadeInUp 0.4s ease backwards;
}



.fab-text {
  background: white;
  color: #333;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.fab-button:hover .fab-text {
  opacity: 1;
  transform: translateX(0);
}

.fab-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.fab-button:hover .fab-icon-wrapper {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.fab-icon-wrapper svg {
  width: 24px;
  height: 24px;
  color: white;
}

.fab-icon-wrapper.phone {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
}

.fab-icon-wrapper.whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1EBE54 100%);
}

.fab-icon-wrapper.enquiry {
  background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
}

.fab-icon-wrapper.telegram {
  background: linear-gradient(135deg, #0088CC 0%, #006699 100%);
}

/* Update the .fab-icon styles in your CSS */
.fab-toggle .fab-icon {
  display: none;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-toggle .fab-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.fab-toggle.active .fab-icon svg {
  transform: rotate(180deg);
}


/* ============================================================
   CONTACT PAGE - ATB LAYOUT WITH CANONIS THEME
   ============================================================ */

.contact-main-section {
  background: #F5F1EB; /* Your beige background */
  padding: 80px 20px;
  min-height: calc(100vh - 200px);
}

.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ============================================================
   LEFT SIDE - LET'S CONNECT
   ============================================================ */

.contact-left {
  padding-right: 40px;
}

.contact-intro {
  margin-bottom: 50px;
}

.section-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #6F6A64; /* Your muted color */
  margin-bottom: 15px;
  font-weight: 500;
}

.contact-main-title {
  font-size: 3rem;
  font-weight: 300;
  color: #1A1A1A; /* Your text color */
  margin-bottom: 30px;
  line-height: 1.2;
}

.title-accent {
  color: #174548; /* Your teal accent */
  font-weight: 400;
}

.contact-intro-text {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

/* ============================================================
   OFFICE LOCATIONS
   ============================================================ */

.office-locations {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.office-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.office-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4A574 0%, #B8935E 100%); /* Your gold gradient */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.office-item:hover .office-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.office-icon svg {
  width: 24px;
  height: 24px;
  color: white;
  stroke-width: 2;
}

.office-details {
  flex: 1;
}

.office-name {
  font-size: 18px;
  font-weight: 600;
  color: #174548; /* Your teal */
  margin-bottom: 8px;
  text-transform: capitalize;
}

.office-address,
.office-contact {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.office-contact {
  font-weight: 500;
  color: #174548;
  margin-top: 5px;
}

/* ============================================================
   RIGHT SIDE - FORM
   ============================================================ */

.contact-right {
  background: white;
  border-radius: 15px;
  padding: 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(23, 69, 72, 0.1);
}

.form-title {
  font-size: 2rem;
  font-weight: 600;
  color: #174548; /* Your teal */
  margin-bottom: 10px;
}

.form-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #6F6A64;
  margin-bottom: 15px;
}

.form-description {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 35px;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  width: 100%;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1.5px solid #E2DBD3; /* Your line color */
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Palatino Linotype', serif;
  color: #1A1A1A;
  background: #F5F1EB; /* Your bg color */
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #174548; /* Your teal */
  background: white;
  box-shadow: 0 0 0 3px rgba(23, 69, 72, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #6F6A64; /* Your muted */
  opacity: 0.8;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================================
   SUBMIT BUTTON
   ============================================================ */

.form-submit-btn {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, #174548 0%, #1a5458 100%); /* Your teal gradient */
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
}

.form-submit-btn:hover {
  background: linear-gradient(135deg, #1a5458 0%, #174548 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(23, 69, 72, 0.3);
}

.form-submit-btn:active {
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 1200px) {
  .contact-container {
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
  }

  .contact-left {
    padding-right: 20px;
  }

  .contact-right {
    padding: 40px;
  }
}

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-left {
    padding-right: 0;
  }

  .contact-main-title {
    font-size: 2.5rem;
  }

  .contact-right {
    padding: 40px 35px;
  }
}

@media (max-width: 768px) {
  .contact-main-section {
    padding: 60px 15px;
  }

  .contact-main-title {
    font-size: 2rem;
  }

  .contact-right {
    padding: 30px 25px;
  }

  .form-title {
    font-size: 1.75rem;
  }

  .office-icon {
    width: 45px;
    height: 45px;
  }

  .office-icon svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .contact-main-title {
    font-size: 1.75rem;
  }

  .contact-right {
    padding: 25px 20px;
  }

  .form-input,
  .form-textarea {
    padding: 12px 16px;
    font-size: 14px;
  }

  .form-submit-btn {
    padding: 14px 28px;
    font-size: 15px;
  }
}


   /* ============================================================
       PROFILE PAGE — Image 1 inspired layout
       Dark teal #174548 palette · No cs-slider · No social icons
       ============================================================ */

    /* ── Reset body padding for this page (fixed nav overlays hero) ── */
    body {
      padding-top: 0 !important;
    }

    /* ============================================================
       PROFILE HERO — full screen, 2-column, Image 1 style
       ============================================================ */
    .profile-hero {
      min-height: 100vh;
      width: 100%;
      background-color: #174548;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      padding: 40px 80px 60px;
      box-sizing: border-box;
    }

    /* ── Blob glow top-left (orange-coral in Image 1, teal version here) ── */
    .blob-tl {
      position: absolute;
      top: -120px;
      left: -80px;
      width: 520px;
      height: 520px;
      border-radius: 50%;
      background: radial-gradient(
        circle at 40% 40%,
        rgba(42, 138, 143, 0.55) 0%,
        rgba(23, 69, 72, 0.25) 45%,
        transparent 70%
      );
      pointer-events: none;
      filter: blur(18px);
      animation: blobFloat 8s ease-in-out infinite;
    }

    /* ── Blob glow bottom-left (blue in Image 1, gold version here) ── */
    .blob-bl {
      position: absolute;
      bottom: -80px;
      left: 100px;
      width: 380px;
      height: 380px;
      border-radius: 50%;
      background: radial-gradient(
        circle at 50% 50%,
        rgba(212, 168, 67, 0.22) 0%,
        rgba(225, 171, 121, 0.10) 50%,
        transparent 70%
      );
      pointer-events: none;
      filter: blur(22px);
      animation: blobFloat 11s ease-in-out infinite reverse;
    }

    /* ── Blob top-center (Image 1 has a warm glow center-top) ── */
    .blob-tc {
      position: absolute;
      top: -60px;
      left: 25%;
      width: 440px;
      height: 300px;
      border-radius: 50%;
      background: radial-gradient(
        ellipse at 50% 50%,
        rgba(30, 92, 96, 0.45) 0%,
        transparent 65%
      );
      pointer-events: none;
      filter: blur(30px);
      animation: blobFloat 13s ease-in-out infinite 2s;
    }

    @keyframes blobFloat {
      0%, 100% { transform: translate(0, 0) scale(1); }
      33%       { transform: translate(15px, -20px) scale(1.04); }
      66%       { transform: translate(-10px, 12px) scale(0.97); }
    }

    /* ── Inner 2-column grid ── */
    .profile-hero-inner {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
      max-width: 1260px;
      width: 100%;
    }

    /* ============================================================
       LEFT — Photo side
       ============================================================ */
    .profile-photo-side {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* Floating card — matches Image 1's rounded photo card */
    .profile-photo-frame {
      position: relative;
      width: 420px;
      max-width: 100%;
      border-radius: 18px;
    }

    /* Subtle outer glow ring */
    .profile-photo-frame::before {
      content: '';
      position: absolute;
      inset: -14px;
      border-radius: 26px;
      border: 1px solid rgba(225, 171, 121, 0.18);
      pointer-events: none;
      transition: border-color 0.4s ease;
    }
    .profile-photo-frame:hover::before {
      border-color: rgba(225, 171, 121, 0.38);
    }

    /* Second decorative ring */
    .profile-photo-frame::after {
      content: '';
      position: absolute;
      inset: -28px;
      border-radius: 34px;
      border: 1px solid rgba(42, 138, 143, 0.10);
      pointer-events: none;
    }

    .profile-photo-frame img {
      width: 100%;
      height: auto;
      object-fit: cover;
      object-position: top center;
      border-radius: 18px;
      display: block;
      box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.50),
        0 0 0 1px rgba(255, 255, 255, 0.08);
      transition: box-shadow 0.4s ease, transform 0.4s ease;
    }
    .profile-photo-frame:hover img {
      box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.60),
        0 0 0 1px rgba(225, 171, 121, 0.25);
      transform: translateY(-4px);
    }

    /* ============================================================
       RIGHT — Content side
       ============================================================ */
    .profile-content-side {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0;
    }

    /* Small eyebrow label */
    .profile-eyebrow {
      display: inline-block;
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 3.5px;
      text-transform: uppercase;
      color: #E1AB79;
      margin-bottom: 18px;
      opacity: 0.85;
      animation: fadeSlideUp 0.7s ease both;
    }

    /* Big serif name — Image 1 style large heading */
    .profile-big-name {
      font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
      font-size: clamp(34px, 4vw, 56px);
      font-weight: 400;
      line-height: 1.18;
      color: #ffffff;
      margin: 0 0 5px 0;
      letter-spacing: -0.01em;
      animation: fadeSlideUp 0.7s ease 0.1s both;
    }

    /* Tagline — like "SF based. NY raised." in Image 1 */
    .profile-tagline {
      font-size: 20px;
      font-weight: 300;
      line-height: 1.75;
      color: rgba(255, 255, 255, 0.70);
      margin: 0 0 44px 0;
      max-width: 800px;
      animation: fadeSlideUp 0.7s ease 0.2s both;
    }

    /* ============================================================
       NAV LINK BUTTONS — Image 1 style pill buttons
       White/transparent with border, label centered
       ============================================================ */
    .profile-nav-links {
      display: flex;
      flex-direction: column;
      gap: 14px;
      width: 100%;
      max-width: 500px;
      animation: fadeSlideUp 0.7s ease 0.3s both;
    }

    .profile-nav-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 19px 32px;
      background: rgba(255, 255, 255, 0.06);
      border: 1.5px solid rgba(255, 255, 255, 0.22);
      border-radius: 50px;           /* full pill — exactly Image 1 */
      color: #ffffff;
      font-family: 'Palatino Linotype', serif;
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      text-decoration: none;
      cursor: pointer;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transition:
        background   0.3s ease,
        border-color 0.3s ease,
        color        0.3s ease,
        transform    0.25s ease,
        box-shadow   0.3s ease;
    }

    .profile-nav-btn:hover {
      background:    rgba(225, 171, 121, 0.16);
      border-color:  rgba(225, 171, 121, 0.65);
      color:         #E1AB79;
      transform:     translateY(-2px);
      box-shadow:    0 10px 28px rgba(0, 0, 0, 0.22);
    }

    .profile-nav-btn:active {
      transform: translateY(0);
    }

      .ebook-btn {
      position: absolute;
      bottom: 8px;
      right: 45px;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 7px 16px;
      background: rgba(255, 255, 255, 0.07);
      border: 1px solid rgba(225, 171, 121, 0.50);
      border-radius: 20px;
      color: #E1AB79;
      font-family: 'Palatino Linotype', serif;
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 1.8px;
      text-transform: uppercase;
      text-decoration: none;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      white-space: nowrap;
      cursor: pointer;
      z-index: 1100;
      transition:
        background   0.25s ease,
        border-color 0.25s ease,
        color        0.25s ease,
        box-shadow   0.25s ease,
        transform    0.2s  ease;
       animation: ebookBorderPulse 2.5s ease-in-out infinite;
    }

    .ebook-btn svg {
      width: 13px;
      height: 13px;
      fill: #E1AB79;
      flex-shrink: 0;
      transition: fill 0.25s ease;
    }

    .ebook-btn:hover {
      background:    rgba(225, 171, 121, 0.20);
      border-color:  #E1AB79;
      color:         #ffffff;
      box-shadow:    0 4px 16px rgba(225, 171, 121, 0.30);
      transform:     translateY(-1px);
      animation-play-state: paused;
    }

    .ebook-btn:hover svg { fill: #ffffff; }
    .ebook-btn:active    { 
      transform: translateY(0);
      animation-play-state: paused;
     }
    /* NEW — shimmer text */
    .ebook-btn .btn-label {
      background: linear-gradient(
        90deg,
        #E1AB79 30%,
        #fff8ee 50%,
        #E1AB79 70%
      );
      background-size: 200% auto;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: ebookShimmer 2.5s linear infinite;
    }

    /* On hover, drop shimmer and show solid white */
    .ebook-btn:hover .btn-label {
      background: none;
      -webkit-background-clip: unset;
      -webkit-text-fill-color: #ffffff;
      background-clip: unset;
      animation-play-state: paused;
    }


    /* ─── Ebook btn blink animations ─── */
@keyframes ebookBorderPulse {
  0%, 100% {
    border-color: rgba(225, 171, 121, 0.50);
    box-shadow: none;
  }
  50% {
    border-color: rgba(225, 171, 121, 0.95);
    box-shadow:
      0 0 8px  rgba(225, 171, 121, 0.55),
      0 0 18px rgba(225, 171, 121, 0.25);
  }
}

@keyframes ebookIconBlink {
  0%, 44%, 56%, 100% { opacity: 1; }
  50%                 { opacity: 0.2; }
}

@keyframes ebookShimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}