/* Global Styles */
:root {
    --primary-blue: #105182;
    --light-blue: #5bccec;
    --gray: #8b949c;
    --dark-gray: #333333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary-blue);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-blue);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
}








/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    height: 60px;
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
    object-fit: contain;
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.nav-list a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    height: 100%;
    border-radius: 4px;
}

.nav-list a:not(.btn-nav):hover {
    color: var(--primary-blue);
    background-color: rgba(91, 204, 236, 0.1);
    border-radius: 20px;
}

.nav-list a:not(.btn-nav)::after {
    display: none;
}

.nav-list a.active {
    color: var(--primary-blue);
    background-color: rgba(91, 204, 236, 0.1);
    border-radius: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle__bar {
    display: block;
    height: 2px;
    width: 24px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.menu-toggle__bar + .menu-toggle__bar {
    margin-top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .navbar.scrolled .nav-list {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .logo img {
        height: 45px;
    }
    
    .nav-list a {
        padding: 0.8rem 1.8rem;
    }
}








/* Hero Section */
.hero {
    padding: 120px 0 130px;
    background: linear-gradient(135deg, 
        rgba(16, 81, 130, 0.1) 0%, 
        rgba(255, 255, 255, 0.95) 70%,
        rgba(255, 255, 255, 1) 100%
    );
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeInUp 0.8s ease;
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--dark-gray);
}

.hero h1 span {
    color: var(--primary-blue);
    background: linear-gradient(120deg, var(--primary-blue), var(--light-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: clamp(0.95rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    color: var(--dark-gray);
    line-height: 1.6;

}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: nowrap;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(16, 81, 130, 0.2);
    border: 2px solid var(--white);
    white-space: nowrap;
}

.btn-primary:hover {
    background-color: white;
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 81, 130, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-blue);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 极.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-blue);
    white-space: nowrap;
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 81, 130, 0.2);
}

.hero-image {
    flex: 1;
    position: relative;
}

.image-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-10deg);
    transition: all 0.5s ease;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-number {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(to right, var(--primary-blue), var(--light-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-gray);
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 40px;
}

.hero-marquee-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, 
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.98) 15%,
        rgba(255, 255, 255, 0.95) 30%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.85) 70%,
        rgba(255, 255, 255, 0.8) 100%
    );
    padding: 25px 0 5px;
    backdrop-filter: blur(8px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-mask-image: linear-gradient(to top, black 80%, transparent 100%);
    mask-image: linear-gradient(to top, black 80%, transparent 100%);
}

.hero-marquee-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
    );
    pointer-events: none;
}

.marquee-heading {
    text-align: center;
    color: var(--primary-blue);
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 630;
    width: 100%;
}

.hero-marquee-container .marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 70px;
}

.hero-marquee-container .marquee::before, 
.hero-marquee-container .marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.hero-marquee-container .marquee::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
}

.hero-marquee-container .marquee::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 极.95), rgba(255, 255, 255, 0));
}

.hero-marquee-container .marquee-content {
    display: flex;
    align-items: center;
    height: 100%;
    animation: scroll 20s linear infinite;
    width: max-content;
}

.hero-marquee-container .client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 0 20px;
    height: 100%;
}

.hero-marquee-container .client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 极60px;
    height: 70px;
    padding: 10px 20px;
}

.hero-marquee-container .client-logo img {
    max-height: 50px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.hero-marquee-container .client-logo:hover img {
    transform: scale(1.05);
}

.hero-marquee-container .client-logo:nth-child(8) img {
    transform: scale(1.4);
}

.hero-marquee-container .client-logo:nth-child(8):hover img {
    transform: scale(1.5);
}


.hero-marquee-container .client-logo:nth-child(2) img {
    transform: scale(1.2);
}

.hero-marquee-container .client-logo:nth-child(2):hover img {
    transform: scale(1.3);
}

.hero-marquee-container .client-logo:nth-child(15) img {
    transform: scale(1.3);
}

.hero-marquee-container .client-logo:nth-child(15):hover img {
    transform: scale(1.4);
}



.hero-marquee-container .client-logo:nth-child(17) img {
    transform: scale(1.3);
}

.hero-marquee-container .client-logo:nth-child(17):hover img {
    transform: scale(1.4);
}

.hero-marquee-container .client-logo:nth-child(18) img {
    transform: scale(1.3);
}

.hero-marquee-container .client-logo:nth-child(18):hover img {
    transform: scale(1.4);
}

.hero-marquee-container .client-logo:nth-child(20) img {
    transform: scale(1.2);
}

.hero-marquee-container .client-logo:nth-child(20):hover img {
    transform: scale(1.3);
}

.hero-marquee-container .client-logo:nth-child(21) img {
    transform: scale(1.2);
}

.hero-marquee-container .client-logo:nth-child(21):hover img {
    transform: scale(1.3);
}


.hero-marquee-container .client-logo:nth-child(22) img {
    transform: scale(1.2);
}

.hero-marquee-container .client-logo:nth-child(22):hover img {
    transform: scale(1.3);
}


.hero-marquee-container .client-logo:nth-child(25) img {
    transform: scale(1.3);
}

.hero-marquee-container .client-logo:nth-child(25):hover img {
    transform: scale(1.4);
}

.hero-marquee-container .client-logo:nth-child(19) img {
    transform: scale(1);
}

.hero-marquee-container .client-logo:nth-child(19):hover img {
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 20px));
    }
}

