style.css
/* Global Styles */
:root {
    --yellow: #f8d406;
    --black: #0914b2;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--black);
    font-family: 'Inter', sans-serif;
    color: var(--white);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* Header & Navbar Styles */
.header {
    background-color: var(--black);
    width: 100%;
    padding: 16px 0;
    position: fixed ;
    top: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-bar {
    width: 100%;
    max-width: 1800px;
    padding: 0 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 10px;
}

.nav-container {
    width: 100%;
    max-width: 1800px;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.nav-link {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-container {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 0 20px;
}

.logo-text {
    font-size: clamp(80px, 22vw, 400px);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
}

.nav-link {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-container {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 0 20px;
}

.logo-text {
    font-size: clamp(80px, 22vw, 400px);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
}

/* MAIN NAV */
.main-nav{
    box-shadow:0 2px 8px ,#e6e6e6;
}

.main-nav ul{
    display:flex;
    list-style:none;
    justify-content:center;
    gap:40px;
    padding:12px 0;
}

.main-nav a{
    text-decoration:none;
    color:var(--gray);
    font-weight:600;
    font-size:15px;
    transition:color 0.2s ease;
}

.main-nav a:hover{
    color:var(--yellow);
}
/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.7;
    background-color: #fff;
    color: #000000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ======================
   HERO / HEADER
====================== */
header.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    color: #0914b2;
}



/* MOVING IMAGE LAYER */
.hero-images {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 0px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    will-change: transform;
    white-space: nowrap;
}

.hero-track img {
    width: 420px;
    height: 560px;
    object-fit: cover;
    opacity: 0.85;
    flex-shrink: 0;
    border-radius: 6px;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.hero-track img:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* HERO TEXT OVERLAY */
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    font-family: serif;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    background: transparent;
}




.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: -0.03em;
}

.hero-content p {
    font-size: 2rem;
    margin-top: 12px;
    opacity: 0.9;
}

.logo-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 2rem;
    margin-top: -2rem;
}

/* ======================
   NAVIGATION
====================== */
nav {
    background-color: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li {
    display: inline-block;
}

nav a {
    color: #0914b2;
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    display: inline-block;
}

nav a:hover {
    background-color: transparent;
    border-radius: 6px;
}

nav a:active {
    background-color: transparent;
}

nav a:focus-visible {
    outline: 3px solid rgba(212,175,55,0.85);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ======================
   PREMIUM HEADER 3D
====================== */
.logo-container {
    perspective: 900px;
}

.logo-text {
    transform-style: preserve-3d;
    animation: logoTilt 4.5s ease-in-out infinite;
    text-shadow: 0 18px 40px rgba(9,20,178,0.18);
}

@keyframes logoTilt {
    0%, 100% { transform: rotateX(0deg) rotateY(0deg) translateZ(0); }
    45% { transform: rotateX(12deg) rotateY(-18deg) translateZ(10px); }
    70% { transform: rotateX(5deg) rotateY(-8deg) translateZ(6px); }
}

.premium-header-icons {
    position: relative;
    height: 0;
    width: 100%;
    pointer-events: none;
    margin-top: -6rem;
}

.icon-float {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    font-size: 24px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(9,20,178,0.18);
    box-shadow: 0 18px 35px rgba(0,0,0,0.08);
    opacity: 0;
    animation: floatIn 0.9s ease forwards;
}

.premium-header-icons .icon-1 { margin-left: -220px; animation-delay: 0.05s, 1.0s; }
.premium-header-icons .icon-2 { margin-left: -110px; animation-delay: 0.12s, 1.1s; }
.premium-header-icons .icon-3 { margin-left: 0px; animation-delay: 0.18s, 1.2s; }
.premium-header-icons .icon-4 { margin-left: 110px; animation-delay: 0.24s, 1.3s; }
.premium-header-icons .icon-5 { margin-left: 220px; animation-delay: 0.30s, 1.4s; }

@keyframes floatIn {
    to { opacity: 1; }
}

.icon-float {
    animation-name: floatIn, iconOrbit;
    animation-duration: 0.9s, 3.8s;
    animation-timing-function: ease, ease-in-out;
    animation-iteration-count: 1, infinite;
}

@keyframes iconOrbit {
    0%, 100% { transform: translateX(-50%) translateY(0) rotateZ(0deg); }
    40% { transform: translateX(-50%) translateY(-18px) rotateZ(6deg); }
    70% { transform: translateX(-50%) translateY(-10px) rotateZ(-6deg); }
}

@media (prefers-reduced-motion: reduce) {
    .logo-text { animation: none; }
    .icon-float { animation: none; opacity: 1; }
}



/* ======================
   MAIN CONTENT
====================== */
/* Remove default padding/margins from main to allow full-width sections */
main {
    padding: 0;
    width: 100%;
}

/* Utility class to center content within full-width sections */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections are now full-width bands */
section {
    padding: 4rem 0;
    margin: 0;
}

section h2 {
    margin-bottom: 2rem;
    color: #0914b2;
    text-align: center;
    font-size: 2.2rem;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}




/* ======================
   CREATIVE MOTION (site-wide)
====================== */
/* Subtle floating/glow for primary hero title */
.hero-content h1 {
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); text-shadow: 0 0 0 rgba(0,0,0,0); }
    50% { transform: translateY(-10px); text-shadow: 0 10px 30px rgba(9,20,178,0.25); }
}

/* Gentle parallax-like lift when hovering cards */
.service-card {
    transform-origin: center;
}

.service-card:hover img {
    transition: transform 0.35s ease, filter 0.35s ease;
    transform: scale(1.04);
    filter: saturate(1.05) contrast(1.02);
}

/* Soft background shimmer for sections with reveal */
.reveal {
    position: relative;
}

.reveal::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(9,20,178,0) 0%, rgba(212,175,55,0.10) 40%, rgba(9,20,178,0) 70%);
    transform: translateX(-120%);
    transition: transform 900ms ease;
    pointer-events: none;
}

