/* CSS Variables for Light Theme */
:root {
    /* Light Theme - Clean White like Camp Liftoff */
    --bg-primary: #ffffff;
    --bg-secondary: rgba(0, 0, 0, 0.05);
    --bg-tertiary: #ffffff;
    --text-primary: #212529;
    --text-secondary: #495057;
    --text-tertiary: #6c757d;
    --accent-primary: #007bff;
    --accent-secondary: #dc3545;
    --border-primary: rgba(0, 0, 0, 0.1);
    --border-secondary: rgba(0, 123, 255, 0.3);
    --shadow-primary: rgba(0, 123, 255, 0.2);
    --shadow-secondary: rgba(0, 0, 0, 0.1);
}


/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
    font-weight: 300;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    color: #0C2340;
}

h2 {
    font-family: "Merriweather", serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-style: normal;
    font-weight: 700;
    color: #0C2340;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    background: var(--bg-tertiary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Safari-specific fixes for fixed positioning */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-perspective: 1000;
    perspective: 1000;
    will-change: transform;
}

/* Hero navbar overrides - Must override base navbar */
.hero .navbar {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    z-index: 9999 !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    transform: translateZ(0) !important;
    will-change: transform !important;
    padding: 0.5rem 2rem !important;
}

/* Additional floating navbar styles */
header.hero nav.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
}

/* Ensure navbar floats during scroll */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    /* Safari-specific fixes for fixed positioning */
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
    -webkit-perspective: 1000 !important;
    perspective: 1000 !important;
    will-change: transform !important;
}

/* Scrolled navbar state - more transparent */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.15) !important;
}

.hero .navbar.scrolled {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.15) !important;
}



.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.5rem;
    color: #333333;
    text-shadow: none;
}

.school-logo {
    height: 45px;
    width: auto;
    max-width: 250px;
    transition: transform 0.3s ease;
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

.mobile-logo {
    display: none;
}

.desktop-logo {
    display: inline-block;
    margin-top: 0.7rem;
}

.school-logo:hover {
    transform: scale(1.05);
}

/* Logo text removed - logo image contains the text */

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    padding: 0;
    margin: 0;
    z-index: 1001;
}

.mobile-title {
    display: none;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section with Photo Carousel */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

/* Smart object-fit: use contain for portrait images, cover for landscape */
.carousel-slide img[src*="KQ1A1243.jpg"],
.carousel-slide img[src*="KQ1A1255.jpg"],
.carousel-slide img[src*="KQ1A1264.jpg"],
.carousel-slide img[src*="KQ1A1275.jpg"],
.carousel-slide img[src*="KQ1A1277.jpg"],
.carousel-slide img[src*="KQ1A1281.jpg"],
.carousel-slide img[src*="KQ1A1296.jpg"],
.carousel-slide img[src*="KQ1A1304.jpg"],
.carousel-slide img[src*="KQ1A1309.jpg"],
.carousel-slide img[src*="KQ1A1313.jpg"],
.carousel-slide img[src*="KQ1A1478.jpg"],
.carousel-slide img[src*="KQ1A1483.jpg"] {
    object-fit: contain;
}

.slide-caption {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    max-width: 300px;
}

.slide-caption h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.slide-caption p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    transform: translateY(-50%);
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 0.5rem;
}

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

.indicator.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.hero .navbar {
    position: relative;
    z-index: 3;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
}

.hero-content {
    position: absolute;
    bottom: 2rem;
    left: 4rem;
    z-index: 3;
    text-align: left;
    max-width: 500px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-family: "Merriweather", serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #0C2340 !important;
    text-shadow: none;
    animation: none;
    font-weight: 300 !important;
    line-height: 1.2;
}

/* Override general h1 rule for hero title */
h1.hero-title {
    font-weight: 300 !important;
}

.hero-title-small {
    font-size: 0.7em;
    font-weight: 300;
    opacity: 0.9;
}

.hero-subtitle {
    font-family: "Merriweather", serif;
    font-size: 1.2rem;
    color: #37474f;
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.3;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-primary);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    border: none;
}

.cta-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Glow animation removed for professional appearance */

/* Main Content - starts after hero section */
main {
    margin-top: 0;
}

/* Ensure content below hero doesn't hide behind fixed navbar */
.section:first-of-type {
    padding-top: 80px;
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: #f8f9fa;
}

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-secondary);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-primary);
    border-color: var(--border-secondary);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0C2340;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Gallery Section */
.gallery-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.gallery-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.category-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    position: relative;
    box-shadow: 0 4px 15px var(--shadow-secondary);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-primary);
    border-color: var(--border-secondary);
}

.category-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.category-content {
    padding: 1.5rem;
    text-align: center;
}

.category-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #0C2340;
    font-weight: 600;
}

