/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
    background: #ffffff;
}

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

/* Header and Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1.2rem 0;
}

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

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

/* Brand styles */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #000;
}
.brand-logo {
    height: 40px;
    width: auto;
    display: block;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.brand-top {
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.02em;
}
.brand-bottom {
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
}

/* Footer brand color adjustments */
.footer .brand { color: #fff; }
.footer .brand-top { color: rgba(255,255,255,0.85); }
.footer .brand-bottom { color: #fff; }

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

.nav-link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #000;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background: #000;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 1px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 140px 0 130px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    font-weight: 300;
    letter-spacing: 0.01em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: #ffffff;
    color: #000;
    border: 2px solid #ffffff;
}

.btn-primary:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn i {
    margin-right: 0.5rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.feature i {
    font-size: 1.4rem;
    color: #ffffff;
}

/* 90-Min Service badges */
.hero-badges {
    margin-top: 1rem;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600;
    line-height: 1;
    font-size: 0.95rem;
}

.badge i {
    font-size: 1rem;
}

.hero-badges .badge {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
}

.popup-promise {
    margin-top: 0.75rem;
    display: flex;
    justify-content: center;
}

.popup-promise.badge {
    color: #064e3b;
    background: #d1fae5; /* emerald-100 */
    border: 1px dashed #10b981; /* emerald-500 */
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #fafafa;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: #000;
    position: relative;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #000;
    border-radius: 2px;
}

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

/* Services Slider - enable flex slider layout globally */
.services-slider .services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 1rem;
}
.services-slider { position: relative; }
.services-slider .slider-btn,
.services-slider .slider-dots {
    display: flex;
}

/* Slider controls */
.services-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}
.services-slider .slider-btn.prev { left: 12px; }
.services-slider .slider-btn.next { right: 12px; }
.services-slider .slider-btn i { font-size: 1rem; }
.services-slider .slider-btn:hover { transform: translateY(-50%) scale(1.05); }

/* Pagination dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    padding: 0;
    cursor: pointer;
}
.slider-dots button.active {
    background: #000;
    transform: scale(1.2);
}
.slider-dots button:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}
.services-slider .service-card {
    flex: 0 0 45%;
    scroll-snap-align: center;
}

.service-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2.2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #333;
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #000;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.service-card p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

.service-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.service-card li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 2rem;
    font-size: 0.95rem;
}

.service-card li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
    font-size: 1.2rem;
}

.price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #000;
    background: #f5f5f5;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover .price {
    background: #000;
    color: white;
    border-color: #000;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

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

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #000;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.about-text p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 300;
}

.about-features {
    display: grid;
    gap: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.about-feature:hover {
    background: #fafafa;
    transform: translateX(10px);
}

.about-feature i {
    color: #000;
    font-size: 1.8rem;
    margin-top: 0.2rem;
    background: #f5f5f5;
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.about-feature:hover i {
    background: #000;
    color: white;
}

.about-feature h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #000;
    font-weight: 700;
}

.about-feature p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.about-image {
    text-align: center;
}

.about-image svg {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #000;
    color: white;
}

.testimonials .section-title {
    color: white;
}

.testimonials .section-title::after {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 25px;
    font-size: 5rem;
    color: white;
    opacity: 0.2;
    font-weight: 900;
}

.stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.stars i {
    color: white;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
    font-weight: 300;
}

.customer strong {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

.customer span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: block;
    margin-top: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #000;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.contact-form h3 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: white;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #fafafa;
    transform: translateX(10px);
}

.contact-item i {
    color: #000;
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: #000;
    color: white;
}

.contact-item strong {
    display: block;
    color: #000;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.contact-item p {
    color: #666;
    margin: 0;
    font-size: 1.1rem;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

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

.contact-form {
    background: #000;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid #333;
}

.contact-page-title {
    margin-bottom: 1rem;
}

.contact-page-intro {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
    color: #555;
    font-size: 1.1rem;
}

.contact-page-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.contact-page-card p:last-of-type {
    margin-bottom: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #333;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

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

.submit-btn {
    background: white;
    color: #000;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: #000;
    color: white;
    padding: 2.8rem 0 1.6rem;
    border-top: 1px solid #333;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

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

.footer-section ul li {
    margin-bottom: 0.6rem;
    transition: all 0.3s ease;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Legal Page */
.legal-page {
    padding: 140px 0 100px;
    background: #fafafa;
    min-height: 100vh;
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.legal-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legal-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.legal-card h1 {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.legal-intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.legal-list {
    display: grid;
    gap: 1.5rem;
}

.legal-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.legal-item h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #000;
    font-weight: 700;
}

.legal-item p {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
}

.legal-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-lead {
    max-width: 780px;
    margin: 0 auto 3rem;
    text-align: center;
    color: #555;
    font-size: 1.1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #000;
    font-weight: 700;
}

.info-card p {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

.page-section {
    padding: 100px 0;
}

.page-section.alt {
    background: #fafafa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-slider .service-card {
        flex: 0 0 85%;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .legal-page {
        padding: 120px 0 80px;
    }

    .legal-card {
        padding: 2rem;
    }

    .legal-card h1 {
        font-size: 2.2rem;
    }

    .legal-header-actions {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .legal-card {
        padding: 1.5rem;
    }

    .legal-card h1 {
        font-size: 1.8rem;
    }

    .legal-header-actions {
        display: none;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.service-card,
.testimonial-card,
.about-feature {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.service-card:hover .service-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Popup Modal Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-modal {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s ease;
    position: relative;
}

.popup-overlay.active .popup-modal {
    transform: scale(1) translateY(0);
}

.popup-header {
    background: linear-gradient(135deg, #000000 0%, #2a2a2a 100%);
    color: white;
    padding: 2rem 2.5rem 1.5rem;
    border-radius: 16px 16px 0 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
}

.popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.popup-content {
    padding: 2rem 2.5rem 3rem;
}

.popup-content p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
}

/* Add breathing room before first field */
.popup-form {
    margin-top: 12px;
}

.popup-form .form-group {
    margin-bottom: 1.8rem;
}

.popup-form .form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: #000;
    font-weight: 600;
    font-size: 1rem;
}

.popup-form .form-group input,
.popup-form .form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    background: #fafafa;
    color: #000;
    transition: all 0.3s ease;
    font-family: inherit;
}

.popup-form .form-group input:focus,
.popup-form .form-group select:focus {
    outline: none;
    border-color: #000;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.popup-form .form-group input::placeholder {
    color: #999;
}

.popup-buttons {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.popup-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    min-width: 200px;
}

.popup-buttons .btn {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.popup-buttons .btn-primary {
    background: #000;
    color: white;
}

.popup-buttons .btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.popup-buttons .btn-secondary {
    background: transparent;
    color: #666;
    border: 2px solid #e0e0e0;
}

.popup-buttons .btn-secondary:hover {
    background: #f5f5f5;
    border-color: #ccc;
    color: #000;
}

/* Responsive popup */
@media (max-width: 640px) {
    .popup-modal {
        width: 95%;
        margin: 1rem;
    }
    
    .popup-header {
        padding: 1.5rem 1.8rem 1.2rem;
    }
    
    .popup-header h2 {
        font-size: 1.5rem;
    }
    
    .popup-content {
        padding: 1.5rem 1.8rem 2.75rem;
    }
    
    .popup-buttons {
        flex-direction: column;
    }
    
    .popup-buttons .btn {
        padding: 1.2rem;
    }
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 25px;
    font-size: 5rem;
    color: white;
    opacity: 0.2;
    font-weight: 900;
}

.stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.stars i {
    color: white;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
    font-weight: 300;
}

.customer strong {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

.customer span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: block;
    margin-top: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #000;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.contact-form h3 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: white;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #fafafa;
    transform: translateX(10px);
}

.contact-item i {
    color: #000;
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: #000;
    color: white;
}

.contact-item strong {
    display: block;
    color: #000;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.contact-item p {
    color: #666;
    margin: 0;
    font-size: 1.1rem;
}

.contact-form {
    background: #000;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid #333;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #333;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

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

.submit-btn {
    background: white;
    color: #000;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: #000;
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid #333;
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

/* Footer links - restore styles */
.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section ul li a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #000;
    background: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.service-card,
.testimonial-card,
.about-feature {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.service-card:hover .service-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Popup discount note */
.popup-discount {
  margin-top: 12px;
  margin-bottom: 14px;
  text-align: center;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff3cd; /* soft amber */
  color: #664d03;
  border: 1px dashed #f0c36d;
}

/* Inline status for popup submissions */
.popup-status {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
}
.popup-status.info { display: block; background: #eef5ff; color: #0b5ed7; }
.popup-status.success { display: block; background: #e6ffed; color: #1f7a33; }
.popup-status.error { display: block; background: #ffe6e6; color: #b02a37; }

/* Form Validation Styles */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #dc3545;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #28a745;
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
    display: none;
}

.success-message.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}