.reveal.active::after {
    transform: translateX(120%);
}


/* ======================
   MISSION & VISION
====================== */
.mission-vision-section {
    background-color: #ffffff;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mv-card {
    background: #fff;
    padding: 2.5rem;
    border-left: 5px solid #0914b2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 14px;
    border: 1px solid rgba(9,20,178,0.10);
}


.mv-card h3 {
    color: #0914b2;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* ======================
   OUR SERVICES
====================== */
.services-section {
    text-align: center;
    background-color: #f4f8fb;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
    display: flex;
    flex-direction: column;
}


.service-card:hover {
    transform: translateY(-8px);
}


.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.service-label {
    background: #0914b2;
    color: #fff;
    font-weight: 800;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
}

.service-subtext {
    padding: 1rem 1rem 1.25rem;
    text-align: left;
    font-size: 1rem;
    color: #2b2b2b;
    line-height: 1.7;
}

/* ======================
   PROGRAMS
====================== */
.programs-section {
    background-color: #ffffff;
}


.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.program-card {
    background: #fff;
    border: 1px solid rgba(9,20,178,0.22);
    padding: 2rem;
    border-radius: 14px;
    text-align: center;
    transition: box-shadow 0.28s ease, transform 0.28s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}


.program-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.program-card h3 {
    color: #0914b2; /* Gold accent */
    margin-bottom: 1rem;
}

.program-card ul {
    text-align: left;
    padding-left: 1.2rem;
    margin-top: 1rem;
}

.program-card li {
    margin-bottom: 0.5rem;
}

/* ======================
   WHY CHOOSE US
====================== */
.why-choose-us {
    background: #0914b2;
    color: #fff;
    padding: 4.5rem 0;
}

.why-choose-us h2 {
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.why-choose-us p {
    color: rgba(255,255,255,0.95);
    line-height: 1.8;
}

.why-choose-us .benefits-list {
    margin-top: 1.5rem;
}

.why-choose-us .benefits-list li {
    color: rgba(255,255,255,0.96);
    line-height: 1.85;
    font-size: 1.05rem;
}



.benefits-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.benefits-list li {
    font-size: 1.05rem;
}

/* ======================
   TRUST BADGES (Premium) 
====================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    padding: 40px 20px;
}

/* Trust Badges Section */
.trust-badges-section {
    width: 100%;
    padding: 60px 20px;
    background: transparent;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    overflow: hidden;
    color: #ffffff;
}

.trust-badges-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245,245,245,0.95) 0%, rgba(245,245,245,0.95) 100%);
    pointer-events: none;
    z-index: 0;
}

