:root {
    /* Color Palette - Cyber/Tech Theme */
    --primary: #00f3ff;
    --primary-dark: #00bcd4;
    --secondary: #bc13fe;
    --secondary-dark: #8e0ebf;
    --bg-dark: #050507;
    --bg-darker: #020203;
    --bg-card: #0f1014;
    --text-light: #ffffff;
    --text-gray: #a0a0b0;
    --border-color: rgba(255, 255, 255, 0.1);

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Effects */
    --glow-primary: 0 0 20px rgba(0, 243, 255, 0.4);
    --glow-secondary: 0 0 20px rgba(188, 19, 254, 0.4);
    --glass-bg: rgba(15, 16, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);

    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.section-padding {
    padding: 100px 0;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.glow-effect:hover {
    box-shadow: var(--glow-primary);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-primary,
.cta-button {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
}

.btn-primary:hover,
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: rgba(0, 243, 255, 0.1);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
}

.hex-spinner {
    width: 50px;
    height: 50px;
    background: var(--primary);
    margin: 0 auto 20px;
    animation: rotate 1s infinite linear;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: transparent;
    transition: background 0.3s, backdrop-filter 0.3s;
    border-bottom: 1px solid transparent;
}

#main-header.scrolled {
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo, .footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.desktop-nav ul {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-gray);
    position: relative;
}

.nav-link.active,
.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 5px 0;
    transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-darker);
    transition: 0.4s;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-nav a {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 20px 0;
    color: var(--text-gray);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    z-index: -2;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(188, 19, 254, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.badge-pill .dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 3D Cube Animation */
.cube-wrapper {
    perspective: 1000px;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: spinCube 10s infinite linear;
}

.face {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid var(--primary);
    background: rgba(0, 243, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2rem;
    color: var(--text-light);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2) inset;
    backdrop-filter: blur(2px);
}

.front {
    transform: rotateY(0deg) translateZ(150px);
}

.back {
    transform: rotateY(180deg) translateZ(150px);
    border-color: var(--secondary);
    background: rgba(188, 19, 254, 0.05);
}

.right {
    transform: rotateY(90deg) translateZ(150px);
}

.left {
    transform: rotateY(-90deg) translateZ(150px);
}

.top {
    transform: rotateX(90deg) translateZ(150px);
    background: transparent;
}

.bottom {
    transform: rotateX(-90deg) translateZ(150px);
    background: transparent;
}

@keyframes spinCube {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* Services */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-gray);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.service-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-list li {
    color: var(--text-gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.service-list li i {
    color: var(--secondary);
    font-size: 0.8rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    margin-top: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Calculator */
.calculator-section {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
}

.calc-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.calc-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.result-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.highlight-box {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--primary);
}

.result-box .value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.input-group input[type=range] {
    width: 100%;
    cursor: pointer;
    accent-color: var(--primary);
}

.range-value {
    display: block;
    text-align: right;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-top: 5px;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
}

/* Center line */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

/* Specific classes 't-left' and 't-right' used to avoid conflict with Cube .left/.right */
.timeline-item.t-left {
    left: 0;
    text-align: right;
}

.timeline-item.t-right {
    left: 50%;
    text-align: left;
}

/* The Dots on the timeline */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 15px;
    background: var(--bg-dark);
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    /* Added Glow */
}

/* Dot positioning */
.timeline-item.t-left::after {
    right: -10px;
}

.timeline-item.t-right::after {
    left: -10px;
}

/* Typography improvements */
.timeline-item .content {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-item:hover .content {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.timeline-item .content h2 {
    font-size: 3.5rem;
    opacity: 0.1;
    position: absolute;
    top: -15px;
    font-family: var(--font-heading);
    line-height: 1;
    pointer-events: none;
}

.timeline-item.t-left .content h2 {
    right: 20px;
}

.timeline-item.t-right .content h2 {
    left: 20px;
}

.timeline-item h3 {
    margin-bottom: 10px;
    color: var(--primary);
    font-family: var(--font-heading);
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-gray);
}

.author h4 {
    color: var(--text-light);
    margin-bottom: 5px;
}

.author span {
    font-size: 0.85rem;
    color: var(--primary);
}

/* Contact Page */
.page-header {
    background: linear-gradient(180deg, rgba(0, 243, 255, 0.1) 0%, var(--bg-dark) 100%);
    padding: 150px 0 80px;
    text-align: center;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-subtitle {
    color: var(--text-gray);
}

.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background: var(--bg-card);
    padding: 25px;
    border-radius: var(--radius-md);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(0, 243, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.styled-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    padding: 15px;
    color: var(--text-light);
    border-radius: var(--radius-sm);
    outline: none;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--text-gray);
    transition: 0.3s;
    pointer-events: none;
    background: var(--bg-darker);
    padding: 0 5px;
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--primary);
}

.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-box {
    background: linear-gradient(135deg, rgba(15, 16, 20, 0.95), rgba(5, 5, 7, 0.95));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

/* Glowing Border Effect at top */
.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn-wrapper {
    display: flex;
    justify-content: center;
}

/* Background Decoration for CTA */
.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.circle-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(188, 19, 254, 0.2) 0%, transparent 70%);
    filter: blur(40px);
}

/* =========================================
   MOBILE RESPONSIVENESS FIXES
   ========================================= */
@media (max-width: 992px) {

    /* Timeline Mobile Fix */
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        margin-bottom: 30px;
    }

    /* Reset left/right logic for mobile stack */
    .timeline-item.t-left,
    .timeline-item.t-right {
        left: 0;
        text-align: left;
    }

    /* Reset dot positions for mobile */
    .timeline-item.t-left::after,
    .timeline-item.t-right::after {
        left: 21px;
        /* Align with the line at 31px (31 - 10 center) */
        right: auto;
    }

    /* Adjust content alignment */
    .timeline-item.t-left .content h2 {
        right: 20px;
        top: 10px;
    }

    .timeline-item.t-right .content h2 {
        right: 20px;
        left: auto;
        top: 10px;
    }

    /* CTA Text Size on Mobile */
    .cta-title {
        font-size: 1.8rem;
    }
}

/* Legal Pages */
.legal-container {
    max-width: 900px;
    padding-bottom: 80px;
}

.legal-content h2 {
    color: var(--text-light);
    margin: 40px 0 20px;
    font-family: var(--font-heading);
}

.legal-content p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

/* Footer */
#main-footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    margin-bottom: 25px;
    color: var(--text-light);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--primary);
    color: #000;
}

