/* ============================================
   Pondok Pesantren Salafiyyah Al-Munawir
   Design based on ziis.sch.id (Edubin template)
   ============================================ */

:root {
    --primary: #07294d;
    --primary-light: #0d4859;
    --primary-dark: #09313d;
    --accent: #ffc600;
    --accent-hover: #e6b200;
    --text-body: #505050;
    --text-muted: #8a8a8a;
    --text-heading: #1d2025;
    --bg-light: #f6f6f6;
    --bg-gray: #edf0f2;
    --white: #ffffff;
    --border: #e8e8e8;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition: all 0.3s ease;
}

/* ========== Base ========== */
body {
    font-family: var(--font-body);
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 600;
    margin-bottom: 15px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--accent); text-decoration: none; }

img { max-width: 100%; height: auto; }

/* ========== Buttons ========== */
.btn-accent {
    background: var(--accent);
    color: var(--primary);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 4px;
    border: none;
    font-family: var(--font-heading);
    transition: var(--transition);
    display: inline-block;
}
.btn-accent:hover {
    background: var(--accent-hover);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,198,0,0.4);
}

.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    border: none;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: var(--transition);
}
.btn-primary-custom:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
}

/* ========== Section Title ========== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title .sub-title {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 10px;
}
.section-title .sub-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent);
}
.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-heading);
    margin-top: 10px;
}

/* ========== Top Bar ========== */
.header-top {
    background: var(--primary-light);
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}
.header-top a { color: rgba(255,255,255,0.8); }
.header-top a:hover { color: var(--accent); }
.header-top .top-left i,
.header-top .top-right i {
    margin-right: 5px;
    color: var(--accent);
}
.header-top .top-right { text-align: right; }
.header-top .social-links a {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    margin-left: 5px;
    font-size: 12px;
}
.header-top .social-links a:hover {
    background: var(--accent);
    color: var(--primary);
}

/* ========== Navigation ========== */
.main-navigation {
    background: #fff;
    padding: 0;
    transition: var(--transition);
    z-index: 1000;
}
.main-navigation.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: var(--shadow);
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--primary) !important;
    line-height: 1.3;
}
.navbar-brand small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
}
.navbar-brand img {
    max-height: 50px;
    margin-right: 10px;
}
.main-navigation .navbar-nav .nav-link {
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
    padding: 20px 15px;
    font-family: var(--font-heading);
    transition: var(--transition);
    position: relative;
}
.main-navigation .navbar-nav .nav-link:hover,
.main-navigation .navbar-nav .nav-link.active {
    color: var(--accent);
}
.main-navigation .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.main-navigation .navbar-nav .nav-link:hover::after,
.main-navigation .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
    border-radius: 0;
    padding: 0;
    margin-top: 0;
}
.dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    font-family: var(--font-heading);
    color: var(--primary);
}
.dropdown-item:hover {
    background: var(--primary);
    color: #fff;
}

/* ========== Hero Slider ========== */
.hero-slider {
    position: relative;
    overflow: hidden;
}
.hero-slider .single-slide {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-slider .single-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(7,41,77,0.85) 0%, rgba(13,72,89,0.7) 100%);
}
.hero-slider .slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 80px 0;
}
.hero-slider .slide-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-slider .slide-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 600px;
}
.hero-slider .slide-content .btn-accent {
    font-size: 15px;
    padding: 14px 35px;
}
.hero-slider .slick-prev,
.hero-slider .slick-next {
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
}
.hero-slider .slick-prev { left: 20px; }
.hero-slider .slick-next { right: 20px; }
.hero-slider .slick-prev:before,
.hero-slider .slick-next:before {
    font-size: 24px;
}
.hero-slider .slick-dots {
    bottom: 25px;
}
.hero-slider .slick-dots li button::before {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
}
.hero-slider .slick-dots li.slick-active button::before {
    color: var(--accent);
}

/* ========== Programs Section ========== */
.programs-section {
    padding: 80px 0;
    background: var(--white);
}
.program-card {
    text-align: center;
    padding: 40px 25px 35px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: var(--transition);
    margin-bottom: 30px;
    background: #fff;
}
.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(7,41,77,0.1);
    border-color: var(--accent);
}
.program-card .icon-box {
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    background: rgba(7,41,77,0.06);
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: var(--transition);
}
.program-card:hover .icon-box {
    background: var(--accent);
}
.program-card .icon-box i {
    font-size: 32px;
    color: var(--primary);
    transition: var(--transition);
}
.program-card:hover .icon-box i {
    color: #fff;
}
.program-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
}
.program-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ========== About Section ========== */
.about-section {
    padding: 80px 0;
    background: var(--bg-light);
}
.about-section .about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.about-section .about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}
.about-section .about-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}
.about-section .about-content p {
    margin-bottom: 15px;
}
.about-section .about-features {
    margin-top: 20px;
}
.about-section .about-features li {
    padding: 5px 0;
    color: var(--text-body);
}
.about-section .about-features li i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 16px;
}

