/* ============================================
   CSS Variables & Global Styles
   ============================================ */

:root {
    /* OAKWOOD GROUP Brand Color Palette */
    --brand-green: #2D7A3D;        /* Tree green - primary brand color */
    --brand-orange: #FF6B35;       /* Vibrant orange - secondary/accent */
    --brand-grey: #D3D3D3;         /* Light grey - OAKWOOD banner */
    --primary-color: #2D7A3D;      /* Use green as primary */
    --secondary-color: #FF6B35;    /* Use orange as secondary/CTA */
    --accent-color: #1F5A2A;       /* Darker green for depth */
    --text-dark: #2C3E50;          /* Dark text */
    --text-light: #6C757D;         /* Light text */
    --bg-light: #F8F9FA;           /* Light background */
    --bg-white: #FFFFFF;           /* White background */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    /* Typography */
    --font-heading: 'Calibri', 'Trebuchet MS', 'Arial', sans-serif;
    --font-body: 'Calibri', 'Trebuchet MS', 'Arial', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Calibri', 'Trebuchet MS', 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
    font-size: 1.2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.4rem, 4.8vw, 3.6rem);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

h2 {
    font-size: clamp(2.1rem, 4.2vw, 3rem);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.8rem, 3.6vw, 2.4rem);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.7;
}

p strong, .bold {
    font-weight: 600;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    flex-shrink: 0;
    min-width: 0;
}

.logo img {
    height: 140px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

.navbar.scrolled .logo img {
    height: 120px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0;
    background: linear-gradient(90deg, var(--brand-grey) 0%, var(--brand-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    flex-shrink: 1;
    min-width: 0;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.14rem;
    padding: 0.5rem 0.75rem;
    position: relative;
    transition: color 0.3s ease;
    font-family: var(--font-body);
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 80%;
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 80%;
}

/* Dropdown Menu */
.nav-menu li {
    position: relative;
}

.dropdown {
    position: relative;
}

.dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 0.375rem;
    font-size: 0.75rem;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: #888;
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background-color: var(--bg-white);
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.14rem;
    font-weight: 500;
    font-family: var(--font-body);
}

.dropdown-menu a:hover {
    background-color: rgba(45, 122, 61, 0.1);
    color: var(--primary-color);
    padding-left: 1.25rem;
}

.cta-nav {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #FF8C52 100%);
    color: var(--bg-white) !important;
    padding: 0.625rem 1.25rem !important;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.08rem;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
    font-family: var(--font-body);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    white-space: nowrap;
}

.cta-nav:hover {
    background: linear-gradient(135deg, #FF8C52 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.cta-nav::after {
    display: none;
}

.nav-phone {
    margin-left: 0.5rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 0.75rem;
}

.nav-phone a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.08rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    white-space: nowrap;
}

.nav-phone a i {
    color: var(--primary-color);
    font-size: 1.08rem;
}

.nav-phone a:hover {
    color: var(--primary-color);
}

.nav-phone a:hover i {
    transform: scale(1.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-family: var(--font-body);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--brand-green);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1.32rem;
}

.btn-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.2rem;
}

.btn-link:hover {
    gap: var(--spacing-sm);
    color: var(--primary-color);
}

/* ============================================
   Hero Sections
   ============================================ */

.hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: linear-gradient(135deg, rgba(45, 122, 61, 0.4) 0%, rgba(31, 90, 42, 0.4) 100%),
                url('../images/slider/slider-4.jpg') center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero with slider (index page) */
.hero:has(.hero-slider) {
    margin-top: 0;
    height: 100vh;
    min-height: 100vh;
    margin: 0;
}

/* Hero without slider (inner pages) - default styles */
.hero:not(:has(.hero-slider)) {
    margin-top: 160px;
    height: 60vh;
    min-height: 400px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 122, 61, 0.4) 0%, rgba(31, 90, 42, 0.4) 100%);
    z-index: 0;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.2;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.navbar.scrolled ~ * .hero:has(.hero-slider),
.navbar.scrolled ~ .hero:has(.hero-slider) {
    margin-top: 0;
    height: 100vh;
    min-height: 100vh;
}


