/* =====================================
   GLOBAL STYLES & RESET
   ===================================== */

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

:root {
    --primary-color: #002E5A;
    --secondary-color: #28ADE4;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* =====================================
   HEADER & NAVIGATION
   ===================================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

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

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

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

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

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

.btn-contact {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    padding: 0.7rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
}

.btn-contact:hover {
    background: var(--secondary-color);
    color: var(--text-light);
    transform: translateY(-1px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* =====================================
   HERO SECTION
   ===================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: var(--primary-color);
}

/* Wave decoration at bottom of hero - inspired by logo */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23ffffff' d='M0,40 C240,80 480,0 720,40 C960,80 1200,0 1440,40 L1440,80 L0,80 Z'/%3E%3Cpath fill='none' stroke='%2328ADE4' stroke-width='2' d='M0,35 C240,75 480,-5 720,35 C960,75 1200,-5 1440,35'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
    z-index: 4;
}

/* Hero Video Background */
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* Overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 46, 90, 0.75) 0%,
        rgba(0, 61, 122, 0.70) 100%
    );
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    z-index: 3;
    padding: 2rem;
    max-width: 900px;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

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

/* =====================================
   STATS SECTION
   ===================================== */

.stats {
    background: var(--bg-light);
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    line-height: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-number-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* =====================================
   SERVICES SECTION
   ===================================== */

.services {
    padding: 6rem 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    padding: 2.5rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: none;
    transition: var(--transition);
    text-align: center;
    border: 2px solid var(--secondary-color);
    position: relative;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 173, 228, 0.15);
    border-color: var(--primary-color);
}

.service-icon-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    background: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: 'Inter', sans-serif;
}

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

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* =====================================
   TEAM SECTION
   ===================================== */

.team {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.team-member {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: none;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    border: 2px solid var(--secondary-color);
    opacity: 0.4;
    transition: var(--transition);
}

.team-member:hover::before {
    opacity: 1;
}

.team-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 173, 228, 0.12);
}

.member-image {
    margin-bottom: 1.5rem;
}

.placeholder-image {
    width: 150px;
    height: 150px;
    background: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    font-family: 'Georgia', serif;
    border: 3px solid var(--secondary-color);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.member-name {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.member-bio {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* =====================================
   PROJECTS SECTION
   ===================================== */

.projects {
    padding: 6rem 0;
    background: var(--bg-white);
}

.project-carousel {
    position: relative;
    margin-top: 3rem;
    padding: 0 60px;
}

.carousel-container {
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.project-slide {
    min-width: 100%;
    padding: 1rem;
    display: flex;
    align-items: stretch;
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    width: 100%;
    min-height: 500px;
    max-height: 500px;
}

.project-image {
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
    overflow: hidden;
}

.placeholder-project {
    text-align: center;
    color: var(--text-light);
    padding: 2rem;
}

.placeholder-project .project-letter {
    font-size: 8rem;
    display: block;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Georgia', serif;
    opacity: 0.9;
}

.placeholder-project p {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.8;
}

.project-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 500px;
    overflow-y: auto;
}

.project-info h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.project-date {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.project-description {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary-color);
    color: var(--text-light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

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

.indicator.active {
    background: var(--secondary-color);
    width: 30px;
    border-radius: 10px;
}

/* =====================================
   CONTACT SECTION (Improved)
   ===================================== */

.contact-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

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

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(40, 173, 228, 0.1);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: #aaa;
}

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

.contact-form .form-group.checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.8rem;
    display: flex;
    margin-bottom: 2rem;
}

.contact-form .form-group.checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.contact-form .form-group.checkbox label {
    margin: 0;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-gray);
    cursor: pointer;
}

.contact-form .form-group.checkbox label a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-form .form-group.checkbox label a:hover {
    text-decoration: underline;
}

.contact-form .btn-submit {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

.contact-form .btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-form .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Form Message */
.form-message {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--bg-white);
    padding: 1.8rem;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.contact-card.highlight {
    background: var(--primary-color);
    color: var(--text-light);
}

.contact-card.highlight .contact-card-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
}

.contact-card.highlight h3 {
    color: var(--text-light);
}

.contact-card.highlight span {
    color: rgba(255, 255, 255, 0.9);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-card h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.contact-card a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
}

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

.contact-card span {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
    }
}

/* =====================================
   CTA SECTION (Legacy - kept for Phase 2)
   ===================================== */

.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003d7a 100%);
    padding: 5rem 0;
    text-align: center;
}