/* ========== Blog/News Section ========== */
.blog-section {
    padding: 80px 0;
    background: var(--white);
}
.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 30px;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}
.blog-card .card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}
.blog-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-card:hover .card-image img {
    transform: scale(1.05);
}
.blog-card .card-image .badge-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
}
.blog-card .card-body {
    padding: 25px;
}
.blog-card .card-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.blog-card .card-meta i {
    margin-right: 5px;
    color: var(--accent);
}
.blog-card .card-body h4 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}
.blog-card .card-body h4 a { color: var(--text-heading); }
.blog-card .card-body h4 a:hover { color: var(--accent); }
.blog-card .card-body p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}
.blog-card .read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    font-family: var(--font-heading);
}
.blog-card .read-more:hover { color: var(--accent); }
.blog-card .read-more i { margin-left: 5px; transition: var(--transition); }
.blog-card .read-more:hover i { transform: translateX(5px); }

/* ========== Facilities Section ========== */
.facilities-section {
    padding: 80px 0;
    background: var(--bg-light);
}
.facility-card {
    display: flex;
    align-items: center;
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.facility-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--accent);
}
.facility-card .icon-box {
    width: 60px;
    height: 60px;
    min-width: 60px;
    line-height: 60px;
    text-align: center;
    background: rgba(7,41,77,0.06);
    border-radius: 50%;
    margin-right: 20px;
    transition: var(--transition);
}
.facility-card:hover .icon-box {
    background: var(--accent);
}
.facility-card .icon-box i {
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
}
.facility-card:hover .icon-box i { color: #fff; }
.facility-card h5 {
    font-size: 16px;
    margin-bottom: 5px;
}
.facility-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ========== Stats Counter ========== */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
}
.stats-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 200px;
}
.stat-item {
    text-align: center;
    padding: 30px 15px;
    position: relative;
    z-index: 1;
}
.stat-item .stat-icon {
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 15px;
}
.stat-item .stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
    margin-bottom: 5px;
}
.stat-item .stat-label {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    font-family: var(--font-heading);
}

/* ========== Agenda Section ========== */
.agenda-section {
    padding: 80px 0;
    background: var(--white);
}
.agenda-card {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    transition: var(--transition);
}
.agenda-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.agenda-card .date-box {
    background: var(--primary);
    color: #fff;
    padding: 20px;
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.agenda-card .date-box .day {
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
}
.agenda-card .date-box .month {
    font-size: 13px;
    text-transform: uppercase;
    font-family: var(--font-heading);
    color: var(--accent);
}
.agenda-card .agenda-content {
    padding: 20px;
    flex: 1;
}
.agenda-card .agenda-content h5 {
    font-size: 16px;
    margin-bottom: 8px;
}
.agenda-card .agenda-content p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 5px;
}
.agenda-card .agenda-content .agenda-meta {
    font-size: 12px;
    color: var(--text-muted);
}
.agenda-card .agenda-content .agenda-meta i {
    color: var(--accent);
    margin-right: 5px;
    margin-left: 15px;
}
.agenda-card .agenda-content .agenda-meta i:first-child { margin-left: 0; }

/* ========== Teachers Section ========== */
.teachers-section {
    padding: 80px 0;
    background: var(--bg-light);
}
.teacher-card {
    text-align: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 30px;
}
.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}
.teacher-card .teacher-photo {
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.teacher-card .teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.teacher-card .teacher-photo .default-avatar {
    font-size: 80px;
    color: rgba(255,255,255,0.3);
}
.teacher-card .teacher-info {
    padding: 20px;
}
.teacher-card .teacher-info h5 {
    font-size: 16px;
    margin-bottom: 5px;
}
.teacher-card .teacher-info .teacher-title {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: 5px;
}
.teacher-card .teacher-info .teacher-subject {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========== Testimonials Section ========== */
.testimonials-section {
    padding: 80px 0;
    background: var(--white);
}
.testimonial-card {
    padding: 35px;
    background: var(--bg-light);
    border-radius: 8px;
    margin: 10px 15px;
    position: relative;
}
.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 24px;
    color: var(--accent);
    opacity: 0.3;
}
.testimonial-card .quote {
    font-size: 15px;
    font-style: italic;
    color: var(--text-body);
    margin-bottom: 20px;
    line-height: 1.8;
}
.testimonial-card .author {
    display: flex;
    align-items: center;
}
.testimonial-card .author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    background: var(--primary-light);
}
.testimonial-card .author .default-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: rgba(255,255,255,0.5);
}
.testimonial-card .author h6 {
    font-size: 15px;
    margin-bottom: 2px;
}
.testimonial-card .author span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========== Partners Section ========== */
.partners-section {
    padding: 50px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}
