/* ========================================
   IEPF Doctor — Main Stylesheet
   Color: Blue (#1a56db) + White
   Font: Inter
   ======================================== */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --accent: #3b82f6;
    --accent-bright: #60a5fa;
    --text: #111827;
    --text-light: #4b5563;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-section: #eff6ff;
    --white: #ffffff;
    --shadow: 0 4px 16px rgba(37,99,235,0.1);
    --shadow-lg: 0 12px 36px rgba(37,99,235,0.16);
    --radius: 14px;
    --radius-sm: 10px;
    --whatsapp: #25D366;
    --gold: #f59e0b;
    --orange: #f97316;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', 'Noto Sans Devanagari', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === TOP BAR === */
.top-bar {
    background: linear-gradient(90deg, #1d4ed8, #2563eb, #3b82f6);
    color: var(--white);
    font-size: 0.88rem;
    padding: 10px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left span {
    opacity: 0.9;
}

.lang-btn {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 4px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.lang-btn:hover {
    background: rgba(255,255,255,0.25);
}

/* === NAVBAR === */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-icon {
    font-size: 1.6rem;
}

.logo-accent {
    color: var(--primary-dark);
}

.logo-img {
    height: 80px;
    width: auto;
}

.footer-logo-img {
    height: 55px;
    width: auto;
    margin-bottom: 14px;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* === HERO === */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(29,78,216,0.9) 0%, rgba(59,130,246,0.85) 100%);
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(29,78,216,0.88) 0%, rgba(59,130,246,0.82) 50%, rgba(96,165,250,0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 55px 0 45px;
    max-width: 750px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

.hero-sub {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30,64,175,0.2);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1fba59;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

.btn-full {
    width: 100%;
}

/* === STATS === */
.stats {
    background: var(--white);
    padding: 50px 0;
    border-bottom: 2px solid var(--primary-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary);
    display: inline;
}

.stat-plus {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--orange);
}

.stat-item p {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 6px;
    font-weight: 600;
}

/* === SECTION COMMON === */
.section {
    padding: 60px 0;
}

.section:nth-child(even) {
    background: var(--bg-section);
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 14px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 36px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* === TRUST BANNER === */
.trust-banner {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #60a5fa 100%);
    padding: 50px 0;
    color: var(--white);
}

.trust-banner-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.trust-banner-text h2 {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.3;
}

.trust-banner-text p {
    font-size: 1.15rem;
    opacity: 0.95;
    line-height: 1.7;
}

.trust-banner-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    max-height: 280px;
}

.trust-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
}

@media (max-width: 768px) {
    .trust-banner-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .trust-banner-text h2 {
        font-size: 1.4rem;
    }
    .trust-banner-img {
        max-width: 350px;
        margin: 0 auto;
    }
}

/* === ABOUT === */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin: 40px auto 0;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 18px;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-dark);
}

.highlight-icon {
    font-size: 1.4rem;
}

/* === FOUNDER CARD === */
.founder-card {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: var(--radius);
    padding: 36px 40px;
    border-left: 5px solid var(--primary);
    box-shadow: var(--shadow);
}

.founder-photo-wrap {
    flex-shrink: 0;
    width: 160px;
    height: 180px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(37,99,235,0.2);
    border: 4px solid var(--white);
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.founder-info {
    flex: 1;
}

.founder-name {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.founder-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.founder-bio {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .founder-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
        gap: 24px;
    }
    .founder-photo-wrap {
        width: 130px;
        height: 150px;
        margin: 0 auto;
    }
}

/* === SERVICES === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
    border-top: 3px solid var(--accent);
}

.service-icon {
    font-size: 2.6rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* === HOW IT WORKS === */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.step-card {
    background: var(--white);
    padding: 30px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 240px;
    flex: 1;
    min-width: 200px;
    border: 1px solid #e5e7eb;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--accent-bright));
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}

.step-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

.step-connector {
    width: 40px;
    height: 2px;
    background: var(--primary);
    margin-top: 55px;
    flex-shrink: 0;
    opacity: 0.4;
}

/* === WHY CHOOSE US === */
.why-choose-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.why-choose-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-height: 420px;
}

.why-choose-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.why-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.why-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.why-item-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent-bright));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}

.why-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.why-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr !important;
    }
}

