:root {
    /* Dark theme (default) */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --bg-tertiary: #333333;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --accent: #4CAF50;
    --accent-hover: #45a049;
    --border: #404040;
    --shadow: rgba(0, 0, 0, 0.3);
    --gradient: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8f8;
    --bg-tertiary: #f0f0f0;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #666666;
    --accent: #4CAF50;
    --accent-hover: #45a049;
    --border: #d0d0d0;
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
}

/* Contact page specific light theme override */
[data-theme="light"] .contact-title {
    --text-primary: #003E6B;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

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

/* Utility Classes */
.hidden {
    display: none !important;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.section-conclusion {
    text-align: center;
    max-width: 800px;
    margin: 3rem auto 0;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26);
    z-index: 1000;
    padding: 1rem 0;
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-container nav {
    margin-left: auto;
    margin-right: 2rem;
}

.logo {
    display: block;
    text-decoration: none;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

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

/* Dropdown Styles */
.nav-item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--shadow);
    width: 320px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1002;
    padding: 1rem 0;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    box-sizing: border-box;
}

.dropdown a:hover {
    background: var(--bg-tertiary);
    color: var(--accent);
    padding-left: 2rem;
}

.dropdown-arrow {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    transition: transform 0.3s ease;
    touch-action: manipulation;
    user-select: none;
}

/* Only apply hover effects on devices that support hover (not mobile) */
@media (hover: hover) {
    .theme-toggle:hover {
        transform: scale(1.05);
    }

    .theme-toggle:hover .theme-icon {
        transform: rotate(180deg);
        fill: var(--accent);
    }
}

.theme-icon {
    width: 1.2rem;
    height: 1.2rem;
    fill: var(--text-primary);
    transition: transform 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 2rem 4rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* INDEX PAGE HERO BACKGROUND - Replace 'hero-bg.jpg' with your desired image */
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: -1;
}

[data-theme="light"] .hero-background::after {
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

/* Energy-efficient HVAC page specific hero styles */
.hero-content.grid {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    text-align: left;
}

.hero-right {
    text-align: left;
}

/* Mobile responsive - stack columns */
@media (max-width: 768px) {
    .hero-content.grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-left,
    .hero-right {
        text-align: center;
    }
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.1;
}

/* Energy-efficient HVAC page specific hero h1 */
.hero-left h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: #f0f0f0;
    margin-bottom: 3rem;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
    touch-action: manipulation;
    user-select: none;
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.4);
}

/* Section Styles */
.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Background Image Sections */
.section-with-bg {
    position: relative;
    max-width: none;
    margin: 0;
    overflow: hidden;
}

.section-with-bg .section-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.section-with-bg .section-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
}

[data-theme="light"] .section-with-bg .section-background::after {
    background: rgba(0, 0, 0, 0.65);
}

/* Light mode text contrast fixes for background sections */
[data-theme="light"] .section-with-bg .section-title {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .section-with-bg .section-subtitle {
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .section-with-bg .section-content p {
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Override for portfolio items in section-with-bg on light mode */
[data-theme="light"] .section-with-bg .portfolio-content p {
    color: #000000 !important;
    text-shadow: none !important;
}

[data-theme="light"] .testimonial-quote {
    color: #000000 !important;
    text-shadow: none !important;
}

[data-theme="light"] .process-item p {
    color: #000000 !important;
    text-shadow: none !important;
}

.section-with-bg .section-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

/* Background Images for Specific Sections */
/* INDEX PAGE APPROACH SECTION BACKGROUND - Replace 'approach-bg.jpg' with your desired image */
#approach .section-background {
    background-image: url('images/approach-bg.jpg');
}

/* INDEX PAGE ABOUT SECTION BACKGROUND - Replace 'about-bg.jpg' with your desired image */
#about .section-background {
    background-image: url('images/about-bg.jpg');
}

/* ========================================
   SERVICE PAGES BACKGROUND IMAGES
   ======================================== */

/* ENERGY-EFFICIENT HVAC PAGE BACKGROUNDS */
/* Hero section background - Replace 'energy-1.jpg' with your desired image */
.page-energy-hvac .hero-background {
    background-image: url('images/energy-1.jpg');
}

/* Process section background - Replace 'energy-2.jpg' with your desired image */
.page-energy-hvac #process .section-background {
    background-image: url('images/energy-2.jpg');
}

/* TECHNICAL CONSULTATION PAGE BACKGROUNDS */
/* Hero section background - Replace 'tech-1.jpg' with your desired image */
.page-technical .hero-background {
    background-image: url('images/tech-1.jpg');
}