.partners-section .partner-logo {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: var(--transition);
}
.partners-section .partner-logo:hover { opacity: 1; }
.partners-section .partner-logo img {
    max-height: 60px;
    filter: grayscale(100%);
    transition: var(--transition);
}
.partners-section .partner-logo:hover img { filter: grayscale(0); }
.partners-section .partner-logo .partner-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    font-family: var(--font-heading);
}

/* ========== Footer ========== */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding-top: 60px;
}
.site-footer h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}
.site-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}
.site-footer .footer-about p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}
.site-footer .footer-links li {
    margin-bottom: 10px;
    list-style: none;
}
.site-footer .footer-links li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}
.site-footer .footer-links li a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: var(--accent);
    font-size: 12px;
}
.site-footer .footer-links li a:hover {
    color: var(--accent);
    padding-left: 5px;
}
.site-footer .footer-contact li {
    display: flex;
    margin-bottom: 15px;
    list-style: none;
    font-size: 14px;
}
.site-footer .footer-contact li i {
    color: var(--accent);
    margin-right: 15px;
    margin-top: 3px;
    width: 16px;
    text-align: center;
}
.footer-social {
    margin-top: 20px;
}
.footer-social a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    margin-right: 8px;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--accent);
    color: var(--primary);
}
.footer-bottom {
    background: var(--primary-light);
    padding: 15px 0;
    margin-top: 40px;
    font-size: 14px;
    text-align: center;
}

/* ========== Page Banner ========== */
.page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
    position: relative;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.02)"/></svg>');
    background-size: 200px;
}
.page-banner h1 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.page-banner .breadcrumb {
    background: none;
    justify-content: center;
    padding: 0;
    margin: 0;
}
.page-banner .breadcrumb-item a {
    color: var(--accent);
}
.page-banner .breadcrumb-item.active {
    color: rgba(255,255,255,0.8);
}
.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

/* ========== Blog Page ========== */
.blog-page { padding: 60px 0; }
.blog-page .blog-featured {
    margin-bottom: 40px;
}
.blog-page .blog-featured .blog-card {
    display: flex;
    flex-direction: row;
}
.blog-page .blog-featured .card-image {
    width: 50%;
    min-height: 300px;
}
.blog-page .blog-featured .card-body {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog-sidebar .widget {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}
.blog-sidebar .widget h4 {
    font-size: 18px;
    padding-bottom: 12px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent);
}
.blog-sidebar .widget .recent-post {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}
.blog-sidebar .widget .recent-post:last-child { border-bottom: none; }
.blog-sidebar .widget .recent-post img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 12px;
    background: var(--primary-light);
}
.blog-sidebar .widget .recent-post h6 {
    font-size: 14px;
    margin-bottom: 3px;
    line-height: 1.4;
}
.blog-sidebar .widget .recent-post h6 a { color: var(--text-heading); }
.blog-sidebar .widget .recent-post h6 a:hover { color: var(--accent); }
.blog-sidebar .widget .recent-post span {
    font-size: 12px;
    color: var(--text-muted);
}
.blog-sidebar .category-list li {
    margin-bottom: 8px;
    list-style: none;
}
.blog-sidebar .category-list li a {
    display: flex;
    justify-content: space-between;
    color: var(--text-body);
    font-size: 14px;
    padding: 5px 0;
}
.blog-sidebar .category-list li a:hover { color: var(--accent); }
.blog-sidebar .category-list li a span {
    background: var(--bg-light);
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
}

