/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Enhanced Color Palette */
    --primary-text: #003a37;
    --secondary-text: #15543c;
    --background: #f5f5f5;
    --background-alt: #e8eaed;
    --background-gradient-start: #f5f5f5;
    --background-gradient-end: #e8eaed;
    
    /* Brand Teal/Green */
    --accent: #045149;
    --accent-hover: #003a37;
    --accent-light: #21664d;
    --accent-gradient-start: #045149;
    --accent-gradient-end: #003a37;
    
    /* Complementary Colors */
    --accent-secondary: #21664d;
    --accent-tertiary: #9ec5c6;
    --success: #15543c;
    
    /* Borders & Shadows */
    --border: #9ec5c6;
    --border-light: #d1d5db;
    --shadow-sm: 0 1px 2px 0 rgba(0, 58, 55, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 58, 55, 0.15), 0 2px 4px -1px rgba(0, 58, 55, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 58, 55, 0.2), 0 4px 6px -2px rgba(0, 58, 55, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(0, 58, 55, 0.25), 0 10px 10px -5px rgba(0, 58, 55, 0.2);
    --shadow-glow: 0 0 20px rgba(4, 81, 73, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--primary-text);
    background: var(--background);
    background-attachment: fixed;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header and Navigation */
header {
    background: transparent !important;
    backdrop-filter: none;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: none !important;
}

.nav-link {
    color: var(--primary-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
}

nav {
    padding: 1rem 0;
    background: transparent !important;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
    gap: 0.75rem;
}

.logo:hover {
    opacity: 0.9;
}

.logo:hover .logo-img {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-gradient-start) 0%, var(--accent-gradient-end) 50%, var(--accent-hover) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--accent-gradient-start) 0%, var(--accent-gradient-end) 50%, var(--accent-hover) 100%);
    padding: 7rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.hero-subheading {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-gradient-start) 0%, var(--accent-gradient-end) 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md), var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-gradient-end) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(4, 81, 73, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button:focus-visible {
    outline: 3px solid rgba(4, 81, 73, 0.4);
    outline-offset: 3px;
}

.cta-button.primary {
    font-size: 1.2rem;
    padding: 1.25rem 2.5rem;
    border-radius: 10px;
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

section:nth-child(even) {
    background: var(--background-alt);
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3.5rem;
    text-align: center;
    color: var(--primary-text);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-text);
    letter-spacing: -0.01em;
}

/* What We Do Section */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: linear-gradient(135deg, var(--background-alt) 0%, var(--background) 100%);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-gradient-start), var(--accent-gradient-end));
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(4, 81, 73, 0.2);
    border-color: var(--accent-light);
}

.service-card h3 {
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--secondary-text);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Clients Section */
.clients-carousel {
    position: relative;
    margin-top: 2rem;
    overflow: hidden;
}

.clients-track {
    display: flex;
    gap: 0.75rem;
    animation: scroll-clients 30s linear infinite;
    width: max-content;
    transform: translateX(0);
}

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

@keyframes scroll-clients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-2044px);
    }
}


.client-card {
    display: block;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    min-width: 280px;
    flex-shrink: 0;
}

.client-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(4, 81, 73, 0.1) 0%, rgba(33, 102, 77, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.client-card:hover::after {
    opacity: 1;
}

.client-card:hover {
    transform: translateY(-4px);
}

.client-card:focus-visible {
    outline: 3px solid rgba(4, 81, 73, 0.4);
    outline-offset: 3px;
}

.client-logo {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.client-logo img {
    height: 100%;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.client-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.client-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.client-industry {
    display: inline-block;
    background: linear-gradient(135deg, rgba(4, 81, 73, 0.15) 0%, rgba(33, 102, 77, 0.15) 100%);
    color: var(--accent-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(4, 81, 73, 0.3);
    position: relative;
    z-index: 1;
}

.client-product {
    color: var(--secondary-text);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Why Us Section */
.why-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.why-list li {
    background: linear-gradient(135deg, var(--background-alt) 0%, var(--background) 100%);
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.why-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--accent-gradient-start), var(--accent-gradient-end));
}

.why-list li:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
}

.why-list li strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-text);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.why-list li {
    color: var(--secondary-text);
    line-height: 1.7;
}

/* Press & News Section */
.press-news {
    background: var(--background);
}

.press-release {
    background: linear-gradient(135deg, var(--background-alt) 0%, var(--background) 100%);
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.press-release:last-child {
    margin-bottom: 0;
}

.press-release::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--accent-gradient-start), var(--accent-gradient-end));
}

