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

:root {
    --primary-color: #101C28;
    --secondary-color: #D9D9D9;
    --accent-color: #2A3F52;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-light: #f8f9fa;
    --background-dark: #0D1520;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--text-light);
    scroll-behavior: smooth;
}

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


.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(16, 28, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}

.logo-img {
    height: 150px;
    width: auto;
    
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-apply {
    background: white;
    color: black;
    border: 2px solid black;
    padding: 0.6rem 1.2rem;
    border-radius: 9999px; /* pill shape */
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-apply:hover {
    background: black;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.nav-apply:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--background-dark) 100%);
    color: var(--text-light);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}


.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 2;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 3;
}


.hero-video-background+.hero-container {
    mix-blend-mode: difference;
    color: white;
}

.hero-video-background+.hero-container .hero-title {
    -webkit-text-fill-color: white;
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-video-background+.hero-container .hero-subtitle,
.hero-video-background+.hero-container .hero-description {
    color: white;
}

.hero-video-background+.hero-container .btn {
    mix-blend-mode: difference;
    color: white;
    border-color: white;
}

.hero-video-background+.hero-container .btn-primary {
    background: white;
    color: black;
}

.hero-video-background+.hero-container .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.hero-video-background+.hero-container .btn-secondary:hover {
    background: white;
    color: black;
    border-color: white;
}

.hero-video-background+.hero-container .stat-number,
.hero-video-background+.hero-container .stat-label {
    color: white;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-light), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    cursor: pointer;
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    cursor: pointer;
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

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

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.services {
    padding: 100px 0;
    background: var(--background-light);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.services-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 40px 1rem 40px;
    flex: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    margin: 0 -20px;
}

.services-container::-webkit-scrollbar {
    display: none;
}


.services-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 60px;
    pointer-events: none;
    z-index: 5;
    background: linear-gradient(to right,
            var(--background-light) 0%,
            rgba(248, 249, 250, 0.9) 30%,
            rgba(248, 249, 250, 0.5) 70%,
            transparent 100%);
}

.service-card {
    background: var(--text-light);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
    min-width: 380px;
    max-width: 380px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.carousel-btn {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

.btn-details {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-top: auto;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-details:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}


.service-card-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card-clickable::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 28, 40, 0.05), rgba(42, 63, 82, 0.05));
    opacity: 0;
    transition: var(--transition);
}

.service-card-clickable:hover::before {
    opacity: 1;
}

