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

:root {
    --primary: #0ea5e9;
    --primary-light: #e0f2fe;
    --primary-dark: #0284c7;
    --secondary: #10b981;
    --secondary-light: #d1fae5;
    --dark: #0f172a;
    --text: #334155;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px -10px rgba(14, 165, 233, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.6; background-color: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.bg-light { background-color: var(--light); }
.text-center { text-align: center; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.text-secondary { color: var(--secondary); font-weight: 500; font-style: italic; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--dark); font-weight: 600; line-height: 1.2; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; position: relative; display: inline-block; }
.section-title span { color: var(--primary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.75rem; font-weight: 500; border-radius: 50px; cursor: pointer; border: none; font-size: 1rem; font-family: var(--font-heading); transition: var(--transition); }
.btn-lg { padding: 0.9rem 2.2rem; font-size: 1.1rem; }
.btn-primary { background-color: var(--primary); color: var(--white); box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4); }
.btn-outline { background-color: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background-color: var(--white); color: var(--primary); }
.btn-whatsapp { background-color: #25d366; color: var(--white); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); }
.btn-whatsapp:hover { background-color: #128C7E; transform: translateY(-3px); }
.btn-block { width: 100%; }

/* Header */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: 0 2px 15px rgba(0,0,0,0.05); transition: var(--transition); padding: 10px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 60px; }
.nav-menu ul { display: flex; align-items: center; gap: 2rem; }
.nav-link { font-weight: 500; font-size: 1.05rem; position: relative; padding: 0.5rem 0; color: var(--dark); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary); transition: var(--transition); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Hero */
.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.hero-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 1; transform: scale(1.05); transition: opacity 1.5s ease-in-out, transform 10s linear; }
.hero-bg.active { opacity: 1; transform: scale(1); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.35); z-index: 2; }
.hero-content { position: relative; z-index: 3; padding-top: 80px; }
.floating-title { font-size: 4.5rem; color: var(--white); margin-bottom: 0.5rem; animation: slideUp 1s forwards, float 6s ease-in-out infinite; }
.hero-subtitle { font-size: 2rem; color: var(--secondary-light); margin-bottom: 2rem; opacity: 0; animation: slideUp 1s forwards 0.3s; }
.taglines { margin-bottom: 3rem; background: rgba(255, 255, 255, 0.1); padding: 1.5rem; border-radius: 12px; backdrop-filter: blur(5px); border-left: 4px solid var(--primary); max-width: 600px; opacity: 0; animation: slideUp 1s forwards 0.6s; }
.taglines p { color: var(--white); font-size: 1.1rem; margin-bottom: 0.5rem; }
.taglines .tagline-en { font-weight: 600; font-size: 1.25rem; }
.taglines .tagline-bn { opacity: 0.9; }
.taglines .sub { font-style: italic; color: var(--secondary-light); font-size: 1.05rem; }
.hero-buttons { display: flex; gap: 1rem; opacity: 0; animation: slideUp 1s forwards 0.9s; }

/* Trust Strip */
.trust-strip { background-color: var(--white); padding: 2rem 0; margin-top: -50px; position: relative; z-index: 10; border-bottom: 1px solid var(--border); }
.trust-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.5rem; background: var(--white); border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: var(--transition); }
.trust-item:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.trust-icon { width: 60px; height: 60px; background-color: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; transition: var(--transition); }
.trust-item:hover .trust-icon { background-color: var(--primary); color: var(--white); }
.trust-item h3 { font-size: 1.1rem; font-weight: 600; }