.trust-badges-section .trust-badges-grid {
    position: relative;
    z-index: 1;
}


.badges-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
    align-items: center;
}

/* Individual Badge Wrapper */
.badge-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.badge-wrapper:hover {
    transform: translateY(-10px);
}

/* Badge Container */
.badge {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.badge:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15), 
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Badge Image */
.badge-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: filter 0.3s ease;
}

.badge:hover .badge-image {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Badge Label */
.badge-label {
    font-size: 14px;
    font-weight: 600;
    color: #d4af37;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-wrapper:hover .badge-label {
    color: #d4af37;
    font-weight: 700;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .badges-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 30px;
    }

    .badge {
        width: 140px;
        height: 140px;
    }

    .badge-label {
        font-size: 12px;
    }

    .trust-badges-section {
        padding: 40px 15px;
    }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
    .badges-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .badge {
        width: 120px;
        height: 120px;
    }

    .badge-label {
        font-size: 11px;
        min-height: 35px;
    }

    .trust-badges-section {
        padding: 30px 10px;
    }

    .badge-wrapper {
        gap: 10px;
    }
}

/* ========================================
   ALTERNATIVE LAYOUT OPTIONS
   ======================================== */

/* Option 1: Horizontal Scrolling Layout (for hero sections) */
.badges-container.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.badges-container.horizontal-scroll .badge-wrapper {
    flex-shrink: 0;
}

/* Option 2: Centered Single Row Layout */
.badges-container.single-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

/* Option 3: Compact Layout (for sidebars) */
.badges-container.compact {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 400px;
}

.badges-container.compact .badge {
    width: 120px;
    height: 120px;
}

.badges-container.compact .badge-label {
    font-size: 12px;
}

/* ========================================
   PREMIUM EFFECTS
   ======================================== */

/* Glow Effect on Hover */
.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.badge:hover::before {
    opacity: 1;
}

/* Animation: Subtle Pulse */
@keyframes subtle-pulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 
                    inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 12px 45px rgba(0, 0, 0, 0.15), 
                    inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.badge.pulse {
    animation: subtle-pulse 3s ease-in-out infinite;
}

/* Animation: Fade In */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge-wrapper {
    animation: fade-in-up 0.6s ease-out forwards;
}

.badge-wrapper:nth-child(1) { animation-delay: 0.1s; }
.badge-wrapper:nth-child(2) { animation-delay: 0.2s; }
.badge-wrapper:nth-child(3) { animation-delay: 0.3s; }
.badge-wrapper:nth-child(4) { animation-delay: 0.4s; }

/* ========================================
   DARK MODE SUPPORT
   ======================================== */

