:root {
    --primary: #5B1833;
    --primary-light: #7A2447;
    --secondary: #B8860B;
    --secondary-light: #D4AF37;
    --accent: #1B5E20; /* Beautiful Forest Green */
    --accent-light: #E8F5E9;
    --background: #FAFAFA;
    --surface: #FFFFFF;
    --text: #1C1C1E;
    --secondary-text: #636366;
    --border: rgba(184, 134, 11, 0.15); 
    --border-subtle: rgba(0, 0, 0, 0.05);
    
    /* Apple-style soft, tight shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 8px 24px rgba(91, 24, 51, 0.08);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Protections */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-y; /* Prevent pinch zoom on mobile */
}

img {
    pointer-events: none;
    -webkit-user-drag: none;
}

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

html {
    scroll-behavior: smooth;
    font-size: 15px; /* More compact base size */
}

body {
    font-family: 'Tiro Bangla', serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tighter sections */
.section {
    padding: 60px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 30px;
    font-weight: 700;
}

.section-title span {
    color: var(--accent);
}

/* Navbar - Compact & Glassy */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 40px; /* Smaller logo */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 8px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--secondary-text);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition);
}

.nav-links li a:hover, .nav-links li a.active {
    color: var(--primary);
    background: rgba(91, 24, 51, 0.05);
}

.mobile-menu-btn {
    display: none;
}

/* Hero Section */
.hero {
    padding-top: 90px;
    padding-bottom: 50px;
    background: linear-gradient(180deg, #F8F9FA 0%, var(--background) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    opacity: 0.03;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-light);
    color: var(--accent);
    padding: 4px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 16px;
    border: 1px solid rgba(27, 94, 32, 0.2);
}

.hero-title {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--secondary-text);
    margin-bottom: 24px;
}

.hero-classes {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--primary);
    display: inline-block;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 12px 32px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-highlights {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.highlight-item {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.highlight-item i {
    color: var(--accent);
}

/* About Section */
.about-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.about-sidebar {
    background: rgba(91, 24, 51, 0.03);
    border: 1px solid rgba(91, 24, 51, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.about-logo {
    width: 120px;
    height: auto;
}

.about-tagline {
    font-size: 18px;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.5;
}

.about-main {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-point {
    display: flex;
    align-items: center;
    gap: 20px;
    background: transparent;
    border: 1px dashed rgba(0,0,0,0.1);
    border-radius: var(--radius-md);
    padding: 16px 24px;
}

.point-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.point-icon.primary-bg { background: var(--primary); }
.point-icon.secondary-bg { background: var(--secondary); }
.point-icon.accent-bg { background: var(--accent); }

.point-text {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
}

.point-divider {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    transform: rotate(45deg);
    margin: 8px 0 8px 52px; /* Align precisely beneath the circle */
    opacity: 0.5;
}
.about-main > .point-divider:last-child {
    display: none;
}

.commitment-wrapper {
    margin-bottom: 30px;
}

.commitment-card {
    background: var(--primary);
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    text-align: left;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 24px;
}

.commitment-icon {
    font-size: 40px;
    color: white;
    background: transparent;
}

.commitment-content h3 {
    color: var(--secondary-light);
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 700;
}

.commitment-content p {
    font-size: 14px;
    color: white;
    margin: 0;
}

.quote-box {
    margin-top: 30px;
    text-align: center;
    font-size: 18px;
    color: var(--primary);
    font-weight: 700;
    padding: 20px;
    background: transparent;
    border-radius: var(--radius-md);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-left: 4px solid var(--secondary);
    box-shadow: none;
}

/* Features - Compact Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.feature-item {
    background: transparent;
    padding: 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(91, 24, 51, 0.1);
    box-shadow: none;
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(91, 24, 51, 0.02);
    border-color: rgba(91, 24, 51, 0.2);
}

.feature-item i {
    font-size: 18px;
    color: var(--accent);
    background: rgba(27, 94, 32, 0.05);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.feature-item span {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
}

/* Academics Section */
.academics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.academic-card {
    background: transparent;
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid rgba(27, 94, 32, 0.15);
    box-shadow: none;
    text-align: center;
    transition: var(--transition);
}

.academic-card:hover {
    background: rgba(27, 94, 32, 0.02);
    border-color: rgba(27, 94, 32, 0.3);
}

.card-header {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.card-header i {
    color: var(--accent);
}

.academic-card ul {
    list-style: none;
    text-align: left;
}

.academic-card ul li {
    padding: 8px 12px;
    margin-bottom: 8px;
    background: transparent;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px dashed rgba(0,0,0,0.1);
}

.academic-card ul li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent);
}

.lang-opt {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    padding: 16px 0;
}

.lang-note {
    font-size: 13px;
    color: var(--secondary-text);
}

/* Evaluation Steps */
.evaluation-process {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
}

.eval-step {
    background: transparent;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(184, 134, 11, 0.3);
    box-shadow: none;
    text-align: center;
    min-width: 180px;
}

.eval-num {
    color: var(--secondary);
    font-size: 24px;
    font-weight: 700;
    opacity: 0.5;
    margin-bottom: 4px;
}

.eval-text {
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
}

.eval-arrow {
    color: var(--border);
    font-size: 16px;
}

/* Fees Table */
.table-responsive {
    overflow-x: auto;
    background: transparent;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: none;
}

.fees-table {
    width: 100%;
    border-collapse: collapse;
}

.fees-table th, .fees-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 14px;
}

.fees-table th {
    background: rgba(91, 24, 51, 0.05);
    color: var(--primary);
    font-weight: 700;
}

.fees-table tbody tr:hover {
    background: rgba(0,0,0,0.02);
}

.fees-table tbody tr td:first-child { 
    font-weight: 700; 
    color: var(--primary); 
}

.fee-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: transparent;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px dashed rgba(184, 134, 11, 0.4);
}

.fee-note i {
    color: var(--secondary);
}

/* Uniform Section */
.uniform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    margin-top: 40px;
}

.uniform-card {
    background: transparent;
    border-radius: var(--radius-md);
    padding: 40px 24px 24px 24px;
    text-align: center;
    border: 1px solid rgba(91, 24, 51, 0.15);
    box-shadow: none;
    position: relative;
}

.uniform-title {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 6px 24px;
    color: var(--primary);
    background: var(--background);
    border: 1px solid var(--primary);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.uniform-title.girls {
    color: var(--accent);
    border-color: var(--accent);
}

.uniform-img {
    height: 240px;
    object-fit: contain;
    margin-bottom: 20px;
}

.uniform-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.uniform-list li {
    background: transparent;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 700;
    border: 1px dashed rgba(0,0,0,0.15);
}

.activities-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.activity {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid rgba(91, 24, 51, 0.2);
    box-shadow: none;
}

.activity i {
    color: var(--accent);
}

.transport-notice-wrapper {
    text-align: center;
    width: 100%;
}

.transport-notice {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    background: transparent;
    padding: 12px 32px;
    border-radius: 24px;
    display: flex;
    width: max-content;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px dashed rgba(27, 94, 32, 0.3);
}

/* Footer Compacted */
.footer {
    background: transparent;
    border-top: 1px solid var(--border-subtle);
    position: relative;
    padding-top: 20px;
}

.admission-banner {
    background: rgba(27, 94, 32, 0.03);
    border: 1px solid rgba(27, 94, 32, 0.2);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    margin: 0 auto 40px auto;
    width: 100%;
    max-width: 600px;
    color: var(--accent);
    box-shadow: none;
}

.admission-text h3 {
    font-size: 20px;
    margin-bottom: 4px;
    font-weight: 700;
}

.admission-text p {
    font-size: 14px;
    opacity: 0.9;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    align-items: center;
}

.brand-col .footer-logo {
    height: 45px;
    margin-bottom: 12px;
}

.brand-col p { 
    font-size: 14px; 
    color: var(--secondary-text); 
}

.contact-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.contact-col h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
}

.contact-col p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 10px;
    font-size: 14px;
    color: var(--secondary-text);
}

