/* ===================================
   SPORTS WORK - Landing Page Styles
   =================================== */

/* CSS Custom Properties (Design Tokens) */
:root {
    /* Colors */
    --primary-green: #2E8B57;
    --primary-green-dark: #256b45;
    --accent-green: #32CD32;
    --accent-green-light: #7dff7d;
    --white: #ffffff;
    --off-white: #f8faf9;
    --grey-100: #f3f5f4;
    --grey-200: #e5e9e7;
    --grey-300: #d1d7d4;
    --grey-600: #6b7a73;
    --grey-700: #4a5952;
    --dark-slate: #1a2520;
    --dark-slate-light: #2a3530;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    --gradient-dark: linear-gradient(180deg, var(--dark-slate) 0%, #0d1410 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(46, 139, 87, 0.9), rgba(50, 205, 50, 0.7));

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Montserrat', 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.2);
    --shadow-glow: none;
    /* Removed jarring neon shadow */

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Container */
    --container-max: 1280px;
    --container-padding: 1.5rem;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-slate);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: var(--transition-slow);
    background: transparent !important;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: var(--space-sm) 0;
}

.nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    gap: var(--space-sm);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-slow);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.navbar.scrolled .logo-img {
    height: 80px;
    filter: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    letter-spacing: 0.5px;
    transition: var(--transition-base);
}

.navbar.scrolled .logo-name {
    color: var(--dark-slate);
}

.logo-tagline {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-base);
}

.navbar.scrolled .logo-tagline {
    color: var(--grey-600);
}

/* Logo Styles - Removing text styles */
.navbar .logo-text,
/* Removed redundant styles - consolidated at the end of the file */

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu li {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--white);
    position: relative;
    padding: var(--space-xs) 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-base);
}

.navbar.scrolled .nav-menu a {
    color: var(--dark-slate);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: var(--transition-base);
}

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