/* Desktop-only styles for stat alignment */
@media (min-width: 769px) {
    .stat-number {
        margin-left: -35px;
    }
    
    .stat-label {
        margin-left: -35px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .hero {
        padding: 100px 0 140px;
        min-height: auto;
    }
    
    .hero .container {
        margin-bottom: 80px;
    }
    
    .hero-marquee-container {
        padding: 20px 0 10px;
    }
    
    .hero-marquee-container .marquee {
        height: 60px;
    }
    
    .hero-marquee-container .client-logo {
        min-width: 140px;
        height: 60px;
    }
    
    .hero-marquee-container .client-logo img {
        max-height: 45px;
        max-width: 110px;
    }
}





/* Hide mobile image on desktop */
.hero-image-mobile {
    display: none;
}

@media (max-width: 768px) {
    /* Hide desktop image wrapper on mobile */
    .hero-image {
        display: none;
        transform: none !important;
    }
    
    /* Show mobile image on mobile */
    .hero-image-mobile {
        transform: none !important;
        display: block;
        width: 100%;
        margin-top: 10px;
    }
    
    .hero-image-mobile .image-wrapper {
        height: 180px;
        overflow: hidden;
        border-radius: 15px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }
    
    .hero-image-mobile .image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 25%;
    }
    
    section.hero {
        padding: 80px 0 10px;
    }
    
    .hero .container {
        flex-direction: column;
        gap: 0px;
        margin-bottom: 0;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 1.65rem;
        line-height: 1.1;
        max-width: 100%;
        margin-bottom: 8px;
        margin-top: 8px;
    }
    
    .hero .subtitle {
        margin-bottom: 12px;
        max-width: 105%;
        font-size: 0.87rem;
        line-height: 1.4;
        margin-left: auto;
        margin-right: auto;
        padding: 0 5px;
    }
    
    /* FIXED BUTTON LAYOUT - Force side by side */
    .hero-content .hero-buttons {
        flex-direction: row !important;
        display: flex !important;
        justify-content: center;
        align-items: center;
        margin-bottom: 12px;
        gap: 4px !important;
        flex-wrap: wrap;
    }
    
    .hero-content .hero-buttons a {
        display: inline-block !important;
        flex: 0 1 auto !important;
        width: auto !important;
        margin: 0 !important;
    }
    
    .btn-primary,
    .btn-secondary {
        margin: 0 0.5px;
        transform: scale(0.98);
    }
    
    .hero-stats {
        justify-content: center;
        margin-bottom: 0px;
        gap: 12px;
        margin-top: 10px;
    }
    
    div.hero-marquee-container {
        padding: 0;
        margin-top: 3px;
    }
    
    h3.marquee-heading {
        padding-top: 18px;
        margin-bottom: 15px;
    }
    
    .hero-marquee-container {
        position: relative;
        margin-top: 15px;
        padding: 15px 0;
        background: rgba(255, 255, 255, 0.95);
    }
    
    .hero-marquee-container .marquee {
        height: 85px;
    }
    
    .hero-marquee-container .client-logo {
        min-width: 160px;
        height: 85px;
        padding: 0 22px;
    }
    
    .hero-marquee-container .client-logo img {
        max-height: 65px;
        max-width: 140px;
    }
    
    .marquee-heading {
        font-size: 1.3rem;
    }
    
    h3.marquee-heading {
        margin-bottom: 2px;
    }
    
    .stat-item {
        min-width: 90px;
    }
    
    .stat-label {
        min-height: 38px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: 0;
        white-space: nowrap;
        max-width: none;
    }
    
    .stat-number {
        margin-left: 0;
        margin-bottom: 0px;
    }
    
    .stat-item:nth-child(1) .stat-label {
        max-width: none;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 0;
    }
    
    /* Ensure buttons stay side by side on small screens */
    .hero-content .hero-buttons {
        gap: 4px !important;
        flex-direction: row !important;
    }
    
    /* Make buttons slightly smaller on very small screens */
    .btn-primary,
    .btn-secondary {
        padding: 10px 12px !important;
        font-size: 0.8rem !important;
        white-space: nowrap;
    }
    
    .hero-stats {
        gap: 12px;
    }
    
    .stat-item {
        min-width: 75px;
    }
    
    .hero-image-mobile .image-wrapper {
        transform: none !important;
        height: 160px;
    }
    
    .hero-marquee-container {
        margin-top: 25px;
        padding: 15px 0;
    }
    
    .hero-marquee-container .marquee {
        height: 60px;
    }
    
    .hero-marquee-container .client-logo {
        min-width: 110px;
        height: 60px;
        padding: 0 10px;
    }
    
    .hero-marquee-container .client-logo img {
        max-height: 40px;
        max-width: 90px;
    }
    
    .marquee-heading {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .stat-label {
        min-height: 36px;
        font-size: 0.8rem;
        margin-left: 0;
    }
    
    .stat-number {
        margin-left: 0;
    }
    
    .stat-item:nth-child(1) .stat-label {
        max-width: 70px;
    }
}



/* Process Flowchart Styles - Matched to Website */
.process-flow {
  background: white;
  border-radius: 10px;
  padding: 35px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin: 50px auto;
  border: 1px solid rgba(91, 204, 236, 0.1);
  max-width: 1000px;
}

.process-flow .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.process-flow .section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--primary-blue);
}

.process-flow .section-header p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.flow-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 30px 0;
  flex-wrap: wrap;
}

