@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Unbounded:wght@400;600;700;900&display=swap');

:root {
    --primary: #FFCC00;
    /* Richer Construction Yellow */
    --primary-hover: #E6B800;
    --black: #0A0A0A;
    --dark-gray: #171717;
    --gray: #262626;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    --text-main: #1F2937;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease-in-out;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(255, 204, 0, 0.4);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --container-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--light-gray);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo {
    font-family: 'Unbounded', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

/* Typography Enhancements */
h1 {
    letter-spacing: -0.02em;
}

h2 {
    letter-spacing: -0.01em;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header.align-left {
    text-align: left;
}

.section-title {
    font-size: 3rem;
    color: var(--black);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.title-underline {
    width: 60px;
    height: 6px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 3px;
}

.align-left .title-underline {
    margin: 0;
}

.text-yellow {
    color: var(--primary);
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    transition: var(--transition);
    transform: scaleY(0);
    transform-origin: bottom;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--black);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.btn-primary::before {
    background-color: var(--primary-hover);
}

.btn-primary:hover::before {
    transform: scaleY(1);
}

.btn-secondary {
    background-color: var(--black);
    color: var(--white);
    padding: 14px 32px;
    font-size: 0.85rem;
}

.btn-secondary:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-secondary::before {
    background-color: var(--dark-gray);
}

.btn-secondary:hover::before {
    transform: scaleY(1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--black);
    color: var(--black);
}

.btn-outline:hover {
    color: var(--white);
}

.btn-outline::before {
    background-color: var(--black);
}

.btn-outline:hover::before {
    transform: scaleY(1);
}

.full-width {
    width: 100%;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(255, 204, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0);
    }
}

.pulse {
    animation: pulse-ring 2.5s infinite running;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    color: var(--black);
}

.logo-accent {
    background: var(--primary);
    color: var(--black);
    padding: 4px 10px;
    margin-right: 4px;
    border-radius: 4px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav a:not(.btn) {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 30px;
    transition: var(--transition-fast);
}

.nav a:not(.btn):hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--black);
}

.nav .btn {
    border-radius: 30px;
}

.header-contact .phone {
    font-weight: 800;
    color: var(--black);
    text-decoration: none;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.header-contact .phone::before {
    content: '\f095';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    background: rgba(255, 204, 0, 0.2);
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.header-contact .phone:hover {
    color: var(--primary-hover);
}

/* Hero Section */
.hero {
    background-image: url("public/images/hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 80px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    /* Allows image to move below/above text easily on small screens */
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    flex: 1 1 50%;
    margin-left: 0;
    text-align: left;
    color: white;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-image-space {
    flex: 1 1 50%;
}

.hero-title {
    font-size: clamp(48px, 5vw, 60px);
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 700;
    font-family: 'Unbounded', sans-serif;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-description {
    max-width: 550px;
    line-height: 1.6;
    font-size: 18px;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 30px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
}

.mouse::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    animation: scroll 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}

/* About Section */
.about {
    background-color: #111827;
    background-image: url('public/images/about.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: var(--white);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.92);
}

.about .section-title {
    color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.about-item {
    text-align: left;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary);
    transition: var(--transition);
}

.about-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-glass);
}

.about-item:hover::before {
    height: 100%;
}

.about-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    display: inline-block;
    padding: 15px;
    background: rgba(255, 204, 0, 0.1);
    border-radius: var(--radius-sm);
}

.about-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.about-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Services */
.services {
    background-color: var(--white);
    background-image: url('public/images/services.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 249, 250, 0.95);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 50px 40px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-img-placeholder {
    width: 70px;
    height: 70px;
    background: #111827;
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    transition: var(--transition);
}

.service-card:hover .service-img-placeholder {
    background: var(--primary);
    color: #111827;
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--black);
}

.service-card p {
    color: var(--text-muted);
}

/* Why Choose Us */
/* Why Choose Us */
.why {
    background-color: #111827;
    /* Premium Dark Slate */
    color: var(--white);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.why-wrapper {
    display: flex;
    align-items: stretch;
}

.why-content {
    flex: 0 0 55%;
    max-width: 55%;
    padding: 120px 60px 120px 0;
    position: relative;
    z-index: 2;
}

.why-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    z-index: 1;
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #111827 0%, transparent 20%, rgba(17, 24, 39, 0.3) 100%);
}

.why .section-title {
    color: var(--white);
}

.why-list {
    list-style: none;
    margin-top: 50px;
}

.why-list li {
    display: flex;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.02);
    padding: 25px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.why-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
    border-color: rgba(255, 204, 0, 0.3);
}

.why-list i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 25px;
    margin-top: 5px;
    width: 40px;
    text-align: center;
}

.why-list strong {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--white);
}

