/* Ecliptic Mist Theme */

/* ------------------- */
/* 1. ROOT VARIABLES   */
/* ------------------- */
:root {
    --color-primary: #8A2BE2;
    /* A vibrant purple from a potential logo */
    --color-secondary: #00F5FF;
    /* A bright cyan for accents and glows */
    --color-bg-dark: #0F051A;
    /* Deep space purple-black */
    --color-bg-medium: #1A0A2E;
    /* Slightly lighter purple-black for cards */
    --color-text-light: #E0E0E0;
    /* Soft white for body text */
    --color-text-heading: #FFFFFF;
    /* Bright white for headings */
    --color-border: rgba(138, 43, 226, 0.2);
    --color-shadow: rgba(138, 43, 226, 0.5);

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Orbitron', sans-serif;

    --header-height: 80px;
    --border-radius: 12px;
    --transition-smooth: all 0.3s ease-in-out;
}

/* ------------------- */
/* 2. BASE STYLES      */
/* ------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    color: var(--color-text-heading);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-text-heading);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 100px 0;
}

/* ------------------- */
/* 3. BACKGROUND & FX  */
/* ------------------- */
.background-mist {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 50%, rgba(15, 5, 26, 0) 0%, var(--color-bg-dark) 70%);
    z-index: -3;
    pointer-events: none;
}

#blob {
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    height: 300px;
    width: 300px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: rotate 20s infinite;
    opacity: 0.15;
    filter: blur(100px);
    z-index: -2;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, rgba(138, 43, 226, 0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
    transition: transform 0.1s ease-out;
}

/* ------------------- */
/* 4. HEADER & NAV     */
/* ------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 1rem 0;
}

.header.scrolled {
    background: rgba(15, 5, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.nav-logo {
    display: flex;
    align-items: center;
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-heading);
}

.nav-logo img {
    height: 40px;
    filter: invert(1);
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--color-text-light);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-secondary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-text-heading);
    transition: all 0.3s ease-in-out;
}

/* ------------------- */
/* 5. BUTTONS          */
/* ------------------- */
.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-heading);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--color-shadow);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 245, 255, 0.4);
}

/* ------------------- */
/* 6. HERO SECTION     */
/* ------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero .subtitle {
    display: block;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    padding: 10px 0;
}

.hero-title .text-reveal {
    display: block;
    transform: translateY(110%);
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.hero-title .scan-line {
    position: absolute;
    top: 0;
    left: -10%;
    width: 2px;
    height: 100%;
    background: var(--color-secondary);
    box-shadow: 0 0 10px var(--color-secondary), 0 0 20px var(--color-secondary);
    animation: scan 2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    opacity: 0;
}

@keyframes scan {
    0% {
        left: -10%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 110%;
        opacity: 0;
    }
}

.hero-description {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--color-text-light);
    font-size: 0.8rem;
    text-align: center;
}

.hero-scroll-indicator a {
    color: var(--color-text-light);
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--color-text-light);
    border-radius: 20px;
    position: relative;
    margin: 0 auto 10px;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background-color: var(--color-text-light);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.05;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 15%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 15%;
    right: 10%;
    background: var(--color-secondary);
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 25%;
}


/* ------------------- */
/* 7. SHARED SECTIONS  */
/* ------------------- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.subtitle {
    font-family: var(--font-secondary);
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.section-title {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
}

/* ------------------- */
/* 8. SERVICES SECTION */
/* ------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    padding: 2.5rem;
    background: rgba(26, 10, 46, 0.6);
    /* --color-bg-medium with alpha */
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    overflow: hidden;
    z-index: 1;
}

.card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    background: radial-gradient(circle at var(--x) var(--y), transparent, var(--color-secondary) 150px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover .card-border {
    opacity: 0.2;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 245, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--color-text-heading);
}

.card-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.card-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(5px);
}

/* ------------------- */
/* 9. ABOUT SECTION    */
/* ------------------- */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-content {
    position: relative;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.about-image img {
    border-radius: var(--border-radius);
    filter: saturate(0.8);
}

.about-text-content .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text-content .section-header p {
    margin: 0;
}

.about-features {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
}

.about-features i {
    color: var(--color-secondary);
    margin-top: 5px;
}

/* -------------------- */
/* 10. PROCESS SECTION  */
/* -------------------- */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--color-border);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--color-bg-dark);
    border: 3px solid var(--color-secondary);
    border-radius: 50%;
    top: 25px;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-item.in-view .timeline-dot {
    transform: scale(1.5);
    box-shadow: 0 0 15px var(--color-secondary);
}

.timeline-step {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
}

.timeline-content h3 {
    margin-top: -10px;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

/* -------------------- */
/* 11. CALCULATOR       */
/* -------------------- */
.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.calculator-content .section-header {
    text-align: left;
}

.calculator-form-wrapper {
    padding: 2rem;
    background: rgba(26, 10, 46, 0.6);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.calculator-form .form-group {
    margin-bottom: 2rem;
}

.calculator-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.calculator-form input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    background: transparent;
}

.calculator-form input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: var(--color-border);
    border-radius: 2px;
}

