/* --- Global Styles --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background-color: #fcfaf7;
    color: #1a3c5a;
    line-height: 1.6;
}

/*Nav Bar*/
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    height: 100px;
    /* Bada navbar size */
}

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

.logo img {
    height: 70px;
    /* Logo bada kar diya */
    width: auto;
}

.logo h1 {
    font-size: 2.2rem;
    color: #1a3c5a;
    letter-spacing: 2px;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav ul li a {
    text-decoration: none;
    color: #1a3c5a;
    font-weight: 600;
    font-size: 1.2rem;
    /* Links bade dikhenge */
    transition: 0.3s;
}

nav ul li a:hover {
    color: #b19cd9;
}

/*Hero Section- dont touch video settings :)*/
.hero {
    height: 100vh;
    /* Full screen height */
    width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 8%;
    color: white;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 140%;
    /* Purana zoom level */
    height: 100%;
    object-fit: cover;
    /* Isse video ka logo right side pe hi rahega */
    object-position: 100% center;
    z-index: -1;
    opacity: 0.7;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 60, 90, 0.5) 0%, rgba(26, 60, 90, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
}

.hero-text {
    z-index: 2;
    max-width: 600px;
    text-align: left;
}

/* giving id to W to change its font and being a bit creative */
.drop-cap {
    font-family: 'Dancing Script', cursive;
    font-size: 9rem;
    color: #b19cd9;
    text-transform: none;
    margin-right: -10px;
}

.hero-subtitle.cursive-font {
    font-family: 'Cochin', Times, serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: #fcfaf7;
    margin-bottom: 35px;
    max-width: 600px;
    text-transform: none;
    line-height: 1.2;
}

.hero-text h2 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #1a3c5a;
    ;
}

/* button styling and animations */
.hero button {
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    /* Text color */
    background-color: #b19cd9;
    /* Base color: Purple */
    border: none;
    border-radius: 50px;
    cursor: pointer;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* blue layer behind*/
.hero button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    /* on outside left of button  */
    width: 100%;
    height: 100%;
    background-color: #1a3c5a;
    /* Hover color: Blue */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* effect that was on another site - done */
    z-index: -1;
}

/* Hover effect, blue layer comes in left to right*/
.hero button:hover::after {
    left: 0;
}

.hero button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 60, 90, 0.3);
}

/* --- Section Padding --- */
section {
    padding: 120px 10% 80px;
    /* Navbar fixed, just increased top padding */
}


/* --- About Section (Centered Card) --- */
.about {
    background: linear-gradient(180deg, #fcfaf7 0%, #f3effa 100%);
    padding: 80px 10% 40px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.about-container {
    width: 100%;
    max-width: 900px;
}

.about-card {
    margin-top: -20px;
    background: white;
    padding: 80px 60px;
    /* Andar ki space badha di premium feel ke liye */
    border-radius: 50px;
    /* Extra rounded corners */
    box-shadow: 0 25px 60px rgba(177, 156, 217, 0.15);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

/* Halka sa hover effect card pe */
.about-card:hover {
    transform: scale(1.02);
}

/* About Section Styling */

/* --- About Section Title Styling --- */
.about-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Only 'W'purple color */
.w-letter {
    color: #b19cd9;
    /* Lavender/Purple */
}

/* 'ISE'  deep blue color */
.ise-letters {
    color: #1a3c5a;
    /* Deep Blue */
}

/* --- CLEAN & MODERN ABOUT SECTION --- */
.about {
    background: #fcfaf7;
    /* Minimal solid background */
    padding: 100px 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.about-container {
    width: 100%;
    max-width: 950px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* About Card - Simplified */
.about-card {
    text-align: center;
    padding: 20px 0;
}

.about-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1a3c5a;
}

.about-text {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* What We Do - Horizontal Flow */
.wwd-area {
    width: 100%;
}

.wwd-main-title {
    font-size: 2.2rem;
    color: #1a3c5a;
    margin-bottom: 20px;
    text-align: center;
}

.wwd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns for desktop */
    gap: 30px;
}

/* --- PREMIUM WWD CARDS --- */
.wwd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 0;
}

.wwd-card {
    background: rgba(255, 255, 255, 0.05);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 1 / 1;
    padding: 28px 20px;
    border-radius: 35px;
    /* Thode zyada rounded corners premium lagte hain */
    text-align: center;
    border: 1px solid rgba(177, 156, 217, 0.2);
    /* Subtle purple border */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
}

.wwd-card-text {
    width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 14px 16px;
    border-radius: 20px;
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translate(-50%, 20%);
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: bottom 0.4s ease, transform 0.4s ease, opacity 0.35s ease;
}

.wwd-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background: white;
    transform: translateY(100%);
    transition: transform 0.45s ease;
    z-index: 1;
}

.wwd-card:hover::after {
    transform: translateY(0);
}

.wwd-card:hover .wwd-card-text {
    bottom: 50%;
    transform: translate(-50%, 50%);
    opacity: 1;
    visibility: visible;
}

/* Card ke peeche halka sa glow effect hover pe */
.wwd-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(177, 156, 217, 0.1) 0%, transparent 70%);
    z-index: -1;
    transition: 0.5s ease;
    opacity: 0;
}

