/* Nav Header */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background: transparent !important;
}

/* 2. KILL BLUE LINKS & UNDERLINES */
.main-header a,
.main-header .nav-link {
    color: #ffffff !important;
    text-decoration: none !important;
    /* Removes the ugly blue line */
    box-shadow: none !important;
    border: none !important;
    background: none !important;
}

.main-header .btn-contact-white {
    background: #ffffff !important;
    color: #111111 !important;
    padding: 12px 35px !important;
    border-radius: 50px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    text-decoration: none !important;
    display: inline-block;
}


/* 3. DESKTOP SPACING & TYPOGRAPHY */
@media (min-width: 992px) {
    .navbar-nav {
        gap: 40px;
        /* Space between links like in the design */
    }

    .nav-link {
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        opacity: 0.9;
        transition: opacity 0.3s ease;
    }

    .nav-link:hover {
        opacity: 1;
    }
}

/* --- MOBILE VIEW (Restore the "Awesome" Look) --- */
@media (max-width: 991.98px) {

    /* Full Screen Overlay Menu */
    .navbar-collapse {
        background: #0e1c22 !important;
        /* Deep Dark Medical Theme */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.4s ease-in-out;
        z-index: 1090;
    }

    .navbar-collapse.show {
        visibility: visible;
        opacity: 1;
    }

    .navbar-nav {
        width: 100%;
        gap: 20px;
    }

    .navbar-nav .nav-link {
        font-size: 24px !important;
        /* Big, bold links for mobile */
        font-weight: 700 !important;
        letter-spacing: 2px;
    }

    /* Contact Button in Mobile Menu */
    .mobile-action {
        margin-top: 40px;
    }

    /* The Toggler (Hamburger) */
    .custom-toggler {
        border: none !important;
        background: transparent !important;
        z-index: 1100;
        position: relative;
        padding: 10px;
    }

    .toggler-line {
        width: 28px;
        height: 2px;
        background-color: #ffffff;
        display: block;
        margin: 6px 0;
        transition: 0.3s;
    }

    /* Animate Hamburger to X when open */
    .navbar-toggler[aria-expanded="true"] .toggler-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .navbar-toggler[aria-expanded="true"] .toggler-line:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggler[aria-expanded="true"] .toggler-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}



/* Home Page Hero Section */
.hero-wrapper {
    position: relative;
    height: 100vh;
    background: #000;
}

.hero-image-bg {
    height: 100vh;
    background-size: cover;
    background-position: center right;
    position: relative;
}

.hero-image-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 100%);
    z-index: 1;
}

.hero-text-area {
    position: relative;
    z-index: 10;
    padding-left: 20px;
}

/* Typography */
.subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 600;
}

.main-title {
    color: #fff;
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    max-width: 520px;
    line-height: 1.6;
}

/* Floating Controls */
.hero-footer {
    position: absolute;
    bottom: 60px;
    z-index: 100;
    pointer-events: none;
}

.controls-group {
    display: flex;
    align-items: center;
    gap: 20px;
    pointer-events: auto;
}

.custom-dots {
    position: static;
    margin: 0;
    display: flex;
    gap: 8px;
    border: none;
}

.custom-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    padding: 0;
    transition: 0.3s;
}

.custom-dots .active {
    background: #fff;
    transform: scale(1.2);
}