.flow-step {
  width: 120px;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.flow-step:hover {
  transform: translateY(-5px);
}

.step-connector {
  position: absolute;
  top: 32px;
  left: 60px;
  right: 60px;
  height: 2px;
  background-color: rgba(91, 204, 236, 0.3);
  z-index: 1;
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(91, 204, 236, 0.1);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 1.2rem;
  font-weight: 700;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.flow-step.active .step-icon,
.flow-step:hover .step-icon {
  background-color: rgba(16, 81, 130, 0.15);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.step-title {
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 6px;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
}

.step-desc {
  font-size: 0.8rem;
  color: var(--gray);
}

.flow-details {
  background-color: var(--light-gray);
  padding: 25px;
  border-radius: 8px;
  margin-top: 20px;
  display: none;
  animation: fadeIn 0.5s ease;
  border-left: 4px solid var(--primary-blue);
}

.flow-details.active {
  display: block;
}

.detail-title {
  color: var(--primary-blue);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center; /* Center the icon and text */
  gap: 10px;
  font-size: 1.2rem;
  font-family: 'Montserrat', sans-serif;
}

/* Make sure the step-icon inside detail-title is properly sized */
.detail-title .step-icon {
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  margin: 0;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.detail-item {
  margin-bottom: 15px;
}

.detail-item h5 {
  color: var(--primary-blue);
  margin-bottom: 0px;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
}

.detail-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--dark-gray);
  line-height: 1.5;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 992px) {
  .flow-steps {
    justify-content: center;
    gap: 15px;
  }
  
  .step-connector {
    display: none;
  }
  
  .detail-content {
    grid-template-columns: 1fr;
  }
  
  .flow-step {
    width: 100px;
  }
}

@media (max-width: 768px) {
  .process-flow {
    padding: 30px;
    margin: 0px auto;
  }
  
  .process-flow .section-header h2 {
    font-size: 1.8rem;
  }
  
  .process-flow .section-header p {
    font-size: 1rem;
  }
  
  .flow-step {
    width: 85px;
    margin-bottom: 10px;
  }
  
  .step-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .flow-details {
    padding: 20px;
  }
  
  .detail-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }
  div.detail-item {
    margin-bottom: 0px;
  }
  .detail-item h5 {
  margin-bottom: 0px;

}
  .detail-title .step-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}



/* Why Us Section */
.why-us {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(16, 81, 130, 0.1) 0%, rgba(255, 255, 255, 1) 100%);
}

.why-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.why-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.why-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.why-image:hover img {
    transform: scale(1.05);
}

.why-points {
    flex: 1;
}

.point {
    display: flex;
    margin-bottom: 30px;
    gap: 20px;
}

.point-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.point-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.point-content p {
    color: var(--gray);
}








/* Services Preview Section */
.services-preview {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(16, 81, 130, 0.1) 0%, rgba(255, 255, 255, 1) 100%);
}

.services-preview .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.service-item {
    background: white;
    padding: 25px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(91, 204, 236, 0.1);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(91, 204, 236, 0.3);
}