.calculator-form input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--color-secondary);
    cursor: pointer;
    margin-top: -8px;
    box-shadow: 0 0 10px var(--color-secondary);
}

.calculator-form output {
    display: block;
    text-align: right;
    font-family: var(--font-secondary);
    color: var(--color-secondary);
    font-weight: 700;
}

.calculator-results {
    margin-top: 2rem;
    text-align: center;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
}

.calculator-results h4 {
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.calculator-results p {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

/* -------------------- */
/* 12. TESTIMONIALS     */
/* -------------------- */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    padding: 3rem;
    text-align: center;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.testimonial-card p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--color-text-heading);
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
}

.author-info h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-text-heading);
}

.author-info span {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
}

.slider-controls button {
    background: rgba(26, 10, 46, 0.8);
    border: 1px solid var(--color-border);
    color: var(--color-text-light);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-controls button:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-heading);
}

/* ------------------- */
/* 13. CTA SECTION     */
/* ------------------- */
.cta-wrapper {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    padding: 4rem;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.cta-content p {
    color: var(--color-bg-dark);
    max-width: 600px;
}

.cta-title {
    color: var(--color-bg-dark);
}

.cta-action .btn-primary {
    background-color: var(--color-bg-dark);
    color: var(--color-text-heading);
    border-color: var(--color-bg-dark);
}

.cta-action .btn-primary:hover {
    background-color: transparent;
    color: var(--color-bg-dark);
}

/* ------------------- */
/* 14. FOOTER          */
/* ------------------- */
.footer {
    background-color: var(--color-bg-medium);
    padding-top: 80px;
    border-top: 1px solid var(--color-border);
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 40px;
}

.footer-about .footer-logo {
    display: flex;
    align-items: center;
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-heading);
    margin-bottom: 1rem;
}

.footer-about .footer-logo img {
    height: 40px;
    filter: invert(1);
    margin-right: 10px;
}

.footer-about p {
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-light);
}

.footer-social a:hover {
    background-color: var(--color-secondary);
    color: var(--color-bg-dark);
    border-color: var(--color-secondary);
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-heading);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul a {
    color: var(--color-text-light);
}

.footer-links ul a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--color-secondary);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a {
    color: var(--color-text-light);
}

/* ------------------- */
/* 15. UTILITY & WIDGETS */
/* ------------------- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background-color: var(--color-primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.chat-widget {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--color-secondary);
    color: var(--color-bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    z-index: 999;
    cursor: pointer;
    font-size: 1.5rem;
}

/* ------------------- */
/* 16. LEGAL & CONTACT */
/* ------------------- */
.page-header {
    padding-top: 150px;
    padding-bottom: 80px;
    text-align: center;
    min-height: auto;
}

.page-title {
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
    padding: 10px 0;
}

.page-subtitle {
    font-size: 1.2rem;
}

.legal-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(26, 10, 46, 0.4);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.legal-content p,
.legal-content li {
    margin-bottom: 1rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
}

.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-top: 4rem;
}

.contact-info-block,
.contact-form-block {
    background: rgba(26, 10, 46, 0.6);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    position: relative;
    padding: 2.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--color-secondary);
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--color-border);
    color: var(--color-text-heading);
    font-size: 1rem;
    outline: none;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: var(--color-text-light);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus+label,
.form-group input:valid+label,
.form-group textarea:focus+label,
.form-group textarea:valid+label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--color-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--color-secondary);
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 5, 26, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--color-bg-medium);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--color-border);
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.popup.active .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--color-text-light);
    cursor: pointer;
}

/* -------------------- */
/* 17. RESPONSIVENESS   */
/* -------------------- */

/* Tablets */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .page-title {
        font-size: 2.8rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--color-bg-dark);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        justify-content: center;
        gap: 3rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .about-wrapper,
    .calculator-wrapper,
    .contact-page-wrapper {
        grid-template-columns: 1fr;
    }

    .about-text-content .section-header,
    .calculator-content .section-header {
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .footer-main {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .footer-bottom {
        justify-content: center;
    }

    .process-timeline::after {
        left: 8px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: 60px;
        padding-right: 10px;
        text-align: left;
    }

    .timeline-item:nth-child(odd) {
        text-align: left;
    }

    .timeline-dot,
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 0;
    }

    .contact-page-wrapper {
        gap: 1rem;
    }

    .contact-info-block,
    .contact-form-block {
        padding: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .slider-controls {
        padding: 0;
    }

    .slider-controls button {
        width: 40px;
        height: 40px;
    }
}

/* Reveal Animations */
.reveal-fade {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    transform: translateY(20px);
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}