/*
    Digital Marketing Agency Stylesheet
    Author: [Your Name]
    Version: 1.0
*/

/* ------------------- */
/* ROOT & VARIABLES    */
/* ------------------- */
:root {
    --color-primary: #8E2DE2;
    --color-secondary: #4A00E0;
    --color-accent: #1DE9B6;
    --color-dark: #0F0C29;
    --color-light: #ffffff;
    --color-text: #E0E0E0;
    --color-text-darker: #a9a9c9;
    --color-bg: #09071a;
    --color-bg-light: #181530;
    --color-border: rgba(255, 255, 255, 0.1);

    --font-primary: 'Poppins', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.7;

    --transition-speed: 0.3s;
    --border-radius: 8px;
    --container-width: 1200px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ------------------- */
/* GENERAL & RESET     */
/* ------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-light);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-darker);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover,
a:focus {
    color: var(--color-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* ------------------- */
/* PRELOADER           */
/* ------------------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ------------------- */
/* HEADER              */
/* ------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    background: transparent;
    transition: background-color var(--transition-speed) ease, padding var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.header.scrolled {
    background-color: rgba(15, 12, 41, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-light);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo {
    height: 60px;
    width: auto;
    transition: transform var(--transition-speed) ease;
}

.logo-link:hover .logo {
    transform: rotate(-10deg) scale(1.1);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--color-text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ------------------- */
/* BUTTONS             */
/* ------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    color: var(--color-light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 0, 224, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-light);
    border-color: var(--color-accent);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-dark);
}

.btn i {
    transition: transform var(--transition-speed) ease;
}

.btn:hover i {
    transform: translateX(3px);
}

/* ------------------- */
/* MOBILE NAV          */
/* ------------------- */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1001;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-light);
    border-radius: 3px;
    transition: all var(--transition-speed) ease;
    position: absolute;
}

.bar-top {
    top: 0;
}

.bar-middle {
    top: 50%;
    transform: translateY(-50%);
}

.bar-bottom {
    bottom: 0;
}

.mobile-toggle[aria-expanded="true"] .bar-top {
    transform: rotate(45deg);
    top: 50%;
}

.mobile-toggle[aria-expanded="true"] .bar-middle {
    opacity: 0;
}

.mobile-toggle[aria-expanded="true"] .bar-bottom {
    transform: rotate(-45deg);
    top: 50%;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 999;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav li {
    margin-bottom: 2rem;
}

.mobile-nav a {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-light);
}

/* ------------------- */
/* HERO SECTION        */
/* ------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: var(--color-dark);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-subtitle {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    background: linear-gradient(90deg, var(--color-light), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.hero-3d-wrapper {
    perspective: 1000px;
}

.hero-3d-object {
    width: 250px;
    height: 250px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate3d 20s linear infinite;
}

@keyframes rotate3d {
    from {
        transform: rotateX(0deg) rotateY(0deg);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.hero-3d-object .face {
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(74, 0, 224, 0.2);
    border: 1px solid var(--color-accent);
    box-shadow: inset 0 0 20px rgba(29, 233, 182, 0.5);
    border-radius: var(--border-radius);
}

.face.front {
    transform: translateZ(125px);
}

.face.back {
    transform: rotateY(180deg) translateZ(125px);
}

.face.right {
    transform: rotateY(90deg) translateZ(125px);
}

.face.left {
    transform: rotateY(-90deg) translateZ(125px);
}

.face.top {
    transform: rotateX(90deg) translateZ(125px);
}

.face.bottom {
    transform: rotateX(-90deg) translateZ(125px);
}


.hero-stat {
    position: absolute;
    background: var(--color-bg-light);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
    animation: float 4s ease-in-out infinite;
    border: 1px solid var(--color-border);
}

.hero-stat p {
    margin: 0;
    color: var(--color-light);
}

.hero-stat i {
    color: var(--color-accent);
    font-size: 1.2rem;
}

.stat-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.stat-2 {
    bottom: 10%;
    right: 0;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    opacity: 0.1;
    filter: blur(100px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -50px;
    left: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 0;
    right: 0;
}

.shape-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: 20%;
}

/* ------------------- */
/* SECTION HEADER      */
/* ------------------- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ------------------- */
/* SERVICES SECTION    */
/* ------------------- */
.services-section {
    background-color: var(--color-bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: transparent;
    perspective: 1000px;
    min-height: 280px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background: linear-gradient(145deg, var(--color-bg), var(--color-bg-light));
}

.service-card-back {
    transform: rotateY(180deg);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    line-height: 1;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.service-summary {
    color: var(--color-text-darker);
    margin: 0;
}

.service-card-back p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    font-weight: 600;
}

/* ------------------- */
/* ABOUT SECTION       */
/* ------------------- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    padding-bottom: 100%;
    /* Aspect ratio 1:1 */
    background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&q=85&fm=jpg&crop=entropy&cs=srgb&w=3600') center/cover;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 2;
}

.about-image-overlay {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: transparent;
    border: 3px solid var(--color-accent);
    border-radius: var(--border-radius);
    z-index: 1;
    transition: transform var(--transition-speed) ease;
}