.hero-content {
    text-align: center;
    color: var(--bg-white);
    z-index: 3;
    position: relative;
}

.hero-icon {
    margin-bottom: var(--spacing-md);
}

.hero-icon i {
    font-size: 5.2rem;
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.2);
    width: 156px;
    height: 156px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero-content h1 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-md);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.69rem;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

/* Hero Slider Navigation */
.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.hero-slider-dots .dot.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    width: 32px;
    border-radius: 6px;
}

.hero-slider-prev,
.hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--bg-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-prev {
    left: 30px;
}

.hero-slider-next {
    right: 30px;
}

.hero-slider-prev i,
.hero-slider-next i {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .hero-slider-prev,
    .hero-slider-next {
        width: 40px;
        height: 40px;
    }
    
    .hero-slider-prev {
        left: 15px;
    }
    
    .hero-slider-next {
        right: 15px;
    }
    
    .hero-slider-dots {
        bottom: 20px;
    }
    
    .hero-slide {
        background-attachment: scroll;
    }
}

/* Inspection Hero */
.inspection-hero {
    margin-top: 160px;
    height: 80vh;
    min-height: 600px;
    background: linear-gradient(rgba(45, 122, 61, 0.7), rgba(31, 90, 42, 0.7)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 90, 42, 0.8) 0%, rgba(45, 122, 61, 0.6) 100%);
}

.inspection-hero .hero-content {
    position: relative;
    z-index: 2;
}

/* ============================================
   Sections
   ============================================ */

section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* ============================================
   Featured Projects
   ============================================ */

.featured-projects {
    background-color: var(--bg-light);
}

/* ============================================
   About & Services Split Section
   ============================================ */

.about-services-section {
    padding: 30px 0;
    background-color: #4a4a4a;
}

.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.split-left {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    justify-content: center;
    align-items: center;
}