.footer-bottom {
    background: #000;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.legal-links a {
    margin-left: 20px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 900;
}

.chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 243, 255, 0.4);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: none;
}

.chat-window.active {
    display: block;
    animation: fadeUp 0.3s;
}

.chat-header {
    background: var(--primary);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
    font-weight: bold;
}

.chat-body {
    padding: 20px;
    height: 250px;
    overflow-y: auto;
    background: var(--bg-darker);
}

.msg.bot {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 10px 10px 10px 0;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: inline-block;
}

.chat-input {
    display: flex;
    border-top: 1px solid var(--border-color);
}

.chat-input input {
    flex: 1;
    background: var(--bg-card);
    border: none;
    padding: 15px;
    color: #fff;
    outline: none;
}

.chat-input button {
    background: var(--bg-card);
    border: none;
    padding: 0 15px;
    color: var(--primary);
    cursor: pointer;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsiveness */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 40px;
    }

    .cube-wrapper {
        width: 200px;
        height: 200px;
    }

    .face {
        width: 200px;
        height: 200px;
        transform-origin: center;
    }

    .front {
        transform: rotateY(0deg) translateZ(100px);
    }

    .back {
        transform: rotateY(180deg) translateZ(100px);
    }

    .right {
        transform: rotateY(90deg) translateZ(100px);
    }

    .left {
        transform: rotateY(-90deg) translateZ(100px);
    }

    .top {
        transform: rotateX(90deg) translateZ(100px);
    }

    .bottom {
        transform: rotateX(-90deg) translateZ(100px);
    }

    .desktop-nav,
    .header-actions .cta-button {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .calc-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-btns,
    .hero-stats {
        justify-content: center;
    }

    .contact-grid-layout {
        grid-template-columns: 1fr;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 21px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}