/* ========================================
   Cornell's Quality Construction
   Brand Colors & Variables
   ======================================== */

:root {
    /* Brand Colors */
    --color-primary: #31572C;        /* Deep Forest Green */
    --color-secondary: #283618;      /* Dark Olive Green */
    --color-cream: #FEFAE0;          /* Warm Cream */
    --color-gold: #DDA15E;           /* Warm Gold */
    --color-accent: #BC6C25;         /* Rich Copper */
    
    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-off-white: #F8F7F4;
    --color-light-gray: #E5E5E5;
    --color-gray: #6B7280;
    --color-dark-gray: #374151;
    --color-black: #1F2937;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Container */
    --container-width: 1200px;
    --container-padding: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Reset & Base Styles
   ======================================== */

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent);
}

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

ul, ol {
    list-style: none;
}

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   Utility Classes
   ======================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-header.centered {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-xl);
}

.section-intro {
    font-size: 1.125rem;
    color: var(--color-gray);
    max-width: 700px;
}

.centered .section-intro {
    margin: 0 auto;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: 4px;
    transition: all var(--transition-medium);
    cursor: pointer;
    text-decoration: none;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

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

.btn-primary:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-hero {
    background-color: var(--color-white);
    color: var(--color-primary);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.btn-hero:hover {
    background-color: var(--color-cream);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-hero-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.btn-hero-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* ========================================
   Header & Navigation
   ======================================== */

.site-header {
    position: sticky;
    top: 0;
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: all var(--transition-medium);
}

.site-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
    background-color: var(--color-white);
}

.site-header.scrolled .logo img {
    height: 70px;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1rem var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    display: block;
}

.logo img {
    height: 80px;
    width: auto;
}

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

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--color-secondary);
    position: relative;
    display: block;
    padding: 0.5rem 0;
}

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

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

/* Nav CTA Button */
.nav-cta {
    background-color: var(--color-primary);
    color: var(--color-cream) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 4px;
    font-weight: 600;
    transition: all var(--transition-medium);
}

.nav-cta:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    border-radius: 4px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-medium);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    padding: 0.75rem 1.5rem;
    color: var(--color-secondary);
    display: block;
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background-color: var(--color-off-white);
    color: var(--color-primary);
}

.dropdown-menu a::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-secondary);
    transition: all var(--transition-fast);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

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

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: var(--spacing-3xl) var(--container-padding);
    padding-bottom: var(--spacing-2xl);
}

.hero-text-box {
    background-color: rgba(49, 87, 44, 0.45);
    padding: var(--spacing-2xl);
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 4px;
}

.hero-title {
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    color: var(--color-cream);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========================================
   Services Section
   ======================================== */

.services {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: 8px;
    border: 1px solid var(--color-light-gray);
    transition: all var(--transition-medium);
}

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

.service-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-secondary);
}

.service-card p {
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
}

.service-link {
    color: var(--color-accent);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all var(--transition-fast);
}

.service-link:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

/* ========================================
   Portfolio / Our Work Section
   ======================================== */

.portfolio-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-primary);
}

.portfolio-section .section-header h2,
.portfolio-section .section-intro {
    color: var(--color-cream);
}

.portfolio-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
}