.about-brief {
    padding: var(--spacing-md);
    background-color: transparent;
    border-radius: 12px;
    position: static;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-brief h2 {
    text-align: left;
    margin-bottom: var(--spacing-md);
    font-size: clamp(1.8rem, 3.6vw, 2.52rem);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
}

.about-brief h2 i {
    color: var(--secondary-color);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.about-brief p {
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.about-brief p strong {
    color: var(--bg-white);
    font-weight: 600;
}

.about-brief .btn {
    margin-top: var(--spacing-md);
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.about-brief .btn:hover {
    background-color: #FF8C52;
}

.services-list {
    padding: var(--spacing-md);
    background-color: var(--bg-light);
    border-radius: 12px;
}

.services-list h3 {
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

.services-list-items {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-md) 0;
}

.services-list-items li {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.services-list-items li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.services-list-items li i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 30px;
}

.services-list-items li div strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.services-list-items li div p {
    color: var(--text-light);
    font-size: 1.08rem;
    margin: 0;
    line-height: 1.6;
}

.split-right {
    position: sticky;
    top: 180px;
}

.video-container {
    background-color: transparent;
    border-radius: 12px;
    padding: var(--spacing-md);
    box-shadow: none;
    width: 100%;
}

.image-wrapper .inspection-flyer {
    width: 80%;
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    display: block;
    object-fit: contain;
}

.video-container .image-wrapper {
    padding: 0;
    width: 100%;
}

.video-container h3 {
    margin-bottom: var(--spacing-md);
    color: var(--bg-white);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.video-container h3 i {
    color: var(--secondary-color);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-height: 400px;
    min-height: 300px;
    border-radius: 8px;
    margin-bottom: 0;
    background-color: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper {
    background-color: transparent;
    box-shadow: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    max-height: none;
    min-height: auto;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    max-height: 400px;
    min-height: 300px;
    display: block;
    border-radius: 8px;
    object-fit: contain;
}

.video-cta-btn {
    width: 100%;
    justify-content: center;
    margin-top: var(--spacing-md);
    display: inline-flex;
}

.video-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.14rem;
    text-align: center;
    margin: 0;
}

/* ============================================
   Team Page Styles
   ============================================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.team-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.team-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-click-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    cursor: pointer;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(31, 90, 42, 0.9), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
    pointer-events: none;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: var(--spacing-sm);
}

.team-social a {
    width: 45px;
    height: 45px;
    background-color: var(--bg-white);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.team-card:hover .team-social a {
    transform: translateY(0);
    animation: slideUp 0.4s ease forwards;
}

.team-social a:nth-child(1) {
    animation-delay: 0.1s;
}

.team-social a:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-social a:hover {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    transform: scale(1.1);
}

.team-info {
    padding: var(--spacing-md);
    text-align: center;
}

.team-info h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
}

.team-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-description {
    color: var(--text-light);
    font-size: 1.14rem;
    line-height: 1.7;
    margin: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.project-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--brand-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.project-card:hover::before {
    opacity: 1;
}

.project-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1rem;
    font-weight: 600;
}

.placeholder-img.large {
    height: 400px;
    font-size: 1.25rem;
}

.project-info {
    padding: var(--spacing-md);
}

.project-info h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
    font-weight: 700;
}

.project-info p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

/* ============================================
   Value Propositions
   ============================================ */

.value-props {
    background-color: var(--bg-white);
}

.props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}

.prop-item {
    padding: var(--spacing-md);
}

.prop-icon-wrapper {
    margin-bottom: var(--spacing-md);
    display: inline-block;
}

.prop-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    background: linear-gradient(135deg, var(--secondary-color), var(--brand-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.2));
}

.prop-item:hover .prop-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(255, 107, 53, 0.4));
}

.prop-item {
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.prop-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 122, 61, 0.08) 0%, rgba(255, 107, 53, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.prop-item > * {
    position: relative;
    z-index: 1;
}

.prop-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.prop-item:hover::before {
    opacity: 1;
}

/* Mission Card - Green to Teal gradient */
.prop-item:nth-child(1) {
    background: linear-gradient(135deg, rgba(45, 122, 61, 0.1) 0%, rgba(31, 90, 42, 0.05) 50%, rgba(255, 255, 255, 0.95) 100%);
    border: 2px solid rgba(45, 122, 61, 0.2);
}

.prop-item:nth-child(1):hover {
    background: linear-gradient(135deg, rgba(45, 122, 61, 0.15) 0%, rgba(31, 90, 42, 0.1) 50%, rgba(255, 255, 255, 0.95) 100%);
    border-color: rgba(45, 122, 61, 0.4);
    box-shadow: 0 8px 24px rgba(45, 122, 61, 0.2);
}

/* Vision Card - Orange to Coral gradient */
.prop-item:nth-child(2) {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 140, 82, 0.05) 50%, rgba(255, 255, 255, 0.95) 100%);
    border: 2px solid rgba(255, 107, 53, 0.2);
}

.prop-item:nth-child(2):hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 140, 82, 0.1) 50%, rgba(255, 255, 255, 0.95) 100%);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.2);
}

/* Values Card - Purple to Blue gradient */
.prop-item:nth-child(3) {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.08) 0%, rgba(70, 130, 180, 0.05) 50%, rgba(255, 255, 255, 0.95) 100%);
    border: 2px solid rgba(138, 43, 226, 0.2);
}

.prop-item:nth-child(3):hover {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.12) 0%, rgba(70, 130, 180, 0.08) 50%, rgba(255, 255, 255, 0.95) 100%);
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 0 8px 24px rgba(138, 43, 226, 0.2);
}

.prop-item h3 {
    margin-bottom: var(--spacing-xs);
}

/* Featured Prop Item - Years of Experience */
.featured-prop {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(45, 122, 61, 0.05) 100%);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.15);
}

.featured-prop:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.25);
    border-color: var(--primary-color);
}

.featured-prop .prop-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.prop-number {
    position: absolute;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: 0.2;
    z-index: 0;
    font-family: var(--font-heading);
    line-height: 1;
}

.featured-prop .prop-icon {
    position: relative;
    z-index: 1;
    font-size: 4rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.featured-prop h3 {
    font-size: clamp(1.8rem, 3.6vw, 2.4rem);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.featured-prop p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.prop-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--secondary-color), #FF8C52);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: var(--spacing-sm);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.prop-badge i {
    font-size: 0.875rem;
}

