/* Presidency School Website - styles.css */

/* --- Variables & Core Design Tokens --- */
:root {
    /* Colors */
    --primary: #4C1D95;
    /* Deep purple from design */
    --primary-light: #6D28D9;
    --primary-dark: #3B0764;
    --accent: #FCA5A5;
    /* Used in badges/buttons occasionally, but mainly yellow */
    --accent-yellow: #FACC15;
    --accent-green: #10B981;

    /* Neutral Colors */
    --text-main: #1F2937;
    --text-light: #6B7280;
    --text-muted: #9CA3AF;
    --bg-main: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-card: #FFFFFF;
    --border-color: #E5E7EB;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Outfit', var(--font-sans);

    /* 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-purple: 0 10px 25px -5px rgba(76, 29, 149, 0.4);

    /* Border Radius */
    --radii-md: 0.5rem;
    --radii-lg: 1rem;
    --radii-xl: 1.5rem;
    --radii-full: 9999px;

    /* Spacing */
    --section-py: 5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

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

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

ul {
    list-style: none;
}

/* Typography styles */
.section-top-title {
    color: var(--primary-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-desc {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.text-center {
    text-align: center;
}

.text-highlight {
    color: var(--accent-yellow);
}

.bg-light {
    background-color: var(--bg-light);
}

.section-padding {
    padding: var(--section-py) 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radii-md);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-purple);
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* --- 1. Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    height: 70px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon-img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.logo-icon-img.white-bg {
    background-color: transparent;
    padding: 0;
}

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

.logo-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.65rem;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background-color: var(--accent-yellow);
    color: var(--text-main);
}

.nav-cta:hover {
    background-color: #EAB308;
    color: var(--text-main);
    box-shadow: 0 4px 14px 0 rgba(234, 179, 8, 0.39);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* --- 2. Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background-color: #000;
    /* Dark fallback */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Hero Image Background */
    background-image: url('public/assets/hero-bg.webp');
    background-size: cover;
    background-position: center;
    opacity: 1;
    /* Fully visible */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Neutral dark overlay for text readability */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: var(--radii-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* --- 3. About Section --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-placeholder {
    border-radius: var(--radii-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radii-lg);
    box-shadow: var(--shadow-purple);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    z-index: 2;
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-align: center;
    margin-top: 0.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-card {
    display: flex;
    gap: 1rem;
    background: var(--bg-card);
    padding: 1.25rem;
    border-radius: var(--radii-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: var(--bg-light);
    color: var(--primary);
    border-radius: var(--radii-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* --- 3.5. Director's Message --- */
.director-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--radii-xl);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    position: relative;
    border-left: 5px solid var(--primary);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.director-image-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin-bottom: 2rem;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.director-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 10%;
    transform: scale(1.4);
    transition: transform 0.5s ease;
}

.director-card:hover .director-img {
    transform: scale(1.55);
}

.director-quote-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: var(--radii-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-purple);
}

.director-message-content {
    position: relative;
}

.director-text p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.director-preview {
    position: relative;
}

.director-full-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease;
}

.director-full-text.expanded {
    max-height: 600px;
    opacity: 1;
}

/* Fade-out gradient overlay when collapsed */
.director-text:not(.expanded) .director-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(transparent, var(--bg-card));
    pointer-events: none;
}

.director-text.expanded .director-preview::after {
    display: none;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.btn-read-more:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

.btn-read-more i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.btn-read-more.active i {
    transform: rotate(180deg);
}

/* --- 4. Pathways --- */
.pathway-card {
    display: flex;
    background: var(--bg-card);
    border-radius: var(--radii-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.pathway-main {
    background-color: var(--primary);
    color: white;
    padding: 3rem 2.5rem;
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pathway-main h2 {
    color: white;
    font-size: 2.25rem;
    margin-bottom: 0.25rem;
}

.pathway-board {
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.8;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.pathway-details li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.pathway-details li i {
    color: var(--accent-yellow);
}

.pathway-subjects-panel {
    padding: 3rem;
    width: 65%;
}

.subjects-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.subjects-header .line {
    height: 2px;
    width: 40px;
    background-color: var(--primary);
}

.subjects-header h4 {
    margin: 0;
    font-size: 1.125rem;
}

.subjects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.subject-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #F8FAFC;
    border-radius: var(--radii-md);
    border: 1px solid var(--border-color);
}

.subject-item i {
    color: var(--accent-green);
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.subject-item span {
    font-weight: 500;
    color: var(--text-main);
}

.subject-note {
    font-size: 0.875rem;
    color: var(--text-light);
    background-color: #F3F4F6;
    padding: 0.75rem 1rem;
    border-radius: var(--radii-md);
}

/* --- 5. Fees Section --- */
.fee-table-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--radii-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

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

.fee-table th,
.fee-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

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

.fee-table td {
    font-weight: 500;
}

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

.fee-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background-color: #F8FAFC;
    border-top: 1px solid var(--border-color);
}

.fee-footer p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

.fee-footer .btn {
    background-color: var(--accent-green);
    color: white;
}

.scholarship-highlight {
    background: linear-gradient(135deg, rgba(76, 29, 149, 0.05), rgba(109, 40, 217, 0.05));
    border: 1px dashed var(--primary-light);
    padding: 1rem;
    border-radius: var(--radii-md);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.scholarship-highlight i {
    color: var(--primary);
    font-size: 1.25rem;
}

.admission-fee-note {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 0.25rem;
    display: block;
}

/* --- 6. Facilities --- */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.facility-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: var(--radii-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #E2E8F0;
}

.facility-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-color: #F3E8FF;
    color: var(--primary);
    border-radius: var(--radii-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.facility-card:hover .facility-icon {
    background-color: var(--primary);
    color: white;
}

.facility-icon.test-tube {
    color: #06B6D4;
    background-color: #ECFEFF;
}

.facility-card:hover .facility-icon.test-tube {
    background-color: #06B6D4;
    color: white;
}

.facility-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.facility-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- 6.5. Gallery Carousel --- */
.gallery {
    background-color: var(--bg-main);
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radii-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    background-color: #000;
    /* Dark background for letterboxing */
}

.carousel-slide {
    min-width: 100%;
    height: 500px;
    object-fit: contain;
    /* Shows the full image without cropping */
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: white;
    color: var(--primary-dark);
}

.prev-btn {
    left: 1rem;
}

.next-btn {
    right: 1rem;
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* --- 7. Admissions Section --- */
.admissions-section {
    background-color: var(--primary);
    padding: 6rem 0;
    position: relative;
    color: white;
}

.admissions-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.admissions-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.admission-form {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radii-xl);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    color: var(--text-main);
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radii-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #F8FAFC;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.1);
    background-color: white;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
    margin-top: 1rem;
}

/* --- 8. Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.contact-item .contact-icon {
    width: 40px;
    height: 40px;
    background-color: white;
    box-shadow: var(--shadow-sm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-text h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.office-hours {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radii-md);
    border: 1px solid var(--border-color);
}

.office-hours h5 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.hours-row .closed {
    color: #EF4444;
    font-weight: 500;
}

.contact-interactive {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.map-container {
    height: 250px;
    border-radius: var(--radii-lg);
    overflow: hidden;
    background-color: #E2E8F0;
    position: relative;
}

.map-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-align: center;
}

.map-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.quick-message-form {
    background: white;
    padding: 2rem;
    border-radius: var(--radii-lg);
    box-shadow: var(--shadow-sm);
}

.quick-message-form h5 {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

.quick-message-form input,
.quick-message-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radii-md);
    margin-bottom: 1rem;
    font-family: inherit;
}

.quick-message-form input:focus,
.quick-message-form textarea:focus {
    outline: none;
    border-color: var(--accent-green);
}

.quick-message-form button {
    background-color: var(--accent-green);
}

/* --- 9. Footer --- */
.site-footer {
    background-color: #111827;
    /* Dark grayish blue */
    color: #D1D5DB;
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-brand .footer-logo .logo-subtitle {
    color: #9CA3AF;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

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

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

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul a {
    color: #9CA3AF;
}

.footer-links ul a:hover {
    color: white;
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-list i {
    color: var(--primary-light);
    margin-top: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: white;
}

/* --- 10. Sticky CTAs --- */
.floating-ctas {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.whatsapp-cta,
.call-cta {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.whatsapp-cta {
    background-color: #25D366;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
}

.whatsapp-cta:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: white;
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.5);
    animation: none;
}

.call-cta {
    background-color: var(--primary, #6D28D9);
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(109, 40, 217, 0.4);
    animation: pulse-call 2s infinite;
    animation-delay: 1s;
}

.call-cta:hover {
    transform: scale(1.1);
    background-color: var(--primary-dark, #5B21B6);
    color: white;
    box-shadow: 0 6px 14px rgba(109, 40, 217, 0.5);
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes pulse-call {
    0% {
        box-shadow: 0 0 0 0 rgba(109, 40, 217, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(109, 40, 217, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(109, 40, 217, 0);
    }
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .pathway-card {
        flex-direction: column;
    }

    .pathway-main {
        width: 100%;
        padding: 2.5rem;
    }

    .pathway-subjects-panel {
        width: 100%;
        padding: 2.5rem;
    }

    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        margin-bottom: 2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .subjects-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .director-card {
        padding: 2rem 1.5rem;
    }

    .director-image-wrapper {
        width: 110px;
        height: 110px;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .admission-form {
        padding: 1.5rem;
    }

    .pathway-subjects-panel {
        padding: 1.5rem;
    }
}

/* --- SHNKR.DEV Animated Badge Styles --- */
.shnkr-badge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
    text-decoration: none;
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .shnkr-badge-container {
        flex-direction: row;
        gap: 0.75rem;
    }
}

.shnkr-badge-container:hover {
    opacity: 0.8;
}

.shnkr-badge-text {
    color: #9CA3AF;
    font-size: 11px;
    letter-spacing: 0.025em;
    font-weight: 300;
    white-space: nowrap;
}

.shnkr-badge-svg {
    width: 110px;
    height: auto;
    opacity: 0;
    animation: fadeIn 0.6s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.shnkr-neon-path {
    fill: none;
    stroke: #F2540F;
    stroke-width: 5;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawNeon 3s linear infinite;
    filter: drop-shadow(0 0 8px #F2540F) drop-shadow(0 0 15px #F2540F);
}

@keyframes drawNeon {
    0% {
        stroke-dashoffset: 2000;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        stroke-dashoffset: -2000;
        opacity: 0;
    }
}