.cta-content {
    color: var(--text-light);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* =====================================
   FOOTER
   ===================================== */

.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1) drop-shadow(0 0 0 white);
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
    opacity: 0.8;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* =====================================
   MODAL
   ===================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--bg-white);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 3rem;
    z-index: 2001;
    animation: modalSlideIn 0.3s ease;
    border: 1px solid #e0e0e0;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-gray);
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.modal-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.modal-subtitle {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* =====================================
   CONTACT FORM
   ===================================== */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 46, 90, 0.1);
}

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

.form-group.checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.8rem;
}

.form-group.checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.form-group.checkbox label {
    margin: 0;
    font-weight: 400;
    font-size: 0.9rem;
    cursor: pointer;
}

.contact-form .btn-primary {
    margin-top: 1rem;
    width: 100%;
}

/* =====================================
   SERVICE AREA MAP
   ===================================== */

.service-area {
    padding: 6rem 0;
    background: var(--bg-white);
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.customer-map {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    z-index: 1;
    background: #f8f9fa;
}

/* Leaflet Custom Styles - Minimalist Design */
.leaflet-popup-content-wrapper {
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border: 1px solid #e8e8e8;
}

.leaflet-popup-content {
    margin: 1rem;
}

.leaflet-popup-content h3 {
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.leaflet-popup-content p {
    margin: 0.25rem 0;
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.4;
}

.leaflet-popup-tip {
    box-shadow: none;
}

/* Minimalist Zoom Controls */
.leaflet-control-zoom {
    border: 1px solid #e8e8e8 !important;
    border-radius: 6px !important;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
}

.leaflet-control-zoom a {
    background: white !important;
    color: var(--primary-color) !important;
    border: none !important;
    font-size: 18px !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    transition: all 0.2s ease;
}

.leaflet-control-zoom a:hover {
    background: var(--bg-light) !important;
    color: var(--secondary-color) !important;
}

.leaflet-control-zoom a:first-child {
    border-bottom: 1px solid #e8e8e8 !important;
}

/* Minimalist Attribution */
.leaflet-control-attribution {
    background: rgba(255,255,255,0.9) !important;
    font-size: 0.7rem !important;
    padding: 2px 6px !important;
    border-radius: 4px;
    margin: 8px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}

.leaflet-control-attribution a {
    color: var(--text-gray) !important;
    text-decoration: none;
}

.leaflet-control-attribution a:hover {
    color: var(--secondary-color) !important;
}

.map-info {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

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

.service-areas-list {
    list-style: none;
    padding-left: 0;
}

.service-areas-list li {
    padding: 0.8rem 0 0.8rem 2rem;
    color: var(--text-gray);
    border-bottom: 1px solid #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
}

.service-areas-list li:last-child {
    border-bottom: none;
}

.service-areas-list li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.8rem;
}

/* Map Legend */
.map-legend {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.map-legend h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.legend-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--text-light);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.legend-marker.completed {
    background: var(--secondary-color);
}

.legend-marker.ongoing {
    background: #ffa500;
}

/* =====================================
   TRUST SECTION
   ===================================== */

.trust-section {
    padding: 6rem 0;
    background: var(--bg-white);
}

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

.trust-card {
    padding: 2.5rem;
    background: var(--bg-white);
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
}

.trust-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 173, 228, 0.12);
}

.trust-icon-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    width: 50px;
    height: 50px;
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: 'Inter', sans-serif;
}

.trust-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.trust-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* =====================================
   BEFORE/AFTER SLIDER
   ===================================== */

.before-after-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.before-image {
    clip-path: inset(0 50% 0 0);
    z-index: 2;
}

.after-image {
    z-index: 1;
}

.placeholder-before-after {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #5a5a5a;
    color: var(--text-light);
}

.placeholder-before-after.after {
    background: var(--primary-color);
}

.placeholder-before-after .before-after-label {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    font-family: 'Georgia', serif;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--text-light);
    z-index: 3;
    transform: translateX(-50%);
    cursor: ew-resize;
}