/* ============================================
   Projects Scrolling Showcase
   ============================================ */

.projects-showcase {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
    overflow: hidden;
}

.projects-showcase .section-title {
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.projects-showcase .section-title i {
    color: var(--secondary-color);
}

.projects-carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md) 0;
}

.projects-carousel {
    display: flex;
    gap: 10px;
    animation: scrollProjects 30s linear infinite;
    width: fit-content;
}

.projects-carousel:hover {
    animation-play-state: paused;
}

.project-slide {
    flex-shrink: 0;
    width: 350px;
    height: 425px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.project-slide:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.project-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes scrollProjects {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-350px * 5 - 10px * 5));
    }
}

.projects-showcase-footer {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* ============================================
   Testimonials
   ============================================ */

.testimonials {
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: var(--secondary-color);
    opacity: 0.2;
    font-family: var(--font-heading);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-left-width: 6px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    font-size: 1.2rem;
}

/* ============================================
   Image Showcase / Carousel
   ============================================ */

.image-showcase {
    background-color: var(--bg-light);
    padding: var(--spacing-xl) 0;
}

.showcase-carousel {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: var(--spacing-md);
    animation: scroll-horizontal 30s linear infinite;
}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.showcase-item {
    min-width: 350px;
    height: 400px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.showcase-image {
    width: 100%;
    height: 100%;
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(31, 90, 42, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-md);
    opacity: 0;
    transition: all 0.3s ease;
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

.showcase-overlay h3 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-xs);
}

.showcase-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-sm);
}

.showcase-overlay .btn-link {
    color: var(--secondary-color);
}

/* ============================================
   Company Highlight
   ============================================ */

.company-highlight {
    background-color: var(--bg-white);
    padding: var(--spacing-xl) 0;
}

.highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.highlight-content h2 {
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.highlight-content p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.highlight-content p strong {
    font-weight: 700;
    color: var(--text-dark);
}

/* Two Column Layout */
.about-content-magazine {
    max-width: 100%;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: stretch;
}

.column-left {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    height: 100%;
}

.column-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    height: 100%;
}

.column-right-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex: 1;
}

.column-image {
    width: 100%;
    flex-shrink: 0;
}

.column-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    object-fit: cover;
    display: block;
}

.column-left p,
.column-right-text p {
    margin: 0;
}

@media (max-width: 968px) {
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        align-items: start;
    }
    
    .column-left,
    .column-right {
        height: auto;
    }
    
    .column-image {
        max-width: 100%;
    }
}

.stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.9rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-label {
    font-size: 1.404rem;
    color: var(--text-light);
    margin-top: var(--spacing-xs);
    font-weight: 500;
}

.highlight-image {
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ============================================
   Site Tour Section
   ============================================ */

.site-tour {
    background: linear-gradient(rgba(45, 122, 61, 0.85), rgba(31, 90, 42, 0.85)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1920') center/cover;
    padding: var(--spacing-xl) 0;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.tour-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 90, 42, 0.8) 0%, rgba(45, 122, 61, 0.7) 100%);
}

.site-tour .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.tour-content {
    text-align: center;
}

.tour-content h2 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-sm);
}