.service-card-clickable:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-special {
    background: linear-gradient(135deg, #ff6b35, #ff8e53);
    color: var(--text-light);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-special:hover {
    background: linear-gradient(135deg, #ff8e53, #ff6b35);
    transform: translateY(-2px);
}

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

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    opacity: 0.7;
    position: relative;
    padding-left: 1.5rem;
}

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


.team {
    padding: 100px 0;
    background: var(--primary-color);
    color: var(--text-light);
}

.team .section-title {
    color: var(--text-light);
}

.team .section-subtitle {
    color: var(--secondary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: rgba(217, 217, 217, 0.1);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(217, 217, 217, 0.2);
}

.team-card:hover {
    transform: translateY(-5px);
    background: rgba(217, 217, 217, 0.15);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    position: relative;
}

.team-avatar-image {
    background: none;
    padding: 0;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    transition: var(--transition);
}

.avatar-img:hover {
    transform: scale(1.05);
}

.team-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.team-role {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.team-description {
    font-style: italic;
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.5;
}


.portfolio {
    padding: 5rem 0;
    background: var(--primary-color);
    color: var(--text-light);
}

.portfolio h2 {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.portfolio>.container>p {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.portfolio-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease;
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    position: absolute;
    pointer-events: none;
}

.portfolio-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.9), rgba(26, 35, 50, 0.7));
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-image:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-image:hover img {
    transform: scale(1.1);
}

.portfolio-info h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.portfolio-info p {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.portfolio-tags span {
    background: rgba(217, 217, 217, 0.2);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(217, 217, 217, 0.3);
}

.portfolio-btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-btn:hover {
    background: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(217, 217, 217, 0.3);
}

.portfolio-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(217, 217, 217, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(217, 217, 217, 0.2);
}

.portfolio-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.portfolio-cta p {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.portfolio-cta .btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.portfolio-cta .btn:hover {
    background: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(217, 217, 217, 0.3);
}


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

    .portfolio h2 {
        font-size: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .portfolio-image {
        height: 250px;
    }

    .portfolio-overlay {
        padding: 1.5rem;
    }

    .portfolio-info h4 {
        font-size: 1.2rem;
    }

    .portfolio-cta {
        padding: 2rem 1rem;
    }

    .portfolio-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width:480px) {
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 200px;
        text-align: center;
    }

    .portfolio-tags {
        gap: 0.25rem;
    }

    .portfolio-tags span {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
}


.testimonials {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonials h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.testimonials>.container>p {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.testimonials-carousel {
    position: relative;
    margin-bottom: 3rem;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-track::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex-shrink: 0;
    width: 350px;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
}

.author-info span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.testimonials-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-nav-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-nav-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.testimonial-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.testimonials-dots {
    display: flex;
    gap: 0.5rem;
}

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

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}


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

    .testimonials h2 {
        font-size: 2rem;
    }

    .testimonial-card {
        width: 300px;
        padding: 1.5rem;
    }

    .testimonials-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .testimonials-navigation {
        gap: 1rem;
    }

    .testimonial-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width:480px) {
    .testimonials-stats {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        width: 280px;
    }
}


.footer {
    background: var(--background-dark);
    color: var(--secondary-color);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo .logo-img {
    height: 50px;
    opacity: 0.8;
}

.footer p {
    opacity: 0.7;
}

/* Phase links specific styling */
.scroll-to-phase {
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.scroll-to-phase:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    transform: translateX(5px);
}

.scroll-to-phase::before {
    content: '→';
    margin-right: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.scroll-to-phase:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Phase card highlight effect */
.phase-card.highlight {
    animation: phaseHighlight 2s ease-in-out;
    box-shadow: 0 0 30px rgba(217, 217, 217, 0.3);
}

@keyframes phaseHighlight {
    0% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(217, 217, 217, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 40px rgba(217, 217, 217, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(217, 217, 217, 0.3);
    }
}


@media (max-width:768px) {
    .nav-menu {
        gap: 1rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 2rem;
    }

    .services-carousel {
        gap: 0.5rem;
    }

    .services-container {
        gap: 1rem;
        padding: 1rem 30px 1rem 30px;
        margin: 0 -10px;
    }

    .services-container::before {
        width: 40px;
    }

    .service-card {
        min-width: 260px;
        max-width: 260px;
        padding: 1.5rem 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .services,
    .team {
        padding: 60px 0;
    }
}

@media (max-width:480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .service-card,
    .team-card {
        padding: 1.5rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Responsive tweaks for services section with two cards */
@media (min-width:769px) {
    .services-container {
        overflow-x: visible;
        justify-content: center
    }

    .services-container::before {
        display: none
    }

    .carousel-btn {
        display: none
    }
}

@media (max-width:600px) {
    .services-container {
        flex-wrap: wrap;
        overflow-x: visible;
        justify-content: center;
        padding: 0 15px
    }

    .service-card {
        min-width: 100%;
        max-width: 100%
    }
}

.dropdown {
    position: relative
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--text-light);
    box-shadow: var(--shadow);
    list-style: none;
    padding: .5rem 0;
    border-radius: 10px;
    min-width: 180px;
    z-index: 1001
}

.dropdown:hover .dropdown-menu {
    display: block
}

.dropdown-menu a {
    display: block;
    padding: .5rem 1rem;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap
}

.dropdown-menu a:hover {
    background: var(--background-light)
}

.dropdown-toggle::after {
    content: '\25BC';
    font-size: .6rem;
    margin-left: .25rem
}.member-email{color:#007bff;font-size:.9rem;font-weight:500;margin-top:.5rem;text-align:center;font-family:Arial,sans-serif;background:rgba(0,123,255,.1);padding:.5rem;border-radius:6px;border:1px solid rgba(0,123,255,.2);transition:all .3s ease;text-decoration:none;display:inline-block;cursor:pointer}.member-email:hover{background:rgba(0,123,255,.15);border-color:rgba(0,123,255,.3);transform:translateY(-1px);text-decoration:none;color:#0056b3}.member-email:active{transform:translateY(0);background:rgba(0,123,255,.2)}[dir="rtl"] .member-email{font-family:Arial,sans-serif;text-align:center}