.about-image-wrapper:hover .about-image-overlay {
    transform: translate(10px, 10px);
}

.about-content .section-title {
    font-size: 2.2rem;
}

.about-features {
    list-style: none;
    margin: 2rem 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-features i {
    color: var(--color-accent);
}

/* ------------------- */
/* INDUSTRIES SECTION  */
/* ------------------- */
.industries-section {
    background-color: var(--color-bg-light);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.industry-item {
    background: var(--color-bg);
    padding: 30px;
    text-align: center;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.industry-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--color-accent);
}

.industry-item i {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.industry-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.industry-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ------------------- */
/* --- TESTIMONIALS --- */
.testimonials-section {
    position: relative;
    padding: 80px 0;
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    /* Yeh bohat zaroori hai, isse extra slides chhip jayengi */
}

.testimonial-slider {
    display: flex;
    /* Yeh slides ko ek line mein rakhega */
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 100%;
    /* Har slide poori width legi */
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
    /* Slides ke beech thoda space */
}

.testimonial-card {
    background: var(--color-bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--color-border);
    border-left: 5px solid var(--color-accent);
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-quote::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--color-primary);
    font-size: 2rem;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    margin: 0;
    color: var(--color-light);
}

.author-info span {
    color: var(--color-text-darker);
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 2rem;
}

.slider-btn {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    color: var(--color-accent);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.slider-btn:hover {
    background-color: var(--color-accent);
    color: var(--color-dark);
}

/* ------------------- */
/* CTA SECTION         */
/* ------------------- */
.cta-section {
    padding: 0;
}

.cta-container {
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    padding: 50px;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    transform: translateY(50%);
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-text {
    margin: 0;
    color: var(--color-light);
    opacity: 0.9;
}

.cta-btn {
    background: var(--color-light);
    color: var(--color-dark);
    border-color: var(--color-light);
}

.cta-btn:hover {
    background: transparent;
    color: var(--color-light);
}

/* ------------------- */
/* FOOTER              */
/* ------------------- */
.footer {
    background-color: var(--color-dark);
    padding: 140px 0 0;
    position: relative;
}

.footer-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.05;
    filter: blur(100px);
}

.footer-bg-shapes .shape-1 {
    width: 300px;
    height: 300px;
    bottom: 0;
    left: 0;
}

.footer-bg-shapes .shape-2 {
    width: 250px;
    height: 250px;
    top: 0;
    right: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo-link {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 60px;
}

.footer-about-text {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--color-bg-light);
    color: var(--color-text);
    border-radius: 50%;
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    background: var(--color-accent);
    color: var(--color-dark);
    transform: translateY(-3px);
}

.footer-col-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-light);
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul a {
    color: var(--color-text-darker);
}

.footer-links ul a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.contact-info i {
    color: var(--color-accent);
    margin-top: 5px;
}

.contact-info a {
    color: var(--color-text-darker);
}

.contact-info a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 25px 0;
    text-align: center;
    color: var(--color-text-darker);
    font-size: 0.9rem;
}

/* ------------------- */
/* SUBPAGES            */
/* ------------------- */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background: var(--color-bg-light);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.breadcrumbs a {
    font-weight: 500;
}

.breadcrumbs i {
    margin: 0 10px;
    color: var(--color-text-darker);
    font-size: 0.8rem;
}

.breadcrumbs span {
    color: var(--color-text-darker);
}

/* CONTACT PAGE */
.contact-section-page {
    padding-top: 80px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--color-bg-light);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.contact-info-col h2 {
    font-size: 2rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 2rem;
}

.method-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    background-color: var(--color-secondary);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--color-light);
}

.method-details h3 {
    font-size: 1.2rem;
    margin: 0;
}

.method-details p,
.method-details a {
    margin: 0;
    color: var(--color-text-darker);
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    width: 100%;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-light);
    font-family: var(--font-primary);
    transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 15px;
}

/* POPUP */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--color-bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 450px;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--color-text);
    line-height: 1;
}

.popup i {
    font-size: 4rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.popup h3 {
    font-size: 1.5rem;
}

/* LEGAL PAGES */
.legal-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
}

.legal-content p {
    color: var(--color-text-darker);
}

.legal-content strong {
    color: var(--color-accent);
}

/* ------------------- */
/* ANIMATIONS          */
/* ------------------- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.fade-in {
    transform: translateY(20px);
}

.animate-on-scroll.fade-in-up {
    transform: translateY(50px);
}

.animate-on-scroll.slide-in-left {
    transform: translateX(-50px);
}

.animate-on-scroll.slide-in-right {
    transform: translateX(50px);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.fade-in-up {
    transition-delay: var(--delay, 0s);
}

/* ------------------- */
/* RESPONSIVENESS      */
/* ------------------- */
@media (max-width: 992px) {
    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin: 1.5rem auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        grid-row: 1;
        margin-bottom: 40px;
    }

    .about-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-content {
        text-align: center;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    section {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-base: 15px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}