/* Reset & Variables */
:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --secondary-color: #f8f9fa;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-main: #ffffff;
    --bg-card: #ffffff;
    --bg-rgb: 255, 255, 255;
    --border-color: #eaeaea;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] {
    --secondary-color: #1a1a1a;
    --text-dark: #f0f0f0;
    --text-light: #bbbbbb;
    --bg-main: #121212;
    --bg-card: #1e1e1e;
    --bg-rgb: 18, 18, 18;
    --border-color: #333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    background-image: radial-gradient(var(--text-dark) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.04;
}

/* Background Mesh Blobs */
.bg-blob {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    opacity: 0.15;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

[data-theme="dark"] .bg-blob {
    opacity: 0.1;
}

.bg-blob-1 {
    background: #007bff;
    top: -100px;
    left: -100px;
    animation: floatBlob1 25s infinite alternate ease-in-out;
}

.bg-blob-2 {
    background: #8e44ad;
    bottom: -100px;
    right: -100px;
    animation: floatBlob2 30s infinite alternate-reverse ease-in-out;
}

@keyframes floatBlob1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(150px, 100px) scale(1.1); }
    100% { transform: translate(-50px, 200px) scale(0.9); }
}

@keyframes floatBlob2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-100px, -150px) scale(0.9); }
    100% { transform: translate(100px, -50px) scale(1.1); }
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-main);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.back-to-top {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 90px 0;
}

.bg-light {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

/* Modern Input Forms Aesthetics */
.modern-input {
    padding: 16px 20px;
    border: 1px solid rgba(125, 125, 125, 0.2);
    border-radius: 12px;
    background: rgba(var(--bg-rgb), 0.5);
    color: var(--text-dark);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.modern-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
    background: var(--bg-main);
}

.glass-card-modern {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.shadow-hover {
    transition: var(--transition);
}

.shadow-hover:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.animate-on-scroll.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    background: rgba(var(--bg-rgb), 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(125, 125, 125, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-switch-btn {
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.mode-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

/* Slider Section */
.slider-section {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    background: #000;
}

.slider-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 80%;
}

.slide-content h2 {
    font-size: 4rem;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    line-height: 1.2;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.slider-btn.prev {
    left: 30px;
}

.slider-btn.next {
    right: 30px;
}

/* Brands */
.brands-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.brand-item {
    max-height: 50px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: var(--transition);
    cursor: pointer;
}

.brand-item:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* About and Services */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text,
.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-main);
    padding: 50px 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.service-card i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

/* Counters */
.counters {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    padding: 70px 0;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.counter-item h4 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    background: var(--bg-card);
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: #fff;
    padding: 30px 20px 20px;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
    opacity: 1;
}

/* Pricing Modules (NEW) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 40px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 0 0 10px 10px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
    line-height: 1;
}

.pricing-period {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Templates / Demos Module */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.template-card {
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.template-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.template-img-wrapper {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.template-img-wrapper img {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 3s ease;
}

.template-card:hover .template-img-wrapper img {
    transform: translateY(calc(350px - 100%));
}

.template-content {
    padding: 25px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.template-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
}

.btn-demo {
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-top: auto;
}

/* Footer */
.footer {
    background: #111;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    color: #fff;
    font-size: 2rem;
}

.footer-col h3 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    color: #fff;
    position: relative;
    padding-bottom: 5px;
}

/* Mobile Menu Toggle Base */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-left: 15px;
}

@media (max-width: 768px) {
    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .slide-content h2 {
        font-size: 2.2rem;
    }

    /* Responsive Header & Menu */
    .menu-toggle {
        display: block;
    }

    .header-actions {
        border-left: none !important;
        margin-left: auto !important;
        padding-left: 0 !important;
    }

    .nav-links {
        position: absolute;
        right: 0;
        top: 100%;
        background: var(--bg-card);
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 0;
        padding: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
        border-top: 1px solid var(--border-color);
        pointer-events: none;
    }

    .nav-links.nav-active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links li {
        margin: 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 15px;
    }

    .nav-links a::after {
        display: none;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

/* ===== NEW: Toast Notification ===== */
.site-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #00b09b, #96c93d);
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 10px 40px rgba(0, 176, 155, 0.4);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 99999;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.site-toast::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.3rem;
}

.site-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ===== NEW: Slider Dots ===== */
.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.4s ease;
}

.slider-dot.active {
    background: var(--primary-color);
    border-color: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* ===== NEW: Counter Animation ===== */
.counter-item h4 {
    transition: all 0.3s ease;
}

.counter-item {
    position: relative;
    padding: 20px;
}

.counter-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.counter-item:last-child::after {
    display: none;
}

/* ===== NEW: Testimonials Section ===== */
.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 50px 40px;
    text-align: center;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.15;
    position: absolute;
    top: 10px;
    left: 30px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.testimonial-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.testimonial-company {
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonial-stars {
    color: #f5a623;
    font-size: 1.1rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.testimonials-nav button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-dark);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.testimonials-nav button:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* ===== NEW: FAQ Accordion ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark);
    transition: var(--transition);
    gap: 15px;
    user-select: none;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.4s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 28px 22px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ===== NEW: Social Media Icons ===== */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-links a:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-links a.facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-links a.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: #e6683c; }
.social-links a.twitter:hover { background: #000; border-color: #000; }
.social-links a.linkedin:hover { background: #0a66c2; border-color: #0a66c2; }
.social-links a.youtube:hover { background: #ff0000; border-color: #ff0000; }

/* ===== IMPROVED: Card Hover Effects ===== */
.service-card {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark), #ff007f);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 2;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--bg-rgb), 0) 0%, var(--primary-color) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.service-card:hover::after {
    opacity: 0.03;
}

/* ===== NEW: Form Success Animation ===== */
.form-success-overlay {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
    gap: 20px;
}

.form-success-overlay.show {
    display: flex;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00b09b, #96c93d);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.success-checkmark i {
    font-size: 2.5rem;
    color: #fff;
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.success-text h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.success-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== IMPROVED: Portfolio overlay always visible ===== */
.portfolio-content {
    transform: translateY(0);
    opacity: 1;
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.85) 100%);
}

.portfolio-item:hover .portfolio-content {
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.95) 100%);
}

/* ===== IMPROVED: Pricing card glow ===== */
.pricing-card.popular {
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
                linear-gradient(135deg, var(--primary-color), #ff007f) border-box;
    border: 2px solid transparent;
}

/* ===== POPUP / MODAL ===== */
.site-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.site-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.site-popup {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid rgba(125, 125, 125, 0.15);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    max-width: 560px;
    width: 100%;
    overflow: hidden;
    transform: scale(0.85) translateY(30px);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    opacity: 0;
    position: relative;
}

.site-popup-overlay.active .site-popup {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.site-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(125, 125, 125, 0.15);
    border: none;
    color: var(--text-dark);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
}

.site-popup-close:hover {
    background: #ff4b4b;
    color: #fff;
    transform: rotate(90deg) scale(1.1);
}

.site-popup-image {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    display: block;
}

.site-popup-body {
    padding: 32px 36px 36px;
    max-height: 70vh;
    overflow-y: auto;
}

.site-popup-body h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-popup-body p {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 24px;
    font-size: 1rem;
}

.site-popup-body .btn {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 1rem;
    border-radius: 12px;
    border: none;
}

.site-popup-no-img .site-popup-body {
    padding-top: 48px;
}

@media (max-width: 480px) {
    .site-popup-body {
        padding: 24px 22px 28px;
    }
    .site-popup-body h2 {
        font-size: 1.3rem;
    }
}