.wwd-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: #b19cd9;
    box-shadow: 0 25px 50px rgba(177, 156, 217, 0.15);
}

.wwd-card:hover::before {
    opacity: 1;
}

.wwd-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.05));
    transition: transform 0.3s ease;
}

.wwd-card:hover .wwd-icon {
    transform: scale(1.2);
    /* Icon halka sa "pop" karega */
}

.wwd-card h3 {
    font-size: 1.5rem;
    color: whitesmoke;
    margin-bottom: 12px;
    font-weight: 700;
    transition: color 0.4s ease;
}

.wwd-card p {
    font-size: 1rem;
    color: whitesmoke;
    line-height: 1.6;
    transition: color 0.4s ease;
}

.wwd-card:hover h3 {
    color: #1a3c5a;
}

.wwd-card:hover p {
    color: #666;
}


/* Special Feature Box ko thoda aur sleek banaya */
.special-feature-box {
    background: white;
    padding: 45px;
    border-radius: 35px;
    text-align: center;
    border: 2px dashed rgba(177, 156, 217, 0.4);
    margin-top: 40px;
    box-shadow: 0 15px 35px rgba(177, 156, 217, 0.05);
    transition: 0.3s;
}

.special-feature-box:hover {
    border-style: solid;
    border-color: #b19cd9;
    transform: scale(1.01);
}

