/* SD ISLAM IBNU HAJAR - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #064e3b;          /* Deep Emerald Green */
    --primary-light: #0f766e;    /* Mid Teal */
    --primary-tint: #ecfdf5;     /* Very Light Mint */
    --secondary: #d97706;        /* Elegant Amber Gold */
    --secondary-hover: #b45309;  /* Darker Amber Gold */
    --danger: #ef4444;           /* Soft Red */
    --success: #10b981;          /* Emerald Green Success */
    
    /* Neutral Colors */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    /* Layout Variables */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--slate-50);
    color: var(--slate-800);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

li {
    list-style: none;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--slate-900);
    font-weight: 700;
    line-height: 1.25;
}

/* General Layout Elements */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-bg {
    background-color: white;
}

.section-tint {
    background-color: var(--primary-tint);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.section-header p {
    color: var(--slate-600);
    font-size: 1.1rem;
}

/* Dynamic Buttons */
.nav-btn, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(6, 78, 59, 0.15);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(6, 78, 59, 0.25);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.15);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(217, 119, 6, 0.25);
}

.btn-accent {
    background-color: var(--secondary);
    color: white;
    border: 2px solid var(--secondary);
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.15);
}

.btn-accent:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(217, 119, 6, 0.25);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-tint);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--slate-900);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.25);
}

.btn-admin {
    background-color: #0284c7;
    color: white;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.15);
}

.btn-admin:hover {
    background-color: #0369a1;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(2, 132, 199, 0.25);
}

.btn-danger {
    background-color: var(--danger);
    color: white;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.15);
}

.btn-danger:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(239, 68, 68, 0.25);
}

.full-width {
    width: 100%;
}

/* Header & Navigation */
#navbar-placeholder {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    height: var(--header-height);
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary);
    letter-spacing: -0.5px;
    white-space: nowrap;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Desktop Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
    height: 100%;
}

.nav-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--slate-700);
    padding: 6px 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background-color: var(--slate-100);
}

/* Dropdown Menu styling */
.nav-dropdown-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-dropdown-wrapper .dropdown-trigger i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.nav-dropdown-wrapper:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(var(--header-height) - 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 210px;
    background-color: white;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 1001;
}

.nav-dropdown-wrapper:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--slate-700);
    font-weight: 500;
}

.dropdown-item:hover, .dropdown-item.active {
    background-color: var(--primary-tint);
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    justify-content: flex-end;
}

.main-header .nav-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    height: 38px;
    flex-shrink: 0;
}

/* Hamburger menu button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    cursor: pointer;
}

.hamburger-btn span {
    width: 100%;
    height: 2.5px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: white;
    z-index: 1100;
    box-shadow: var(--shadow-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--slate-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.close-sidebar-btn {
    background: transparent;
    font-size: 1.5rem;
    color: var(--slate-700);
    cursor: pointer;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--slate-700);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--primary);
    background-color: var(--primary-tint);
}

/* Mobile Dropdown */
.mobile-dropdown-group {
    display: flex;
    flex-direction: column;
}

.mobile-dropdown-trigger {
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--slate-700);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-dropdown-trigger i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.mobile-dropdown-group.open .mobile-dropdown-trigger i {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding-left: 20px;
    margin-top: 4px;
}

.mobile-dropdown-group.open .mobile-dropdown-content {
    display: flex;
}

.mobile-sub-link {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--slate-600);
    font-weight: 500;
}

.mobile-sub-link:hover, .mobile-sub-link.active {
    color: var(--primary);
    background-color: var(--primary-tint);
}

.mobile-actions {
    border-top: 1px solid var(--slate-100);
    padding-top: 20px;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Pages Banner / Heading */
.page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 90%);
    pointer-events: none;
}

.page-banner h1 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 8px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumbs a:hover {
    color: var(--secondary);
    opacity: 1;
}

/* Sub-page Specific Cards and Structures */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

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

/* Content Box / Card styling */
.card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-100);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-tint);
}