.contact-col i {
    color: var(--accent);
    width: 16px;
    text-align: center;
}

.footer-links {
    list-style: none;
}

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

.footer-links li a {
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    background: #F8F9FA;
    text-align: center;
    padding: 16px;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--secondary-text);
}

.developer-credit {
    margin-top: 4px;
    color: var(--accent) !important;
}

/* Responsive Overrides (Tightened for absolute safety) */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 60px; /* Thinner navbar */
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        padding-top: 20px;
        transition: 0.3s ease;
    }
    .nav-links li { width: 100%; text-align: center; }
    .nav-links li a { display: block; font-size: 16px; padding: 16px; border-radius: 0; }
    .nav-links.active { left: 0; }
    
    .mobile-menu-btn { display: block; font-size: 24px; color: var(--primary); cursor: pointer; }
    
    .about-layout { grid-template-columns: 1fr; gap: 30px; }
    .commitment-card { margin-top: 0; flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .section { padding: 40px 0; }
    .hero { padding-top: 80px; padding-bottom: 40px; }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 16px; }
    
    .academics-grid { grid-template-columns: 1fr; gap: 16px; }
    .evaluation-process { flex-direction: column; }
    .eval-arrow { transform: rotate(90deg); margin: 4px 0; }
    
    .uniform-grid { grid-template-columns: 1fr; gap: 50px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .contact-col { align-items: center; text-align: center; }
    .contact-col p { flex-direction: row; justify-content: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-item { padding: 12px; }
    .cta-btn { width: 80%; justify-content: center; }
    .activities-wrapper { flex-direction: column; }
    .activity { justify-content: center; width: 100%; }
    .transport-notice { flex-direction: column; width: 100%; font-size: 14px; padding: 12px; }
    .fees-table th, .fees-table td { padding: 8px 10px; font-size: 13px; }
}

/* Form Styles */
.form-section {
    padding: 120px 0 60px 0;
    background: var(--background);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-card {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.form-card-title {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-card-title span {
    background: var(--accent-light);
    color: var(--accent);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 14px;
    color: var(--secondary-text);
    font-weight: 700;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    background: var(--background);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(91, 24, 51, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.form-submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
    font-family: inherit;
    margin-top: 10px;
}

.form-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-card { padding: 20px; }
}
