* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1E3A8A;
    /* Deep Blue */
    --secondary-color: #3B82F6;
    /* Bright Blue */
    --accent-color: #0EA5E9;
    /* Cyan Accent */

    --bg-primary: #F0F4FF;
    /* Soft Blue Background */
    --bg-secondary: #FFFFFF;
    /* White */
    --bg-warm: #E2E8F0;
    /* Neutral Soft Gray-Blue */

    --text-primary: #0F172A;
    /* Dark Navy Text */
    --text-secondary: #334155;
    /* Slate Text */
    --text-light: #64748B;
    /* Light Slate Text */

    --border-color: #CBD5E1;
    /* Light Cool Gray Border */

    --success: #16A34A;
    /* Modern Green */
    --error: #DC2626;
    /* Bright Red */
}


body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

h1,
h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 54px;
    color: var(--text-primary);
}

h2 {
    font-size: 38px;
    color: var(--text-primary);
}

h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(250, 247, 242, 0.98);
    box-shadow: 0 2px 15px rgba(139, 69, 19, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 28px;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 48px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(47, 27, 20, 0.6), rgba(47, 27, 20, 0.6)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1400 900"><rect fill="%233B82F6" width="1400" height="900"/><g opacity="0.3"><rect fill="%231E3A8A" x="100" y="100" width="300" height="200"/><rect fill="%231E3A8A" x="600" y="300" width="400" height="250"/><rect fill="%231E3A8A" x="1100" y="150" width="200" height="150"/></g></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    color: white;
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-content h1 {
    color: white;
    margin-bottom: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.hero-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 8px;
    opacity: 0.1;
    display: none;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-warm);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h3 {
    margin-bottom: 24px;
    font-size: 28px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
}

.about-image {
    height: 450px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 450"><rect fill="%23ffffff" opacity="0.1" x="20" y="20" width="80" height="80"/><rect fill="%23ffffff" opacity="0.1" x="150" y="100" width="60" height="120"/><rect fill="%23ffffff" opacity="0.1" x="250" y="50" width="100" height="60"/><rect fill="%23ffffff" opacity="0.1" x="280" y="200" width="80" height="200"/></svg>');
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.15);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin-bottom: 24px;
}

.service-card h3 {
    margin-bottom: 16px;
}

.service-card p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.service-features li i {
    color: var(--success);
    font-size: 12px;
}

/* Why Choose Us */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.why-us-item {
    text-align: center;
    padding: 50px 30px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.why-us-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.why-us-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.why-us-item h3 {
    margin-bottom: 16px;
}

.why-us-item p {
    color: var(--text-secondary);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    padding: 30px;
    text-align: left;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.faq-question:hover {
    background: var(--bg-primary);
}

.faq-toggle {
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 250px;
}

.faq-answer p {
    padding: 0 30px 30px;
    color: var(--text-secondary);
}

/* Contact */
.contact-section {
    background: var(--bg-warm);
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h3 {
    margin-bottom: 32px;
    color: var(--text-primary);
    font-size: 28px;
}

.contact-item {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.contact-item span {
    color: var(--text-secondary);
}

.contact-form {
    background: var(--bg-secondary);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--bg-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h3 {
    margin-bottom: 24px;
    color: var(--accent-color);
    font-size: 20px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 12px;
    display: block;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Popups */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.popup {
    background: white;
    border-radius: 8px;
    padding: 48px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
}

.popup h2 {
    margin-bottom: 32px;
    color: var(--text-primary);
}

.popup h3 {
    margin: 24px 0 16px;
    color: var(--text-primary);
}

.popup p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

/* Newsletter Form */
.newsletter-form {
    max-width: 500px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.checkbox-group {
    margin: 24px 0;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
}

.success-message {
    background: var(--success);
    color: white;
    padding: 16px;
    border-radius: 4px;
    margin-top: 24px;
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    .section {
        padding: 80px 0;
    }

    .hero {
        min-height: 90vh;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .popup {
        margin: 24px;
        padding: 32px;
    }

    .contact-form {
        padding: 40px 30px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 28px;
    }

    .about-image {
        height: 300px;
    }

    .service-card,
    .contact-form {
        padding: 30px 20px;
    }
}