/* About and Owners */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.lead-text { font-size: 1.1rem; color: var(--dark); margin-bottom: 1.5rem; }
.bengali-text-box { background-color: var(--light); border-left: 4px solid var(--secondary); padding: 1.5rem; border-radius: 0 8px 8px 0; margin-bottom: 2rem; font-size: 1.1rem; }
.owners-section { background: #f8fafc; padding: 1.5rem; border-radius: 12px; border: 1px solid var(--border); }
.owners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.owner-card { text-align: center; padding: 1.5rem; background: var(--white); border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: var(--transition); border-top: 3px solid var(--primary); }
.owner-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.owner-img { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 1rem; overflow: hidden; border: 3px solid var(--primary-light); }
.owner-img img { width: 100%; height: 100%; object-fit: cover; }
.owner-card h4 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.owner-role { font-size: 0.9rem; color: var(--primary); font-weight: 500; }
.about-images { position: relative; }
.image-wrapper { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.img-1 { width: 80%; height: 400px; border-radius: 12px; border-bottom-right-radius: 0; object-fit: cover; }
.img-2 { position: absolute; width: 50%; height: 300px; bottom: -30px; right: 0; border: 8px solid var(--white); border-radius: 12px; object-fit: cover; }
.experience-badge { position: absolute; bottom: 20px; left: -30px; background-color: var(--primary); color: var(--white); padding: 1rem 1.5rem; border-radius: 8px; display: flex; align-items: center; gap: 10px; box-shadow: 0 5px 15px rgba(14, 165, 233, 0.4); animation: float 4s infinite; }
.experience-badge .num { font-size: 2rem; font-weight: 700; font-family: var(--font-heading); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: var(--transition); display: flex; flex-direction: column; }
.service-card.highlight-icu { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; background: linear-gradient(to right, #ffffff, #f0fdf4); border: 2px solid var(--secondary); box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15); }
.service-card.highlight-icu .service-img { height: 100%; min-height: 350px; }
.service-card.highlight-icu .service-content { display: flex; flex-direction: column; justify-content: center; padding: 3rem 2rem; }
.service-card.highlight-icu h3 { font-size: 2rem; color: var(--secondary); }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.service-img { position: relative; height: 220px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-card:hover .service-img img { transform: scale(1.1); }
.pulse-badge { animation: pulse 2s infinite; background-color: var(--secondary); color: white; display: inline-block; padding: 0.4rem 1rem; border-radius: 50px; font-weight: 600; font-size: 0.85rem; margin-bottom: 1rem; }
.service-content { padding: 1.5rem; flex-grow: 1; }
.service-content h3 { font-size: 1.25rem; margin-bottom: 0.75rem; transition: var(--transition); }
.service-card:hover .service-content h3 { color: var(--primary); }

/* Doctors Section */
.doctors-tabs { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.tab-btn { padding: 0.8rem 2.5rem; font-size: 1.1rem; border-radius: 50px; border: 2px solid var(--primary); background: transparent; color: var(--primary); font-weight: 600; cursor: pointer; transition: var(--transition); font-family: var(--font-heading); }
.tab-btn.active, .tab-btn:hover { background: var(--primary); color: var(--white); box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3); }
.tab-content { display: none; animation: slideUp 0.5s forwards; }
.tab-content.active { display: block; }
.dept-grid { display: flex; flex-direction: column; gap: 2.5rem; }
.dept-card { background: var(--white); border-radius: 12px; padding: 0; box-shadow: 0 5px 20px rgba(0,0,0,0.05); overflow: hidden; border: 1px solid var(--border); transition: transform 0.3s ease; }
.dept-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.dept-card h3 { background: linear-gradient(to right, #f8fafc, #f1f5f9); color: var(--primary); margin: 0; padding: 1.2rem 2rem; font-size: 1.25rem; border-bottom: 2px solid var(--primary); display: flex; align-items: center; gap: 12px; }
.dept-card h3 i { color: var(--secondary); font-size: 1.4rem; }
.doc-item { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; padding: 1.2rem 2rem; border-bottom: 1px solid var(--border); transition: background 0.2s; gap: 1rem; }
.doc-item:nth-child(even) { background-color: #fafbfc; }
.doc-item:hover { background-color: #f1f5f9; }
.doc-item:last-child { border-bottom: none; }
.doc-name { font-weight: 600; color: var(--dark); font-size: 1.1rem; }
.doc-qual { font-size: 0.95rem; color: #64748b; text-align: right; }
.doc-role { grid-column: span 2; font-size: 0.85rem; color: var(--white); background: var(--secondary); display: inline-block; padding: 0.3rem 0.8rem; border-radius: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 5px; width: max-content; }


/* Reviews */
.reviews-slider { overflow: hidden; padding: 20px 0; }
.review-track { display: flex; gap: 2rem; overflow-x: auto; padding-bottom: 2rem; scrollbar-width: none; }
.review-card { min-width: 350px; background: var(--white); padding: 1.5rem; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid var(--border); flex-shrink: 0; }
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.reviewer-info { display: flex; align-items: center; gap: 1rem; }
.avatar { width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: bold; font-size: 1.2rem; overflow: hidden; background: var(--border); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.bg-blue { background: #4285F4; } .bg-green { background: #0F9D58; } .bg-orange { background: #F4B400; } .bg-purple { background: #8e44ad; }
.stars { color: #fbbc04; font-size: 0.8rem; margin-top: 0.2rem; }
.review-text { font-size: 0.95rem; font-style: italic; color: var(--text); }

/* Contact Section */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.info-item { display: flex; gap: 1.5rem; margin-bottom: 2rem; }
.info-item .icon { width: 50px; height: 50px; background: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.contact-form-wrap { background: var(--white); padding: 2.5rem; border-radius: 16px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.5rem; }
.form-control { width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--border); border-radius: 8px; font-family: var(--font-body); font-size: 1rem; }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }

/* Footer */
.footer { background-color: var(--dark); color: #94a3b8; padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer h3 { color: var(--white); margin-bottom: 1.5rem; }
.social-links a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--white); margin-right: 0.5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; text-align: center; }

/* Floating BTNs */
.floating-btn { position: fixed; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: white; box-shadow: 0 4px 15px rgba(0,0,0,0.2); z-index: 100; transition: var(--transition); }
.whatsapp-btn { bottom: 30px; right: 30px; background-color: #25d366; }
.emergency-btn { bottom: 30px; left: 30px; background-color: #ef4444; animation: pulse 2s infinite; }
.emergency-btn:hover, .whatsapp-btn:hover { transform: scale(1.1); }

/* Animations */
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }

/* Utils */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translate(0); }

/* Theme & Language Toggles */
.toggle-btns { display: flex; gap: 0.5rem; align-items: center; margin-left: 1rem; }
.btn-toggle { background: var(--light); color: var(--primary); border: 1px solid var(--border); padding: 0.5rem 0.8rem; border-radius: 8px; cursor: pointer; font-weight: bold; transition: var(--transition); min-width: 40px; display: flex; align-items: center; justify-content: center; }
.btn-toggle:hover { background: var(--primary); color: var(--white); }

/* Dark Mode Variables */
body.dark-mode {
    --white: #0f172a;
    --light: #1e293b;
    --dark: #f8fafc;
    --text: #cbd5e1;
    --border: #334155;
    background-color: #020617;
    color: var(--text);
}
body.dark-mode .header { background-color: rgba(15, 23, 42, 0.95); }
body.dark-mode .dept-card h3 { background: linear-gradient(to right, #1e293b, #0f172a); }
body.dark-mode .doc-item:nth-child(even) { background-color: #1e293b; }
body.dark-mode .doc-item:hover { background-color: #334155; }
body.dark-mode .review-card { background: #1e293b; }
body.dark-mode .section.bg-light { background-color: #0f172a !important; }
body.dark-mode .section.bg-white { background-color: #020617 !important; }
body.dark-mode .service-card { background: #1e293b; border-color: #334155; }
body.dark-mode .btn-toggle { background: #334155; color: #f8fafc; border-color: #475569; }
body.dark-mode .btn-toggle:hover { background: var(--primary); }
body.dark-mode .contact-form-wrap { background: #1e293b; }
body.dark-mode .form-control { background: #0f172a; color: var(--text); border-color: #334155; }

@media (max-width: 1024px) {
    .trust-container { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid { gap: 2rem; }
    .service-card.highlight-icu { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card.highlight-icu { grid-column: span 2; }
    .floating-title { font-size: 3rem; }
}
@media (max-width: 480px) {
    .trust-container, .services-grid { grid-template-columns: 1fr; }
    .service-card.highlight-icu { grid-column: span 1; }
    .img-2 { display: none; }
}