/* ========== Blog Detail ========== */
.blog-detail { padding: 60px 0; }
.blog-detail .post-content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.blog-detail .post-content .post-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.blog-detail .post-content .post-header h1 {
    font-size: 28px;
    line-height: 1.4;
}
.blog-detail .post-content .post-meta {
    font-size: 14px;
    color: var(--text-muted);
}
.blog-detail .post-content .post-meta i { color: var(--accent); margin-right: 5px; }
.blog-detail .post-content .post-body {
    line-height: 1.9;
    font-size: 16px;
}
.blog-detail .post-content .post-body p { margin-bottom: 20px; }
.blog-detail .post-content .post-body img {
    border-radius: 8px;
    margin: 20px 0;
}
.blog-detail .post-content .post-body h2,
.blog-detail .post-content .post-body h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}
.blog-detail .post-content .post-body ul,
.blog-detail .post-content .post-body ol {
    padding-left: 20px;
    margin-bottom: 20px;
}
.blog-detail .post-content .post-body li { margin-bottom: 8px; }
.blog-detail .post-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

/* ========== Gallery Page ========== */
.gallery-page { padding: 60px 0; }
.album-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}
.album-card:hover { transform: translateY(-5px); }
.album-card .album-cover {
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}
.album-card .album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.album-card:hover .album-cover img { transform: scale(1.05); }
.album-card .album-info {
    padding: 20px;
    background: #fff;
}
.album-card .album-info h5 { font-size: 16px; margin-bottom: 5px; }
.album-card .album-info p { font-size: 13px; color: var(--text-muted); margin-bottom: 0; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}
.gallery-grid a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}
.gallery-grid a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-grid a:hover img { transform: scale(1.1); }

/* ========== Contact Page ========== */
.contact-page { padding: 60px 0; }
.contact-info-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: var(--transition);
}
.contact-info-card:hover { transform: translateY(-5px); }
.contact-info-card .icon-box {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: rgba(7,41,77,0.06);
    border-radius: 50%;
    margin: 0 auto 15px;
}
.contact-info-card .icon-box i {
    font-size: 24px;
    color: var(--primary);
}
.contact-info-card h5 { font-size: 16px; margin-bottom: 8px; }
.contact-info-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 0; }
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.contact-form .form-control {
    border-radius: 4px;
    border: 1px solid var(--border);
    padding: 12px 15px;
    font-size: 14px;
    transition: var(--transition);
}
.contact-form .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255,198,0,0.15);
}
.contact-form textarea.form-control { min-height: 150px; }
.contact-form label {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-heading);
    font-family: var(--font-heading);
}

/* ========== WhatsApp Float ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

/* ========== Back to Top ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 95px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 999;
    transition: var(--transition);
    cursor: pointer;
}
.back-to-top:hover {
    background: var(--accent);
    color: var(--primary);
}
.back-to-top.show { display: flex; }

/* ========== Alert/Flash ========== */
.alert {
    border-radius: 4px;
    font-size: 14px;
}

/* ========== Responsive ========== */
@media (max-width: 991px) {
    .hero-slider .single-slide { min-height: 450px; }
    .hero-slider .slide-content h1 { font-size: 34px; }
    .hero-slider .slide-content p { font-size: 16px; }
    .section-title h2 { font-size: 26px; }
    .main-navigation .navbar-nav .nav-link { padding: 10px 15px; }
    .blog-page .blog-featured .blog-card { flex-direction: column; }
    .blog-page .blog-featured .card-image,
    .blog-page .blog-featured .card-body { width: 100%; }
}

@media (max-width: 767px) {
    .hero-slider .single-slide { min-height: 380px; }
    .hero-slider .slide-content h1 { font-size: 26px; }
    .hero-slider .slide-content p { font-size: 14px; }
    .hero-slider .slide-content { padding: 50px 0; }
    .section-title h2 { font-size: 22px; }
    .section-title { margin-bottom: 30px; }
    .programs-section,
    .about-section,
    .blog-section,
    .facilities-section,
    .stats-section,
    .agenda-section,
    .teachers-section,
    .testimonials-section { padding: 50px 0; }
    .stat-item .stat-number { font-size: 36px; }
    .blog-detail .post-content { padding: 20px; }
    .contact-form { padding: 25px; }
    .header-top .top-right { text-align: left; margin-top: 5px; }
}

@media (max-width: 575px) {
    .hero-slider .single-slide { min-height: 320px; }
    .hero-slider .slide-content h1 { font-size: 22px; }
    .stat-item .stat-number { font-size: 30px; }
    .page-banner { padding: 50px 0; }
    .page-banner h1 { font-size: 26px; }
}