/* Staff Card */
.staff-card {
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.staff-img-wrapper {
    height: 250px;
    overflow: hidden;
    background-color: var(--slate-100);
}

.staff-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.staff-info {
    padding: 20px;
}

.staff-info h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.staff-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.staff-meta {
    font-size: 0.8rem;
    color: var(--slate-600);
}

/* News / Berita Card */
.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    overflow: hidden;
}

.news-img {
    height: 200px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.news-content p {
    color: var(--slate-600);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex: 1;
}

/* Facility Card */
.facility-card {
    padding: 0;
    overflow: hidden;
}

.facility-img {
    height: 220px;
    overflow: hidden;
}

.facility-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-desc {
    padding: 20px;
}

.facility-desc h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.facility-desc p {
    color: var(--slate-600);
    font-size: 0.9rem;
}

/* Agenda Card */
.agenda-card {
    display: flex;
    gap: 20px;
}

.agenda-date-box {
    background-color: var(--primary);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    flex-shrink: 0;
}

.agenda-date-day {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
}

.agenda-date-month {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.agenda-details h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.agenda-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--slate-600);
    margin-bottom: 8px;
}

.agenda-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.agenda-meta i {
    font-size: 0.9rem;
    color: var(--secondary);
}

.agenda-details p {
    font-size: 0.9rem;
    color: var(--slate-600);
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question-btn {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--slate-900);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-question-btn i {
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-item.active .faq-question-btn i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 24px 20px 24px;
    color: var(--slate-600);
    border-top: 1px solid var(--slate-100);
    padding-top: 16px;
}

/* Services */
.service-card {
    display: flex;
    gap: 20px;
    text-decoration: none;
    color: inherit;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-tint);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.service-card p {
    color: var(--slate-600);
    font-size: 0.95rem;
}

/* Gallery Photo grid */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.filter-btn {
    padding: 8px 18px;
    background-color: white;
    border: 1px solid var(--slate-200);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--slate-700);
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.gallery-overlay span {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 600;
}

/* Downloads table */
.download-table-wrapper {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow-x: auto;
    border: 1px solid var(--slate-200);
}

.download-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.download-table th, .download-table td {
    padding: 16px 24px;
}

.download-table th {
    background-color: var(--primary);
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
}

.download-table tr {
    border-bottom: 1px solid var(--slate-100);
}

.download-table tr:last-child {
    border-bottom: none;
}

.download-table tr:hover td {
    background-color: var(--slate-50);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--slate-900);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    border: 1.5px solid var(--slate-200);
    background-color: white;
    color: var(--slate-800);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* PMB Registration Page & Login */
.auth-wrapper {
    max-width: 480px;
    margin: 80px auto;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    padding: 40px;
    border: 1px solid var(--slate-200);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header .logo {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.auth-header h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: var(--slate-600);
    font-size: 0.85rem;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1.5px solid var(--slate-200);
}

.divider:not(:empty)::before {
    margin-right: 12px;
}

.divider:not(:empty)::after {
    margin-left: 12px;
}

/* PMB Form Grid */
.pmb-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pmb-full-width {
    grid-column: span 2;
}

/* Main Footer */
.main-footer {
    background-color: var(--slate-900);
    color: var(--slate-300);
}

.footer-top {
    padding: 80px 0 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col-about {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .logo-icon {
    background-color: var(--secondary);
}

.footer-logo .logo-title {
    color: white;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--secondary);
}

.footer-links li {
    margin-bottom: 12px;
}

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

.contact-info li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.contact-info i {
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 4px;
}

.footer-bottom {
    padding: 24px 0;
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--slate-600);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .nav-links, .nav-actions {
        display: none;
    }
    
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pmb-form-grid {
        grid-template-columns: 1fr;
    }
    
    .pmb-full-width {
        grid-column: span 1;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Hide school logo on mobile topbar to avoid crowding */
@media (max-width: 576px) {
    .main-header .logo-area {
        display: none;
    }
}

