@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #8B0000;
    /* Deep Maroon */
    --primary-light: #A52A2A;
    --secondary: #FDFBF7;
    /* Light Beige */
    --accent: #C5A059;
    /* Soft Gold */
    --accent-green: #2D5A27;
    /* Deep Green for health */
    --text-dark: #1A1A1A;
    --text-muted: #555555;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --container-width: 1200px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--secondary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.page-header {
    background: linear-gradient(rgba(139, 0, 0, 0.05), rgba(139, 0, 0, 0.05)), url('../assets/images/WhatsApp Image 2026-05-10 at 12.44.17 PM.jpeg');
    background-size: cover;
    background-position: center;
    padding: 180px 0 120px;
    text-align: center;
    color: var(--primary);
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.33);
    }

    80%,
    100% {
        opacity: 0;
    }
}

.animate {
    opacity: 0;
}

.animate.visible {
    animation: fadeInUp 0.8s forwards;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition);
    background: transparent;
}

nav.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    box-shadow: var(--shadow);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Grid System */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {

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

@media (max-width: 600px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, #fff5f5 0%, var(--secondary) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text .highlight {
    color: var(--primary);
    position: relative;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: rgba(139, 0, 0, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

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

.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Visual & ECG */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.main-hero-img {
    width: 100%;
    height: 600px;
    display: block;
    border-radius: 30px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    object-position: center;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    color: var(--primary);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.icon-1 {
    top: 10%;
    left: -30px;
}

.icon-2 {
    bottom: 20%;
    right: -20px;
    animation-delay: 1s;
}

.icon-3 {
    top: 40%;
    right: 10px;
    animation-delay: 2s;
}

.ecg-container {
    position: absolute;
    bottom: -40px;
    left: -100px;
    width: 120%;
    z-index: 1;
    opacity: 0.3;
}

.ecg-svg {
    width: 100%;
}

.ecg-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawEcg 5s linear infinite;
}

@keyframes drawEcg {
    to {
        stroke-dashoffset: 0;
    }
}

/* Trust & Treatment Cards */
.bg-light {
    background-color: #f9f7f2;
}

.trust-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.trust-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.trust-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.treatment-card:hover {
    background: var(--primary);
    color: var(--white);
}

.treatment-card:hover .card-icon,
.treatment-card:hover p,
.treatment-card:hover h3,
.treatment-card:hover .learn-more {
    color: var(--white);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(139, 0, 0, 0.05);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.treatment-card:hover .card-icon {
    background: rgba(255, 255, 255, 0.1);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.learn-more {
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Products Section */
.product-card {
    text-align: center;
    padding: 2rem;
}

.product-img {
    height: 250px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

/* Why Choose Styles */
.why-visual {
    position: relative;
    padding-right: 2rem;
}

.why-visual img {
    width: 100%;
    max-width: 450px;
    height: 590px;
    display: block;
    margin: 15px;
    object-fit: cover;
    border-radius: 30px;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 0;
    background: var(--accent);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    z-index: 2;
}

.experience-badge span {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.why-list {
    margin: 2rem 0;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.why-list i {
    color: var(--accent-green);
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.stars {
    color: #FACC15;
    margin-bottom: 1rem;
}

.stars i {
    width: 16px;
    fill: #FACC15;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.patient-info strong {
    display: block;
    color: var(--primary);
}

.patient-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, #5a0000 100%);
    border-radius: 40px;
    padding: 7rem 5rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

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

.btn-white:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

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

/* Footer */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 100px 0 40px;
}

.footer .logo {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer p {
    color: #aaa;
    font-size: 0.9rem;
}

.footer h4 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.socials a:hover {
    background: var(--primary);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* Floating Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.float-btn:hover {
    transform: scale(1.1) translateY(-5px);
}

.float-btn.whatsapp {
    background-color: #25D366;
}

.float-btn.call {
    background-color: var(--primary);
}

.float-btn i {
    width: 28px;
    height: 28px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item i {
    color: var(--primary);
    width: 24px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-family: inherit;
}

.map-container {
    margin-top: 4rem;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom Tabs component */
.custom-tabs-container {
    max-width: 1100px;
    margin: 0 auto;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.2);
    transform: translateY(-2px);
}

.tab-btn:hover:not(.active) {
    background: #fdfbf7;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeInUp 0.6s forwards;
}

.tab-text {
    padding-right: 2rem;
}

.tab-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

.tab-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.tab-image {
    position: relative;
}

.tab-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.align-center {
    align-items: center;
}

/* Video Card Hover Effects */
.video-card {
    transition: var(--transition);
}

.video-card a {
    text-decoration: none;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.video-card:hover .video-thumbnail div {
    background: rgba(0, 0, 0, 0.1) !important;
}

.video-card:hover .video-thumbnail i {
    transform: scale(1.1);
    color: var(--primary) !important;
}

.video-card:hover h4 {
    color: var(--primary) !important;
}