/*
* ==========================================================
*
*       DIGITAL MARKETING AGENCY STYLESHEET
*       Designed by AI for user requirements.
*
* ==========================================================
*/

/* ---------------------------------- */
/* 1. VARIABLES & ROOT
/* ---------------------------------- */
:root {
    --primary-color: #4A00E0;
    --secondary-color: #8E2DE2;
    --accent-color: #00C9FF;
    --bg-dark: #0F0C29;
    --bg-light: #ffffff;
    --bg-medium: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --bg-gradient-rev: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    --text-light: #ffffff;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-dark: 0 8px 30px rgba(0, 0, 0, 0.1);
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;
    --transition-fast: 0.2s ease-in-out;
    --transition-medium: 0.4s ease-in-out;
}

/* ---------------------------------- */
/* 2. RESET & GLOBAL 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(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--bg-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--primary-color);
    background-color: rgba(74, 0, 224, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.section-title .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* ---------------------------------- */
/* 3. PRELOADER
/* ---------------------------------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-logo {
    text-align: center;
}

.loader-logo img {
    max-width: 150px;
    margin-bottom: 20px;
    animation: pulse 2s infinite ease-in-out;
}

.loader-bar {
    width: 150px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.loader-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--bg-gradient);
    border-radius: 2px;
    animation: loading 2.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes loading {
    0% {
        width: 0;
        left: 0;
    }

    50% {
        width: 100%;
        left: 0;
    }

    100% {
        width: 0;
        left: 100%;
    }
}

/* ---------------------------------- */
/* 4. HEADER & NAVIGATION
/* ---------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background-color: rgba(15, 12, 41, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all var(--transition-medium);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    box-shadow: var(--shadow-dark);
    border-bottom: 1px solid var(--border-color);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    display: block;
}

.logo img {
    height: 70px;
    transition: var(--transition-medium);
}

.header.scrolled .logo img {
    height: 55px;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-light);
    font-family: var(--font-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    position: relative;
    padding: 10px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-medium);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-dark);
    border-radius: var(--border-radius);
    padding: 10px 0;
    min-width: 200px;
    box-shadow: var(--shadow-dark);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-medium);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ---------------------------------- */
/* 5. BUTTONS
/* ---------------------------------- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all var(--transition-medium);
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 1;
}

.btn:hover::before {
    width: 250px;
    height: 250px;
}

.btn-primary {
    background: var(--bg-gradient);
    color: var(--text-light);
}

.btn-primary:hover {
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(142, 45, 226, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.btn-full {
    width: 100%;
    text-align: center;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

/* ---------------------------------- */
/* 6. HERO SECTION
/* ---------------------------------- */
.hero-section {
    position: relative;
    padding: 180px 0 100px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: var(--bg-gradient);
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -150px;
    animation: float 10s infinite alternate;
}

.shape-2 {
    width: 600px;
    height: 600px;
    bottom: -200px;
    right: -250px;
    animation: float 12s infinite alternate-reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 10%;
    animation: float 8s infinite alternate;
}