.category-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.category-count {
    display: inline-block;
    background: rgba(0, 123, 255, 0.1);
    color: var(--accent-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.project-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-secondary);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-primary);
    border-color: var(--border-secondary);
}

.project-image {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #0C2340;
}

.project-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.project-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.project-logo-img {
    max-width: 320px;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(0%) sepia(100%) saturate(7500%) hue-rotate(217deg) brightness(32%) contrast(106%);
}

/* Announcements Section */
.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.announcement-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #007bff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.announcement-card.urgent {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.announcement-card.meeting {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #f8fff8 0%, #ffffff 100%);
}

.announcement-card.info {
    border-left-color: #007bff;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.announcement-type {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    background: rgba(0, 123, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.announcement-date {
    font-size: 0.85rem;
    font-weight: 500;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.announcement-card h3 {
    color: #0C2340;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.announcement-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 300;
}

.announcement-note {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.announcement-note p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-primary);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-secondary);
    width: 100%;
    max-width: none;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-primary);
    border-color: var(--border-secondary);
}

.member-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.member-photo {
    width: 160px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.member-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.team-member h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #0C2340;
}

.team-member p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
}

.member-email {
    margin-top: 0.8rem;
    font-size: 0.9rem;
}

.member-email a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.member-email a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.2rem;
    color: #333333;
    margin-bottom: 2rem;
    font-weight: 300;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-icon {
    font-size: 1rem;
}

.contact-item span:last-child {
    color: #333333;
}

/* Sponsors Section */
.sponsors-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sponsor-tiers {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.tier {
    background: #ffffff;
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid var(--border-primary);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-secondary);
    flex: 1;
    transition: all 0.3s ease;
}

.tier:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-primary);
    border-color: var(--border-secondary);
}

.tier::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.tier.platinum::before {
    background: linear-gradient(90deg, #e5e4e2, #b8860b);
}

.tier.gold::before {
    background: linear-gradient(90deg, #ffd700, #ffa500);
}

.tier.silver::before {
    background: linear-gradient(90deg, #c0c0c0, #a8a8a8);
}

.tier h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #0C2340;
    text-align: center;
    font-weight: 700;
}

.tier-description {
    text-align: center;
    color: var(--accent-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.sponsor-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--shadow-secondary);
    border-radius: 10px;
    border: 1px solid var(--border-primary);
}

.sponsor-benefits span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.sponsor-placeholder {
    background: var(--bg-secondary);
    border: 2px dashed var(--border-primary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.sponsor-placeholder:hover {
    border-color: var(--border-secondary);
    background: rgba(0, 123, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-primary);
}

.sponsor-logo {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.sponsor-placeholder h4 {
    color: var(--accent-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.sponsor-placeholder p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.sponsor-cta {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 123, 255, 0.1);
    color: var(--accent-primary);
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
}

.sponsor-cta:hover {
    background: rgba(0, 123, 255, 0.2);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.sponsor-cta-section {
    text-align: center;
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--border-primary);
    box-shadow: 0 4px 15px var(--shadow-secondary);
    transition: all 0.3s ease;
}

.sponsor-cta-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-primary);
    border-color: var(--border-secondary);
}

.sponsor-cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0C2340;
}

.sponsor-cta-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.sponsor-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--accent-primary);
    color: var(--text-primary);
}

.cta-button.secondary:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
}

/* Dedicated Sponsors Page */
.sponsorship-overview {
    text-align: center;
    margin-bottom: 4rem;
}

.sponsorship-overview h2 {
    margin-bottom: 1.5rem;
}

.overview-text {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', monospace;
}

.stat-label {
    color: #ccc;
    font-size: 1rem;
    font-weight: 500;
}