.tour-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.tour-video {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-placeholder {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.video-placeholder:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.play-button {
    font-size: 4rem;
    color: var(--bg-white);
    margin-bottom: var(--spacing-sm);
}

.video-placeholder p {
    color: var(--bg-white);
    font-size: 1rem;
}

/* ============================================
   Booking Form
   ============================================ */

.booking-form-section {
    background-color: var(--bg-light);
    padding: var(--spacing-xl) 0;
    margin-top: 160px;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-title {
    text-align: center;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    font-size: 2.6rem;
}

.form-subtitle {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
    font-size: 1.2rem;
}

.inspection-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.14rem;
    font-family: var(--font-body);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background-color: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: #0a1f0f;
    color: var(--bg-white);
    padding: var(--spacing-md) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.footer-section h3,
.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 13px;
    font-weight: 700;
}

.footer-section h3 {
    font-size: 1.5rem;
}

.footer-section h4 {
    font-size: 1.35rem;
    margin-bottom: var(--spacing-xs);
}

.footer-section:has(form) {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-section:has(form) > h4 {
    margin-right: var(--spacing-sm);
    margin-bottom: 0;
}

.footer-section:has(form) > form {
    margin-bottom: 0;
}

.footer-section:has(form) > .social-icons {
    margin-left: auto;
    margin-top: 0;
}

.footer-section h4 i {
    color: var(--secondary-color);
    font-size: 1.35rem;
}

.footer-section p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xs);
    font-size: 1.14rem;
}

.footer-section p a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section p a:hover {
    color: var(--secondary-color);
}

.footer-section p i {
    color: var(--secondary-color);
    width: 20px;
    font-size: 1.14rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.newsletter-form {
    display: inline-flex;
    gap: var(--spacing-xs);
    margin-bottom: 0;
    align-items: center;
}

.newsletter-form input {
    flex: 0 0 250px;
    padding: 8px 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    font-size: 0.9rem;
    max-width: 250px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
    margin-left: auto;
    align-items: center;
}

.social-icons a {
    padding: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 1.17rem;
}

/* ============================================
   Animations
   ============================================ */

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1400px) and (min-width: 969px) {
    .logo img {
        height: 120px;
    }

    .navbar.scrolled .logo img {
        height: 100px;
    }

    .split-content {
        gap: var(--spacing-md);
    }

    .nav-menu {
        gap: 0.375rem;
    }

    .nav-menu a {
        padding: 0.5rem 0.625rem;
        font-size: 0.9rem;
    }

    .nav-menu a i {
        font-size: 0.8rem;
        margin-right: 0.25rem;
    }

    .cta-nav {
        padding: 0.625rem 1rem !important;
        font-size: 0.85rem;
    }

    .cta-nav i {
        font-size: 0.8rem;
    }

    .nav-phone {
        margin-left: 0.375rem;
        padding-left: 0.5rem;
    }

    .nav-phone a {
        font-size: 0.8rem;
        padding: 0.5rem 0.5rem;
    }
}

@media (max-width: 1200px) and (min-width: 969px) {
    .nav-menu {
        gap: 0.25rem;
    }

    .nav-menu a {
        padding: 0.5rem 0.5rem;
        font-size: 0.875rem;
    }

    .cta-nav {
        padding: 0.625rem 0.875rem !important;
        font-size: 0.8rem;
    }

    .logo img {
        height: 100px;
    }

    .navbar.scrolled .logo img {
        height: 85px;
    }

    .nav-phone a span {
        display: none;
    }

    .nav-phone a {
        padding: 0.5rem;
    }

    .nav-phone a i {
        font-size: 1rem;
    }
}

@media (max-width: 968px) {
    .split-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .split-right {
        position: static;
    }

    .video-wrapper {
        width: 100%;
    }

    .video-wrapper video {
        width: 100%;
        height: auto;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 160px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: left;
        transition: 0.3s ease;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        padding: 1rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 0;
    }

    .nav-menu a {
        padding: 0.875rem 1.5rem;
        width: 100%;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a:hover {
        background-color: rgba(45, 122, 61, 0.1);
        color: var(--primary-color);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(45, 122, 61, 0.04);
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
        border: none;
        border-radius: 0;
        padding: 0.5rem 0;
        min-width: auto;
    }

    .dropdown-menu a {
        padding-left: 2.5rem;
    }

    .dropdown:hover .dropdown-menu {
        transform: none;
    }

    .nav-phone {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 0.5rem;
        margin-top: 0.5rem;
    }

    .nav-phone a {
        padding: 0.875rem 1.5rem;
        width: 100%;
        justify-content: flex-start;
    }

    .hamburger {
        display: flex;
    }

    .hero-icon i {
        font-size: 3rem;
        width: 100px;
        height: 100px;
    }

    .highlight-grid,
    .site-tour .container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .carousel-track {
        animation-duration: 20s;
    }

    .showcase-item {
        min-width: 300px;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }

    .hero:has(.hero-slider) {
        height: 100vh;
        min-height: 100vh;
    }
    
    .hero:not(:has(.hero-slider)) {
        height: 60vh;
        min-height: 400px;
    }
    
    .inspection-hero {
        height: 70vh;
        min-height: 500px;
        background-attachment: scroll;
    }

    .projects-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .project-slide {
        width: 280px;
        height: 340px;
        border-radius: 0;
    }

    @keyframes scrollProjects {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-280px * 5 - 10px * 5));
        }
    }

    .props-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .nav-menu a span {
        display: inline;
        margin-left: 0.5rem;
    }

    .nav-menu a i {
        font-size: 1rem;
        margin-right: 0.5rem;
    }

    .nav-menu a {
        font-size: 0.95rem;
        display: flex;
        align-items: center;
    }

    .logo img {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    section {
        padding: var(--spacing-lg) 0;
    }

    .form-wrapper {
        padding: var(--spacing-md);
    }
}