.press-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.press-source {
    font-weight: 600;
    color: var(--accent);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.press-date {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.press-release h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-text);
    line-height: 1.3;
}

.press-excerpt {
    color: var(--secondary-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.press-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.press-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.press-link:hover {
    color: var(--accent-hover);
    transform: translateX(4px);
}

.press-link:hover::after {
    transform: translateX(4px);
}

/* Client Video Section */
.client-video {
    background: var(--background-alt);
    padding: 6rem 0;
}

.client-video h2 {
    margin-bottom: 3rem;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    background: var(--background-alt);
    border: 1px solid var(--border);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-description {
    text-align: center;
    color: var(--secondary-text);
    font-size: 1.1rem;
    margin-top: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: var(--background-alt);
    color: var(--primary-text);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(4, 81, 73, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(33, 102, 77, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section h2 {
    color: var(--primary-text);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--secondary-text);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-section .cta-button {
    background: linear-gradient(135deg, var(--accent-gradient-start) 0%, var(--accent-gradient-end) 100%);
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.cta-section .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(4, 81, 73, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.footer-copyright,
.footer-contact,
.footer-link {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 1;
}

.footer-contact a,
.footer-link a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-contact a::after,
.footer-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent-secondary));
    transition: width 0.3s ease;
}

.footer-contact a:hover,
.footer-link a:hover {
    color: var(--accent-light);
}

.footer-contact a:hover::after,
.footer-link a:hover::after {
    width: 100%;
}

/* Team Page Styles */
.team-hero {
    padding: 5rem 0;
    text-align: center;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(4, 81, 73, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.team-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-text);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 1;
}

.team-subheading {
    font-size: 1.2rem;
    color: var(--secondary-text);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.team-members {
    padding: 4rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.team-card {
    background: linear-gradient(135deg, var(--background-alt) 0%, var(--background) 100%);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gradient-start), var(--accent-gradient-end), var(--accent-secondary));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(4, 81, 73, 0.2);
    border-color: var(--accent-light);
}

.team-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.team-card:hover .team-photo {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: scale(1.05);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.team-card h3 {
    font-size: 1.4rem;
    margin: 0;
    font-weight: 600;
    color: var(--primary-text);
}

.team-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.team-location {
    font-size: 0.9rem;
    color: var(--secondary-text);
    margin-bottom: 1.25rem;
}

.team-education-section {
    background-color: var(--background);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
}

.team-education {
    font-size: 0.9rem;
    color: var(--secondary-text);
    margin-bottom: 0.75rem;
    text-align: center;
}

.team-education strong {
    color: var(--primary-text);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.university-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
}

.university-logo {
    max-height: 36px;
    max-width: 110px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.university-logo:hover {
    opacity: 1;
}

.team-bio {
    color: var(--secondary-text);
    line-height: 1.7;
    margin-bottom: 0;
    text-align: center;
    font-size: 0.95rem;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--accent);
    text-decoration: none;
    border: 2px solid var(--accent);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    background: transparent;
}

.linkedin-link:hover {
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    color: white;
    transform: scale(1.15);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border-color: transparent;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-subheading {
        font-size: 1.4rem;
    }

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


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

    .team-card {
        padding: 2rem;
    }

    .team-photo {
        width: 160px;
        height: 160px;
    }

    .team-card h3 {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

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

    .clients-track {
        animation-duration: 40s;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-card {
        padding: 2.5rem;
    }

    .team-photo {
        width: 170px;
        height: 170px;
    }

    .container {
        padding: 0 2rem;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 4rem 0;
    }

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

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

    section {
        padding: 3rem 0;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .cta-button.primary {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }

    .team-hero h1 {
        font-size: 2rem;
    }

    .press-release {
        padding: 1.5rem;
    }

    .press-release h3 {
        font-size: 1.3rem;
    }

    .press-excerpt {
        font-size: 1rem;
    }
}