.detailed-tiers {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tier-detail {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-detail.platinum {
    border-left: 5px solid #e5e4e2;
}

.tier-detail.gold {
    border-left: 5px solid #ffd700;
}

.tier-detail.silver {
    border-left: 5px solid #c0c0c0;
}

.tier-detail.bronze {
    border-left: 5px solid #cd7f32;
}

.tier-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.tier-header h3 {
    margin: 0;
    color: #ffffff;
}

.tier-amount {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.tier-content {
    padding: 2rem;
}

.tier-content h4 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tier-content ul {
    color: #ccc;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.tier-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

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

.sponsorship-cta {
    text-align: center;
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-primary);
    box-shadow: 0 4px 15px var(--shadow-secondary);
}

.sponsorship-cta h2 {
    margin-bottom: 1rem;
}

.sponsorship-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.sponsorship-note {
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 10px;
    padding: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.sponsorship-note p {
    color: var(--accent-primary);
    margin: 0;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--shadow-secondary);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-primary);
}

.footer p {
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

/* School Links Styling */
.school-link {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    font-weight: 500;
}

.school-link:hover {
    color: #00d4ff;
    border-bottom-color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.nav-brand .school-link {
    color: var(--text-primary);
    text-decoration: none;
}

.nav-brand .school-link:hover {
    color: var(--accent-primary);
    text-shadow: 0 0 15px var(--shadow-primary);
}



/* Gallery Category Pages */
.launches-grid,
.competitions-grid,
.workshops-grid,
.testing-grid,
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.launch-item,
.competition-item,
.workshop-item,
.team-item,
.testing-item,
.achievement-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.launch-item:hover,
.competition-item:hover,
.workshop-item:hover,
.team-item:hover,
.testing-item:hover,
.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
}

.launch-image,
.competition-image,
.workshop-image,
.team-image,
.testing-image,
.achievement-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.launch-image img,
.competition-image img,
.workshop-image img,
.team-image img,
.testing-image img,
.achievement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.launch-item:hover .launch-image img,
.competition-item:hover .competition-image img,
.workshop-item:hover .workshop-image img,
.team-item:hover .team-image img,
.testing-item:hover .testing-image img,
.achievement-item:hover .achievement-image img {
    transform: scale(1.05);
}

.launch-details,
.competition-details,
.workshop-details,
.team-details,
.testing-details,
.achievement-details {
    padding: 1.5rem;
}

.launch-details h3,
.competition-details h3,
.workshop-details h3,
.team-details h3,
.testing-details h3,
.achievement-details h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #00d4ff;
}

.launch-date,
.competition-date,
.workshop-date,
.team-date,
.testing-date,
.achievement-date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.launch-description,
.competition-description,
.workshop-description,
.team-description,
.testing-description,
.achievement-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.launch-stats,
.competition-stats,
.workshop-stats,
.team-stats,
.testing-stats,
.achievement-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.stat {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
        background: rgba(255, 255, 255, 0.7) !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Mobile scrolled state */
    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.5) !important;
        backdrop-filter: blur(20px) !important;
        box-shadow: 0 2px 25px rgba(0, 0, 0, 0.15) !important;
    }
    
    .nav-brand {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        gap: 0.5rem;
    }
    
    .mobile-title {
        display: block;
        color: var(--text-primary);
        font-family: "Merriweather", serif;
        font-size: 0.6rem;
        font-weight: 600;
        margin: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        white-space: nowrap;
        max-width: 75%;
        overflow: hidden;
        text-overflow: ellipsis;
        z-index: 1;
    }
    
    .menu-toggle {
        display: flex !important;
        order: 3;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 0.5rem 0;
        gap: 0;
        z-index: 1000;
        list-style: none;
        margin: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        display: block;
        padding: 0.6rem 1rem;
        color: var(--text-primary);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 0.9rem;
        font-weight: 500;
        white-space: nowrap;
        transition: all 0.3s ease;
    }
    
    .nav-menu li a:hover {
        background: rgba(0, 123, 255, 0.1);
        color: var(--accent-primary);
        transform: none;
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    .school-logo {
        height: 22px;
        max-width: 100px;
        flex-shrink: 0;
    }
    
    .desktop-logo {
        display: none;
    }
    
    .mobile-logo {
        display: inline-block;
        height: 28px;
        width: 28px;
        margin-left: -0.6rem;
        margin-top: 0.4rem;
    }
    
    /* Force hide desktop nav styles on mobile */
    .nav-menu {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        font-size: 1rem !important;
    }
    
    .hero-content {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        max-width: none;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.7);
        text-align: center;
    }
    
    .hero-title {
        display: none;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Carousel responsive styles */
    .carousel-nav {
        padding: 0 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slide-caption {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
        padding: 1rem;
    }
    
    .carousel-indicators {
        bottom: 1rem;
    }
    
    /* Ensure carousel images fill full screen on mobile */
    .carousel-slide img {
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* Override portrait settings for first image on mobile */
    .carousel-slide img[src*="KQ1A1478-2.jpg"] {
        object-fit: cover !important;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-grid,
    .projects-grid,
    .gallery-categories,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .launches-grid,
    .competitions-grid,
    .workshops-grid,
    .team-grid,
    .testing-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .sponsor-grid {
        grid-template-columns: 1fr;
    }
    
    .sponsor-tiers {
        flex-direction: column;
        gap: 2rem;
    }
    
    .sponsor-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .announcements-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .mobile-title {
        font-size: 0.55rem;
        max-width: 80%;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for cards */
.about-card,
.project-card,
.team-member {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for grid items */
.about-card:nth-child(1) { animation-delay: 0.1s; }
.about-card:nth-child(2) { animation-delay: 0.2s; }
.about-card:nth-child(3) { animation-delay: 0.3s; }

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