/* Special Feature Box - Ugly Dark Box Removed */
.special-feature-box {
    background: linear-gradient(135deg, #f3effa 0%, #ffffff 100%);
    padding: 30px 40px;
    border-radius: 25px;
    text-align: center;
    border: 2px dashed #b19cd9;
    margin-top: 0;
}

.special-tag {
    color: #b19cd9;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
}

.special-text {
    font-size: 1.3rem;
    color: #1a3c5a;
    font-weight: 500;
    line-height: 1.5;
}

.highlight {
    background: rgba(177, 156, 217, 0.2);
    padding: 2px 8px;
    border-radius: 5px;
    color: #1a3c5a;
}

/* Navigation Scroll Fix — handled at top of file */


.about {
    /* Home section se match karta hua light mesh gradient */
    background-color: #fcfaf7;
    background-image:
        radial-gradient(at 0% 0%, rgba(177, 156, 217, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(26, 60, 90, 0.08) 0px, transparent 50%),
        url('https://www.transparenttextures.com/patterns/cubes.png');

    padding: 80px 10% 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* --- EXACT REFERENCE STYLE CALENDAR --- */

/* --- CALENDAR SECTION CORE --- */
.events-section {
    background: linear-gradient(135deg, #2d1b36 0%, #4a2c5a 100%) !important;
    padding: 110px 5% 50px !important;
    min-height: 100vh;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.calendar-main-title {
    font-family: 'Poppins', sans-serif;
    color: #f3effa;
    /*letter-spacing: 10px;*/
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.month-btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
}

/* --- THE GRID --- */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1.5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.day-name {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.date-cell {
    min-height: 100px;
    background: white;
    padding: 12px;
    color: #2d1b36;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    align-items: center;
    text-align: center;
}

.date-cell:hover {
    background: #f8f4ff;
}

.active-cell {
    background: #e8daef !important;
}

.today-highlight {
    background: #dcd0ff !important;
    border: 2px solid #8e44ad;
    cursor: pointer;
}

.muted-cell {
    background: #f9f9f9;
    color: #ccc;
}

.event-info {
    margin-top: auto;
    font-size: 0.75rem;
    color: #8e44ad;
}

/* --- WHITE PICKER POPUP --- */
.month-selector {
    position: relative;
}

.picker-popup {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    background: white;
    width: 300px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.picker-header {
    display: flex;
    justify-content: space-between;
    color: #333;
    margin-bottom: 15px;
}

.picker-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 10px;
}

.p-day {
    font-size: 0.7rem;
    color: #999;
}

.p-date {
    font-size: 0.85rem;
    color: #444;
    padding: 5px;
    cursor: pointer;
    border-radius: 50%;
}

.active-p {
    background: #8e44ad !important;
    color: white !important;
}

.p-date.muted {
    color: #eee;
}

/* Event Modal */
.event-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: 350px;
    position: relative;
    color: #333;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 2rem;
    cursor: pointer;
}

.team {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;

}

.member img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid #b19cd9;
    object-fit: cover;
}

.memberHeading {
    justify-content: center;
    align-items: center;

}

/* --- MINI CALENDAR PICKER POPUP --- */
.month-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 22px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    transition: background 0.2s;
}

.month-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.chevron {
    font-size: 1.2rem;
    line-height: 1;
}

.mini-cal-popup {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: white;
    width: 310px;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    z-index: 2000;
    padding: 20px;
    animation: popIn 0.18s ease;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mini-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mini-cal-nav {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #4a2c5a;
    cursor: pointer;
    padding: 0 6px;
    line-height: 1;
    border-radius: 50%;
    transition: background 0.2s;
}

.mini-cal-nav:hover {
    background: #f3effa;
}

.mini-cal-selects {
    display: flex;
    gap: 6px;
}

.mini-cal-selects select {
    border: none;
    background: #f3effa;
    color: #4a2c5a;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 5px 8px;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.mini-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 8px;
}

.mini-cal-days span {
    font-size: 0.75rem;
    color: #999;
    font-weight: 600;
    padding: 4px 0;
}

.mini-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.mini-cal-grid .mc-date {
    text-align: center;
    padding: 7px 0;
    border-radius: 50%;
    font-size: 0.88rem;
    color: #333;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-weight: 500;
}

.mini-cal-grid .mc-date:hover {
    background: #e8daef;
    color: #4a2c5a;
}

.mini-cal-grid .mc-date.mc-today {
    background: #8e44ad;
    color: white;
    font-weight: 700;
}

.mini-cal-grid .mc-date.mc-other {
    color: #ccc;
    cursor: default;
}

.mini-cal-grid .mc-date.mc-other:hover {
    background: none;
}

.mini-cal-grid .mc-date.mc-has-event {
    background: rgba(177, 156, 217, 0.25);
    color: #4a2c5a;
    font-weight: 700;
}

/* --- ADVISORS & BOARD SECTION FIX --- */
.advisors,
.board {
    padding: 30px 10%;
    text-align: center;
    background: #fcfaf7;
}

.advisors {
    padding-top: 60px;
}

.board {
    padding-bottom: 80px;
}

.advisors h2,
.board h2 {
    font-size: 2.5rem;
    color: #1a3c5a;
    margin-bottom: 50px;
    text-align: center;
}

.member {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.member h3.memberHeading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a3c5a;
    text-align: center;
    margin-top: 8px;
}

.member p {
    color: #888;
    font-size: 0.95rem;
    text-align: center;
}


footer {
    text-align: center;
    padding: 25px 10%;
    background: #1a3c5a;
    color: #fcfaf7;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1100;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2.5px;
    background: #1a3c5a;
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 768px) {
    header {
        height: 65px;
        padding: 0 5%;
    }

    html {
        scroll-padding-top: 65px;
    }

    .logo img {
        height: 38px;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .hamburger {
        display: flex;
    }

    nav {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 20px 0;
    }

    nav.open {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 14px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 1050px) {
    .hero-text h2 {
        font-size: 2rem !important;
        color: white !important;
        line-height: 1.1;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-text {
        font-size: 0.95rem;
        line-height: 1.7;
        text-align: left;
    }

    .about-card {
        padding: 30px 20px;
    }

    .drop-cap {
        font-size: 3.5rem;
        line-height: 0.85;
    }

    .hero-video {
        width: 100%;
        object-position: 47% center;
    }

    .hero-text {
        max-width: 60%;
    }

    .hero-subtitle.cursive-font {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
    }

    .wwd-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .wwd-card {
        aspect-ratio: 16 / 9;
        background-size: cover !important;
        background-position: center !important;
        justify-content: center;
        align-items: center;
    }

    .wwd-card::after {
        display: none;
    }

    .wwd-card-text {
        position: relative;
        left: unset;
        bottom: unset;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(255, 255, 255, 0.88);
        border-radius: 12px;
        padding: 10px 16px;
        width: 80%;
    }

    .wwd-card h3 {
        color: #1a3c5a !important;
        font-size: 1.1rem;
        margin-bottom: 4px;
    }

    .wwd-card p {
        color: #555 !important;
        font-size: 0.85rem;
    }

    .wwd-main-title {
        font-size: 1.6rem;
    }

    .special-text {
        font-size: 1rem;
    }

    .wwd-card .wwd-card-text {
        opacity: 0;
        visibility: hidden;
        position: absolute;
        left: 50%;
        bottom: 20px;
        transform: translate(-50%, 20%);
        background: rgba(255, 255, 255, 0.92);
        border-radius: 12px;
        padding: 10px 16px;
        width: 80%;
    }

    .wwd-card::after {
        display: block;
    }

    .wwd-card.tapped::after {
        transform: translateY(0);
    }

    .wwd-card {
        aspect-ratio: 4 / 3;
    }

    .wwd-card.tapped .wwd-card-text {
        bottom: 50%;
        transform: translate(-50%, 50%);
        opacity: 1;
        visibility: visible;
    }

    .calendar-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 15px;
    }

    .calendar-main-title {
        font-size: 2rem;
        letter-spacing: 0;
    }

    .calendar-main-title {
        text-align: center;
        width: 100%;
    }

    .day-name {
        padding: 8px 2px;
        font-size: 0.6rem;
    }

    .date-cell {
        min-height: 55px;
        padding: 5px 3px;
        font-size: 0.75rem;
    }

    .event-pill {
        font-size: 0.5rem;
        padding: 2px 3px;
    }

    .hero::after {
        background: linear-gradient(160deg,
                rgba(26, 60, 90, 0.78) 0%,
                rgba(26, 60, 90, 0.50) 60%,
                rgba(0, 0, 0, 0.1) 100%);
    }

    .hero button {
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .hero::after {
        background: linear-gradient(160deg,
                rgba(26, 60, 90, 0.85) 0%,
                rgba(26, 60, 90, 0.70) 50%,
                rgba(26, 60, 90, 0.50) 100%);
    }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
    color: #b19cd9;
}

.footer-email {
    color: #fcfaf7;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-email:hover {
    color: #b19cd9;
}

.footer-right {
    display: flex;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    transition: 0.3s;
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.25);
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* Gallery Page Styles */
main {
    padding: 100px 5% 40px;
    max-width: none;
    margin: 0;
    text-align: left;
}

main h1 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: #1a3c5a;
    text-align: left;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
    justify-items: start;
    width: 100%;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Flip Card Certificates Section */
.certificates-section {
    width: 100%;
    max-width: 1100px;
    margin-top: 40px;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 24px;
}

.certificate-card {
    width: 100%;
    height: 420px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 12px 28px rgba(26, 60, 90, 0.12);
    border: 1px solid rgba(177, 156, 217, 0.2);
}

.recognition-card {
    background-image: url('images/certificate-recognition.jpg');
}

.trailblazer-card {
    background-image: url('images/certificate-trailblazer.jpg');
}

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

    .certificate-card {
        height: 360px;
    }
}