@keyframes float {
    from {
        transform: translateY(0px) rotate(0deg);
    }

    to {
        transform: translateY(-30px) rotate(45deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-text .highlight {
    background: linear-gradient(to right, var(--accent-color), #a259ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-container {
    perspective: 1500px;
}

.hero-image-3d {
    position: relative;
    transform: rotateY(-25deg) rotateX(10deg);
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.hero-image-container:hover .hero-image-3d {
    transform: rotateY(-20deg) rotateX(5deg) scale(1.02);
}

.hero-image-3d img {
    border-radius: var(--border-radius);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.floating-icon {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: translateZ(50px);
    animation: float-icon 5s infinite ease-in-out;
}

.icon-1 {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
}

.icon-2 {
    top: 45%;
    right: -30px;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 5%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes float-icon {

    0%,
    100% {
        transform: translateZ(50px) translateY(0);
    }

    50% {
        transform: translateZ(50px) translateY(-15px);
    }
}

/* ---------------------------------- */
/* 7. SERVICES SECTION
/* ---------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    perspective: 1000px;
}

.service-card-inner {
    background-color: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    border: 1px solid #eee;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s, box-shadow 0.5s;
}

.service-card:hover .service-card-inner {
    transform: translateZ(20px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--bg-gradient);
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    transition: var(--transition-medium);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(15deg);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-link {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 20px;
    display: inline-block;
}

.service-link i {
    transition: transform var(--transition-fast);
    margin-left: 5px;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ---------------------------------- */
/* 8. WHY CHOOSE US SECTION
/* ---------------------------------- */
.why-choose-us-section {
    background-color: var(--bg-medium);
}

.why-choose-us-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 4rem;
}

.wcu-image-container img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-dark);
}

.wcu-list {
    margin: 2rem 0;
}

.wcu-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.wcu-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--bg-gradient);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.wcu-text h3 {
    margin-bottom: 0.25rem;
}

.wcu-text p {
    margin-bottom: 0;
}

/* ---------------------------------- */
/* 9. ROI CALCULATOR SECTION
/* ---------------------------------- */
.roi-calculator-section {
    background: var(--bg-dark);
    color: var(--text-light);
}

.roi-calculator-section .section-title,
.roi-calculator-section h3 {
    color: var(--text-light);
}

.roi-calculator-section .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.calculator-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--border-radius);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.form-group-slider {
    margin-bottom: 2rem;
}

.form-group-slider label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    outline: none;
    padding: 0;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    cursor: pointer;
    border-radius: 50%;
    border: 4px solid var(--bg-dark);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    cursor: pointer;
    border-radius: 50%;
    border: 4px solid var(--bg-dark);
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 40px;
    border-left: 1px solid var(--border-color);
}

.result-box {
    background: var(--primary-color);
    padding: 20px;
    border-radius: var(--border-radius);
}

.result-box p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
    color: var(--text-light);
}

.result-box h3 {
    font-size: 2.5rem;
    margin: 0;
    color: var(--text-light);
}

.result-box-cta {
    margin-top: auto;
    text-align: center;
}

.calculator-disclaimer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------------------------------- */
/* 10. PRICING SECTION
/* ---------------------------------- */
.pricing-section {
    background-color: var(--bg-medium);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid #eee;
    transition: all var(--transition-medium);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.pricing-card.featured {
    transform: scale(1.05);
    background: var(--bg-dark);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pricing-card.featured h3,
.pricing-card.featured p,
.pricing-card.featured .price {
    color: var(--text-light);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -45px;
    background: var(--accent-color);
    color: var(--bg-dark);
    padding: 5px 40px;
    font-family: var(--font-secondary);
    font-weight: 700;
    transform: rotate(45deg);
    font-size: 0.9rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
}

.pricing-header p {
    min-height: 40px;
}

.price {
    font-size: 4rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin: 20px 0;
    color: var(--primary-color);
}

.price sup {
    font-size: 1.5rem;
    top: -1.5rem;
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-card.featured .price span {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-features {
    text-align: left;
    margin: 30px 0;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li.disabled {
    opacity: 0.5;
    text-decoration: line-through;
}

.pricing-features .fa-check-circle {
    color: #28a745;
}

.pricing-features .fa-times-circle {
    color: #dc3545;
}

.pricing-card.featured .btn-secondary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--bg-dark);
}

/* ---------------------------------- */
/* 11. TESTIMONIALS SECTION
/* ---------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
    position: relative;
}

.testimonial-quote-icon {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.author-info h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---------------------------------- */
/* 12. CTA SECTION
/* ---------------------------------- */
.cta-section {
    padding: 0;
}

.cta-wrapper {
    background: var(--bg-gradient);
    padding: 60px;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
}

.cta-content h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 550px;
    margin-bottom: 0;
}

.cta-action .btn-primary {
    background: var(--text-light);
    color: var(--primary-color);
    border-color: var(--text-light);
}

.cta-action .btn-primary:hover {
    background: transparent;
    color: var(--text-light);
}

/* ---------------------------------- */
/* 13. FOOTER
/* ---------------------------------- */
.footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    padding-bottom: 50px;
}

.footer-col h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: var(--font-secondary);
}

.footer-about .footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-about p {
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: var(--transition-medium);
}

.footer-socials a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    position: relative;
}

.footer-links ul li a:hover {
    color: var(--text-light);
    padding-left: 10px;
}

.footer-links ul li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: -5px;
    opacity: 0;
    transition: var(--transition-fast);
}

