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

:root {
    --navy: #ffffff;
    --red: #1a1a2e;
    --red-hover: #16213e;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --gray: #6c757d;
    --text-dark: #2c3e50;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
}

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

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

/* Typography */
h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--navy);
}

.hero h1 {
    color: var(--text-dark);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--red);
    color: var(--white);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Logo Styles */
.nav-logo-img {
    height: 45px;
    width: auto;
    display: block;
    border-radius: 8px;
    background-color: var(--white);
    padding: 5px;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.hero-logo {
    width: 220px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    filter: drop-shadow(0 4px 20px rgba(178, 32, 32, 0.25));
}

.hero-logo-wrapper {
    text-align: center;
    width: 100%;
    margin-bottom: 0;
}

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

/* Navigation */
.navbar {
    background-color: var(--navy);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

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

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

.nav-menu a:hover {
    color: var(--red);
}

.nav-cta {
    background-color: var(--red);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 5px;
}

.nav-cta:hover {
    background-color: var(--red-hover);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin: 1.5rem 0 2rem;
}

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

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--white);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Audit Section */
.audit {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.audit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.audit-text h2 {
    text-align: left;
}

.audit-benefits {
    list-style: none;
    margin-top: 2rem;
}

.audit-benefits li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.audit-form-wrapper {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.audit-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.audit-form input,
.audit-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.audit-form input:focus,
.audit-form textarea:focus {
    outline: none;
    border-color: var(--red);
}

.form-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.875rem;
    margin: 0;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: var(--white);
}

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

.pricing-card {
    background-color: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--red);
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--red);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy);
    margin: 1rem 0;
}

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

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

/* Testimonials */
.testimonials {
    background-color: var(--light-gray);
    padding: 80px 0;
}

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

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    display: block;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--gray);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background-color: #1a1a2e;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer h3,
.footer h4 {
    color: var(--white);
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact {
    text-align: right;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        border-bottom: 1px solid #e0e0e0;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.15);
        padding: 2rem 0;
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .audit-text h2 {
        text-align: center;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

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

    .footer-contact {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}