/* Variables */
:root {
    --blue: #174B9F;
    --orange: #F18F3E;
    --blue-dark: #0F3566;
    --orange-light: #FFA757;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-600: #6B7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Manrope', -apple-system, system-ui, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    background: var(--white);
}

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

/* Navigation */
.nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 24px;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-menu a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--blue);
}

.nav-btn {
    display: none;
    padding: 10px 24px;
    background: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

@media (min-width: 768px) {
    .nav-btn {
        display: inline-block;
    }
}

.nav-btn:hover {
    background: var(--orange-light);
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .mobile-toggle {
        display: none;
    }
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-900);
    transition: 0.3s;
}

/* Hero */
.hero {
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    gap: 60px;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.hero h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--blue);
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }
}

.lead {
    font-size: 19px;
    color: var(--gray-700);
    margin-bottom: 16px;
    font-weight: 500;
}

.hero p {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--orange-light);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue);
    border: 2px solid var(--blue);
}

.btn-secondary:hover {
    background: var(--blue);
    color: var(--white);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 17px;
    color: var(--gray-600);
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
    background: var(--gray-50);
}

.services-list {
    display: grid;
    gap: 32px;
}

@media (min-width: 640px) {
    .services-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-item {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.service-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 12px;
}

.service-item p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.link-arrow {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.link-arrow:hover {
    color: var(--orange-light);
}

/* Why Choose */
.why-choose {
    padding: 80px 0;
}

.why-grid {
    display: grid;
    gap: 60px;
    align-items: center;
}

@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.why-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    margin-bottom: 32px;
}

.feature-list li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    color: var(--gray-700);
    font-size: 16px;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: bold;
    font-size: 18px;
}

.why-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Team Preview */
.team-preview {
    padding: 80px 0;
    background: var(--gray-50);
}

.team-cards {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .team-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }
}

.team-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.team-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.team-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--blue);
    margin: 24px 24px 8px;
}

.designation {
    color: var(--orange);
    font-weight: 600;
    font-size: 14px;
    margin: 0 24px 16px;
}

.team-card p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 24px 24px;
}

.team-card .link-arrow {
    margin: 0 24px 24px;
    display: inline-block;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

.testimonial-grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial {
    background: var(--gray-50);
    padding: 32px;
    border-radius: 8px;
    border-left: 4px solid var(--orange);
}

.testimonial p {
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.patient strong {
    display: block;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 4px;
}

.patient span {
    color: var(--gray-600);
    font-size: 14px;
}

/* CTA */
.cta {
    padding: 80px 0;
    background: var(--blue);
    color: var(--white);
}

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

.cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.cta p {
    font-size: 18px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Widget Section */
.contact-widget-section {
    padding: 60px 0;
    background: var(--gray-50);
}

.contact-widget-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 12px;
}

.contact-widget-section p {
    text-align: center;
    font-size: 17px;
    color: var(--gray-600);
    margin-bottom: 40px;
}

.contact-widget-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-200);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 60px;
    }
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--gray-200);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--orange);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: background 0.2s;
}

.social-links a:hover {
    background: var(--orange);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
}

/* Page Header */
.page-header {
    background: var(--blue);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Content Section */
.content-section {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    gap: 60px;
    align-items: start;
}

@media (min-width: 768px) {
    .content-grid {
        grid-template-columns: 2fr 1fr;
        gap: 80px;
    }
}

.content-main h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 20px;
}

.content-main p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 16px;
}

.text-center-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.text-center-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 20px;
}

.text-center-content .lead {
    font-size: 19px;
    color: var(--gray-700);
    margin-bottom: 20px;
    font-weight: 500;
}

.text-center-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 16px;
}

/* Why Section */
.why-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-box {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.feature-box h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 12px;
}

.feature-box p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Service Detail */
.service-detail {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    margin-bottom: 40px;
    scroll-margin-top: 100px;
}

.service-detail h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 20px;
}

.service-detail h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 24px 0 12px;
}

.service-detail p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 16px;
}

.service-detail ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.service-detail li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 8px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 99;
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Case Gallery */
.case-gallery {
    display: grid;
    gap: 24px;
    margin-bottom: 40px;
}

@media (min-width: 640px) {
    .case-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

.case-item {
    display: flex;
    flex-direction: column;
}

.case-item img {
    width: 100%;
    height: auto;
    min-height: 250px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.case-item p {
    margin-top: 12px;
    font-size: 15px;
    color: var(--gray-700);
    text-align: center;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    color: var(--gray-900);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
}

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

/* Map */
.map-container {
    margin: 40px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Blog Listing */
.blog-grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.blog-card {
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 24px;
}

.blog-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 12px;
}

.blog-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Mobile Menu */
@media (max-width: 1023px) {
    .nav-menu {
        position: fixed;
        top: 82px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: left 0.3s;
        z-index: 99;
    }

    .nav-menu.active {
        left: 0;
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 12px 0;
        font-size: 16px;
    }
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 767px) {
    .hero h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    .lead {
        font-size: 17px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .service-item,
    .feature-box,
    .testimonial,
    .team-card,
    .blog-card {
        padding: 24px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        order: -1;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-card img {
        height: 250px;
    }

    .case-item img {
        min-height: 200px;
    }

    .content-grid[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .contact-widget-container {
        padding: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .nav-wrap {
        padding: 12px 0;
    }

    .logo img {
        height: 40px;
    }

    .service-detail {
        padding: 24px;
    }

    .service-detail h2 {
        font-size: 24px;
    }

    .service-detail h3 {
        font-size: 18px;
    }

    .map-container iframe {
        height: 300px;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero h1 {
        font-size: 40px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .services-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-card img {
        height: 300px;
    }
}

/* Fix mobile menu positioning */
@media (max-width: 1023px) {
    .nav-menu {
        top: 70px;
    }

    body {
        padding-top: 0;
    }
}

/* Improve touch targets on mobile */
@media (max-width: 767px) {
    a, button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu a {
        min-height: 48px;
    }

    .link-arrow {
        padding: 8px 0;
    }
}