.arrow-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.arrow-circle:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Mobile Adjustment */
@media (max-width: 991px) {
    .hero-text-area {
        text-align: center;
        padding-left: 0;
    }

    .hero-footer {
        width: 100%;
        display: flex;
        justify-content: center;
        left: 0;
    }

    .description {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Update these specific rules in your <style> block */

.hero-footer {
    position: absolute;
    bottom: 60px;
    width: 100%;
    /* Spans full width */
    left: 0;
    /* Ensures it starts from the edge */
    z-index: 100;
    pointer-events: none;
}

.controls-group {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    /* This centers the dots and arrow */
    pointer-events: auto;
}

.custom-dots {
    position: static;
    /* Removes Bootstrap default absolute positioning */
    margin: 0;
    display: flex;
    gap: 8px;
    border: none;
}


/* Home Page Section 2  Matric*/
    .metrics-section {
        background-color: #ffffff;
        padding: 120px 0 !important;
    }

    /* INITIAL HIDDEN STATE (White Screen) */
    .animate-on-scroll {
        opacity: 0;
        transform: translateY(40px); /* Lower position to slide up */
        transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    }

    /* REVEALED STATE */
    .animate-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .metric-number {
        font-size: clamp(80px, 10vw, 120px);
        font-weight: 800;
        line-height: 1;
        margin-bottom: 20px;
        letter-spacing: -3px;
        
        /* The Gradient Shading */
        background: linear-gradient(180deg, #999999 0%, #444444 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        display: inline-block;
    }

    .metric-label {
        font-size: 18px;
        color: #333333;
        line-height: 1.4;
        margin: 0;
    }

    .metric-label strong {
        font-weight: 800;
        color: #000000;
    }

    /* Optional staggered delays for the reveal */
    .col-lg-4:nth-child(2) .animate-on-scroll { transition-delay: 0.15s; }
    .col-lg-4:nth-child(3) .animate-on-scroll { transition-delay: 0.3s; }


    /* Home page who we are  */
        .who-we-are-section {
        background-color: #ffffff;
        padding: 100px 0 !important;
    }

    /* INITIAL STATES */
    .reveal-left {
        opacity: 0;
        transform: translateX(-100px); /* Start off-screen to the left */
        transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .reveal-right {
        opacity: 0;
        transform: translateX(100px); /* Start off-screen to the right */
        transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
    }

    /* REVEALED STATES */
    .reveal-left.is-visible,
    .reveal-right.is-visible {
        opacity: 1;
        transform: translateX(0);
    }

    /* Design Styling */
    .section-subtitle {
        font-size: 14px;
        font-weight: 600;
        color: #666666;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    .section-title {
        font-size: clamp(32px, 4vw, 48px);
        font-weight: 800;
        color: #111111;
        line-height: 1.2;
    }

    .highlight-blue {
        color: #43b5d8; /* */
    }

    .section-description p {
        font-size: 18px;
        line-height: 1.6;
        color: #444444;
        margin-bottom: 20px;
    }

    .rounded-custom {
        border-radius: 20px; /* */
        width: 100%;
        object-fit: cover;
    }


    /* Our Focus Home Page  */
    :root {
  --primary-blue: #22a6b3;
  --text-dark: #333;
  --transition: all 0.4s ease;
}

/* Keep everything else the same, just update these two classes */

.healthcare-focus {
  padding: 80px 10%;
  font-family: 'Inter', sans-serif;
  display: flex;
  /* Changed to row-reverse to flip children visually */
  flex-direction: row-reverse; 
  gap: 50px;
  align-items: center;
}

.healthcare-focus .container {
  display: flex;
  flex-wrap: wrap;
  /* Changed to row-reverse to ensure responsiveness scales correctly */
  flex-direction: row-reverse;
  gap: 60px;
}

/* No changes needed below this line for the swap to work */

/* Header Content */
.content-header {
  flex: 1;
  min-width: 300px;
}

.sub-heading {
  font-size: 14px;
  letter-spacing: 1px;
  color: #666;
  margin-bottom: 10px;
}

.content-header h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.content-header h1 span {
  color: var(--primary-blue);
}

.description {
  color: #ffffff;
  line-height: 1.6;
}

.healthcare-focus .description {
  color: #555;
  line-height: 1.6;
}

/* Cards Layout */
.cards-grid {
  flex: 1.5;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.focus-card {
  position: relative;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

/* Overlay for darkening the background */
.focus-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

/* Default State */
.card-default {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 2;
  transition: var(--transition);
}

.card-default h3 {
  color: white;
  font-size: 28px;
  margin: 0;
}

/* Hover State */
.card-hover {
  position: absolute;
  inset: 0;
  background: rgba(18, 45, 56, 0.85); /* Dark teal semi-transparent overlay */
  backdrop-filter: blur(8px); /* Optional: creates the blur effect in your image */
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  z-index: 3;
}

.card-hover h3 {
  color: white;
  font-size: 28px;
  margin-bottom: 15px;
}

.card-hover p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 25px;
}

/* Interaction */
.focus-card:hover .card-hover {
  opacity: 1;
}

.focus-card:hover .card-default {
  opacity: 0;
}

/* Know More Button */
.know-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 10px 10px 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  width: fit-content;
  min-width: 150px;
  font-weight: 600;
  transition: var(--transition);
}

.arrow {
  background: white;
  color: #333;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: 10px;
}

.know-more:hover {
  background: white;
  color: #122d38;
}


/* Our Products */
:root {
  --brand-cyan: #43b5d8;
  --text-dark: #111111;
  --text-gray: #666666;
}

.products-header {
  padding: 100px 0 60px;
  background-color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.products-header .sub-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-gray);
  margin-bottom: 15px;
  font-weight: 500;
}

.products-header .main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 25px;
}

.products-header .main-title span {
  color: var(--brand-cyan);
}

.products-header .description {
  font-size: 18px;
  color: #444;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* --- Animation States --- */

.animate-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* products 2 */
.products-split-section {
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    width: 100%;
}

.product-half {
    flex: 1;
    min-width: 50%;
    position: relative;
    padding: 100px 8%;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Dark Overlay to match the video style */
.product-half::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Gradient goes from 80% black on the left to 40% on the right */
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.product-content {
    position: relative;
    z-index: 2; /* Sits above the dark overlay */
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.product-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -2px;
}

.product-tagline {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
}

.product-description {
    font-size: 17px;
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 45px;
    color: rgba(255, 255, 255, 0.8);
}

/* Button & Arrow Styles */
.btn-product-white {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 8px 8px 8px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-arrow {
    background: #fff;
    color: #000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 20px;
}

.btn-product-white:hover {
    background: #fff;
    color: #000;
}

.products-split-section {
    display: flex;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: #000;
}

.product-half {
    /* Base width: equal split */
    flex: 1; 
    position: relative;
    padding: 100px 8%;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    
    /* The magic: transition the flex property */
    transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
    z-index: 1;
}

/* 1. Expansion Logic */
.product-half:hover {
    flex: 1.5; /* Expands the hovered side */
    z-index: 2;
}

/* 2. Optional: Dim the non-hovered side */
.products-split-section:hover .product-half:not(:hover) {
    filter: brightness(0.5) grayscale(0.3);
    flex: 0.7; /* Shrinks the non-hovered side */
}

/* 3. The Move Animation inside the content */
.product-half .product-content {
    transition: transform 0.7s ease;
    min-width: 450px; /* Prevents text from squishing during resize */
}

/* Move Healthnable content slightly right when expanding */
.healthnable-bg:hover .product-content {
    transform: translateX(120px);
}

/* Move HealthNion content slightly left when expanding */
.healthnion-bg:hover .product-content {
    transform: translateX(-120px);
}

/* Dark Overlay */
.product-half::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.product-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

/* Responsive for Mobile */
@media (max-width: 991px) {
    .product-half {
        min-width: 100%;
        min-height: 60vh;
    }
}


/* Healthcare IT Services */
  .health-it-services {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
    overflow: hidden;
  }

  .header-content {
    margin-bottom: 50px;
  }

  .sub-heading {
    color: #666;
    font-size: 14px;
    text-transform: capitalize;
    display: block;
    margin-bottom: 10px;
  }

  .header-content h1 {
    font-size: 36px;
    margin: 0;
    font-weight: 700;
    color: #1a1a1a;
  }

  .header-content h1 span {
    color: #40bcf4;
  }

  .header-content p {
    color: #555;
    max-width: 600px;
    margin: 15px auto 0;
    line-height: 1.6;
  }

  /* Animation Container Logic */
  .cards-stack-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 450px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
  }

  .service-card {
    position: absolute;
    width: 280px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: flex-end;
  }


  /* Horizontal Movement on Container Hover */
  .cards-stack-container:hover .card-2 { transform: translateX(290px); }
  .cards-stack-container:hover .card-3 { transform: translateX(580px); }
  .cards-stack-container:hover .card-4 { transform: translateX(870px); }

  /* Card Content & Hover State Logic */
  .card-content {
    padding: 30px;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    transition: background 0.4s ease;
  }

  .card-content h3 {
    color: #fff;
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    transition: transform 0.4s ease;
  }

  .hover-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
  }

  .hover-details p {
    color: #e0e0e0;
    font-size: 14px;
    margin: 15px 0;
    line-height: 1.5;
  }

  /* Specific Card Hover (card focus) */
  .service-card:hover {
    z-index: 10;
  }

  .service-card:hover .card-content {
    background: rgba(0, 0, 0, 0.5); /* Dimming background on focus */
    backdrop-filter: blur(4px);
  }

  .service-card:hover .hover-details {
    max-height: 200px;
    opacity: 1;
  }

  /* Button Styling */
  .btn-know-more {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 5px 5px 15px;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
  }

  .arrow-circle {
    background: #fff;
    color: #333;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    font-size: 16px;
  }

  /* healthcare itservices end */


  /* Sales Force  */
    .agamin-hls-portal {
    padding: 100px 0;
    background: #ffffff;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    text-align: center;
    overflow: hidden;
  }

  /* --- Text Content & Hover Lift --- */
  .agamin-hls-container {
    max-width: 850px;
    margin: 0 auto 80px auto;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .agamin-hls-portal:hover .agamin-hls-container {
    transform: translateY(-20px);
  }

  .agamin-hls-eyebrow {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #999;
    margin-bottom: 15px;
  }

  .agamin-hls-title {
    font-size: 46px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.15;
    margin-bottom: 25px;
  }

  .agamin-hls-accent {
    color: #00AEEF;
    display: block;
  }

  .agamin-hls-lead {
    font-size: 19px;
    color: #666;
    line-height: 1.6;
    padding: 0 40px;
  }

  /* --- Visual Track (The "Moving" Logic) --- */
  .agamin-hls-visual-track {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 520px;
    perspective: 1000px;
  }

  .agamin-hls-card {
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.8s ease;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  /* Base Sizes and Positions */
  .agamin-hls-card-outer-left, 
  .agamin-hls-card-outer-right { width: 200px; height: 380px; z-index: 1; opacity: 0.5; }
  
  .agamin-hls-card-inner-left, 
  .agamin-hls-card-inner-right { width: 260px; height: 440px; z-index: 2; opacity: 0.8; margin: 0 -100px; }

 


  /* --- The Expansion Hover Logic --- */
  
  /* Left cards move Left */
  .agamin-hls-portal:hover .agamin-hls-card-outer-left { transform: translateX(-80px) rotateY(5deg); opacity: 0.7; }
  .agamin-hls-portal:hover .agamin-hls-card-inner-left { transform: translateX(-40px) rotateY(2deg); opacity: 1; }
  
  /* Right cards move Right */
  .agamin-hls-portal:hover .agamin-hls-card-inner-right { transform: translateX(40px) rotateY(-2deg); opacity: 1; }
  .agamin-hls-portal:hover .agamin-hls-card-outer-right { transform: translateX(80px) rotateY(-5deg); opacity: 0.7; }

  /* Hero expands slightly */
  .agamin-hls-portal:hover .agamin-hls-card-hero { transform: scale(1.02); }

.agamin-hls-hero-label {
    position: relative;
    bottom: -315px;
    width: 100%;
    height: 40%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    border-radius: 0 0 20px 20px;
    
    /* Changed logic below */
    display: flex;
    flex-direction: column; /* Stacks children vertically */
    align-items: center;    /* Centers items horizontally */
    justify-content: flex-end; /* Keeps items at the bottom */
    
    padding-bottom: 35px;
    text-align: center;      /* Ensures text alignment within the lines */
}

/* Optional: Add spacing between title and subtitle */
/* .agamin-hls-hero-label h3 {
    margin-bottom: 5px; 
    margin-top: 0;
} */

.agamin-hls-hero-label h3 {
    color: white;
    font-size: 26px;
    font-weight: 600;
    margin: 0;
}

  /* Responsive Fix */
  @media (max-width: 900px) {
    .agamin-hls-card:not(.agamin-hls-card-hero) { display: none; }
    .agamin-hls-card-hero { margin: 0; width: 90%; }
    .agamin-hls-title { font-size: 32px; }
  }

  /* Sales force END  */



  /* Case studies */
  /* Container Styling */
.hc-portfolio-section {
  padding: 60px 20px;
  background-color: #f0f4f8; /* Light background to make cards pop */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hc-card-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Card Base Styling */
.hc-card-item {
  background: linear-gradient(135deg, #28a9c1 0%, #20879a 100%);
  border-radius: 20px;
  padding: 40px 30px;
  width: 340px;
  min-height: 480px;
  color: white;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  opacity: 0; /* Hidden initially for animation */
  transition: transform 0.3s ease;
}

.hc-card-item:hover {
  transform: translateY(-5px);
}

/* Header Pill inside card */
.hc-card-header {
  background-color: white;
  color: #333;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.9rem;
  /* width: fit-content; */
  margin-bottom: 40px;
}

.hc-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hc-card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: auto; /* Pushes tags to bottom */
}

/* Tags / Bottom Pills */
.hc-tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hc-pill {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  backdrop-filter: blur(5px);
}

/* --- Animation States --- */

.hc-animate-left { transform: translateX(-100px); }
.hc-animate-right { transform: translateX(100px); }
.hc-animate-fade { transform: translateY(50px); }

/* Triggered by JS */
.hc-show {
  opacity: 1;
  transform: translateX(0) translateY(0);
  transition: all 0.8s ease-out;
}

/* Team Members */
/* CSS Styles to Match Screenshot */
.team-section {
    background-color: #fcfcfc;
    padding: 80px 20px;
    font-family: 'Inter', sans-serif; /* Fallback to Sans-Serif */
}

.team-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.sub-heading {
    letter-spacing: 1px;
    font-size: 14px;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.team-header h1 {
    font-size: 56px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}

.highlight { color: #00c2e8; }

.sub-description {
    font-size: 20px;
    line-height: 1.4;
    color: #444;
}

.profile-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
    align-items: flex-start;
}

.profile-info {
    flex: 1;
    min-height: 350px;
    transition: opacity 0.3s ease;
}

.profile-info .name {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.profile-info .title {
    font-size: 22px;
    color: #00c2e8;
    margin-bottom: 30px;
    font-weight: 400;
}

.profile-info .bio {
    font-size: 20px;
    line-height: 1.5;
    color: #333;
}

/* Image Accordion Logic */
.image-gallery {
    flex: 1.2;
    display: flex;
    gap: 15px;
    height: 450px;
}

.image-card {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.main-card { flex: 10; }

.secondary-card {
    flex: 1;
    opacity: 0.6;
    background: #999; /* Grey placeholder look for empty slots */
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* border: solid #c8c8c8 1px;
    border-radius: 20px; */
}


.pagination {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination .dotted {
    height: 10px;
    width: 10px;
    display: inline-block;
    border-radius: 50%;
    cursor: pointer;
    background-color: #bbbbbb; /* Default inactive grey */
    transition: all 0.3s ease;
    border: none; /* Ensure no transparent borders are hiding it */
}

/* This class is what the JS toggles */
.active {
    background-color: #000000 !important; /* Forces it to be black */
    opacity: 1 !important;
}


/* Global Presence */
.locations-section {
    position: relative;
    background-color: #050a0f; 
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: #fff;
    overflow: hidden;
}

/* Dark overlay to make text readable over the map */
.locations-section .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(5,10,15,0.4) 0%, rgba(5,10,15,0.9) 100%);
    z-index: 1;
}

.locations-section .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.locations-header {
    text-align: center;
    margin-bottom: 60px;
}

.locations-header .sub-heading {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    opacity: 0.8;
    color: white !important;
}

.locations-header h1 {
    font-size: 42px;
    font-weight: 700;
}

.highlight {
    color: #00c2e8; 
}

/* Content Layout */
.location-content {
    display: flex;
    align-items: center;
    gap: 150px;
}

/* Base transitions for both sides */
.location-details, 
.location-gallery {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* On hover: Text moves slightly right, Gallery moves slightly left */
.location-content:hover .location-details {
    transform: translateX(30px);
}

.location-content:hover .location-gallery {
    transform: translateX(-30px);
}

.location-details {
    flex: 1;
}

.city-name {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 15px;
}

.hub-title {
    font-size: 20px;
    color: #ccc;
    margin-bottom: 25px;
}

.hub-description {
    font-size: 18px;
    line-height: 1.5;
    max-width: 380px;
    opacity: 0.9;
}

/* Accordion Gallery Container */
.location-gallery {
    flex: 1.5;
    display: flex;
    gap: 20px; 
    height: 500px; 
    align-items: flex-end; /* CRITICAL: Aligns small cards to bottom so active grows UP */
    padding-bottom: 20px;
}

/* Default State (Inactive Cards) */
.location-card {
    position: relative;
    flex: 2; 
    height: 320px; /* Smaller height for inactive cards */
    border-radius: 30px; 
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    border: 2px solid transparent;
}

/* Active State (Larger in Height and Width) */
.location-card.active {
    flex: 3.5; 
    height: 450px; /* Taller height as requested */
    border-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); 
}

.location-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

/* Overlay layer for shading */
.location-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
    transition: background 0.4s ease;
    pointer-events: none; 
}

.location-card:hover::after {
    background: rgba(0, 0, 0, 0.4); 
}

.location-card.active::after {
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
}

/* Pagination */
.locations-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot-globe {
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    transition: 0.3s;
}

.dot-globe.active {
    background: #a8abff;
    transform: scale(1.2);
}



/* Global END  */


/* Clients */
.clients-section {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

.clients-title {
    font-size: 48px; /* Matches the bold, large font from screenshot */
    font-weight: 700;
    color: #333;
    margin-bottom: 60px;
    font-family: 'Inter', sans-serif;
}

.clients-grid {
    display: grid;
    /* 7 columns as seen in the screenshot */
    grid-template-columns: repeat(7, 1fr);
    gap: 40px 20px; /* Vertical gap 40px, Horizontal gap 20px */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.client-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.client-logo img {
    max-width: 100%;
    height: auto;
    max-height: 60px; /* Keeps logos consistent regardless of original size */
    object-fit: contain;
}

.client-logo:hover {
    transform: scale(1.1); /* Subtle interaction effect */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1024px) {
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 600px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .clients-title {
        font-size: 32px;
    }
}