/* ============================================================
   SITE-OVERRIDES.CSS — WhatsApp.technoocean.in
   WhatsApp Marketing Software landing page styles
   ============================================================ */

:root {
    --primary: #25D366;
    --primary-dark: #128C7E;
    --secondary: #075E54;
    --accent: #34B7F1;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --gray: #6c757d;
    --border: #e0e0e0;
    --success: #28a745;
}

/* -- Base -- */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
    margin: 0;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
    color: var(--dark);
}

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

/* -- 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: 1030;
    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(--primary);
}
.navbar-brand i { font-size: 1.8rem; }

.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(--dark);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    display: inline-block;
}
.navbar-nav li a.active {
    color: var(--primary);
    font-weight: 600;
}
.navbar-nav li a:after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background-color: var(--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(--primary); }

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    color: #fff;
}

.btn-outline-light {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-whatsapp:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

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

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

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

.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: 999;
    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(--dark);
    font-weight: 600;
    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(--primary);
    padding-left: 10px;
}
.mobile-menu ul li:last-child a {
    background-color: var(--primary);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-align: center;
    margin-top: 20px;
    border: none;
}

body.menu-open { overflow: hidden; }

/* -- Hero Section -- */
.hero-section {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
}

.carousel-caption {
    background: rgba(0,0,0,0.6);
    border-radius: 10px;
    padding: 20px;
    bottom: 50px;
}

.carousel-indicators [data-bs-target] {
    background-color: #fff;
}

/* -- Section Title -- */
.section-title {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* -- Feature Cards -- */
.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--primary);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

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

/* -- Step Cards -- */
.step-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* -- Pricing -- */
.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 0;
}

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

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

/* -- FAQ -- */
.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    background: white;
}

.faq-question {
    background: var(--light);
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* -- CTA Section -- */
.cta-section {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

/* -- Footer -- */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
    position: relative;
}

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

.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; }

.copyright {
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

/* -- 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: 9999;
    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(--gray);
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}
.modal-close:hover { color: var(--secondary); }

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

.form-group { margin-bottom: 18px; }
.form-group label, .form-label {
    display: block;
    font-weight: 600;
    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(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
    background: #fafafa;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}
.form-textarea { resize: vertical; min-height: 80px; }

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

.payment-info {
    text-align: center;
    padding: 20px 0;
}

.payment-info img {
    max-width: 220px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    margin-bottom: 15px;
}

.payment-info .upi-details {
    background: #f0f9ff;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

.payment-info .upi-details p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.payment-info .upi-details strong {
    color: var(--secondary);
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    text-align: center;
    display: block;
    margin-bottom: 15px;
}

.modal-content .text-center { text-align: center; }

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

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

/* -- Loading Spinner -- */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px 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: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .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;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@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-section h1 {
        font-size: 2.2rem;
    }

    .carousel-item {
        height: 400px;
    }

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

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

    body.menu-open { overflow: hidden; }
}

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

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .btn { padding: 14px 24px; width: 100%; text-align: center; }
}
