/* ============================================================
   SITE-OVERRIDES.CSS — smm.technoocean.in (Performance Marketing)
   Self-contained styles with CSS custom properties
   ============================================================ */

/* ── Design Tokens ── */
:root {
    --primary: #1a73e8;
    --secondary: #0d47a1;
    --accent: #ff6d00;
    --light: #f8f9fa;
    --dark: #202124;
    --gray: #5f6368;
    --light-gray: #dadce0;
    --success: #34a853;

    /* Shared CSS variable aliases */
    --color-primary: #1a73e8;
    --color-primary-dark: #0d47a1;
    --color-accent: #ff6d00;
    --color-success: #34a853;
    --color-text: #202124;
    --color-text-light: #5f6368;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-bg-dark: #1a1a2e;
    --color-border: #dadce0;
    --font-body: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;
    --fw-bold: 700;
    --fw-semibold: 600;
    --fw-medium: 500;
    --radius-lg: 12px;
    --radius-md: 8px;
    --shadow-lg: 0 5px 20px rgba(0,0,0,0.08);
    --z-sticky: 1000;
    --z-dropdown: 1050;
    --z-fixed: 1100;
    --z-modal: 9999;
}

/* ── Base ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    color: var(--color-text);
    line-height: 1.2;
}

h1 { font-size: 3.2rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.2rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 15px; }
h2:after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 80px; height: 4px;
    background: linear-gradient(to right, var(--color-primary), var(--accent));
    border-radius: 2px;
}
h2.text-center:after,
.section-title h2:after { left: 50%; transform: translateX(-50%); }
h3 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--secondary); }

p { margin-bottom: 1.2rem; color: var(--color-text-light); }

a { text-decoration: none; color: var(--color-primary); transition: all 0.3s ease; }
a:hover { color: var(--accent); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section { padding: 90px 0; }
.text-center { text-align: center; }

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.15rem;
    color: var(--color-text-light);
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 16px 32px;
    background-color: var(--color-primary);
    color: white;
    border-radius: var(--radius-lg);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}
.btn:hover {
    background-color: var(--color-primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    box-shadow: none;
}
.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

.btn-accent {
    background-color: var(--accent);
    color: white;
}
.btn-accent:hover {
    background-color: #e65100;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}
.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* ── Header & Navigation ── */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: var(--z-sticky);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}
.navbar.scrolled {
    padding: 5px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: all 0.4s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.navbar-nav {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar-nav li { margin-left: 25px; position: relative; }

.navbar-nav li a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: var(--fw-medium);
    transition: color 0.3s;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    display: inline-block;
}
.navbar-nav li a.active {
    color: var(--color-primary);
    font-weight: var(--fw-semibold);
}
.navbar-nav li a:after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}
.navbar-nav li a:hover:after,
.navbar-nav li a.active:after { width: 100%; }
.navbar-nav li a:hover { color: var(--color-primary); }

.navbar-nav li:last-child a.btn-outline {
    padding: 10px 20px;
    margin-left: 10px;
}

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a i { font-size: 0.7rem; margin-left: 5px; }

.dropdown {
    position: absolute;
    top: 120%; left: 0;
    background: #ffffff;
    min-width: 260px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: var(--z-dropdown);
    list-style: none;
}
.dropdown li { margin: 0; width: 100%; list-style: none; }
.dropdown li a {
    padding: 12px 20px;
    width: 100%;
    display: block;
    font-size: 0.95rem;
    color: var(--color-text);
}
.dropdown li a:hover {
    background: rgba(26, 115, 232, 0.08);
    color: var(--color-primary);
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text);
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s;
    z-index: 1001;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 80px 25px 25px;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: var(--z-fixed);
    overflow-y: auto;
}
.mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
    display: block;
}
.mobile-menu ul { list-style: none; padding: 0; }
.mobile-menu ul li { margin-bottom: 25px; }
.mobile-menu ul li a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: var(--fw-semibold);
    font-size: 1.3rem;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}
.mobile-menu ul li a:hover {
    color: var(--color-primary);
    padding-left: 10px;
}

body.menu-open { overflow: hidden; }

/* ── Hero Section ── */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3.2rem;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--dark);
    max-width: 700px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.trust-badges {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.badge {
    background-color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.badge i {
    color: var(--color-primary);
    font-size: 1.5rem;
}

/* ── Services Banner ── */
.services-banner {
    background-color: var(--light);
    padding: 40px 0;
    overflow: hidden;
}

.banner-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary);
}

.banner-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(250px * 14);
}

.banner-slide {
    flex: 0 0 auto;
    width: 220px;
    margin: 0 15px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}
.banner-slide:hover {
    transform: translateY(-10px);
}

.banner-image {
    height: 140px;
    background-size: cover;
    background-position: center;
}

.banner-content {
    padding: 20px;
}
.banner-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary);
}
.banner-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--gray);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 7)); }
}

