/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1f2937;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Appearance for all devices (phone style) */
.hero {
    min-height: 100vh;
    text-align: center;
    padding: 2rem 1rem;
    background-color: #040b1d;
    color: #ffffff;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(135deg, #1c1f4c, #0b1a35);
    z-index: 0;
    opacity: 0.95;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 9, 33, 0.5);
    z-index: 1;
}

.hero .hero-content {
    position: relative;
    z-index: 10;
    max-width: 500px;
    margin: 0 auto;
    color: #ffffff;
}

.hero .hero-title {
    font-size: 3.5rem;
}

.hero .hero-subtitle {
    font-size: 1.5rem;
    color: #d4e7ff;
    margin-bottom: 1.5rem;
}

/* Mobile query for phones */
@media (max-width: 767px) {
    .header-content {
        height: 70px;
    }

    .hero {
        height: auto;
        padding: 3rem 1rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        max-width: 100%;
    }

    .hero-badge,
    .service-card,
    .stats-grid,
    .about-grid {
        width: 100%;
        text-align: center;
    }
}

.contact-logos {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}
.logo:hover .logo-img {
    transform: scale(1.05);
    transition: 0.2s;
}

.contact-logos {
    display: flex;
    justify-content: space-between; /* verdeelt netjes */
    align-items: center;
    gap: 60px;
    flex-wrap: nowrap; /* ❌ NOOIT naar volgende rij */
}

/* logo's gelijk maken */
.contact-logos img {
    height: 50px;     /* 👈 vaste hoogte */
    width: auto;
    object-fit: contain;

    max-width: 100%;  /* voorkomt overflow */

    filter: grayscale(80%);
    opacity: 0.7;
    transition: 0.3s;
}

/* hover */
.contact-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.contact-logos img {
    height: 30px;
    width: auto;
    opacity: 0.8;
    transition: 0.3s;
}

.contact-logos img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.logo-icon {
    height: 32px;
    width: 32px;
    color: inherit;
}

.header.scrolled .logo-icon {
    color: #000000;
}

.header:not(.scrolled) .logo-icon {
    color: #ffffff;
}

.company-name {
    font-size: 1.25rem;
    font-weight: bold;
}

.header.scrolled .company-name {
    color: #111827;
}

.header:not(.scrolled) .company-name {
    color: #ffffff;
}

/* Navigation */
.desktop-nav {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #000000;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.header.scrolled .nav-link {
    color: #374151;
}

.header:not(.scrolled) .nav-link {
    color: #ffffff;
}

.nav-link:hover {
    color: #000000;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.menu-icon {
    width: 100%;
    height: 100%;
    color: inherit;
}

.close-icon {
    width: 100%;
    height: 100%;
    color: inherit;
}

.header.scrolled .menu-icon,
.header.scrolled .close-icon {
    color: #111827;
}

.header:not(.scrolled) .menu-icon,
.header:not(.scrolled) .close-icon {
    color: #ffffff;
}

.mobile-menu {
    display: none;
    background-color: #ffffff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    animation: none;
}

.mobile-menu.active {
    display: block;
    max-height: 500px;
    padding: 1rem 0;
    animation: slideDown 0.3s ease-out;
}

.mobile-nav-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #374151;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-nav-link:hover {
    background-color: #f5f5f5;
    color: #000000;
    border-left: 3px solid #000000;
    padding-left: 1.7rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/2881232/pexels-photo-2881232.jpeg?auto=compress&cs=tinysrgb&w=1920');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(51, 51, 51, 0.8));
    z-index: 1;
}