.service-icon {
    width: 55px;
    height: 55px;
    background: rgba(91, 204, 236, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #1a3e6a;
    font-size: 1.3rem;
}

.service-item h3 {
    font-size: 1rem;
    color: #1a3e6a;
    margin: 0;
    font-weight: 600;
}

.services-cta {
    text-align: center;
}

@media (max-width: 768px) {
    .services-preview {
        padding: 30px 0;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .service-item {
        padding: 18px 10px; /* Reduced padding */
        min-height: 140px; /* Added fixed height */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .service-icon {
        width: 45px; /* Smaller icon */
        height: 45px; /* Smaller icon */
        font-size: 1.1rem; /* Smaller icon */
        margin-bottom: 10px; /* Reduced spacing */
    }
    
    .service-item h3 {
        font-size: 0.9rem;
        line-height: 1.3; /* Tighter line height */
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto 40px;
        gap: 12px; /* Even smaller gap */
    }
    
    .service-item {
        padding: 16px 8px; /* Even more compact */
        min-height: 120px; /* Even shorter cards */
    }
    
    .service-icon {
        width: 40px; /* Even smaller icon */
        height: 40px; /* Even smaller icon */
        font-size: 1rem; /* Even smaller icon */
    }
    
    .service-item h3 {
        font-size: 0.85rem; /* Slightly smaller text */
    }
}









/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background: linear-gradient(to bottom right, #f8f9fa, #e9ecef);
    padding: 40px;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-blue);
    margin: 0;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.testimonial-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.quote-icon {
    color: var(--primary-blue);
    font-size: 2.2rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 25px;
    color: var(--dark-gray);
    line-height: 1.6;
    flex-grow: 1;
}

.client-info-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: auto;
}

.client-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0; /* Prevents overflow */
}

.client-name {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.client-position {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.view-text {
    padding-right: 22px;
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 0.85rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    white-space: nowrap;
}

.view-text i {
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    flex-direction: column;
}

.slider-prev, .slider-next {
    background-color: var(--primary-blue);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

.slider-prev:hover, .slider-next:hover {
    background-color: var(--light-blue);
    transform: translateY(-50%) scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 300px;
    margin: 0 auto;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--gray);
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-blue);
    opacity: 1;
    transform: scale(1.2);
}

/* Review Modal Styles */
.review-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    z-index: 1000;
    overflow: auto;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.review-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.review-modal-content {
    background-color: transparent;
    max-width: 1000px;
    width: 100%;
    height: 90vh;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    box-shadow: none;
    padding: 0;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.review-close-modal {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: -40px;
    right: 0;
    z-index: 1001;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.review-close-modal:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.scanned-review {
    padding: 0;
    text-align: center;
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scanned-review img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border: none;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    object-fit: contain;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Testimonials Section Media Queries */
@media (max-width: 968px) {
    .testimonial-slider {
        padding: 0 50px;
    }
    
    .testimonial-content {
        padding: 30px;
    }
    
    .slider-prev, .slider-next {
        width: 45px;
        height: 45px;
    }
    
    .client-position {
        font-size: 0.95rem;
    }
    
    .view-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 30px 0;
    }
    
    .testimonial-slider {
        padding: 0 10px;
    }
    
    .testimonial-content {
        padding: 25px;
        min-height: 250px;
    }
    
    .testimonial-content p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .client-info-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px; /* Increased gap between elements */
    }
    
    .view-text {
        position: relative;
        margin-left: 0;
        margin-top: 10px; /* Added more space above the view text */
        padding-right: 0;
    }
    
    .slider-prev, .slider-next {
        width: 40px;
        height: 40px;
    }
    .slider-prev {
        left: -10px; /* Move left arrow outside */
    }
    
    .slider-next {
        right: -10px; /* Move right arrow outside */
    }

    .slider-dots {
        flex-wrap: wrap;
        max-width: 200px;
        row-gap: 8px;
    }
    
    .review-modal {
        padding: 30px;
    }
    
    .review-modal-content {
        height: 85vh;
    }
    
    .review-close-modal {
        top: -35px;
        right: 0;
        width: 35px;
        height: 35px;
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    .testimonial-slider {
        padding: 0 35px;
    }
    
    .testimonial-content {
        padding: 20px;
        min-height: 220px;
    }
    
    .testimonial-content p {
        font-size: 1.05rem;
    }
    
    .client-name {
        font-size: 1.05rem;
    }
    
    .client-position {
        font-size: 0.9rem;
        white-space: normal;
        line-height: 1.3;
    }
    
    .view-text {
        font-size: 0.75rem;
        margin-top: 12px; /* Increased gap for smaller screens */
    }
    
    .slider-dots {
        max-width: 150px;
        gap: 8px;
    }
    
    .review-modal {
        padding: 20px;
    }
    
    .review-modal-content {
        height: 80vh;
    }
    
    .review-close-modal {
        top: -30px;
        width: 30px;
        height: 30px;
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .testimonial-slider {
        padding: 0 30px;
    }
    
    .testimonial-content {
        padding: 18px;
        min-height: 200px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .client-info-container {
        padding-top: 15px;
        gap: 18px; /* Further increased gap for very small screens */
    }
    
    .client-name {
        font-size: 1rem;
    }
    
    .client-position {
        font-size: 0.85rem;
    }
    
    .view-text {
        font-size: 0.7rem;
        margin-top: 15px; /* Maximum gap for the smallest screens */
    }
    
    .slider-prev, .slider-next {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .slider-dots {
        max-width: 120px;
        gap: 6px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
    
    .review-modal {
        padding: 15px;
    }
    
    .review-modal-content {
        height: 75vh;
    }
    
    .review-close-modal {
        top: -25px;
        width: 25px;
        height: 25px;
        font-size: 1.4rem;
    }
}

@media (max-width: 360px) {
    .testimonial-slider {
        padding: 0 25px;
    }
    
    .testimonial-content {
        padding: 15px;
    }
    
    .slider-prev, .slider-next {
        width: 30px;
        height: 30px;
    }
    
    .slider-dots {
        max-width: 100px;
    }
}







/* Resources Section */
.resources {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(16, 81, 130, 0.1) 0%, rgba(255, 255, 255, 1) 100%);
}

.resources .section-header {
    margin-bottom: 50px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.resource-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(91, 204, 236, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.resource-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
    opacity: 0.8;
}

.resource-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(91, 204, 236, 0.3);
}

.resource-header {
    display: flex;
    align-items: center; 
    justify-content: center;
    margin-bottom: 15px;
    gap: 12px; 
    width: 100%;
}

.resource-icon {
    font-size: 2rem; 
    flex-shrink: 0; 
}

.resource-item h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    font-size: 1.2rem; 
    margin: 0; 
    font-weight: 600;
    text-align: left; 
    flex: 1; 
}

.resource-item p {
    color: var(--gray);
    margin-bottom: 20px; 
    line-height: 1.6;
    font-size: 0.95rem; 
}

.btn-download {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 10px 20px; 
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--primary-blue);
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem; 
    margin-top: auto;
}

.btn-download:hover {
    background: transparent;
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 81, 130, 0.2);
}

/* Download Modal Styles */
.download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.download-modal.active {
    display: flex;
}

.download-modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.download-modal-content h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.modal-form input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.modal-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-cancel {
    background: var(--light-gray);
    color: var(--dark-gray);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #e0e0e0;
}

.download-close-modal {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.download-close-modal:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}


/* Resources Section Media Queries */
@media (max-width: 992px) {
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        gap: 20px;
    }
    
    .resource-item {
        padding: 20px 18px;
    }
}

@media (max-width: 768px) {

    .resources {
        padding: 30px 0;
    }
    .resources-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 18px;
    }
    
    .resource-item {
        padding: 18px 16px;
    }
    
    .resource-header {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .resource-icon {
        font-size: 1.6rem;
        margin-bottom: 0;
    }
    
    .resource-item h3 {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 0;
    }
    
    .resource-item p {
        margin-bottom: 15px;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .btn-download {
        padding: 8px 18px;
        font-size: 0.85rem;
        margin-top: 5px;
    }
    
    .download-modal-content {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .resources-grid {
        max-width: 320px;
        gap: 15px;
    }
    
    .resource-item {
        padding: 15px 14px;
    }
    
    .resource-header {
        gap: 5px;
        margin-bottom: 10px;
    }
    
    .resource-icon {
        font-size: 1.4rem;
    }
    
    .resource-item h3 {
        font-size: 1rem;
    }
    
    .resource-item p {
        margin-bottom: 12px;
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .btn-download {
        padding: 7px 16px;
        font-size: 0.8rem;
        margin-top: 3px;
    }
    
    .download-modal-content {
        padding: 20px 18px;
    }
    
    .modal-form {
        gap: 12px;
        margin: 20px 0;
    }
    
    .modal-form input {
        padding: 10px 12px;
    }
}






/* Footer Section */
.footer {
    background-color: #105182;
    color: #ffffff;
    padding: 70px 0 10px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 30px;
}

.footer-col:nth-child(2) {
    margin-left: 60px;
}

.footer-col:nth-child(3) {
    margin-left: 50px;
}

.footer p {
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #4299e1;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    opacity: 0.8;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.footer-col a:hover {
    opacity: 1;
    color: #4299e1;
}

.footer-col i {
    color: #4299e1;
    width: 16px;
    margin-right: 1px;
    font-size: 0.9rem;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    margin: 10px 0;
}

.footer-bottom {
    padding: 10px 0;
    width: 100%;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
    flex: 1;
}

.footer-logo-small {
    height: 40px;
    width: auto;
}

.built-by {
    opacity: 0.7;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.zentrix-labs:hover {
    opacity: 1;
    color: #d9ff00;
}

.zentrix-labs {
    font-weight: 700;
    margin-left: 4px;
    color: #3ad1ff;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
}

.newsletter-form p {
    margin-bottom: 15px;
}

.newsletter-input {
    padding: 12px 15px;
    border: none;
    border-radius: 0;
    margin-bottom: 10px;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
}

.footer .newsletter-form .btn-primary {
    background-color: #4299e1;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.footer .newsletter-form .btn-primary:hover {
    background-color: #2b6cb0;
}

.contact-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.contact-link:hover {
    opacity: 1;
    color: #4299e1;
}

@media (max-width: 768px) {

    .footer {
        padding: 30px 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col h3 {
        margin-bottom: 15px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-bottom-content .footer-bottom-left {
        order: 1;
    }
    
    .footer-bottom-content p {
        order: 2;
    }
    
    .footer-bottom-content .footer-bottom-right {
        order: 3;
    }
    
    .built-by {
        justify-content: center;
    }
    
    .newsletter-input,
    .footer .newsletter-form .btn-primary {
        width: 100%;
    }
    
    .footer-col:nth-child(2) {
        margin-left: 0;
    }
    
    .footer-col:nth-child(3) {
        margin-left: 0;
    }
}








/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: #f5f7fa;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
    background-color: #105182;
    padding: 40px;
    border-radius: 10px;
    color: #ffffff;
}

.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #ffffff;
}

.info-content a, .info-content p {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    text-decoration: none;
}

.info-content a:hover {
    color: #4299e1;
}

.contact-form {
    flex: 1;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a365d;
}

.form-group textarea {
    resize: vertical;
}

.contact-section .contact-form .btn-primary {
    display: block;
    margin: 0 auto;
    max-width: 200px;
}

@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 30px 0;
    }
    
    .contact-info, .contact-form {
        padding: 30px;
    }
    
    .info-card {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 15px;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    .info-content {
        flex: 1;
    }
    
    .info-content h3 {
        font-size: 1.1rem;
    }
    
    .contact-section .contact-form .btn-primary {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .contact-info, .contact-form {
        padding: 20px;
    }
    
    .info-card {
        gap: 12px;
    }
    
    .info-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}








/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}








/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .why-content {
        flex-direction: column;
    }
    
    .why-image {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 200px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .nav-list li {
        margin: 15px 0;
    }
    
    .hero {
        padding: 120px 0 60px;
    }

    .why-us {
        padding: 30px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}






/* Urgency Section */
.urgency-section {
    padding: 80px 0;
    background-color: var(--primary-blue);
    color: white;
}

.urgency-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.urgency-text {
    flex: 1;
}

.urgency-text h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.risk-meter {
    margin: 30px 0;
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
}

.meter-bar {
    height: 12px;
    background: #f44336;
    border-radius: 6px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.safe-zone {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60%;
    background: #4CAF50;
}

.risk-zone {
    position: absolute;
    left: 60%;
    top: 0;
    bottom: 0;
    width: 20%;
    background: #FFC107;
}

.critical-zone {
    position: absolute;
    left: 80%;
    top: 0;
    bottom: 0;
    width: 20%;
    background: #F44336;
}

.urgency-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.urgency-text p strong {
    font-size: 1.5rem;
}

.urgency-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.urgency-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 992px) {

    .urgency-section {
        padding: 35px 0;
    }
    .urgency-content {
        flex-direction: column;
    }
    
    .urgency-image {
        order: -1;
        margin-bottom: 30px;
    }
}



/* FAQ Section Styles */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(16, 81, 130, 0.1) 0%, rgba(255, 255, 255, 1) 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 40px;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #eaeaea;
    position: relative;
}

/* Add blue gradient to FAQ cards like resource cards */
.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
    opacity: 0.8;
}

/* Rest of the CSS remains exactly the same */
.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a3e6a;
}

.faq-toggle {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-toggle i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

.faq-toggle .fa-minus {
    opacity: 0;
}

.faq-item.active .faq-toggle .fa-plus {
    opacity: 0;
}

.faq-item.active .faq-toggle .fa-minus {
    opacity: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    margin: 0;
    line-height: 1.6;
    color: #444;
}

.faq-cta p {
    margin-bottom: 20px;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-section {
        padding: 30px 0;
    }

    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 10px;
    }
    
    .faq-answer p {
        padding: 0 20px 15px;
    }
}















/* ==================== ABOUT PAGE STYLES ==================== */
.about-hero {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 80px 0 60px;
    margin-top: 80px;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 5px;
    color: var(--white);
}

.about-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.about-content {
    padding: 80px 0;
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

.about-intro h2 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--primary-blue);
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.leadership-profile-section {
    margin: 60px 0;
}

div.leadership-profile-section {
    margin: 0px 0;
}

.profile-card-container {
    display: flex;
    gap: 40px;
    background-color: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.profile-card-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1a3e6a, #5bccec);
}

.profile-image-wrapper {
    flex: 0 0 320px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.profile-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.profile-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 62, 106, 0.1) 0%, rgba(91, 204, 236, 0.1) 100%);
    mix-blend-mode: soft-light;
}

.profile-content-wrapper {
    flex: 1;
}

.company-mission {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    padding: 20px;
    background-color: #f1f8ff;
    border-left: 4px solid #5bccec;
    border-radius: 0 8px 8px 0;
    margin-bottom: 25px;
}

.leader-name {
    font-size: 1.9rem;
    margin-bottom: 5px;
    color: #1a3e6a;
    font-weight: 700;
}

.leader-title {
    font-weight: 600;
    color: #5bccec;
    margin-bottom: 25px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.leader-biography p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #4a5568;
}

.expertise-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
    padding-left: 0;
    list-style: none;
}

.expertise-list li {
    background: linear-gradient(90deg, rgba(91, 204, 236, 0.1) 0%, rgba(91, 204, 236, 0.05) 100%);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    border-left: 3px solid #5bccec;
    transition: all 0.3s ease;
}

.expertise-list li:hover {
    background: linear-gradient(90deg, rgba(91, 204, 236, 0.15) 0%, rgba(91, 204, 236, 0.1) 100%);
    transform: translateX(5px);
}

.expertise-category {
    font-weight: 600;
    color: #1a3e6a;
}

.certifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.certifications li {
    background-color: rgba(91, 204, 236, 0.1);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.95rem;
}

/* About Page Responsive Adjustments */
@media (max-width: 992px) {
    .profile-card-container {
        flex-direction: column;
    }
    
    .profile-image-wrapper {
        flex: 0 0 auto;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 80px 0 50px;
    }
    
    section.about-content {
        padding: 40px 0;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .leadership-profile-section {
        margin: 40px 0;
    }
    
    .profile-card-container {
        padding: 30px;
    }
    
    .profile-image-wrapper {
        max-width: 100%;
    }
    
    .leader-name {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .about-hero {
        padding: 50px 0 50px;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .about-hero p {
        font-size: 1.1rem;
    }
    
    .profile-card-container {
        padding: 20px;
    }
    
    .profile-image-wrapper {
        flex: 0 0 auto;
        max-width: 100%;
    }
    
    .expertise-list li {
        padding: 10px 15px;
    }
    
    .certifications {
        grid-template-columns: 1fr;
    }
}

/* ==================== SERVICES PAGE STYLES ==================== */
.standards-section {
    margin: 0;
}

.standards-section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.2rem;
    color: #1a3e6a;
}

.standards-section > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.standards-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.standard-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #5bccec;
}

.standard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.standard-card.full-width {
    border-left-color: #1a3e6a;
}

.standard-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.standard-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(91, 204, 236, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #1a3e6a;
    font-size: 1.4rem;
}

.standard-card h3 {
    font-size: 1.4rem;
    color: #1a3e6a;
    margin: 0;
}

.standard-content p {
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

.iso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.iso-grid ul {
    list-style: none;
    padding-left: 0;
}

.iso-grid li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.iso-grid li::before {
    content: '•';
    color: #5bccec;
    font-size: 1.4rem;
    position: absolute;
    left: 0;
    top: -3px;
}

.capability-statement {
    background-color: #105182;
    color: white;
    padding: 80px 40px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.capability-statement h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.capability-statement p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 0;
}

/* Services Page Responsive Adjustments */
@media (min-width: 768px) {
    .standards-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .standard-card.full-width {
        grid-column: 1 / -1;
    }
    
    
}

@media (max-width: 767px) {
    .standards-section {
        margin-top: 0px;
    }
    
    .standards-section h2 {
        font-size: 1.8rem;
    }
    
    .standard-card {
        padding: 20px;
        width: 95%;
        margin: 0 auto;
    }
    
    .standard-card.full-width {
        width: 95%;
        margin: 0 auto;
    }
    
    .iso-grid {
        grid-template-columns: 1fr;
    }
    
    .capability-statement {
        padding: 25px;
    }
    
    .about-content[data-page="services"] {
        padding: 20px 0 20px; 
    }
    
}

@media (max-width: 480px) {
    .standard-card {
        width: 92%;
        padding: 18px 12px;
    }
    
    .standard-card.full-width {
        width: 92%;
    }
}







/* Scroll Animation Styles */
.reveal-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal-animation.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.025s; }
.delay-2 { transition-delay: 0.05s; }
.delay-3 { transition-delay: 0.075s; }
.delay-4 { transition-delay: 0.1s; }












/* ==================== IMAGE GALLERY SECTION STYLES ==================== */
.image-gallery-section {
    padding: 40px 0;
    background: #f9f9f9;
    --primary-blue: #1a73e8;
    --dark-gray: #333;
}

.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.gallery-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.image-gallery-section .nav-arrow {
    background: var(--primary-blue) !important;
    color: white !important;
    border: none !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    font-size: 1.2rem !important;
    flex-shrink: 0 !important;
    z-index: 10 !important;
}

.image-gallery-section .nav-arrow:hover {
    background: #0a3a61 !important;
    transform: none !important;
}

.image-gallery-section .main-image-container {
    position: relative !important;
    width: 800px !important;
    max-width: 100% !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    background: white !important;
    /* Remove fixed height and use aspect ratio instead */
    aspect-ratio: 16/10 !important;
}

.image-gallery-section .image-wrapper {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: white !important;
    transform: none !important;
    padding: 0 !important;
}

.image-gallery-section .main-image {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
}

.image-gallery-section .image-counter {
    position: absolute !important;
    bottom: 10px !important;
    right: 10px !important;
    background: rgba(0, 0, 0, 0.7) !important;
    color: white !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    font-size: 0.9rem !important;
    z-index: 5 !important;
}

.image-gallery-section .image-description {
    text-align: center !important;
    margin-bottom: 25px !important;
    padding: 0 5px !important;
}

.image-gallery-section .image-description p {
    font-size: 1.2rem !important;
    color: var(--dark-gray) !important;
    font-weight: 500 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.image-gallery-section .thumbnail-container {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 0 5px !important;
}

.image-gallery-section .thumbnail {
    width: 80px !important;
    height: 60px !important;
    border-radius: 5px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    opacity: 0.7 !important;
    transition: opacity 0.3s ease, border-color 0.3s ease !important;
    border: 2px solid transparent !important;
    flex-shrink: 0 !important;
    transform: none !important;
}

.image-gallery-section .thumbnail:hover {
    opacity: 1 !important;
    transform: none !important;
}

.image-gallery-section .thumbnail.active {
    opacity: 1 !important;
    border-color: var(--primary-blue) !important;
    transform: none !important;
}

.image-gallery-section .thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: none !important;
}

/* Auto-play controls */
.image-gallery-section .auto-play-controls {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    margin-top: 20px !important;
}

.image-gallery-section .auto-play-toggle {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    font-size: 0.9rem !important;
    color: var(--dark-gray) !important;
}

.image-gallery-section .toggle-switch {
    width: 40px !important;
    height: 20px !important;
    background: #ddd !important;
    border-radius: 20px !important;
    position: relative !important;
    transition: background 0.3s ease !important;
}

.image-gallery-section .toggle-switch::before {
    content: '' !important;
    position: absolute !important;
    width: 16px !important;
    height: 16px !important;
    background: white !important;
    border-radius: 50% !important;
    top: 2px !important;
    left: 2px !important;
    transition: transform 0.3s ease !important;
}

.image-gallery-section .auto-play-toggle.active .toggle-switch {
    background: var(--primary-blue) !important;
}

.image-gallery-section .auto-play-toggle.active .toggle-switch::before {
    transform: translateX(20px) !important;
}

/* ==================== RESPONSIVE STYLES ==================== */
/* For tablets and medium screens */
@media (max-width: 900px) {
    .image-gallery-section .main-image-container {
        width: 95% !important;
        margin: 0 auto !important;
    }
    
    .gallery-container {
        padding: 0 10px !important;
    }
    
    .gallery-main {
        gap: 12px !important;
    }
}

/* For mobile devices */
@media (max-width: 768px) {
    .image-gallery-section {
        padding: 30px 0 !important;
    }
    
    .gallery-container {
        padding: 0 5px !important;
    }
    
    .gallery-main {
        gap: 8px !important;
        margin-bottom: 15px !important;
    }
    
    .image-gallery-section .nav-arrow {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    .image-gallery-section .main-image-container {
        width: 98% !important;
        border-radius: 8px !important;
        aspect-ratio: 16/9 !important; /* Wider aspect ratio for mobile */
    }
    
    .image-gallery-section .image-wrapper {
        padding: 5px !important;
    }
    div.image-wrapper{
        margin-top: 0px;
        padding: 0px;
    }
    div.about-intro {
        margin-bottom: 20px;
    }
    .image-gallery-section .image-counter {
        bottom: 8px !important;
        right: 8px !important;
        font-size: 0.8rem !important;
        padding: 3px 8px !important;
    }
    
    .image-gallery-section .image-description {
        margin-bottom: 20px !important;
    }
    
    .image-gallery-section .image-description p {
        font-size: 1.1rem !important;
    }
    
    .image-gallery-section .thumbnail {
        width: 70px !important;
        height: 52px !important;
    }
    
    .image-gallery-section .thumbnail-container {
        gap: 6px !important;
        padding: 0 3px !important;
    }
}

/* For small mobile devices */
@media (max-width: 600px) {
    .image-gallery-section {
        padding: 25px 0 !important;
    }
    
    .gallery-main {
        gap: 6px !important;
    }
    
    .image-gallery-section .nav-arrow {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
    }
    
    .image-gallery-section .main-image-container {
        aspect-ratio: 4/3 !important; /* Even wider aspect ratio for small devices */
    }
    
    .image-gallery-section .image-description p {
        font-size: 1rem !important;
    }
    
    .image-gallery-section .thumbnail {
        width: 60px !important;
        height: 45px !important;
    }
    
    .image-gallery-section .thumbnail-container {
        gap: 5px !important;
    }
}

/* For extra small mobile devices */
@media (max-width: 480px) {
    .image-gallery-section {
        padding: 20px 0 !important;
    }
    
    .gallery-main {
        gap: 5px !important;
    }
    
    .image-gallery-section .nav-arrow {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
    }
    
    .image-gallery-section .main-image-container {
        border-radius: 6px !important;
        aspect-ratio: 1/1 !important; /* Square aspect ratio for very small screens */
    }
    
    .image-gallery-section .image-counter {
        font-size: 0.75rem !important;
        padding: 2px 6px !important;
    }
    
    .image-gallery-section .image-description p {
        font-size: 0.95rem !important;
    }
    
    .image-gallery-section .thumbnail {
        width: 50px !important;
        height: 38px !important;
    }
    
    .image-gallery-section .thumbnail-container {
        gap: 4px !important;
    }
}







/* ==================== CLIENTS PAGE STYLES ==================== */
.clients-hero {
    background: linear-gradient(rgba(16, 107, 130, 0.8), rgba(16, 107, 130, 0.8)), 
                url('../images/clients-bg.jpg') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 80px;
}

.about-content[data-page="services"] {
    padding: 50px 0 30px;
}

.clients-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.clients-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.clients-by-service {
    padding: 80px 0;
    background-color: var(--white);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.service-group {
    margin-bottom: 60px;
}

/* ==================== CLIENTS PAGE - FIXED SERVICE HEADER ==================== */
.service-group .service-header {
    display: block !important;
    text-align: center !important;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-blue);
    /* REMOVED: white-space: nowrap - Allow natural wrapping */
}

.service-group .service-header .service-icon {
    display: inline-block !important;
    margin-right: 10px !important;
    vertical-align: middle !important;
    font-size: 1.8rem;
    color: var(--primary-blue);
}

.service-group .service-header h3 {
    display: inline-block !important;
    margin: 0 !important;
    vertical-align: middle !important;
    text-align: left !important;
    font-size: 1.8rem;
    color: var(--primary-blue);
    /* Allow heading to wrap naturally */
    white-space: normal;
    word-wrap: break-word;
}

/* Remove any gaps completely */
.service-group .service-header {
    gap: 0 !important;
    justify-content: center !important;
}

/* List Layout Styles */
.list-container {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    border-bottom: 1px solid #eaeaea;
    transition: background-color 0.3s ease;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item:hover {
    background-color: rgba(91, 204, 236, 0.1);
}

.list-info {
    flex-grow: 1;
}

.list-name {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-weight: 600;
}

.list-location {
    color: var(--gray);
    font-size: 0.9rem;
}

.list-service {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    min-width: 180px;
    margin-left: 15px;
}

/* Minimalist Grid Layout */
.minimalist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.minimalist-item {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-blue);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.minimalist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.minimalist-content {
    flex-grow: 1;
    margin-bottom: 15px;
}

.minimalist-name {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-weight: 600;
}

.minimalist-location {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

.minimalist-service {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    align-self: flex-start;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .clients-hero h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .clients-hero {
        padding: 120px 0 80px;
    }
    
    .clients-hero h1 {
        font-size: 2.2rem;
    }
    
    .clients-hero p {
        font-size: 1.1rem;
    }
    
    .minimalist-grid {
        grid-template-columns: 1fr;
    }
    
    .list-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    
    .list-service {
        margin: 10px 0 0 0;
        text-align: center;
        width: 100%;
    }
    
    /* Mobile optimization for service headers - ALLOW NATURAL WRAPPING */
    .service-group .service-header {
        /* REMOVED: white-space: nowrap and overflow-x: auto */
        white-space: normal; /* Allow natural wrapping */
    }
    
    .service-group .service-header h3 {
        font-size: 1.6rem;
        text-align: center !important;
        white-space: normal; /* Allow heading to wrap */
    }
    
    .service-group .service-header .service-icon {
        font-size: 1.6rem;
        margin-right: 8px;
    }
    
    div.service-group {
        margin-bottom: 10px;
    }
    
    .about-content[data-page="services"] {
        padding: 20px 0 !important;
    }
}

@media (max-width: 576px) {
    .clients-hero {
        padding: 100px 0 60px;
        margin-top: 70px;
    }
    
    .clients-hero h1 {
        font-size: 2rem;
    }
    
    .service-group .service-header h3 {
        font-size: 1.4rem;
    }
    
    .service-group .service-header .service-icon {
        font-size: 1.4rem;
        margin-right: 6px;
    }
    
    /* REMOVED: Forced single line and horizontal scrolling */
    .service-group .service-header {
        white-space: normal; /* Allow natural line breaks */
    }
}