/* Process section background - Replace 'tech-2.jpg' with your desired image */
.page-technical #process .section-background {
    background-image: url('images/tech-2.jpg');
}

/* MANUFACTURER REPRESENTATION PAGE BACKGROUNDS */
/* Hero section background - Replace 'manufacturer-1.jpg' with your desired image */
.page-manufacturer .hero-background {
    background-image: url('images/manufacturer-1.jpg');
}

/* Benefits section background - Replace 'manufacturer.jpg' with your desired image */
.page-manufacturer #benefits .section-background {
    background-image: url('images/manufacturer.jpg');
}

/* ENERGY COST OPTIMIZATION PAGE BACKGROUNDS */
/* Hero section background - Replace 'hvac-1.jpg' with your desired image */
.page-optimization .hero-background {
    background-image: url('images/hvac-1.jpg');
}

/* Process section background - Replace 'hvac-2.jpg' with your desired image */
.page-optimization #process .section-background {
    background-image: url('images/hvac-2.jpg');
}

/* COMMERCIAL BUILDINGS PAGE BACKGROUNDS */
/* Hero section background - Replace 'about-bg.jpg' with your desired image */
.page-commercial .hero-background {
    background-image: url('images/commercial-1.jpg');
}

/* Process section background - Replace 'hero-bg.jpg' with your desired image */
.page-commercial #process .section-background {
    background-image: url('images/commercial-2.jpg');
}

/* INSTITUTIONAL SECTOR PAGE BACKGROUNDS */
/* Hero section background - Replace 'approach-bg.jpg' with your desired image */
.page-institutional .hero-background {
    background-image: url('images/institute-1.jpg');
}

/* Process section background - Replace 'energy-1.jpg' with your desired image */
.page-institutional #process .section-background {
    background-image: url('images/institute-2.jpg');
}

/* INDUSTRIAL FACILITIES PAGE BACKGROUNDS */
/* Hero section background - Replace 'tech-1.jpg' with your desired image */
.page-industrial .hero-background {
    background-image: url('images/industrial-1.jpg');
}

/* Process section background - Replace 'manufacturer-1.jpg' with your desired image */
.page-industrial #process .section-background {
    background-image: url('images/industrial-2.jpg');
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

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

.service-card-content {
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
    line-height: 1.3;
}

.service-card h3::before {
    content: '';
    width: 16px;
    height: 16px;
    background: var(--gradient);
    border-radius: 4px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.service-card:hover h3::before {
    transform: rotate(45deg) scale(1.1);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.process-item {
    background: var(--bg-secondary);
    border: none;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Index page process item styles */
.process-item.index-style {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.process-item.index-style:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
    border-color: var(--accent);
}

.process-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(102, 187, 106, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

/* Index page hover effects only */
.process-item.index-style:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
    border-color: var(--accent);
}

.process-item > * {
    position: relative;
    z-index: 1;
}

.process-number {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Index page process number styles */
.process-number.index-style {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

/* No hover effects for process-number on energy-efficient-hvac page */

.process-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    line-height: 1.3;
    transition: color 0.3s ease;
}

/* Index page process item h3 styles */
.process-item.index-style h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* No hover color change for h3 on energy-efficient-hvac page */

.process-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

/* Index page process item p styles */
.process-item.index-style p {
    line-height: 1.6;
}

/* No hover color change for p on energy-efficient-hvac page */

/* Portfolio Grid */
.portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-item {
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    padding: 2.5rem;
    overflow: hidden;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow);
    border-color: var(--accent);
}

.portfolio-item:hover::before {
    transform: scaleX(1);
}

.portfolio-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.portfolio-content h3::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.portfolio-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.05rem;
    text-shadow: none;
}

[data-theme="light"] .portfolio-content p {
    color: var(--text-primary);
}

/* Testimonials */
.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial {
    background: var(--bg-secondary);
    border: none;
    border-radius: 24px;
    padding: 0;
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient);
}

.testimonial::after {
    content: '"';
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.15;
    font-weight: bold;
    line-height: 1;
}

.testimonial:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

.testimonial-quote {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.testimonial-info {
    flex: 1;
}

.testimonial-author {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.testimonial-title {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Simple testimonials (for About section) */
#about .testimonial {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: none;
}

#about .testimonial::before,
#about .testimonial::after {
    display: none;
}

#about .testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
    border-color: var(--accent);
}

#about .testimonial-quote {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-style: italic;
    padding-left: 0;
}

#about .testimonial-quote::before {
    display: none;
}

#about .testimonial-author {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

#about .testimonial-title {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 4rem auto 0;
}

/* Contact page specific form styles */
.contact-form.contact-page {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 30px var(--shadow);
    margin: 0;
    max-width: none;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    resize: none;
}