/* ============================================
   Team Modal
   ============================================ */

.team-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    overflow-y: auto;
}

.team-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 10001;
    cursor: pointer;
}

.modal-content {
    position: relative;
    background-color: var(--bg-white);
    border-radius: 15px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10002;
    margin: 2rem auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease-out;
    cursor: default;
    pointer-events: auto;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--bg-white);
    border: 2px solid var(--text-light);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10003;
    transition: all 0.3s ease;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.modal-close:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    transform: rotate(90deg);
}

.modal-body {
    padding: var(--spacing-lg);
}

.modal-profile {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--bg-light);
}

.modal-image {
    flex-shrink: 0;
    width: 225px;
    height: 225px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.modal-info h2 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 2rem;
}

.modal-role {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.modal-text {
    line-height: 1.8;
}

.modal-text p {
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    font-size: 1.1rem;
    text-align: justify;
}

.modal-text h3 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    font-size: 1.5rem;
}

.modal-text ul {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-md);
}

.modal-text ul li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem auto;
        max-height: 95vh;
    }

    .modal-body {
        padding: var(--spacing-md);
    }

    .modal-profile {
        flex-direction: column;
        text-align: center;
    }

    .modal-image {
        width: 120px;
        height: 120px;
    }

    .modal-info h2 {
        font-size: 1.5rem;
    }

    .modal-role {
        font-size: 1.1rem;
    }

    .modal-text p,
    .modal-text ul li {
        font-size: 1rem;
    }
}

/* ============================================
   End of Year Party Popup
   ============================================ */

.party-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    overflow-y: auto;
}

.party-popup.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.party-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 10001;
}

.party-popup-content {
    position: relative;
    background: transparent;
    border-radius: 20px;
    max-width: 90%;
    width: auto;
    max-height: 90vh;
    overflow: visible;
    z-index: 10002;
    margin: 1rem auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: partyPopupFadeIn 0.5s ease-out;
    padding: 0;
    display: flex;
    flex-direction: column;
}

@keyframes partyPopupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.party-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10003;
    transition: all 0.3s ease;
    color: var(--bg-white);
    font-size: 1.2rem;
}

.party-popup-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.party-popup-body {
    text-align: center;
    color: var(--bg-white);
    display: flex;
    flex-direction: column;
    overflow: visible;
    width: auto;
    height: auto;
}

.party-icon {
    margin-bottom: 0.75rem;
    animation: partyIconPulse 2s ease-in-out infinite;
}

.party-icon i {
    font-size: 2.5rem;
    color: var(--bg-white);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@keyframes partyIconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.party-popup-body h2 {
    color: var(--bg-white);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.party-message {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-align: center;
}

.party-video-container {
    margin: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    background-color: rgba(0, 0, 0, 0.3);
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.party-video {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    display: block;
    border-radius: 15px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .party-popup-content {
        max-width: 95%;
        padding: 0;
        margin: 0.5rem auto;
    }

    .party-video {
        max-width: 95vw;
        max-height: 85vh;
    }
}