@media (prefers-color-scheme: dark) {
    body {
    }

    .trust-badges-section {
        background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    }

    .badge-label {
        color: #d4af37;
    }

    .badge-wrapper:hover .badge-label {
        color: #d4af37;
    }

    .badge {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .badge:hover {
        box-shadow: 0 15px 50px rgba(0, 0, 255, 0.2), 
                    inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.badge:focus-visible {
    outline: 3px solid #d4af37;
    outline-offset: 5px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .badge-wrapper,
    .badge,
    .badge-label {
        transition: none;
        animation: none;
    }
}

/* ======================
   ADMISSION BANNER
====================== */
.admission-banner {
    background: #ffffff;
    color: #fff;
    padding: 3rem 0;
    border-bottom: 5px solid #0914b2;
}

.banner-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admission-banner h2 {
    color: #0914b2;
    margin-bottom: 0.5rem;
}

.read-more-btn {
    background-color: #0914b2;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.read-more-btn:hover {
    background-color: #fff;
}

/* ======================
   FOOTER
====================== */
footer {
    text-align: center;
    padding: 2rem 0;
    background-color: #0914b2;
    color: white;
}

/* ======================
   SOCIAL LINKS + DROPDOWNS
====================== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0.75rem 0 0.25rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    color: #0914b2; /* blue icon color */
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
    border: 1px solid rgb(4, 0, 252);
}

.social-links a:hover {
    transform: translateY(-3px);
    background: rgba(11,95,255,0.12);
    border-color: rgba(11,95,255,0.6);
}

.social-links svg {
    width: 26px;
    height: 26px;
}


.footer-dropdowns {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin: 1.25rem auto 0;
    max-width: 1100px;
    padding: 0 1rem;
}

.footer-dropdowns details {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 0.6rem 0.9rem;
    width: min(320px, 100%);
}

.footer-dropdowns summary {
    cursor: pointer;
    font-weight: 800;
    color: #fff;
    list-style: none;
}

.footer-dropdowns summary::-webkit-details-marker {
    display: none;
}

.footer-dropdowns .dd-body {
    margin-top: 0.6rem;
    color: rgba(255,255,255,0.92);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-dropdowns .dd-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
}

.footer-dropdowns .dd-links a {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    padding: 0.15rem 0;
}

.footer-dropdowns .dd-links a:hover {
    color: #d4af37;
}


.footer-content {
    max-width: 1100px;
    margin: 0 auto 1.5rem auto;
    padding: 0 1rem;
}

.footer-info p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 768px) {
    header.hero {
        height: 60vh;
    }

    .hero-track img {
        width: 260px;
        height: 400px;
    }

    nav a {
        padding: 0.4rem 0.8rem;
    }

    main {
        padding: 2rem 1rem;
    }

    .mission-vision-section {
        /* grid-template-columns: 1fr;  <-- This was targeting the section, now target the grid class */
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }

    .banner-flex {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

/* ======================
   SUB-PAGES STYLES
====================== */
.site-header {
    background-color: #0914b2;
    color: #fff;
    padding: 3rem 1rem;
    text-align: center;
}

.site-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-title-section {
    background-color: #f4f8fb;
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

/* ======================
   CONTACT FORM
====================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #ad1c1c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.submit-btn {
    background-color: #ad1c1c;
    color: white;
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: #d4af37;
    color: #0914b2;
}

/* ======================
   EVENTS LIST
====================== */
.event-item {
    background: #fff;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid #d4af37;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.event-date {
    background: #0914b2;
    color: #fff;
    padding: 1rem;
    text-align: center;
    border-radius: 4px;
    min-width: 100px;
}

.event-date .day {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
}

.event-date .month {
    text-transform: uppercase;
    font-size: 0.9rem;
}

.event-details h3 {
    color: #0914b2;
    margin-bottom: 0.5rem;
}
/* Existing styles... */

/* Image Section */
.image-section {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 20px 0 0 0; /* Add 20px top margin to avoid overlap with header */
    padding: 0;
}

.fitted-image {
    width: 100%; /* Full width */
    height: auto; /* Maintain aspect ratio */
    max-height: 400px; /* Limit height to fit without overlap */
    object-fit: cover; /* Scales proportionally */
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fitted-image {
        max-height: 250px; /* Smaller on mobile */
    }
}
/* ======================
   GALLERY PAGE
====================== */
/* Co-Curricular Activities Grid Layout (scoped to prevent overriding other gallery grids) */
.co-curricular-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop, like Pornhub */
    gap: 20px; /* Spacing between items */
    margin-bottom: 3rem;
}

/* Video Thumbnail Styles (YouTube-like) */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05); /* Slight zoom on hover for interactivity */
}

.gallery-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* 16:9 aspect ratio like YouTube thumbnails */
    object-fit: cover; /* Ensures video fills the area without distortion */
    display: block;
}

/* Overlay for text/links */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1; /* Show overlay on hover */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 15px;
    }
    
    .gallery-video {
        aspect-ratio: 16 / 9; /* Maintain aspect ratio on mobile */
    }
}


/* ======================
   CO-CURRICULAR ACTIVITIES (ACADEMICS PAGE)
====================== */
.co-curricular-activities {
    padding: 2rem 0;
}

/* Scope co-curricular gallery styles */
.co-curricular-gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: none;
    background: none;
    aspect-ratio: 16/9;
}

.co-curricular-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin: 0 auto;
    max-width: 1200px;
}