/* === CTA BANNER === */
.cta-banner {
    background: linear-gradient(135deg, #f97316 0%, #f59e0b 50%, #fbbf24 100%);
    padding: 45px 0;
    text-align: center;
    color: var(--white);
}

.cta-banner h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 14px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.cta-banner p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn {
    background: var(--white);
    color: #f97316;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px 36px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.cta-banner .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* === PROBLEMS === */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.problem-item {
    background: var(--white);
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    transition: var(--transition);
}

.problem-item:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.problem-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* === TESTIMONIALS === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #e5e7eb;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-card > p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.author-avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* === GOOGLE REVIEWS === */
.google-review-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    padding: 30px 40px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #e5e7eb;
    flex-wrap: wrap;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.google-rating-display {
    text-align: center;
}

.google-logo-img {
    height: 28px;
    margin-bottom: 12px;
}

.google-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
}

.google-score {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text);
}

.stars-display {
    font-size: 1.6rem;
    color: #fbbf24;
    letter-spacing: 2px;
}

.google-review-count {
    font-size: 0.9rem;
    color: var(--text-light);
}

.btn-google-review {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-google-review:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26,86,219,0.3);
}

/* === FAQ === */
.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--white);
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: var(--transition);
    font-family: inherit;
}

.faq-question:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.faq-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* === CONTACT === */
.contact {
    background: var(--bg-section) !important;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}

.form-group textarea {
    resize: vertical;
}

.contact-side-img {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.contact-info-side {
    padding: 10px 0;
}

.contact-info-side h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
}

.contact-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* === FOOTER === */
.footer {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: #cbd5e1;
    padding: 60px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    font-size: 0.9rem;
    color: #94a3b8;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #1e293b;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #64748b;
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 56px;
    height: 56px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 15px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 25px rgba(37,211,102,0.6); }
}

/* === CHATBOT === */
.chatbot-toggle {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 4px 18px rgba(26,86,219,0.4);
    transition: var(--transition);
    animation: pulse-chat 2s infinite;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

@keyframes pulse-chat {
    0%, 100% { box-shadow: 0 4px 18px rgba(26,86,219,0.4); }
    50% { box-shadow: 0 4px 28px rgba(26,86,219,0.6); }
}

.chatbot-icon {
    font-size: 1.6rem;
}

.chatbot-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    color: var(--white);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 370px;
    max-height: 500px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 1002;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.chatbot-window.open {
    display: flex;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary), var(--accent-bright));
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    font-size: 1.5rem;
}

.chatbot-header-info strong {
    display: block;
    font-size: 0.95rem;
}

.chatbot-status {
    font-size: 0.75rem;
    opacity: 0.85;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    opacity: 0.8;
    transition: var(--transition);
}

.chatbot-close:hover {
    opacity: 1;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    max-height: 340px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-msg.bot {
    background: var(--primary-light);
    color: var(--text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-msg.user {
    background: var(--primary);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chatbot-input-area {
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
}

.chatbot-input-row {
    display: flex;
    gap: 8px;
}

.chatbot-input-row input,
.chatbot-input-row select {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 24px;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.chatbot-input-row input:focus,
.chatbot-input-row select:focus {
    border-color: var(--primary);
}

.chatbot-input-row button {
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.chatbot-input-row button:hover {
    background: var(--primary-dark);
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.chat-option-btn {
    background: var(--white);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    font-family: inherit;
}

.chat-option-btn:hover {
    background: var(--primary);
    color: var(--white);
}

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === FORM SUCCESS === */
.form-success {
    text-align: center;
    padding: 40px;
}

.form-success .success-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.form-success h3 {
    color: var(--primary);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-light);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar-left {
        flex-direction: column;
        gap: 4px;
        font-size: 0.78rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-content {
        padding: 50px 0;
    }

    .hero-sub {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 30px;
        margin: 0;
    }

    .step-card {
        max-width: 100%;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-height: 300px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .chatbot-window {
        right: 10px;
        left: 10px;
        width: auto;
        bottom: 90px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .about-highlights {
        flex-direction: column;
        gap: 14px;
    }
}

/* === LEAD CAPTURE POPUP === */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-overlay.active {
    display: flex;
}

.popup-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px;
    max-width: 420px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: popupIn 0.4s ease;
}

@keyframes popupIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: #f3f4f6;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 700;
}

.popup-close:hover {
    background: #e5e7eb;
}

.popup-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.popup-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.popup-sub {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 22px;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}

.popup-form input {
    padding: 13px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border 0.2s;
}

.popup-form input:focus {
    border-color: var(--primary);
}

.popup-submit {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s;
}

.popup-submit:hover {
    opacity: 0.9;
}

.popup-privacy {
    font-size: 0.8rem;
    color: #9ca3af;
}

.popup-success {
    text-align: center;
    padding: 20px 0;
}

.popup-success h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.popup-success p {
    color: var(--text-light);
    font-size: 0.95rem;
}

@media (max-width: 480px) {
    .popup-box {
        padding: 30px 20px;
    }
    .popup-title {
        font-size: 1.3rem;
    }
}