/* ── Why Performance Marketing ── */
.benefits {
    background-color: white;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

/* ── Services Section ── */
.services {
    background-color: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--color-primary);
}

/* ── Pricing ── */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    position: relative;
}
.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.popular {
    border: 2px solid var(--accent);
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 20px;
    background-color: var(--accent);
    color: white;
    padding: 8px 20px;
    border-radius: 0 0 10px 10px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
}

.pricing-header {
    padding: 30px;
    text-align: center;
    background-color: #f8fafc;
}
.pricing-header h3 { color: var(--secondary); }

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
}

.pricing-period {
    color: var(--gray);
    font-size: 1rem;
    font-weight: 400;
}

.pricing-features {
    padding: 30px;
}
.pricing-features ul {
    list-style: none;
    padding: 0;
}
.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
}
.pricing-features li:last-child {
    border-bottom: none;
}
.pricing-features i {
    color: var(--success);
    margin-right: 10px;
}

.pricing-cta {
    padding: 0 30px 30px;
    text-align: center;
}

/* ── Testimonials ── */
.testimonials {
    background-color: var(--light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--color-primary);
    color: var(--color-text-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e8f0fe;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: 700;
    color: var(--color-primary);
}

/* ── FAQs ── */
.faqs {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px;
    background-color: #f8fafc;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--color-primary);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--color-text-light);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ── Lead Capture / Audit ── */
.lead-capture {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.lead-capture h2 {
    color: white;
}
.lead-capture h2:after {
    background-color: var(--accent);
}

.lead-capture .services-intro {
    color: rgba(255, 255, 255, 0.9);
}

.audit-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-size: 1rem;
    transition: border 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* ── Footer ── */
.footer {
    background-color: var(--color-bg-dark);
    color: white;
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: block;
    text-decoration: none;
    color: white;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col a { transition: color 0.3s; }
.footer-col a:hover { color: white !important; padding-left: 5px; }

/* ── Modals ── */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    z-index: var(--z-modal);
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
.modal-overlay.active .modal-content { transform: scale(1); }

.modal-close {
    position: absolute;
    top: 15px; right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-text-light);
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}
.modal-close:hover { color: var(--color-text); }

.modal-content h2 {
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.modal-content h2:after { left: 0; transform: none; }
.modal-content p { color: var(--color-text-light); margin-bottom: 25px; }

.modal-content .form-group { margin-bottom: 18px; }
.modal-content .form-group label {
    display: block;
    font-weight: var(--fw-semibold);
    margin-bottom: 6px;
    color: var(--secondary);
    font-size: 0.9rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fafafa;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
}
.form-textarea { resize: vertical; min-height: 80px; }

.modal-content .btn {
    width: 100%;
    text-align: center;
    font-size: 1.05rem;
}

/* ── WhatsApp Floating Button ── */
.whatsapp-float {
    position: fixed;
    bottom: 30px; right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all 0.4s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1) rotate(10deg);
    color: white;
}

/* ── Enquire Floating Button ── */
.enquire-float {
    position: fixed;
    bottom: 100px; right: 30px;
    background: var(--color-primary);
    color: white;
    padding: 14px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: var(--fw-semibold);
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(26,115,232,0.4);
    z-index: 998;
    transition: all 0.4s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    animation: pulseBlue 2s infinite;
}
@keyframes pulseBlue {
    0% { box-shadow: 0 0 0 0 rgba(26,115,232,0.6); }
    70% { box-shadow: 0 0 0 15px rgba(26,115,232,0); }
    100% { box-shadow: 0 0 0 0 rgba(26,115,232,0); }
}
.enquire-float:hover {
    background: var(--color-primary-dark);
    transform: scale(1.05);
}
.enquire-float i { font-size: 1.2rem; }

/* ── Scroll Animations ── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ── Loading Spinner ── */
.spinner {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 5px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero h1 { font-size: 2.8rem; }
    section { padding: 60px 0; }
}

@media (max-width: 992px) and (min-width: 769px) {
    .navbar-nav li { margin-left: 15px; }
    .navbar-nav li a { font-size: 0.9rem; }
    .navbar-nav li:last-child a.btn-outline {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    nav ul.navbar-nav { display: none !important; }
    .mobile-menu-toggle { display: block !important; }
    .mobile-menu { display: none; }
    .mobile-menu.active {
        display: block;
        transform: translateX(0);
        opacity: 1;
    }

    .hero {
        padding: 140px 0 80px;
        text-align: center;
    }
    .hero h1 { font-size: 2.5rem; }

    .cta-buttons, .hero-cta {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .benefit-grid, .services-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .header-container { padding: 12px 0; }
    .navbar-brand { font-size: 1.5rem; }
}

@media (max-width: 576px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .hero h1 { font-size: 2.2rem; }
    section { padding: 50px 0; }
    .audit-form { padding: 30px 20px; }
}

@media (min-width: 1200px) {
    .navbar-nav li { margin-left: 35px; }
}