.handle-line {
    width: 100%;
    height: 100%;
    background: var(--text-light);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border: 4px solid var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-light);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.slider-instruction {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-align: center;
    font-style: italic;
}

/* =====================================
   FAQ SECTION
   ===================================== */

.faq {
    padding: 6rem 0;
    background: var(--bg-light);
}

.faq-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: none;
    transition: var(--transition);
    border: 2px solid transparent;
    border-left: 3px solid var(--secondary-color);
}

.faq-item:hover {
    border-color: var(--secondary-color);
    border-left-color: var(--primary-color);
}

.faq-question {
    padding: 1.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
    padding-right: 2rem;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 300;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.8rem;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0;
}

/* =====================================
   PAGE HERO (Subpages)
   ===================================== */

.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003d7a 100%);
    padding: 10rem 0 5rem;
    text-align: center;
    color: var(--text-light);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================
   SERVICES DETAIL (Leistungen Page)
   ===================================== */

.services-detail {
    padding: 5rem 0;
    background: var(--bg-white);
}

.service-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid #e8e8e8;
}

.service-detail-card:last-child {
    border-bottom: none;
}

.service-detail-card.reverse {
    direction: rtl;
}

.service-detail-card.reverse > * {
    direction: ltr;
}

.service-detail-content {
    position: relative;
}

.service-number {
    font-size: 5rem;
    font-weight: 800;
    color: var(--secondary-color);
    opacity: 0.15;
    position: absolute;
    top: -2rem;
    left: -1rem;
    line-height: 1;
}

.service-detail-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-lead {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 28px;
    height: 28px;
    background: var(--secondary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.feature-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
}

.service-applications h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.service-applications ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-applications li {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.service-detail-visual {
    display: flex;
    justify-content: center;
}

.visual-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/3;
    background: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 3rem;
    font-weight: 700;
    opacity: 0.8;
}

.visual-placeholder.blue {
    background: var(--secondary-color);
}

.visual-placeholder.green {
    background: #2e7d32;
}

.visual-placeholder.orange {
    background: #e65100;
}

/* =====================================
   TECHNOLOGY PAGE
   ===================================== */

.tech-overview {
    padding: 5rem 0;
    background: var(--bg-white);
}

.tech-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.tech-intro h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tech-intro p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

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

.tech-feature {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 16px;
    transition: var(--transition);
}

.tech-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-feature-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-light);
}

.tech-feature h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.tech-feature p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Comparison Table */
.comparison-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 3rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e8e8e8;
}

.comparison-table th {
    background: var(--primary-color);
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
}

.comparison-table th.highlight {
    background: var(--secondary-color);
}

.comparison-table td {
    font-size: 0.95rem;
}

.comparison-table td.highlight {
    background: rgba(40, 173, 228, 0.08);
    font-weight: 600;
}

.comparison-table td.good {
    color: #2e7d32;
}

.comparison-table td.neutral {
    color: var(--text-gray);
}

.comparison-table td.bad {
    color: #c62828;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: rgba(40, 173, 228, 0.03);
}