.nav-cta {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: var(--space-sm) var(--space-lg) !important;
    border-radius: var(--radius-full);
    font-weight: 600 !important;
    box-shadow: var(--shadow-md);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.navbar.scrolled .nav-toggle span {
    background: var(--dark-slate);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background:
        linear-gradient(135deg, rgba(46, 139, 87, 0.75) 0%, rgba(50, 205, 50, 0.65) 100%),
        url('images/hero-bg-new.png') center/cover;
    background-attachment: fixed;
    overflow: hidden;
}

/* Animated grass pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.03) 40px,
            rgba(255, 255, 255, 0.03) 80px);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: var(--space-2xl);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
    font-weight: 400;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.scroll-arrow {
    width: 24px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-full);
    animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 18px;
        opacity: 0.5;
    }
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-green);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(46, 139, 87, 0.25);
    background: var(--off-white);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: var(--transition-base);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ===================================
   SECTION HEADER
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.1), rgba(50, 205, 50, 0.1));
    color: var(--primary-green);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--grey-600);
    max-width: 600px;
    margin: 0 auto;
}

.section-header-light .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.section-header-light .section-title {
    color: var(--white);
}

.section-header-light .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: var(--space-4xl) 0;
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.animate-in {
    animation: slideUp 0.6s ease-out forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(46, 139, 87, 0.03), transparent 70%);
    opacity: 0;
    transition: var(--transition-slow);
}

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

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

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.1), rgba(50, 205, 50, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    transition: var(--transition-slow);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
}

.service-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary-green);
    transition: var(--transition-slow);
}

.service-card:hover .service-icon svg {
    color: var(--white);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: var(--space-sm);
}

.service-card p {
    color: var(--grey-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===================================
   WHY US SECTION
   =================================== */
.why-us {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.why-card {
    background: var(--gradient-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    opacity: 0;
    transform: translateY(30px);
}

.why-card.animate-in {
    animation: slideUp 0.6s ease-out forwards;
}

.why-card:nth-child(2) {
    animation-delay: 0.1s;
}

.why-card:nth-child(3) {
    animation-delay: 0.2s;
}

.why-card:nth-child(4) {
    animation-delay: 0.3s;
}

.why-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    transform: rotate(30deg);
    pointer-events: none;
}

.why-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.why-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    backdrop-filter: blur(10px);
}

.why-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.why-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.why-stat {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===================================
   PROJECTS SECTION
   =================================== */
.projects {
    padding: var(--space-4xl) 0;
    background: var(--gradient-dark);
    overflow: hidden;
}

.projects-carousel {
    position: relative;
    overflow: hidden;
    padding: var(--space-md) 0;
}

.carousel-track {
    display: flex;
    gap: var(--space-xl);
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

.project-card {
    flex: 0 0 380px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    opacity: 0;
    transform: translateY(30px);
}

.project-card.animate-in {
    animation: slideUp 0.6s ease-out forwards;
}

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

.project-card:hover .project-image {
    background-size: 110%;
}

.project-image {
    height: 220px;
    background:
        linear-gradient(135deg, rgba(46, 139, 87, 0.2), rgba(50, 205, 50, 0.1)),
        url('images/project-tilpark.png') center/cover;
    background-size: 100%;
    transition: background-size 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Real project images for each project */
.project-image-2 {
    background:
        linear-gradient(135deg, rgba(30, 100, 60, 0.15), rgba(46, 139, 87, 0.1)),
        url('images/project-ea.png') center/cover;
    background-size: cover;
}

.project-image-3 {
    background:
        linear-gradient(135deg, rgba(50, 205, 50, 0.15), rgba(46, 139, 87, 0.1)),
        url('images/project-greenfield.png') center/cover;
    background-size: cover;
}

.project-image-4 {
    background:
        linear-gradient(180deg, rgba(46, 139, 87, 0.15), rgba(30, 80, 50, 0.1)),
        url('images/project-icf.png') center/cover;
    background-size: cover;
}

.project-image-5 {
    background:
        linear-gradient(45deg, rgba(30, 100, 60, 0.15), rgba(50, 205, 50, 0.1)),
        url('images/project-mcc.png') center/cover;
    background-size: cover;
}

.project-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--white);
    color: var(--dark-slate);
    font-size: 0.75rem;
    font-weight: 700;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-base);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20bd5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-category {
    background: var(--white);
    color: var(--dark-slate);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
    transform: translateY(10px);
    transition: var(--transition-base);
}

.project-card:hover .project-category {
    transform: translateY(0);
}

.project-content {
    padding: var(--space-xl);
}

.project-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: var(--space-sm);
}

.project-content p {
    color: var(--grey-600);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.project-tags span {
    background: var(--grey-100);
    color: var(--grey-700);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.carousel-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.carousel-btn:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.carousel-dots {
    display: flex;
    gap: var(--space-sm);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.carousel-dot.active {
    background: var(--accent-green);
    width: 30px;
}

/* ===================================
   MISSION BANNER
   =================================== */
.mission-banner {
    padding: var(--space-3xl) 0;
    background: var(--off-white);
}

.mission-content {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-2xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-green);
}

.mission-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.mission-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.mission-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: var(--space-sm);
}

.mission-text p {
    color: var(--grey-700);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===================================
   TEAM SECTION
   =================================== */
.team {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.team-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-slow);
    opacity: 0;
    transform: translateY(30px);
}

.team-card.animate-in {
    animation: slideUp 0.6s ease-out forwards;
}

.team-card:nth-child(2) {
    animation-delay: 0.1s;
}

.team-card:nth-child(3) {
    animation-delay: 0.2s;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    height: 280px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.team-photo-placeholder {
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.team-photo-placeholder span {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.team-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition-slow);
}

.team-card:hover .team-photo-img {
    transform: scale(1.05);
}

.team-info {
    padding: var(--space-xl);
    text-align: center;
}

.team-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: var(--space-xs);
}

.team-role {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.team-info p {
    color: var(--grey-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

.team-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--off-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.testimonial-card.animate-in {
    animation: slideUp 0.6s ease-out forwards;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.1s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.2s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    margin-bottom: var(--space-lg);
}

.testimonial-quote svg {
    width: 40px;
    height: 40px;
    color: var(--accent-green);
    opacity: 0.3;
}

.testimonial-text {
    color: var(--grey-700);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.author-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--grey-600);
}

.testimonial-rating {
    display: flex;
    gap: 2px;
}

.testimonial-rating span {
    color: #FFD700;
    font-size: 1rem;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--dark-slate);
}

.footer-top {
    padding: var(--space-4xl) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.footer-info h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer-info>p {
    color: var(--grey-300);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--grey-200);
    font-size: 1.1rem;
    transition: var(--transition-base);
}

.contact-item:hover {
    color: var(--accent-green);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.footer-content-centered {
    display: flex;
    justify-content: center;
    text-align: center;
}

.footer-info-centered {
    max-width: 600px;
}

.footer-info-centered h2 {
    text-align: center;
}

.footer-info-centered > p {
    text-align: center;
}

.footer-contact-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.contact-item-large {
    background: var(--dark-slate-light);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    min-width: 280px;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item-large:hover {
    background: rgba(50, 205, 50, 0.15);
    border-color: var(--accent-green);
}

.contact-item-large svg {
    width: 28px;
    height: 28px;
}

.footer-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: var(--dark-slate-light);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: var(--grey-600);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    background: rgba(50, 205, 50, 0.05);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7a73' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
}

.form-group select option {
    background: var(--dark-slate);
    color: var(--white);
}

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

.footer-form .btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    margin-top: var(--space-sm);
}

.footer-form .btn-primary:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.footer-form .btn-primary svg {
    width: 18px;
    height: 18px;
}

/* Footer Bottom */
.footer-bottom {
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

.footer-logo .logo-img {
    height: 140px;
    width: auto;
    margin: 0 auto var(--space-md) auto;
    display: block;
}

.footer-logo {
    background: transparent !important;
    padding: 0 !important;
    text-align: center;
}

.footer-bottom p {
    color: var(--grey-600);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--accent-green);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    color: var(--white);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .project-card {
        flex: 0 0 calc(50% - var(--space-lg));
        min-width: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark-slate);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-2xl);
        transition: var(--transition-slow);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: var(--white) !important;
        font-size: 1.5rem;
    }

    .nav-cta {
        font-size: 1.2rem !important;
    }

    .hero-content {
        padding: var(--space-xl);
    }

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

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        flex: 0 0 calc(100% - 32px);
    }

    .mission-content {
        flex-direction: column;
        text-align: center;
        padding: var(--space-xl);
    }

    .team-grid,
    .team-grid-2 {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .service-card {
        padding: var(--space-xl);
    }

    .why-card {
        padding: var(--space-xl);
    }

    .project-content {
        padding: var(--space-lg);
    }

    .team-photo {
        height: 220px;
    }

    .team-photo-placeholder {
        width: 100px;
        height: 100px;
    }

    .team-photo-placeholder span {
        font-size: 1.8rem;
    }
}

/* ===================================
   UTILITY ANIMATIONS
   =================================== */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}