.co-curricular-gallery .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.co-curricular-gallery .gallery-item:hover .overlay {
    opacity: 1;
}


.activity-section {
    margin-bottom: 4rem; /* Space between sections for separation */
}

.activity-header {
    text-align: center;
    margin-bottom: 2rem;
}

.activity-header h3 {
    font-size: 1.8rem;
    color: #ad1c1c; /* Professional dark color */
    margin: 0;
}

.activity-header p {
    font-size: 1rem;
    color: #7f8c8d;
    margin: 0.5rem 0 0;
}

/* Pinterest-Style Grid: Auto-filling columns with uniform aspect ratio */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Auto-fill columns, minimum 250px width */
    gap: 1rem;
    margin: 0 auto;
    max-width: 1200px; /* Optional: Limit max width for larger screens */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: none; /* No borders */
    box-shadow: none; /* No shadows */
    background: none; /* No background */
    aspect-ratio: 16/9; /* Uniform aspect ratio for all items (perfect for mobile and PC) */
}

.gallery-item img,
.gallery-video {
    width: 100%;
    height: 100%; /* Fill the entire item */
    object-fit: cover; /* Fully visible, scales without cropping */
    display: block;
    border: none; /* Ensure no borders */
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1; /* Show overlay on hover */
}

/* Responsive Design: Adjust min width for mobile */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Smaller min width on mobile for better fit */
    }
}

.aligned-image {
    float: left; /* Aligns image to the left, text flows to the right */
    margin-right: 15px; /* Adds space between the image and the text */
    width: 150px; /* Adjust the width as needed */
    height: auto; /* Maintains the aspect ratio */
}
.container::after {
    content: "";
    clear: both;
    display: table; /* This "clearfix" ensures the container wraps around the floated elements */
}
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
.whatsapp-float a {
    display: block;
    text-decoration: none;
}
.whatsapp-float img {
    transition: transform 0.3s ease;
}
.whatsapp-float img:hover {
    transform: scale(1.1);
}
/* ======================
   IMAGE ALIGNMENT UTILITY
====================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

.slider body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #000;
  overflow: hidden;
}


.slider-container {
  position: relative;
  width: 200px;
  height: 250px;
  perspective: 1000px;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slider span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center;
  transform: rotateY(calc(var(--i) * 45deg)) translateZ(350px);
}

.slider span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.btn-container {
  position: absolute;
  bottom: -100px;
  display: flex;
  gap: 20px;
}

.btn {
  padding: 10px 20px;
  cursor: pointer;
}
/* Gallery Section Styling */
.image-gallery {
    padding: 50px 0;
    background-color: #fff;
}

.gallery-grid {
    display: flex;
    justify-content: space-between;
    gap: 15px; /* This creates the white space between images */
}

.gallery-item {
    flex: 1; /* Makes all 4 images take up equal width */
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 400px; /* Adjust height to match your preference */
    object-fit: cover; /* Ensures images don't look stretched */
    display: block;
    transition: transform 0.3s ease;
}

/* Subtle hover effect (optional) */
.gallery-item img:hover {
    transform: scale(1.05);
}

/* Responsive: Stack images on top of each other on mobile */
@media (max-width: 768px) {
    .gallery-grid {
        flex-direction: column;
    }
    
    .gallery-item img {
        height: 300px;
    }
}
/* Co-Curricular Section */
.co-curricular-activities {
    padding: 60px 0;
}

.gallery-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.gallery-item {
    position: relative;
    flex: 1;
    min-width: 250px; /* Ensures items don't get too small */
    height: 400px;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.gallery-item img, 
.gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps aspect ratio consistent */
    display: block;
    transition: transform 0.5s ease;
}

/* Hover Zoom Effect */
.gallery-item:hover img,
.gallery-item:hover .gallery-video {
    transform: scale(1.1);
}

/* Dark Overlay with Text */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0914b2; /* Darkens the image/video slightly */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.overlay span {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    border: 2px solid white;
    padding: 10px 20px;
    background: #0914b2b0;
}