.hero-logo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background-image: url('img/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    margin-bottom: 2rem;
    animation: slideDown 1s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge span {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-icon {
    height: 20px;
    width: 20px;
    color: #fbbf24;
}

.hero-title {
    font-size: 3.5rem;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 1.5rem;
    animation: slideUp 1s ease-out;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #d9d9d9;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    animation: slideUp 1s ease-out 0.2s backwards;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: slideUp 1s ease-out 0.4s backwards;
}

.btn-primary {
    background-color: #ffffff;
    color: #000000;
}

.btn-primary:hover {
    background-color: #f3f4f6;
    transform: scale(1.05);
}

.btn-icon {
    height: 20px;
    width: 20px;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(0.25rem);
}

.btn-submit {
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-submit:hover {
    background-color: #1a1a1a;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-wheel {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 8px 0;
}

.scroll-dot {
    width: 4px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Section Styles */
.section-label {
    display: inline-block;
    background-color: #f0f0f0;
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 42rem;
}

.about-content {
    transition: opacity 1s ease, transform 1s ease;
}

.about-text {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    background-color: #000000;
    color: #ffffff;
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.feature-item span {
    color: #374151;
    font-weight: 500;
}

/* About Image */
.about-image {
    transition: opacity 1s ease, transform 1s ease;
}

.image-wrapper {
    position: relative;
}

.image-wrapper img {
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.satisfaction-badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.satisfaction-badge svg {
    width: 32px;
    height: 32px;
    color: #16a34a;
}

.badge-value {
    font-size: 1.875rem;
    font-weight: bold;
    color: #111827;
}

.badge-label {
    font-size: 0.875rem;
    color: #4b5563;
}

/* Stats Section */
.stats {
    background: linear-gradient(to bottom right, #000000, #1a1a1a);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    text-align: center;
    transition: transform 0.5s ease;
}

.stat-card:hover {
    transform: scale(1.1);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.stat-icon svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .stat-value {
        font-size: 3rem;
    }
}

.stat-label {
    color: #d9d9d9;
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.5s ease;
    animation: slideUp 1s ease-out;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.service-image {
    position: relative;
    height: 192px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.service-icon {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: #ffffff;
    padding: 0.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-icon.blue {
    background-color: #000000;
}

.service-icon.green {
    background-color: #16a34a;
}

.service-icon.orange {
    background-color: #ea580c;
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.75rem;
}

.service-description {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: #000000;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #1a1a1a;
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* Partner Logos Section */
.partners {
    padding: 4rem 0;
    background-color: #ffffff;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 1.25rem;
    align-items: center;
    justify-items: center;
}

@media (min-width: 768px) {
    .partner-grid {
        grid-template-columns: repeat(4, minmax(120px, 1fr));
    }
}

.partner-logo-card {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.partner-logo {
    max-width: 100%;
    max-height: 64px;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.partner-logo-card:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 78rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: opacity 1s ease, transform 1s ease;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

textarea.form-input {
    resize: none;
}

/* Contact Info */
.contact-info {
    background: linear-gradient(to bottom right, #000000, #1a1a1a);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transition: opacity 1s ease, transform 1s ease;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.map-container {
    background: linear-gradient(to bottom right, #111827, #1f2937);
    border-radius: 1rem;
    overflow: hidden;
    padding: 1rem;
    min-height: 350px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.contact-item p {
    color: #d9d9d9;
    font-size: 1.125rem;
}

.opening-hours {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
}

.opening-hours h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.opening-hours p {
    color: #d9d9d9;
    margin-bottom: 0.25rem;
}

/* Footer */
.footer {
    background-color: #111827;
    color: #d1d5db;
    padding: 3rem 0 2rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo svg {
    width: 32px;
    height: 32px;
    color: #333333;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ffffff;
}

.footer-description {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-link {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    transition: color 0.3s ease;
    text-align: left;
}

.footer-link:hover {
    color: #333333;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    color: #333333;
    flex-shrink: 0;
}

.footer-contact span {
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background-color: #000000;
    color: #ffffff;
    padding: 0.75rem;
    border: none;
    border-radius: 50%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 40;
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top:hover {
    background-color: #1a1a1a;
    transform: scale(1.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

/* Fade In Effects for Sections */
.fade-in-left {
    opacity: 0;
    transform: translateX(-48px);
    transition: opacity 1000ms ease, transform 1000ms ease;
}

.fade-in-left.in-view {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(48px);
    transition: opacity 1000ms ease, transform 1000ms ease;
    transition-delay: 300ms;
}

.fade-in-right.in-view {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.fade-in-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .stat-value {
        font-size: 1.875rem;
    }

    .service-card {
        animation-delay: 0ms;
    }

    .scroll-to-top {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* ==========================================
   ACCOUNT DROPDOWN STYLES
   ========================================== */

.account-dropdown {
    position: relative;
    display: inline-block;
}

.account-btn {
    position: relative;
}

.account-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.account-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-option {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #374151;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f3f4f6;
}

.account-option:hover {
    background-color: #f9fafb;
    color: #000000;
}

.account-option:last-child {
    border-bottom: none;
}

.account-option.logout-btn {
    color: #dc2626;
}

.account-option.logout-btn:hover {
    background-color: #fee2e2;
}

/* Mobile Account Menu */
.mobile-account-menu {
    border-top: 1px solid #e5e7eb;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

/* ==========================================
   MODAL STYLES
   ========================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-animation {
    animation: modalSlideUp 0.4s ease-out;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: #000000;
    transform: rotate(90deg);
}

.modal h2 {
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.modal p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* Login Form Styles */
.login-tab {
    animation: fadeIn 0.3s ease;
}

.login-tab h2 {
    font-size: 1.875rem;
    color: #111827;
    margin-bottom: 0.5rem;
}

.login-tab form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-tab .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.btn-google {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-google:hover {
    border-color: #000000;
    background-color: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.switch-tab {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

.link-btn {
    background: none;
    border: none;
    color: #000000;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.link-btn:hover {
    color: #4b5563;
}

/* Account Modal Styles */
.account-info {
    background-color: #f9fafb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.info-item p {
    color: #111827;
    font-size: 1.125rem;
}

.account-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-secondary {
    background-color: #f3f4f6;
    color: #111827;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #e5e7eb;
    transform: translateY(-2px);
}

/* Login Required Message */
.login-required-message {
    background: linear-gradient(to right, #f0f4f8, #f8f0f4);
    border-left: 4px solid #000000;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.message-content svg {
    width: 48px;
    height: 48px;
    color: #000000;
    margin: 0 auto 1rem;
}

.message-content h3 {
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 0.5rem;
}

.message-content p {
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.login-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.login-buttons .btn {
    flex: 1;
    min-width: 150px;
}

.btn-primary {
    background-color: #000000;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

/* Responsive Modal */
@media (max-width: 640px) {
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .login-buttons {
        flex-direction: column;
    }
    
    .login-buttons .btn {
        width: 100%;
    }
}