.footer-links ul li a:hover::before {
    opacity: 1;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact ul li i {
    color: var(--accent-color);
    margin-top: 5px;
}

.footer-contact ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact ul li a:hover {
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ---------------------------------- */
/* 14. MOBILE MENU & TOGGLE
/* ---------------------------------- */
.menu-toggle {
    display: none;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 5px;
    transition: all var(--transition-medium);
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    top: -10px;
}

.hamburger::after {
    top: 10px;
}

.nav-open .hamburger {
    background: transparent;
}

.nav-open .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-open .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ---------------------------------- */
/* 15. BACK TO TOP & CHAT WIDGET
/* ---------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--bg-gradient);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-medium);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(142, 45, 226, 0.4);
    color: var(--text-light);
}

.chat-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1001;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background: var(--bg-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--shadow-dark);
    transition: all var(--transition-medium);
}

.chat-bubble:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 320px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-dark);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all var(--transition-medium);
    visibility: hidden;
}

.chat-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.chat-header {
    background: var(--bg-gradient);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header img {
    height: 30px;
}

.chat-header h3 {
    color: white;
    font-size: 1.1rem;
    margin: 0;
    flex-grow: 1;
}

.close-chat-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
}

.chat-body {
    padding: 20px;
    text-align: center;
}

.chat-body p {
    font-size: 0.95rem;
}

.chat-body .btn {
    margin-top: 1rem;
}

/* ---------------------------------- */
/* 16. INNER PAGES (CONTACT, LEGAL)
/* ---------------------------------- */
.page-header {
    padding: 160px 0 80px;
    background: var(--bg-dark);
    text-align: center;
    color: var(--text-light);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png'), var(--bg-dark);
    opacity: 0.05;
}

.page-header h1 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a:hover {
    color: var(--accent-color);
}

.breadcrumbs span {
    color: var(--text-light);
}

/* Contact Page */
.contact-section .section-header {
    margin-bottom: 4rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-dark);
}

.contact-form {
    background-color: #f8f9fa;
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.form-title {
    margin-bottom: 2rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 0, 224, 0.2);
}

.contact-form label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-muted);
    pointer-events: none;
    transition: all var(--transition-fast);
}

.contact-form input:focus+label,
.contact-form input:not(:placeholder-shown)+label,
.contact-form textarea:focus+label,
.contact-form textarea:not(:placeholder-shown)+label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    background-color: #f8f9fa;
    padding: 0 5px;
    color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    position: static;
    font-size: 0.9rem;
}

.checkbox-group label a {
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: var(--border-radius);
    transition: all var(--transition-medium);
}

.contact-card:hover {
    transform: translateX(10px);
    background: var(--bg-gradient);
    color: white;
}

.contact-card:hover h3,
.contact-card:hover p,
.contact-card:hover a {
    color: white;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition-medium);
}

.contact-card:hover .contact-icon {
    background: white;
    color: var(--primary-color);
}

.contact-details h3 {
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.contact-details p,
.contact-details a {
    margin-bottom: 0;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
}

.popup.visible {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 400px;
    position: relative;
    transform: scale(0.8);
    transition: all var(--transition-medium);
}

.popup.visible .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}

.popup-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.popup-content h3 {
    color: var(--text-dark);
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

/* ---------------------------------- */
/* 17. SCROLL ANIMATIONS
/* ---------------------------------- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll[data-animation="fade-up"] {
    transform: translateY(50px);
}

.animate-on-scroll[data-animation="fade-right"] {
    transform: translateX(-50px);
}

.animate-on-scroll[data-animation="fade-left"] {
    transform: translateX(50px);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ---------------------------------- */
/* 18. RESPONSIVE DESIGN
/* ---------------------------------- */
@media (max-width: 1024px) {

    .hero-content,
    .why-choose-us-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-container {
        margin-top: 3rem;
        order: -1;
    }

    .why-choose-us-wrapper {
        gap: 3rem;
    }

    .wcu-content {
        text-align: left;
    }

    .wcu-image-container {
        order: -1;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .calculator-results {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--border-color);
        padding-top: 40px;
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .section {
        padding: 80px 0;
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform var(--transition-medium);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    }

    .nav.nav-open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        padding: 10px 0 0 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        /* Hidden by default on mobile, can be toggled */
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .cta-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about p {
        max-width: 400px;
        margin: 20px auto;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-links ul,
    .footer-contact ul {
        text-align: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .calculator-results {
        flex-direction: column;
    }
}