.gallery-item:hover .overlay {
        background: #0914b2b0;
}

  
       .footer {
            background-color: var(--black);
            width: 100%;
            overflow: hidden;
            border-top: 1px solid #0914b2;
        }

        /* Checkered Top Border */
        .checkered-border {
            height: 24px;
            width: 100%;
            background-image: 
                linear-gradient(45deg, #fff 25%, transparent 25%), 
                linear-gradient(-45deg, #fff 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #0914b2 75%), 
                linear-gradient(-45deg, transparent 75%, #0914b2 75%);
            background-size: 12px 12px;
            background-position: 0 0, 0 6px, 6px -6px, -6px 0px;
            background-color: #0914b2;
        }

        /* Ruler Section */
        .ruler {
            display: flex;
            justify-content: center;
            align-items: flex-end;
            height: 30px;
            border-bottom: 1px solid #0914b2;
            position: relative;
            padding-bottom: 5px;
        }

        .ruler-mark {
            width: 1px;
            height: 8px;
            background-color: #0914b2;
            margin: 0 15px;
            position: relative;
        }

        .ruler-mark::after {
            content: attr(data-num);
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 8px;
            color: #0914b2;
        }

        /* Hero Section */
        .hero-section {
            padding: 60px 20px;
            text-align: center;
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .ready-text {
            font-size: 18px;
            font-weight: 900;
            letter-spacing: 2px;
            margin-bottom: 20px;
            text-transform: uppercase;
        }

.contact-me-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(100px, 20vw, 280px);
    line-height: 0.8;
    color: #0914b2;
    letter-spacing: -2px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
}


        /* Floating Contact Button */




        .contact-pill-wrapper {
            position: absolute;
            top: 55%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 10;
        }

        .contact-pill {
            display: flex;
            align-items: center;
            background-color: var(#0914b2);
            border: 2px solid #0914b2;
            border-radius: 100px;
            padding: 8px 8px 8px 30px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .contact-pill:hover {
            border-color: var(--yellow);
        }

        .contact-pill span {
            font-size: 24px;
            font-weight: 400;
            margin-right: 20px;
            letter-spacing: 1px;
        }

        .arrow-circle {
            width: 50px;
            height: 50px;
            background-color: var(--yellow);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--black);
        }

        /* Navigation Links */
        .nav-links {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-top: 40px;
        }

        .nav-links a {
            color: var(--white);
            text-decoration: none;
            font-size: 14px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .star-icon {
            color: var(--yellow);
            font-size: 18px;
        }

        /* Middle Info Section */
        .info-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            border-top: 1px solid #0914b2;
            border-bottom: 1px solid #0914b2;
        }

        .info-box {
            padding: 40px;
            border-right: 1px solid #0914b2;
        }

        .info-box:last-child {
            border-right: none;
        }

        .info-text {
            font-size: 16px;
            line-height: 1.4;
            max-width: 300px;
            text-transform: uppercase;
            font-weight: 700;
        }

        .email-display {
            display: flex;
            align-items: center;
            font-size: clamp(24px, 4vw, 48px);
            font-weight: 400;
            overflow: hidden;
            white-space: nowrap;
        }

        .email-display .star-icon {
            margin: 0 20px;
            font-size: 32px;
        }

        /* Bottom Bar */
        .bottom-bar {
            padding: 30px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo-icon svg {
            width: 40px;
            height: 40px;
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-btn {
            padding: 8px 20px;
            border: 1px solid #001aff;
            border-radius: 100px;
            color: var(--white);
            text-decoration: none;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            transition: border-color 0.3s;
        }

        .social-btn:hover {
            border-color: var(--yellow);
        }

        .social-btn.circle {
            width: 36px;
            height: 36px;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .credits {
            font-size: 12px;
            color: #0914b2;
        }

        .credits span {
            color: var(--yellow);
            font-weight: 700;
        }

        @media (max-width: 768px) {
            .info-section {
                grid-template-columns: 1fr;
            }
            .info-box {
                border-right: none;
                border-bottom: 1px solid #0914b2;
            }
            .bottom-bar {
                flex-direction: column;
                gap: 30px;
                text-align: center;
            }
            .contact-me-title {
                font-size: 80px;
            }
            .contact-pill span {
                font-size: 18px;
            }
        }
