/* ============================================
   OCI Pravasi Seva - Stylesheet
   Navy + Saffron Theme | Mobile-First Responsive
   Structure matched to KDC site
   ============================================ */

/* CSS Variables */
:root {
    --primary: #1B3A6B;
    --primary-dark: #122848;
    --accent: #C45C26;
    --white: #ffffff;
    --light-gray: #F4F6F9;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --text-gray: #666666;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(27, 58, 107, 0.2);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header / Navbar */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.logo:hover {
    color: var(--accent);
}

.logo span {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.15rem;
    align-items: center;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 8rem 20px 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before,
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Inner page hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 5rem 20px 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero .hero-content {
    max-width: 800px;
}

.page-hero h1 {
    font-size: 2.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.25;
    position: relative;
    z-index: 1;
}

.page-hero p {
    font-size: 1.15rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-primary:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-solid {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-solid:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-hover);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-accent:hover {
    background-color: #a84a1c;
    color: var(--white);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About / Content Section */
.about {
    background-color: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p,
.prose p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.prose {
    max-width: 900px;
    margin: 0 auto;
}

.prose h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    text-align: left;
}

.prose ul,
.prose ol,
.content-list {
    margin: 0 0 1.5rem 1.4rem;
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

.prose li,
.content-list li {
    margin-bottom: 0.4rem;
}

.doctor-highlight,
.content-highlight {
    background: linear-gradient(135deg, #eef3fb 0%, var(--light-gray) 100%);
    padding: 2.5rem;
    border-radius: 8px;
    margin: 2.5rem 0;
    border-left: 5px solid var(--primary);
    box-shadow: 0 2px 10px var(--shadow);
}

.gujarat-banner {
    background: linear-gradient(135deg, #fff4ec 0%, #f7ebe3 100%);
    border-left: 5px solid var(--accent);
}

.doctor-highlight h3,
.content-highlight h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.gujarat-banner h3 {
    color: var(--accent);
}

.doctor-highlight p,
.content-highlight p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-gray);
}

.doctor-highlight p:last-child,
.content-highlight p:last-child {
    margin-bottom: 0;
}

.doctor-highlight strong,
.content-highlight strong {
    color: var(--primary);
    font-weight: 600;
}

.doctor-highlight a,
.content-highlight a,
.prose a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.doctor-highlight a:hover,
.content-highlight a:hover,
.prose a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.location-highlight {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 4px solid var(--primary);
}

.location-highlight h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.location-highlight p {
    margin-bottom: 0;
}

blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-gray);
}

/* Services Section */
.services {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px var(--shadow-hover);
}

.service-card h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

.service-card ul {
    margin: 0.5rem 0 1rem 1.2rem;
    color: var(--text-gray);
    line-height: 1.7;
    flex-grow: 1;
}

.service-card .card-link {
    margin-top: 1rem;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.service-card .card-link:hover {
    text-decoration: underline;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: var(--transition);
}

.feature-card:hover {
    background-color: var(--white);
    box-shadow: 0 5px 15px var(--shadow);
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Founder cards */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.founder-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
    border-top: 4px solid var(--primary);
}

.founder-card.accent {
    border-top-color: var(--accent);
}

.founder-card h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
}

.founder-role {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.founder-card p,
.founder-card li {
    color: var(--text-gray);
    line-height: 1.8;
}

.founder-card ul {
    margin: 0.75rem 0 1rem 1.2rem;
}

/* Fees / info box */
.info-box {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
    border-left: 4px solid var(--accent);
    margin-top: 2rem;
}

.info-box h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-box p,
.info-box li {
    color: var(--text-gray);
    line-height: 1.8;
}

.info-box ul {
    margin-left: 1.2rem;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.step-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
}

.step-num {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-card h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-gray);
    font-size: 0.98rem;
}

/* Map Section */
.map-section {
    background-color: var(--light-gray);
    padding: 4rem 0;
}

.map-container {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.map-container iframe {
    display: block;
    width: 100%;
    border: none;
}

/* FAQ Section */
.faq {
    background-color: var(--white);
}

.faq-item {
    background-color: var(--light-gray);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.faq-item h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: left;
}

.faq-item p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 0;
}

.faq-item ul {
    margin: 0.75rem 0 0 1.2rem;
    color: var(--text-gray);
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.contact-info {
    max-width: 700px;
    width: 100%;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
}

.contact-info h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info address {
    font-style: normal;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.contact-info address p {
    margin-bottom: 0.5rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-details p {
    margin-bottom: 0.75rem;
    color: var(--text-gray);
}

.phone-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.phone-link:hover {
    text-decoration: underline;
    color: var(--accent);
}

.whatsapp-btn {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
    border-top: 4px solid var(--primary);
}

.contact-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-card p,
.contact-card li {
    color: var(--text-gray);
    line-height: 1.8;
}

.contact-card ul {
    list-style: none;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* CTA band */
.cta-band {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 3.5rem 20px;
}

.cta-band h2 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cta-band p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #8eb4e8;
}

.footer-section p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a,
.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover,
.footer-section a:hover {
    color: #8eb4e8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555555;
    color: #cccccc;
    font-size: 0.9rem;
}

/* Comparison table */
.comparison-table-wrapper {
    margin-top: 3rem;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table thead tr {
    background-color: var(--primary);
    color: var(--white);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--medium-gray);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Call Now Button (Mobile Only) */
.call-now {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(27, 58, 107, 0.4);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.call-now:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(27, 58, 107, 0.6);
}

.call-now svg {
    width: 32px;
    height: 32px;
}

/* Responsive Design */

/* Tablet / mid desktop – hamburger because 7 long nav labels */
@media (max-width: 1100px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 0.35rem 0;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 0.85rem;
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .page-hero h1 {
        font-size: 1.85rem;
    }

    .contact-wrapper {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .hero {
        padding: 6rem 20px 4rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .page-hero {
        padding: 4rem 20px 2.75rem;
    }

    section {
        padding: 3rem 0;
    }

    section h2 {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .services-grid,
    .features-grid,
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-wrapper {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .call-now {
        display: flex;
        width: 55px;
        height: 55px;
        bottom: 90px;
        right: 20px;
    }

    .call-now svg {
        width: 28px;
        height: 28px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .page-hero h1 {
        font-size: 1.45rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .service-card,
    .feature-card,
    .contact-info,
    .doctor-highlight,
    .content-highlight,
    .founder-card {
        padding: 1.5rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    .call-now {
        width: 50px;
        height: 50px;
        bottom: 80px;
        right: 15px;
    }

    .call-now svg {
        width: 24px;
        height: 24px;
    }
}

/* Print Styles */
@media print {
    .header,
    .whatsapp-float,
    .call-now {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }
}
