/* ==============================================
   Koyna Healthcare — Professional Stylesheet
   ============================================== */

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f7f9fc;
    color: #333;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

/* ── Buttons ─────────────────────────────── */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: #1b3c74;
    color: white;
    border-color: #1b3c74;
}

.btn-primary:hover {
    background: #0d2b5e;
    border-color: #0d2b5e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 60, 116, 0.35);
}

.btn-outline {
    background: transparent;
    color: #1b3c74;
    border-color: #1b3c74;
}

.btn-outline:hover {
    background: #1b3c74;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #1b3c74;
    padding: 0;
    border: none;
    font-weight: 600;
    font-size: 15px;
}

.btn-secondary:hover {
    color: #0066cc;
}

/* ── Hero Banner ─────────────────────────── */
.hero-banner {
    position: relative;
    background: white;
    display: flex;
    flex-direction: column;
}

.hero-banner::before,
.hero-banner::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
    display: none;
}

.hero-banner::before {
    top: 0;
    height: 100px;
    background: linear-gradient(to bottom, #f7f9fc 0%, transparent 100%);
}

.hero-banner::after {
    bottom: 0;
    height: 100px;
    background: linear-gradient(to top, #f7f9fc 0%, transparent 100%);
}

/* ── Navbar ──────────────────────────────── */
.navbar {
    position: relative;
    z-index: 10;
    padding: 18px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-bottom: 1px solid #e8ecf2;
}

.navbar.solid {
    background: white;
    border-bottom: 1px solid #e8ecf2;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #1b3c74;
}

nav {
    display: flex;
    gap: 8px;
}

nav a {
    padding: 8px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #1b3c74;
    border-radius: 6px;
    transition: all 0.3s;
}

nav a:hover,
nav a.active {
    background: rgba(27, 60, 116, 0.08);
    color: #0d2b5e;
}

/* ── Hero Content ────────────────────────── */
.hero {
    position: relative;
    z-index: 2;
    padding: 60px 5% 80px;
    min-height: 380px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-content h1 {
    font-size: 46px;
    font-weight: 800;
    color: #0d1f3c;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* ── Highlights Strip ────────────────────── */
.highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: #1b3c74;
}

.highlight-card {
    padding: 35px 30px;
    color: white;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.3s;
}

.highlight-card:last-child {
    border-right: none;
}

.highlight-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

.highlight-num {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.highlight-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.highlight-card p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 16px;
}

.highlight-link {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    transition: color 0.3s;
}

.highlight-link:hover {
    color: white;
}

/* ── Stats Section ───────────────────────── */
.stats {
    padding: 60px 0;
    background: white;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: #1b3c74;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #718096;
    margin-top: 8px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: #e2e8f0;
}

/* ── Content Sections ────────────────────── */
.section {
    padding: 70px 0;
}

.section-light {
    background: white;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #1b3c74;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.content-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.content-row.reverse {
    flex-direction: row-reverse;
}

.content-media {
    flex: 0 0 45%;
}

.content-media img {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.content-text {
    flex: 1;
}

.content-text h2 {
    font-size: 20px;
    font-weight: 700;
    color: #b8912a;
    margin-bottom: 16px;
    line-height: 1.3;
}
.content-text h3 {
    font-size: 15px;
    font-weight: 700;
    color: #b8912a;
    margin: 5px 0;
}

.content-text p {
    font-size: 15px;
    color: #4a5568;
    margin-bottom: 12px;
    line-height: 1.7;
}

.content-text .btn-secondary {
    margin-top: 8px;
}

.content-text ul {
    list-style: none;
    padding: 0;
}

.content-text li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 15px;
    color: #4a5568;
}

.content-text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 17px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1b3c74;
}

/* ── Page Header (non-hero pages) ────────── */
.page-header {
    background: #1b3c74;
    padding: 50px 5%;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: white;
}

.page-header p {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    margin-top: 8px;
}

/* ── Section Heading (centered) ──────────── */
.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 16px;
    font-weight: 700;
    color: #0d1f3c;
}

/* ── Contact Block ───────────────────────── */
.contact-block {
    text-align: center;
    padding: 20px 0;
}

.contact-block h2 {
    font-size: 16px;
    font-weight: 700;
    color: #0d1f3c;
    margin-bottom: 12px;
}

.contact-block p {
    font-size: 18px;
    color: #4a5568;
}

.contact-block a {
    color: #1b3c74;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-block a:hover {
    color: #0066cc;
}

/* ── Mentors Grid ────────────────────────── */
.mentor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.mentor-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.mentor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.mentor-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    background: #e8ecf2;
}

.mentor-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0d1f3c;
    margin-bottom: 4px;
}

.mentor-card p {
    font-size: 15px;
    color: #718096;
}

/* ── Footer ──────────────────────────────── */
.footer {
    background: #0d1f3c;
    color: white;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-brand h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    max-width: 300px;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-links a {
    display: block;
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    padding: 4px 0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 15px;
    color: #b8912a;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 768px) {
    .highlights {
        grid-template-columns: 1fr 1fr;
    }

    .content-row,
    .content-row.reverse {
        flex-direction: column;
    }

    .content-media {
        flex: none;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .highlights {
        grid-template-columns: 1fr;
    }

    .navbar {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions {
        flex-direction: column;
    }
}
/* ══════════════════════════════════════════════════
   PHOTO IMAGE SLIDER STYLES
   ══════════════════════════════════════════════════ */

.photo-slider-section {
    position: relative;
    width: 100%;
    height: 550px;
    background: white;
    overflow: hidden;
}

.photo-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Photo Slides */
.photo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-slide.active {
    opacity: 1;
    z-index: 10;
}

/* Slide Image */
.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Healthcare Icon Overlay */
.slide-icon-overlay {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
    opacity: 0.3;
}

.photo-slide[data-position="left"] .slide-icon-overlay {
    left: 5%;
}

.photo-slide[data-position="right"] .slide-icon-overlay {
    left: auto;
    right: 5%;
}

.photo-slide[data-position="center"] .slide-icon-overlay {
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Gradient Overlay - Top & Bottom Fade to White */
.slide-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.6) 8%, transparent 20%),
        linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.6) 8%, transparent 20%);
    z-index: 3;
    pointer-events: none;
}

