/* ===========================
   GLOBAL STYLES & RESET
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent text size adjustment on orientation change */
html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Improve touch scrolling on iOS */
body {
    -webkit-overflow-scrolling: touch;
}

:root {
    /* Caribbean-inspired color palette */
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #FFE66D;
    --dark-color: #2C3E50;
    --light-color: #F7F9FC;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
    color: var(--text-dark);
    /* Improve touch targets */
    padding: 0.5rem 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 1;
}

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

.btn-apply {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: var(--white) !important;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    transition: all 0.4s ease;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    position: relative;
    overflow: hidden;
    animation: pulse 2s ease-in-out infinite;
    letter-spacing: 0.5px;
    min-width: 160px;
    display: inline-block;
    text-align: center;
}

.btn-apply::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-apply:hover::before {
    width: 300px;
    height: 300px;
}

.btn-apply:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ff7043 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
    animation: none;
}

.btn-apply:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 107, 107, 0.6);
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding-top: 80px;
    overflow: hidden;
}

/* Hero Background Slideshow */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/Untitled design-2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: heroSlideshow 20s ease-in-out infinite;
    will-change: opacity;
}

@keyframes heroSlideshow {
    0%, 25% { 
        opacity: 0.3;
        background-image: url('assets/Untitled design-2.png');
    }
    33%, 58% { 
        opacity: 0.3;
        background-image: url('assets/WhatsApp Image 2025-12-04 at 8.03.45 PM.jpeg');
    }
    66%, 91% { 
        opacity: 0.3;
        background-image: url('assets/WhatsApp Image 2025-12-04 at 8.03.44 PM-6.jpeg');
    }
    100% {
        opacity: 0.3;
        background-image: url('assets/Untitled design-2.png');
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 50%, rgba(240, 147, 251, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: var(--spacing-sm);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s backwards;
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    /* Improve touch targets */
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

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

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 50px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scrollDown {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* ===========================
   SECTION STYLES
   =========================== */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    color: var(--dark-color);
}

.underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    padding: var(--spacing-xl) 0;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    overflow: auto;
}

.about-image-feature {
    position: relative;
    float: left;
    width: 42%;
    margin-right: 2.5rem;
    margin-bottom: 1.5rem;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.about-image-feature:hover {
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.3);
}

.about-image-feature img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.badge-icon {
    font-size: 2.5rem;
}

.about-image-badge strong {
    display: block;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.about-image-badge p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

.about-intro,
.about-feature-box,
.about-highlight {
    margin-bottom: 1.5rem;
}

.about-intro {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.intro-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.about-text .lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.7;
}

.about-feature-box {
    background: white;
    padding: 1.8rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    clear: right;
}

.about-feature-box:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-feature-box h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.8rem;
}

.about-feature-box p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.about-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2.5rem;
    border-radius: 20px;
    color: white;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.about-highlight h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-highlight p {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 1rem;
}

.about-highlight p:last-child {
    margin-bottom: 0;
}

/* ===========================
   JAVA SINGLES SHOWCASE
   =========================== */
.java-singles-showcase {
    background: var(--white);
    padding: var(--spacing-xl) 0;
}

.java-singles-feature {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.java-feature-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-label {
    display: inline-block;
    background: linear-gradient(135deg, #FFE66D, #FFB347);
    color: #333;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}

.java-feature-content h2 {
    font-size: 3.5rem;
    color: var(--dark-color);
    font-family: 'Playfair Display', serif;
    margin: 0;
}

.java-feature-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
}

.feature-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1.2rem 1.5rem;
    background: var(--light-color);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    transform: translateY(-5px);
}

.stat-item:hover strong,
.stat-item:hover span {
    color: white;
}

.stat-item strong {
    display: block;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.java-feature-image {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.java-feature-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(78, 205, 196, 0.3);
}

.java-feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4ECDC4, #44A8A0);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(78, 205, 196, 0.4);
}

/* ===========================
   MERCH SECTION
   =========================== */
.merch-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.merch-section .section-header h2 {
    color: white;
}

.merch-section .underline {
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white, rgba(255, 255, 255, 0));
}

.merch-intro {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

.merch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.merch-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 280px;
}

.merch-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
}

.merch-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.merch-item:hover .merch-image {
    transform: scale(1.05);
}

/* ===========================
   MISSION SECTION
   =========================== */
.mission {
    background: var(--white);
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-intro {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.quote {
    background: var(--light-color);
    padding: var(--spacing-md);
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    margin: var(--spacing-md) 0;
    text-align: left;
}

.quote p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
}

.quote cite {
    display: block;
    margin-top: var(--spacing-sm);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal;
}

/* ===========================
   CAROUSEL GALLERY SECTION
   =========================== */
.gallery-section {
    background: var(--white);
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    will-change: transform;
}

.carousel-slide {
    min-width: calc(33.333% - 1rem);
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
}

.carousel-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

/* ===========================
   IMAGE LIGHTBOX
   =========================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

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

.lightbox-content {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    line-height: 1;
    user-select: none;
}

.lightbox-close:hover {
    color: #FF6B6B;
    transform: rotate(90deg);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #ff5252, #ff7043);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.6);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    width: 30px;
    border-radius: 6px;
}

/* ===========================
   VALUES SECTION
   =========================== */
.values {
    background: var(--light-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-md);
}

.value-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.value-card h3 {
    color: var(--dark-color);
    margin-bottom: var(--spacing-sm);
}

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

/* ===========================
   APPLICATION FORM
   =========================== */
.apply {
    background: var(--white);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-color);
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    background: var(--white);
    /* Mobile optimization */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    touch-action: manipulation;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    font-weight: 400;
    color: var(--text-light);
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact {
    background: var(--dark-color);
    color: var(--white);
}

.contact .section-header h2,
.contact .underline {
    color: var(--white);
}

.contact-content {
    text-align: center;
    font-size: 1.1rem;
}

.contact-emails {
    margin-top: var(--spacing-md);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.email-link {
    color: var(--accent-color);
    font-weight: 600;
    transition: var(--transition);
}

.email-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.separator {
    color: var(--white);
    opacity: 0.5;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: #1a252f;
    color: var(--white);
    text-align: center;
    padding: var(--spacing-lg) 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-social {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    border-color: var(--white);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.footer p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
/* Tablet breakpoint */
@media (max-width: 1024px) {
    .merch-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .merch-item {
        height: 250px;
    }
}

/* Optimize hero images for mobile */
@media (max-width: 768px) {
    .hero::before {
        background-size: cover;
        background-position: center center;
    }
    
    @keyframes heroSlideshow {
        0%, 100% { 
            opacity: 0.25;
            background-image: url('assets/Untitled design-2.png');
            background-position: center;
        }
        50% { 
            opacity: 0.25;
            background-image: url('assets/WhatsApp Image 2025-12-04 at 8.03.45 PM.jpeg');
            background-position: center;
        }
    }

    .java-singles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .java-single-image.featured {
        grid-column: span 1;
    }

    .about-image-feature {
        float: none;
        width: 100%;
        max-width: 600px;
        margin: 0 auto 2rem auto;
    }

    .about-image-badge {
        padding: 1rem;
    }

    .badge-icon {
        font-size: 2rem;
    }

    .about-image-badge strong {
        font-size: 1.1rem;
    }

    .about-intro {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        align-items: center;
    }

    .intro-icon {
        font-size: 2.5rem;
    }

    .about-feature-box {
        padding: 1.5rem;
    }

    .about-highlight {
        padding: 2rem 1.5rem;
    }

    .java-singles-feature {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .java-feature-content h2 {
        font-size: 2.5rem;
        text-align: center;
    }

    .java-feature-content p {
        text-align: center;
    }

    .feature-label {
        margin: 0 auto;
    }

    .feature-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1 1 calc(50% - 1rem);
        min-width: 120px;
    }

    .java-feature-image {
        order: -1;
    }

    .merch-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .merch-intro {
        font-size: 1rem;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    .merch-item {
        height: 250px;
    }

    .carousel-container {
        padding: 0 50px;
    }

    .carousel-slide {
        min-width: 100%;
    }

    .carousel-slide img {
        height: 300px;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .slide-overlay span {
        font-size: 0.85rem;
        padding: 0.5rem 1.2rem;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: calc(100vh - 60px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        margin: 0;
        padding: 0 2rem 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .nav-links li:first-child a {
        padding-top: 0.75rem;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
    }

    .btn-apply {
        width: 100%;
        text-align: center;
        padding: 1.1rem 2.5rem;
        font-size: 1.05rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo {
        font-size: 1.5rem;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .container {
        padding: 0 1rem;
    }

    section {
        padding: var(--spacing-lg) 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        font-size: 0.95rem;
    }

    .contact-emails {
        flex-direction: column;
    }

    .separator {
        display: none;
    }

    .email-link {
        word-break: break-all;
        font-size: 0.95rem;
    }

    .about-text p,
    .mission-content p {
        font-size: 1rem;
        text-align: left;
    }

    .quote p {
        font-size: 1rem;
    }

    .value-card {
        margin: 0 auto;
        max-width: 400px;
    }

    .form-container {
        padding: 2rem 1.5rem;
    }

    .application-form input,
    .application-form select,
    .application-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .scroll-indicator {
        display: none;
    }

    /* Improve touch targets */
    .checkbox-label {
        padding: 0.5rem 0;
    }

    .checkbox-label input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .form-container {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }

    h2 {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
    
    .merch-item {
        height: 220px;
    }
    
    .merch-intro {
        font-size: 0.95rem;
    }

    .value-card {
        padding: 1.5rem;
    }

    .value-icon {
        font-size: 2.5rem;
    }

    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 1rem 1.8rem;
    }

    .navbar {
        padding: 0.8rem 0;
    }

    .logo {
        font-size: 1.3rem;
    }

    .quote {
        padding: 1.5rem;
    }

    .social-icons {
        gap: 1rem;
    }

    .social-icon {
        width: 44px;
        height: 44px;
    }

    .footer-social-title {
        font-size: 1rem;
    }

    .java-feature-content h2 {
        font-size: 2rem;
    }

    .feature-stats {
        gap: 1rem;
    }

    .stat-item {
        flex: 1 1 100%;
        padding: 1rem;
    }

    .stat-item strong {
        font-size: 1.5rem;
    }

    .about-feature-box h4 {
        font-size: 1.2rem;
    }

    .about-feature-box p {
        font-size: 1rem;
    }

    .about-highlight h3 {
        font-size: 1.5rem;
    }

    .about-highlight p {
        font-size: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 0.8rem;
    }

    .form-container {
        padding: 1.5rem 0.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* ===========================
   SMOOTH SCROLLING
   =========================== */
html {
    scroll-behavior: smooth;
}