/* Contact page specific form field styles */
.contact-form.contact-page .form-group input,
.contact-form.contact-page .form-group textarea,
.contact-form.contact-page .form-group select {
    background: var(--bg-tertiary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

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

/* File Upload Area */
.file-upload-area {
    border: 2px dashed var(--border);
    border-radius: 12px;
    background: var(--bg-secondary);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.contact-form.contact-page .file-upload-area {
    background: var(--bg-tertiary);
}

.file-upload-area:hover {
    border-color: var(--accent);
    background: var(--bg-secondary);
}

.contact-form.contact-page .file-upload-area:hover {
    background: var(--bg-secondary);
}

.file-upload-area.dragover {
    border-color: var(--accent);
    background: rgba(76, 175, 80, 0.05);
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.file-upload-icon {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.file-upload-text {
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 500;
}

.file-upload-subtext {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.file-list {
    margin-top: 1rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.file-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.file-details {
    display: flex;
    flex-direction: column;
}

.file-name {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 500;
}

.file-size {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.file-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.file-remove:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

/* Form Submit Container */
.form-submit-container {
    text-align: center;
}

/* Hidden Element */
.hidden {
    display: none;
}

/* Contact page specific styles */
.main-content {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.contact-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    margin-top: 4rem;
    text-align: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.contact-info a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    padding: 1rem 2rem 2rem;
    text-align: center;
    margin-top: 1rem;
}

/* Contact page specific footer */
.footer.contact-page {
    margin-top: 4rem;
}

.footer p {
    color: var(--text-muted);
    margin: 0;
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    white-space: nowrap;
}

.footer a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer a:hover {
    color: var(--text-primary);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding-right: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0rem;
    z-index: 1001;
    position: relative;
    touch-action: manipulation;
    user-select: none;
}

.hamburger {
    width: 24px;
    height: 18px;
    position: relative;
    transform: rotate(0deg);
    transition: 0.3s ease-in-out;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2),
.hamburger span:nth-child(3) {
    top: 8px;
}

.hamburger span:nth-child(4) {
    top: 16px;
}

.hamburger.active span:nth-child(1) {
    top: 8px;
    width: 0%;
    left: 50%;
}

.hamburger.active span:nth-child(2) {
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
}

.hamburger.active span:nth-child(4) {
    top: 8px;
    width: 0%;
    left: 50%;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.mobile-nav-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 3rem;
    position: relative;
}

.mobile-close-btn {
    position: fixed;
    top: 0;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    z-index: 2001;
    height: 80px;
    width: auto;
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.mobile-close-btn .hamburger {
    transform: rotate(0deg);
}

.mobile-nav.active .mobile-close-btn .hamburger {
    transform: rotate(0deg);
}

.mobile-nav.active .mobile-close-btn .hamburger span:nth-child(1) {
    top: 8px;
    width: 0%;
    left: 50%;
}

.mobile-nav.active .mobile-close-btn .hamburger span:nth-child(2) {
    transform: rotate(45deg);
}

.mobile-nav.active .mobile-close-btn .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
}

.mobile-nav.active .mobile-close-btn .hamburger span:nth-child(4) {
    top: 8px;
    width: 0%;
    left: 50%;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 0;
    margin: 0;
}

.mobile-nav-links a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    touch-action: manipulation;
    user-select: none;
}

.mobile-nav.active .mobile-nav-links a {
    animation: fadeInUp 0.4s ease forwards;
}

.mobile-nav.active .mobile-nav-links li:nth-child(1) a { animation-delay: 0.05s; }
.mobile-nav.active .mobile-nav-links li:nth-child(2) a { animation-delay: 0.1s; }
.mobile-nav.active .mobile-nav-links li:nth-child(3) a { animation-delay: 0.15s; }
.mobile-nav.active .mobile-nav-links li:nth-child(4) a { animation-delay: 0.2s; }
.mobile-nav.active .mobile-nav-links li:nth-child(5) a { animation-delay: 0.25s; }
.mobile-nav.active .mobile-nav-links li:nth-child(6) a { animation-delay: 0.3s; }

.mobile-nav-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.mobile-nav-links .back-link {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 500;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form.contact-page {
        padding: 2rem;
    }
}

@media (max-width: 1280px) {
    /* Hide desktop navigation elements on mobile */
    .nav-links {
        display: none;
    }

    .dropdown {
        display: none !important;
    }

    .dropdown-arrow {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        padding: 6rem 1rem 2rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .mobile-close-btn {
        margin-right: 1rem;
    }
    
    .main-content {
        padding: 6rem 1rem 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}