.carousel-slides {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-slide {
    display: none;
    position: relative;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 8px;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 0 0 8px 8px;
}

.carousel-caption .project-type {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.carousel-caption .project-location {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.carousel-arrow:hover {
    background-color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow-left {
    left: 1rem;
}

.carousel-arrow-right {
    right: 1rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dot.active {
    background-color: var(--color-white);
    width: 14px;
    height: 14px;
}

.carousel-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.portfolio-cta {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

/* ========================================
   Why Choose Section
   ======================================== */

.why-choose {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-white);
}

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

.benefit-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.benefit-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.benefit-item h3 {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
}

.benefit-item p {
    color: var(--color-gray);
    margin-bottom: 0;
}

/* ========================================
   Testimonials Section
   ======================================== */

.testimonials {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-primary);
}

.testimonials .section-header h2 {
    color: var(--color-cream);
}

.testimonials-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-slides {
    position: relative;
    min-height: 300px;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-content {
    background-color: var(--color-white);
    padding: var(--spacing-2xl);
    border-radius: 8px;
    text-align: center;
}

.stars {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-md);
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-dark-gray);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0;
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.testimonial-arrow:hover {
    background-color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-arrow-left {
    left: -70px;
}

.testimonial-arrow-right {
    right: -70px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.testimonial-dot.active {
    background-color: var(--color-white);
    width: 14px;
    height: 14px;
}

.testimonial-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Service Areas Section
   ======================================== */

.service-areas {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-white);
}

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

.area-group h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-gold);
}

.neighborhoods-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.neighborhoods-list li a {
    color: var(--color-gray);
    display: block;
    padding: 0.25rem 0;
    transition: all var(--transition-fast);
}

.neighborhoods-list li a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

/* ========================================
   About / Our Story Section
   ======================================== */

.about-story {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-primary);
}

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

.about-text h2 {
    color: var(--color-cream);
    margin-bottom: var(--spacing-lg);
}

.about-text p {
    color: var(--color-cream);
    line-height: 1.7;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: var(--spacing-2xl);
}

.contact-info h3 {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
}

.contact-methods {
    margin: var(--spacing-xl) 0;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

.contact-method svg {
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 0.25rem;
}

.contact-method strong {
    display: block;
    color: var(--color-secondary);
    margin-bottom: 0.25rem;
}

.contact-method a {
    color: var(--color-primary);
    font-size: 1.125rem;
}

.response-time {
    background-color: var(--color-off-white);
    padding: var(--spacing-md);
    border-radius: 4px;
    border-left: 4px solid var(--color-primary);
}

.response-time p {
    margin-bottom: 0;
    color: var(--color-dark-gray);
}

.contact-form {
    background-color: var(--color-off-white);
    padding: var(--spacing-xl);
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-light-gray);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.contact-form button[type="submit"] {
    width: 100%;
}

.form-note {
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-top: 1rem;
    margin-bottom: 0;
    text-align: center;
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
    background-color: var(--color-secondary);
    color: var(--color-cream);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: var(--spacing-md);
}

.footer-about p {
    color: var(--color-cream);
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.footer-phone {
    margin-bottom: var(--spacing-sm);
}

.footer-phone strong {
    color: var(--color-cream);
    display: block;
    margin-bottom: 0.25rem;
}

.footer-phone a {
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}

.footer-phone a:hover {
    color: var(--color-gold);
}

.footer-url {
    margin-top: var(--spacing-sm);
}

.footer-url a {
    color: var(--color-cream);
    opacity: 0.8;
}

.footer-url a:hover {
    opacity: 1;
    color: var(--color-gold);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-services li,
.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-services a,
.footer-contact a {
    color: var(--color-cream);
    opacity: 0.8;
    transition: all var(--transition-fast);
}

.footer-links a:hover,
.footer-services a:hover,
.footer-contact a:hover {
    opacity: 1;
    color: var(--color-gold);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(254, 250, 224, 0.2);
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-cream);
    opacity: 0.7;
    margin: 0;
    font-size: 0.9rem;
}

/* ========================================
   Services Page Styles
   ======================================== */

.services-hero {
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    background-color: var(--color-white);
}

.services-overview {
    padding: var(--spacing-xl) 0 var(--spacing-3xl);
    background-color: var(--color-white);
}

.service-detail {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-white);
}

.service-detail.alt-bg {
    background-color: var(--color-primary);
}

.service-detail.alt-bg h2,
.service-detail.alt-bg h3 {
    color: var(--color-cream);
}

.service-detail.alt-bg p,
.service-detail.alt-bg li {
    color: var(--color-cream);
}

.service-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-content h3 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.service-content h3:first-of-type {
    margin-top: 0;
}

.scope-list {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: var(--spacing-lg);
}

.scope-list li {
    margin-bottom: 0.5rem;
    color: var(--color-dark-gray);
    line-height: 1.6;
}

.service-detail.alt-bg .scope-list li {
    color: var(--color-cream);
}

.service-cta {
    margin-top: var(--spacing-2xl);
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--color-light-gray);
}

.service-detail.alt-bg .service-cta {
    border-top-color: rgba(254, 250, 224, 0.3);
}

.contact-page {
    padding-top: var(--spacing-3xl);
}

.contact-page .response-time h3 {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
}

.contact-page .response-time .scope-list {
    margin-top: var(--spacing-md);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .testimonial-arrow-left {
        left: -15px;
    }
    
    .testimonial-arrow-right {
        right: -15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .logo img {
        height: 60px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-medium);
        gap: 0;
        align-items: flex-start;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid var(--color-light-gray);
    }
    
    .nav-menu > li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        padding: 1rem 0;
        width: 100%;
    }
    
    .nav-cta {
        margin-top: 1rem;
        text-align: center;
        display: block;
    }
    
    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--color-off-white);
        padding: 0;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-medium);
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }
    
    .dropdown-menu a {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-text-box {
        padding: var(--spacing-lg);
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .services-grid,
    .benefits-grid,
    .service-areas-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
    
    .carousel-arrow-left {
        left: 0.5rem;
    }
    
    .carousel-arrow-right {
        right: 0.5rem;
    }
    
    .testimonial-arrow {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-arrow-left {
        left: 0.5rem;
    }
    
    .testimonial-arrow-right {
        right: 0.5rem;
    }
    
    .testimonial-content {
        padding: var(--spacing-lg);
    }
    
    .testimonials-carousel {
        max-width: 100%;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .carousel-slide img {
        max-height: 400px;
    }
    
    .carousel-caption {
        padding: 1.5rem 1rem 1rem;
    }
    
    .benefit-number {
        font-size: 2.5rem;
    }
}
