@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Merriweather:wght@700&family=Tiro+Bangla&display=swap');

:root {
    --primary: rgb(27 31 108);
    /* Navy Blue */
    --accent: #ffaf10;
    /* Gold */
    --text: #333;
    --light-bg: #f4f6f8;
    --white: #fff;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.08);

    /* Mapped variables for page styles */
    --primary-color: var(--primary);
    --primary-light: var(--accent);
    --primary-dark: var(--primary);
    --secondary-color: var(--primary);
    --text-main: var(--text);
    --text-white: var(--white);
    --text-light: #666;
    --bg-main: var(--white);
    --bg-light: var(--light-bg);
    --shadow-sm: var(--shadow);
    --shadow-md: var(--shadow);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --space-lg: 2rem;
    --space-xl: 4rem;
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light-bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

/* --- HEADER (LOGO + TEXT VERSION) --- */
header {
    background: white;
    border-bottom: 4px solid var(--primary);
    width: 100%;
}

.text-header {
    background-color: var(--primary);
    /* Navy Blue Background */
    padding: 25px 20px;
    color: white;
}

.text-header:hover {
    background-color: var(--primary) !important;
    color: white !important;
}

/* FLEXBOX: Puts Logo and Text Side-by-Side */
.header-flex {
    display: flex;
    align-items: center;
    /* Vertically Center */
    justify-content: center;
    /* Horizontally Center */
    gap: 20px;
    /* Space between Logo and Text */
    max-width: 1200px;
    margin: 0 auto;
}

/* LOGO STYLES (UPDATED: No background) */
.school-logo {
    height: 90px;
    /* Fixed Height for PC */
    width: auto;
    border-radius: 5px;
    /* background: white;  <-- REMOVED */
    /* padding: 5px;       <-- REMOVED */
}

/* TEXT BLOCK */
.header-text-block {
    text-align: left;
}

/* PC SIZE: Big and Grand */
.site-title {
    margin: 0;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 2.5rem;
    /* Large size for PC */
    line-height: 1.1;
}

.site-subtitle {
    margin: 5px 0 0;
    color: var(--accent);
    /* Gold Text */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    text-align: right;
}

/* News Ticker */
.news-ticker {
    background: #eef2f5;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    font-family: 'Tiro Bangla', serif;
    height: 40px;
}

.ticker-label {
    background: #d32f2f;
    color: white;
    padding: 0 20px;
    font-weight: bold;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

marquee {
    flex: 1;
    color: #d32f2f;
    font-weight: bold;
    font-size: 0.95rem;
    padding-top: 3px;
}

/* --- NAVIGATION --- */
nav {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.nav-container {
    width: 96%;
    margin: auto;
    display: flex;
    justify-content: center;
    position: relative;
    min-height: 50px;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.menu a {
    color: rgba(255, 255, 255, 0.9);
    padding: 14px 20px;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
    display: block;
}

.menu a:hover,
.menu a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    border-bottom: 3px solid var(--accent);
}

/* LOGIN BUTTON */
.login-item {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    height: 100%;
    top: 0;
}

.menu a.login-btn {
    background: var(--accent);
    color: var(--primary) !important;
    border-radius: 4px;
    padding: 8px 18px;
    font-weight: 700;
    border-bottom: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.menu a.login-btn:hover {
    background: #e6b800;
    /* slightly darker gold */
    transform: translateY(-2px);
    border-bottom: none;
}

/* MOBILE HAMBURGER */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    position: absolute;
    right: 20px;
    top: 12px;
    cursor: pointer;
    z-index: 1100;
}

.brand-mobile {
    display: none;
    color: white;
    font-weight: bold;
    font-size: 18px;
    padding: 12px;
}

/* --- PAGE LAYOUT (GRID AREAS) --- */
.page-container {
    width: 96%;
    margin: 15px auto;
    padding: 0;
    flex: 1;
}

.content-wrapper {
    display: grid;
    grid-template-areas: "main sidebar";
    grid-template-columns: 3fr 1fr;
    /* 75% Left, 25% Right */
    gap: 30px;
    align-items: start;
}

.main-content {
    grid-area: main;
}

#sidebar-container {
    grid-area: sidebar;
}

/* --- SIDEBAR WIDGETS --- */
.sidebar-widget {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #eee;
}

.widget-header {
    padding: 12px 15px;
    color: white;
    font-family: 'Merriweather', serif;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.notice-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.links-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.contact-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.widget-content {
    padding: 15px;
}

.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li {
    list-style-type: none;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    font-size: 0.9rem;
}

.widget-list a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.contact-icon {
    width: 30px;
    height: 30px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 0.8rem;
}

/* --- GENERAL STYLES --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 15px;
    grid-column: 1 / -1;
}

.hero h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-family: 'Merriweather', serif;
}

.btn {
    background: var(--accent);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
    font-size: 0.9rem;
}

.section-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: 30px;
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-top: 4px solid var(--primary);
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.read-more {
    color: var(--primary);
    font-weight: bold;
    display: block;
    margin-top: 10px;
    background: #eef2f5;
    padding: 8px;
    text-align: center;
    border-radius: 4px;
}

/* STAFF CARDS */
/* --- 1. FORCE IDENTICAL SIZE FOR PHOTO & BOX --- */
.staff-img,
.no-img-box {
    width: 240px !important;
    /* STRICT FIXED WIDTH */
    height: 260px !important;
    /* STRICT FIXED HEIGHT */

    border-radius: 10px;
    margin: 0 auto 15px;
    /* Centered */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    /* Includes border in the 240px width */
    display: block;
}

/* Real Image Specifics */
.staff-img {
    object-fit: cover;
    /* Ensures photo doesn't stretch */
    border: 3px solid var(--accent);
}

/* No-Image Box Specifics */
.no-img-box {
    background-color: #f0f2f5;
    border: 3px solid #ccc;
    /* Gray Border */
    display: flex;
    justify-content: center;
    align-items: center;
}

.no-img-box i {
    font-size: 6rem;
    color: #bdc3c7;
}

/* --- 2. ADJUST GRID TO FIT THE 240PX IMAGES --- */
.staff-grid {
    display: grid;
    /* Columns must be at least 280px wide to hold a 240px image + padding */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

/* --- 3. CARD STYLING --- */
.staff-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    /* Padding around the image */
    text-align: center;
    transition: 0.3s ease-in-out;
    border-bottom: 4px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.staff-card:hover {
    transform: translateY(-5px);
    border-bottom: 4px solid var(--accent);
}

/* FOOTER */
footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 50px 0 20px;
    margin-top: auto;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    width: 96%;
    margin: auto;
    padding: 0;
}

.footer-col h3 {
    color: white;
    margin-bottom: 15px;
    border-left: 3px solid var(--accent);
    padding-left: 10px;
    font-size: 1.1rem;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.85rem;
}

/* --- MOBILE RESPONSIVE LOGIC --- */
@media (max-width: 900px) {

    /* 1. Header Text & Logo Resizing */
    .text-header {
        padding: 15px 10px;
    }

    .header-flex {
        gap: 12px;
        justify-content: center;
        /* Align Center */
    }

    .school-logo {
        height: 50px;
        /* Small Logo */
    }

    .site-title {
        font-size: 1.5rem;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "sidebar";
    }

    /* 3. Mobile Menu */
    .nav-container {
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 15px;
    }

    .brand-mobile {
        display: block;
    }

    .hamburger {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--primary);
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        align-items: stretch;
    }

    .menu.show {
        display: flex;
    }

    .menu li {
        width: 100%;
    }

    .menu a {
        text-align: left;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        color: white;
        box-sizing: border-box;
    }

    .login-item {
        position: static;
        height: auto;
        width: 100%;
        display: block;
        margin: 0;
    }

    .menu a.login-btn {
        text-align: center;
        margin: 15px auto;
        width: 90%;
        box-sizing: border-box;
        padding: 12px;
    }
}

/* --- GALLERY STYLES --- */
.gallery-title {
    color: var(--primary);
    font-family: 'Merriweather', serif;
    margin-bottom: 20px;
    border-left: 5px solid var(--accent);
    padding-left: 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.gallery-item {
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.section-divider {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 30px 0;
}

/* --- LIGHTBOX STYLES --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border: 5px solid white;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--accent);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent);
    color: var(--primary);
}


/* --- COLORFUL READ MORE BUTTONS --- */
.read-more {
    display: block;
    margin-top: 15px;
    padding: 10px 15px;
    text-align: center;
    border-radius: 50px;
    /* Rounded Pill Shape */
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: none;
}

.read-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    color: white;
}

/* 1. Orange Gradient (For Book List/New) */
.btn-orange {
    background: linear-gradient(135deg, #FF512F, #DD2476);
}

/* 2. Blue Gradient (For Notices) */
.btn-blue {
    background: linear-gradient(135deg, #1A2980, #26D0CE);
}

/* 3. Green Gradient (For Gallery/Sports) */
.btn-green {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

/* --- DROPDOWN NAVIGATION MENU --- */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 3px solid var(--accent);
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 20px;
    font-size: 13px;
    text-transform: uppercase;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

@media (min-width: 901px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

@media (max-width: 900px) {
    .dropdown-menu {
        display: none;
        position: static;
        background: rgba(0, 0, 0, 0.15);
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        padding-left: 15px;
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-menu a {
        border-bottom: none;
        padding: 12px 20px;
    }
}

/* ========================================
   Page Headers (For About, Admissions, etc.)
   ======================================== */
.page-header {
    padding: 80px 0 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-dark));
    color: var(--text-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg-main);
    transform: skewY(-3deg);
    z-index: 1;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.breadcrumb {
    display: inline-flex;
    gap: 10px;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb a {
    color: var(--primary-light);
    font-weight: 600;
}

.breadcrumb span {
    color: var(--text-white);
}

/* ========================================
   Content Layouts
   ======================================== */
.content-box {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-xl);
}

.content-box h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.content-box p {
    margin-bottom: 1rem;
}

/* ========================================
   Forms & Contact
   ======================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
}

.contact-info-card {
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.contact-info-card h3 {
    color: var(--primary-light);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-detail svg {
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-form-card {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background-color: #F8FAFC;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--bg-light);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Map */
.map-container {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========================================
   Admissions Steps
   ======================================== */
.admissions-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.step-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-light);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    position: relative;
    border-top: 5px solid var(--primary-color);
    transition: transform var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: -50px auto 1rem;
    box-shadow: var(--shadow-sm);
    border: 4px solid var(--bg-main);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-header {
        padding: 120px 0 60px;
    }

    .content-box,
    .contact-form-card,
    .contact-info-card {
        padding: 2rem;
    }
}

/* --- UTILITIES --- */
.text-red {
    color: #d32f2f !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-yellow {
    color: #ffcc00 !important;
    text-shadow: 0px 0px 1px #000;
}

.text-muted {
    color: #555 !important;
}

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.font-sm {
    font-size: 0.9rem !important;
}

.mb-3 {
    margin-bottom: 15px !important;
}

.line-height-lg {
    line-height: 1.6 !important;
}

.w-100 {
    width: 100% !important;
}

.d-inline-block {
    display: inline-block !important;
}

.font-weight-bold {
    font-weight: bold !important;
}

.badge-new {
    background: red;
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 5px;
    font-weight: bold;
}

.contact-text {
    font-size: 0.9rem;
    color: #555;
}

/* --- CARD EXTENSIONS --- */
.card-badge {
    font-weight: bold;
    margin-bottom: 5px;
}

.card h3 {
    color: var(--primary);
}

/* --- INFO BLOCK --- */
.info-block {
    margin-top: 40px;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary);
}

.read-more-link {
    color: var(--primary);
    font-weight: bold;
    margin-top: 15px;
    display: inline-block;
}

/* --- NEW INDEX PAGE STYLES --- */
.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.explore-card {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.explore-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.explore-card.accent-orange::before { background: #f97316; opacity: 1; }
.explore-card.accent-blue::before { background: #3b82f6; opacity: 1; }
.explore-card.accent-green::before { background: #10b981; opacity: 1; }

.explore-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.explore-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.accent-orange .explore-icon { background: rgba(249,115,22,0.1); color: #ea580c; }
.accent-blue .explore-icon { background: rgba(59,130,246,0.1); color: #2563eb; }
.accent-green .explore-icon { background: rgba(16,185,129,0.1); color: #059669; }

.explore-content h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    color: var(--primary);
    margin: 0 0 5px 0;
}
.explore-content p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.explore-arrow {
    margin-top: 15px;
    color: var(--accent);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}
.explore-card:hover .explore-arrow {
    transform: translateX(5px);
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a1e5c 100%);
    border-radius: 16px;
    padding: 30px 20px;
    color: white;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(27,31,108,0.15);
}

.stat-number {
    font-family: 'Merriweather', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* About Feature Block */
.about-feature-block {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    background: white;
    border-radius: 16px;
    padding: 30px;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
}

.feature-badge {
    background: rgba(255,175,16,0.15);
    color: #b47800;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.feature-title {
    font-family: 'Merriweather', serif;
    color: var(--primary);
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 15px;
}

.feature-desc {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.btn-feature {
    display: inline-block;
    background: var(--primary);
    color: white !important;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(27,31,108,0.2);
}

.btn-feature:hover {
    background: var(--accent);
    color: var(--primary) !important;
    transform: translateY(-2px);
}

.img-placeholder-rich {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 16px;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

.img-overlay-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.9);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Merriweather', serif;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .stats-section { grid-template-columns: 1fr; gap: 20px; }
    .about-feature-block { grid-template-columns: 1fr; padding: 20px; }
}