:root {
    --primary: #00B8D4;
    --primary-dark: #008ba3;
    --secondary: #8DC63F;
    --accent: #FF5722;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --dark-navy: #1e1b4b;
    --glass: rgba(255, 255, 255, 0.85);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.special-link {
    color: var(--primary);
    background: rgba(0, 184, 212, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 184, 212, 0.2);
}

.nav-links a.special-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn {
    padding: 1.1rem 2.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 10px 25px rgba(0, 184, 212, 0.25);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 184, 212, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-4px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    padding: 120px 0 80px;
}

.hero.small-hero {
    min-height: 50vh;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg-light), transparent);
}

.hero-content {
    max-width: 800px;
}

.subheading {
    color: var(--secondary);
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Stats Section */
.stats-section {
    background: var(--white);
    padding: 4rem 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(0,0,0,0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 1rem;
}

.stat-item .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-item .label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about-section {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-navy);
}

.section-title.centered {
    text-align: center;
    margin-bottom: 4rem;
}

.features-list {
    list-style: none;
    margin-top: 2rem;
}

.features-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.rounded-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-section {
    background-color: #f1f5f9;
    padding: 10rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 4rem 2.5rem;
    border-radius: 24px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-navy);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-card {
    text-align: center;
    padding: 2.5rem !important;
}

.process-card .number {
    font-size: 3rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.newsletter-form input {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: none;
    flex: 1;
}

/* Contact Form */
.contact-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.contact-form {
    text-align: left;
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

@media (max-width: 576px) {
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 10px;
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 4rem;
        transition: var(--transition);
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-cta {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .client-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .services-grid, .leadership-grid, .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-section {
        width: 95%;
        padding: 3rem 1rem;
    }

    .service-card {
        padding: 3rem 2rem;
    }

    .leader-card {
        aspect-ratio: 1/1;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .nav-links {
        gap: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay classes for staggered reveals */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
.delay-5 { transition-delay: 1s; }

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.leader-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/2;
    background: #f1f5f9;
}

.leader-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
}

.leader-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    color: white;
    transition: var(--transition);
}

.leader-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.leader-card:hover .leader-info {
    background: linear-gradient(to top, var(--primary) 0%, rgba(0, 184, 212, 0.6) 60%, transparent 100%);
}

.leader-info h4 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.leader-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Client Grid Section */
.client-network {
    padding: 6rem 0;
    background: #fff;
}

.carousel-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 3rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    padding: 0.5rem;
}

.client-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: var(--transition);
    border-radius: 12px;
}

.client-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.client-logo {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    transition: var(--transition);
}

/* Pagination Dots Styling */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 3rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: #e11d48;
    width: 30px;
    border-radius: 10px;
}

/* Logo Text Fallback Styling */
.logo-text {
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    user-select: none;
    padding: 0 10px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 184, 212, 0.3);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

@media (max-width: 1100px) {
    .client-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .client-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Continuous Marquee Slider */
.client-marquee-section {
    padding: 3rem 0;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
    gap: 3rem;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 150px;
    opacity: 0.7;
    transition: var(--transition);
}

.marquee-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

.marquee-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