.method-icon {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.table-note {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-top: 1rem;
    font-style: italic;
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.process-step {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-light);
    border-radius: 16px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.process-connector {
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    align-self: center;
    display: none;
}

@media (min-width: 1000px) {
    .process-connector {
        display: block;
    }
}

/* Safety Section */
.safety-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.safety-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.safety-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.safety-lead {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.safety-points {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.safety-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.safety-icon {
    width: 28px;
    height: 28px;
    background: var(--secondary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.safety-point strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.safety-point p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
}

.safety-visual {
    display: flex;
    justify-content: center;
}

.safety-badge {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border: 4px solid var(--secondary-color);
}

.badge-icon {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.badge-text {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Page CTA */
.page-cta {
    padding: 5rem 0;
    background: var(--bg-white);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003d7a 100%);
    padding: 4rem;
    border-radius: 16px;
    text-align: center;
    color: var(--text-light);
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.cta-box p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Logo Link Fix */
.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

/* Active Nav Link */
.nav-link.active {
    color: var(--secondary-color);
}

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

/* Responsive for Subpages */
@media (max-width: 968px) {
    .page-title {
        font-size: 2.2rem;
    }

    .service-detail-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail-card.reverse {
        direction: ltr;
    }

    .safety-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .safety-visual {
        order: -1;
    }

    .safety-badge {
        width: 150px;
        height: 150px;
    }

    .badge-icon {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem;
        font-size: 0.85rem;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        max-width: 100%;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }
}

/* =====================================
   ANIMATIONS
   ===================================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up.delay-1 {
    animation-delay: 0.2s;
}

.fade-in-up.delay-2 {
    animation-delay: 0.4s;
}

.fade-in-up.delay-3 {
    animation-delay: 0.6s;
}

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

/* Fade In Left */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInLeft 0.8s ease forwards;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade In Right */
.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 0.8s ease forwards;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale In */
.scale-in {
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.6s ease forwards;
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Pulse Animation for Icons */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Float Animation */
.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Shimmer Effect for Buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Card Hover Lift */
.service-card,
.trust-card,
.team-member,
.contact-card,
.tech-feature {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Subtle Border Glow on Hover */
.service-card::before,
.trust-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before,
.trust-card:hover::before {
    opacity: 0.15;
}

/* Improve text contrast on hover */
.service-card:hover p,
.trust-card:hover p {
    color: var(--text-dark);
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Text Reveal Animation */
.reveal-text {
    opacity: 0;
    animation: revealText 0.8s ease forwards;
}

@keyframes revealText {
    0% {
        opacity: 0;
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

/* Number Counter Animation */
.stat-number {
    transition: color 0.3s ease;
}

.stat-item:hover .stat-number {
    color: var(--secondary-color);
}

/* Icon Rotate on Hover */
.service-icon-text,
.trust-icon-text,
.tech-feature-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon-text,
.trust-card:hover .trust-icon-text {
    transform: scale(1.05);
}

.tech-feature:hover .tech-feature-icon {
    transform: scale(1.1);
}

/* FAQ Smooth Expand */
.faq-answer {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}

/* Underline Animation for Links */
.nav-link::after,
.footer-section a::after {
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo Animation */
.logo-img {
    transition: transform 0.3s ease;
}

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

/* Process Step Animation */
.process-step {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.process-step:hover .step-number {
    animation: pulse 1s infinite;
}

/* Contact Card Slide In */
.contact-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Comparison Table Row Highlight */
.comparison-table tbody tr {
    transition: background-color 0.2s ease;
}

/* Badge Glow */
.safety-badge {
    animation: badgeGlow 3s ease-in-out infinite alternate;
}

@keyframes badgeGlow {
    0% {
        box-shadow: 0 0 20px rgba(40, 173, 228, 0.3);
    }
    100% {
        box-shadow: 0 0 40px rgba(40, 173, 228, 0.6);
    }
}

/* Scroll-triggered animations (handled by JS) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

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

/* =====================================
   RESPONSIVE DESIGN
   ===================================== */

@media (max-width: 968px) {
    .hero-video-bg {
        /* On mobile, ensure video covers properly */
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .project-content {
        grid-template-columns: 1fr;
        min-height: auto;
        max-height: none;
    }

    .project-image {
        height: 350px;
    }

    .project-info {
        height: auto;
        min-height: 350px;
        padding: 2rem;
    }

    .before-after-slider {
        height: 350px;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem 0;
        transition: var(--transition);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

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

    .hamburger {
        display: flex;
    }

    .btn-contact {
        display: none;
    }

    .nav-menu .btn-contact {
        display: block;
        margin-top: 2rem;
    }

    .hero {
        padding: 6rem 1rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

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

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

    .project-carousel {
        padding: 0 50px;
    }

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

    .project-info {
        padding: 2rem;
    }

    .project-info h3 {
        font-size: 1.5rem;
    }

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

    .modal-content {
        padding: 2rem;
    }

    .map-container {
        grid-template-columns: 1fr;
    }

    .simple-map {
        min-height: 350px;
    }

    .map-info {
        padding: 2rem;
    }
}

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

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

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

    .project-carousel {
        padding: 0 40px;
    }

    .map-container {
        grid-template-columns: 1fr;
    }

    .map-city {
        font-size: 2.5rem;
    }

    .map-elbe {
        font-size: 1.5rem;
    }

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

    .faq-question {
        padding: 1.2rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.2rem;
    }
}