.why-list p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Quiz Section */
.quiz {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.quiz::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.quiz-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 70px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.quiz-header {
    text-align: center;
    margin-bottom: 50px;
}

.quiz-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 10px;
}

.quiz-progress {
    margin-top: 40px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--light-gray);
    border-radius: 3px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    width: 25%;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

#progress-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quiz-steps {
    min-height: 380px;
    position: relative;
}

.quiz-step {
    display: none;
    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-step.active {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-step h3 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--black);
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.quiz-options.grid-2 {
    grid-template-columns: 1fr 1fr;
}

.quiz-option {
    cursor: pointer;
}

.quiz-option input {
    display: none;
}

.option-content {
    background: var(--white);
    border: 2px solid var(--light-gray);
    padding: 30px 20px;
    text-align: center;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.option-content i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.option-content span {
    font-weight: 600;
    font-size: 1.1rem;
}

.quiz-option input:checked+.option-content {
    border-color: var(--primary);
    background: rgba(255, 204, 0, 0.05);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.15);
    transform: translateY(-4px);
}

.quiz-option input:checked+.option-content i {
    color: var(--black);
}

.quiz-option:hover .option-content {
    border-color: var(--primary);
}

.quiz-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.quiz-input-group input {
    width: 250px;
    padding: 20px;
    font-size: 2.5rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    text-align: center;
    outline: none;
    font-family: 'Unbounded', sans-serif;
    color: var(--black);
    transition: var(--transition-fast);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.quiz-input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 204, 0, 0.2);
}

.quiz-input-group span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Final Form */
#final-step {
    text-align: center;
}

#final-step p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.lead-form {
    max-width: 450px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.form-group input {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition-fast);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background: var(--light-gray);
}

.form-group input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 204, 0, 0.2);
}

.quiz-footer {
    padding-top: 40px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
}

/* Loader */
.loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--black);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

button.loading .loader {
    display: inline-block;
}

button.loading .btn-text {
    opacity: 0.7;
}

/* Footer */
.footer {
    background: #111827;
    color: var(--white);
    padding: 100px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #FF8C00);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 80px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 25px;
}

.footer-brand p {
    color: var(--text-light);
    line-height: 1.8;
}

.footer h4 {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--primary);
}

.footer-links a {
    display: inline-block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 15px;
    transition: var(--transition);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-contact p {
    color: var(--text-light);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary);
    margin-right: 15px;
    margin-top: 5px;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

/* Success Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 60px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border-radius: var(--radius-lg);
    animation: zoomIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-2xl);
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon {
    font-size: 6rem;
    color: var(--primary);
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 15px rgba(255, 204, 0, 0.3));
}

.modal-content h2 {
    margin-bottom: 20px;
    color: var(--black);
    font-size: 2rem;
}

.modal-content p {
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero {
        padding: 100px 40px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-container {
        flex-direction: column;
    }

    .hero-content {
        flex: 1 1 100%;
        margin-left: 0;
        margin-bottom: 40px;
    }

    .hero-image-space {
        display: none;
    }

    .section {
        padding: 80px 0;
    }

    .why-content {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 80px 0;
    }

    .why-image {
        display: none;
    }

    .why-wrapper {
        flex-direction: column;
    }

    .quiz-container {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
        height: auto;
    }

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 2.8rem);
        word-break: break-word;
    }

    .logo {
        font-size: 1.4rem;
    }

    .hero-content {
        margin-left: 0;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .why-content {
        padding: 50px 0;
    }

    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }

    .header-contact .phone span {
        display: none;
    }

    .header-contact .phone::before {
        margin: 0;
    }

    .burger {
        display: block;
    }

    .quiz-container {
        padding: 30px 20px;
        border-radius: var(--radius-md);
    }

    .quiz-options {
        grid-template-columns: 1fr;
    }

    .quiz-options.grid-2 {
        grid-template-columns: 1fr;
    }

    .quiz-step h3 {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }

    .quiz-input-group {
        flex-direction: column;
    }

    .quiz-input-group input {
        width: 100%;
        max-width: 300px;
        font-size: 2rem;
    }

    .quiz-footer {
        flex-direction: column-reverse;
        gap: 15px;
    }

    .quiz-footer .btn {
        width: 100%;
    }

    .footer-grid {
        gap: 30px;
        margin-bottom: 40px;
    }

    .footer {
        padding: 60px 0 30px;
    }

    .modal-content {
        padding: 40px 20px;
        width: 95%;
    }

    .success-icon {
        font-size: 4rem;
        margin-bottom: 20px;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }
}

/* Burger Menu Placeholder */
.burger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

.burger span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--black);
    margin: 6px 0;
    border-radius: 3px;
    transition: var(--transition);
}