/* ============================================================
   SITE-OVERRIDES.CSS — data.technoocean.in
   Bootstrap 5.3.0 based site with custom overrides
   ============================================================ */

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #1e293b;
    --light: #f8fafc;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #334155;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark);
}

/* ── Navbar ── */
.navbar {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary) !important;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-logo {
    height: 40px;
    width: auto;
    max-width: 150px;
}

/* ── Hero Section ── */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    color: white;
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* ── Buttons ── */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
}

.btn-outline-light {
    padding: 14px 35px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

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

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
}

/* ── Feature Cards ── */
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    border-left: 5px solid var(--primary);
    text-align: center;
}

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

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

/* ── Pricing Cards ── */
.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.4s ease;
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card.popular:before {
    content: 'Most Popular';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

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

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

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

/* ── Testimonial Cards ── */
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin: 15px 0;
    border-top: 4px solid var(--primary);
}

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

.testimonial-text:before {
    content: "\201C"; font-size: 4rem; color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: Georgia, serif;
}

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

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

.faq-question:hover {
    background: #e2e8f0;
}

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

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

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

/* ── Categories ── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.category-item {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary);
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ── CTA Section ── */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 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;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    border-top: 1px solid #475569;
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ── Step Cards ── */
.step-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 25px;
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
}

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

/* ── Counter Section ── */
.counter-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.counter-item {
    margin: 20px 0;
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.counter-text {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ── Legal Note ── */
.legal-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 5px;
    margin: 40px 0;
}

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

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.carousel-caption {
    background: rgba(0,0,0,0.7);
    border-radius: 10px;
    padding: 30px;
    bottom: 50px;
    max-width: 700px;
    margin: 0 auto;
}

/* ── Modal System ── */
.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-box {
    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-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #64748b;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--secondary);
}

.modal-box h2 {
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.modal-box h2:after {
    left: 0;
    transform: none;
}

.modal-box p {
    color: #64748b;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

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

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

.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;
    color: #334155;
}

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

.success-icon {
    font-size: 4rem;
    color: #10b981;
    text-align: center;
    display: block;
    margin-bottom: 15px;
}

/* ── WhatsApp Float ── */
.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);
}

/* ── Enquire Float ── */
.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(14,165,233,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(14,165,233,0.6); }
    70% { box-shadow: 0 0 0 15px rgba(14,165,233,0); }
    100% { box-shadow: 0 0 0 0 rgba(14,165,233,0); }
}

.enquire-float:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* ── 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) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .counter-section .row > div {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .carousel-item {
        height: 350px;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .navbar-logo {
        height: 30px;
    }

    .counter-section {
        padding: 40px 0;
    }

    .counter-number {
        font-size: 2.2rem;
    }

    .counter-label {
        font-size: 0.9rem;
    }

    section.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .feature-card,
    .step-card {
        margin-bottom: 20px;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.6rem;
    }

    .carousel-item {
        height: 300px;
    }

    .carousel-item h5 {
        font-size: 1.2rem;
    }

    .counter-number {
        font-size: 1.8rem;
    }

    .pricing-card {
        margin-bottom: 20px;
    }

    .row > div {
        margin-bottom: 15px;
    }

    h2 {
        font-size: 1.3rem;
    }

    .btn-primary,
    .btn-outline-primary {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer .row > div {
        margin-bottom: 30px;
    }

    .footer h5 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .footer a {
        font-size: 0.9rem;
    }
}