/* Slide Content - Editable Title */
.slide-content {
    position: absolute;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.slide-content-right {
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
    max-width: 42%;
}

.slide-content-left {
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    max-width: 42%;
}

.slide-content-center {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 50%;
}

.slide-title {
    font-size: 52px;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    text-shadow: 0 6px 25px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
    margin: 0;
    padding: 12px;
    outline: none;
    cursor: text;
    border-radius: 6px;
    transition: all 0.2s ease;
    word-wrap: break-word;
    white-space: normal;
}

.slide-title:focus {
    background: rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.slide-title:hover {
    background: rgba(0, 0, 0, 0.08);
}

.slide-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    margin: 0;
    padding: 0 12px;
}

/* Slider Navigation Controls */
.slider-nav {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #1b3c74;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
    background: white;
    border-color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: scale(1.08);
}

.nav-btn:active {
    transform: scale(0.95);
}

.nav-btn svg {
    transition: transform 0.3s ease;
}

.nav-btn:hover svg {
    transform: scale(1.2);
}

/* Slider Dots Navigation */
.slider-dots-nav {
    display: flex;
    gap: 14px;
    align-items: center;
}

.dot-nav {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2.5px solid rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.dot-nav:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.dot-nav.active {
    background: white;
    border-color: white;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.8);
    width: 18px;
    height: 18px;
}

/* Auto-play Progress Bar */
.slider-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
    animation: slideProgress 6s linear infinite;
    z-index: 15;
}

@keyframes slideProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ── Responsive Design ─────────────────── */
@media (max-width: 1200px) {
    .photo-slider-section {
        height: 500px;
    }

    .slide-title {
        font-size: 44px;
    }

    .slide-content-right,
    .slide-content-left {
        max-width: 48%;
        padding: 30px;
    }

    .slide-icon-overlay {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 1024px) {
    .photo-slider-section {
        height: 450px;
    }

    .slide-title {
        font-size: 36px;
    }

    .slide-subtitle {
        font-size: 16px;
    }

    .slide-content-right,
    .slide-content-left,
    .slide-content-center {
        max-width: 55%;
        padding: 25px;
    }

    .slide-icon-overlay {
        width: 140px;
        height: 140px;
        left: 8%;
    }

    .photo-slide[data-position="right"] .slide-icon-overlay {
        right: 8%;
    }

    .slider-nav {
        bottom: 25px;
        gap: 20px;
    }

    .nav-btn {
        width: 44px;
        height: 44px;
    }

    .dot-nav {
        width: 12px;
        height: 12px;
    }

    .dot-nav.active {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 768px) {
    .photo-slider-section {
        height: 380px;
    }

    .slide-title {
        font-size: 28px;
        line-height: 1.2;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .slide-subtitle {
        font-size: 14px;
    }

    .slide-content-right,
    .slide-content-left,
    .slide-content-center {
        max-width: 65%;
        padding: 20px;
    }

    .slide-content-right {
        right: 40px;
    }

    .slide-content-left {
        left: 40px;
    }

    .slide-icon-overlay {
        width: 120px;
        height: 120px;
        opacity: 0.25;
    }

    .slider-nav {
        bottom: 20px;
        gap: 15px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
    }

    .nav-btn svg {
        width: 24px;
        height: 24px;
    }

    .slider-progress-bar {
        height: 3px;
    }
}

@media (max-width: 640px) {
    .photo-slider-section {
        height: 320px;
    }

    .slide-title {
        font-size: 22px;
        padding: 8px;
    }

    .slide-subtitle {
        font-size: 13px;
    }

    .slide-content-right,
    .slide-content-left,
    .slide-content-center {
        max-width: 80%;
        padding: 15px;
    }

    .slide-content-right {
        right: 20px;
    }

    .slide-content-left {
        left: 20px;
    }

    .slide-icon-overlay {
        width: 100px;
        height: 100px;
        display: none;
    }

    .slider-nav {
        bottom: 15px;
        gap: 12px;
    }

    .nav-btn {
        width: 36px;
        height: 36px;
    }

    .nav-btn svg {
        width: 20px;
        height: 20px;
    }

    .dot-nav {
        width: 10px;
        height: 10px;
    }

    .dot-nav.active {
        width: 14px;
        height: 14px;
    }

    .slider-dots-nav {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .photo-slider-section {
        height: 280px;
    }

    .slide-title {
        font-size: 18px;
    }

    .slide-subtitle {
        font-size: 12px;
    }

    .slide-content-right,
    .slide-content-left,
    .slide-content-center {
        max-width: 85%;
        padding: 12px;
    }

    .slider-nav {
        bottom: 12px;
    }

    .nav-btn {
        width: 32px;
        height: 32px;
    }

    .nav-btn svg {
        width: 18px;
        height: 18px;
    }
}