/* ============================================================
   APS&C Jinnah, Pano Aqil Cantt — Main Stylesheet
   APSACS green + gold theme | modern school design
   ============================================================ */

:root {
    --primary: #0d4a2f;          /* deep bottle green */
    --primary-light: #1a7a4d;    /* brighter green */
    --accent: #d4a853;           /* gold */
    --accent-light: #e8c97a;
    --bg-light: #f7f9f8;
    --bg-dark: #08251a;
    --text-dark: #1a1a2e;
    --text-light: #6b7280;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #0d4a2f 0%, #1a7a4d 50%, #0d4a2f 100%);
    --gradient-gold: linear-gradient(135deg, #d4a853 0%, #e8c97a 50%, #d4a853 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }
a { text-decoration: none; }
img { max-width: 100%; display: block; }

/* Image utilities */
.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== Animations ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }

.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25,0.46,0.45,0.94); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ===== Header ===== */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(8,37,26,0.95); backdrop-filter: blur(20px); padding: 1rem 0; transition: all 0.4s ease; animation: fadeIn 0.5s ease; }
.header.scrolled { padding: 0.5rem 0; background: rgba(8,37,26,0.98); box-shadow: 0 4px 30px rgba(0,0,0,0.2); }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: var(--white); }
.logo-img { height: 60px; width: auto; border-radius: 6px; background: transparent; padding: 0; }
.logo-icon { width: 50px; height: 50px; background: var(--gradient-gold); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--primary); font-weight: 800; animation: pulse 2s infinite; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--white); line-height: 1.1; }
.logo-text span { color: var(--accent); }
.logo-text small { display: block; font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 500; color: rgba(255,255,255,0.7); letter-spacing: 1px; }
.nav-menu { display: flex; list-style: none; gap: 1.1rem; }
.nav-menu a { color: var(--white); text-decoration: none; font-weight: 500; font-size: 0.88rem; transition: all 0.3s ease; position: relative; padding: 0.5rem 0; }
.nav-menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s ease; }
.nav-menu a:hover { color: var(--accent); }
.nav-menu a.active { color: var(--accent); }
.nav-menu a.active::after { width: 100%; }
.nav-cta { background: var(--accent); color: var(--primary); padding: 0.6rem 1.3rem; border-radius: 50px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; display: inline-block; font-size: 0.88rem; }
.nav-cta:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(212,168,83,0.3); }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* ===== Hero ===== */
.hero { position: relative; display: flex; flex-direction: column; align-items: center; background: var(--gradient); overflow: hidden; padding-top: 90px; }

.hero-title-section {
    position: relative;
    z-index: 3;
    padding: 0.1rem 0.1rem 0.1rem;
    text-align: center;
    width: 100%;
}

.hero-title { font-size: 2.5rem; font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 0; animation: fadeInUp 0.8s ease 0.4s both; }
.hero-title span { color: var(--accent); position: relative; display: inline-block; }
.hero-title span::after { content: ''; position: absolute; bottom: 3px; left: 0; width: 100%; height: 8px; background: rgba(212,168,83,0.3); z-index: -1; }
.btn-primary { background: var(--accent); color: var(--primary); padding: 1rem 2.5rem; border-radius: 50px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1rem; }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-3px); box-shadow: 0 15px 35px rgba(212,168,83,0.4); }
.btn-secondary { background: transparent; color: var(--white); padding: 1rem 2.5rem; border-radius: 50px; font-weight: 600; text-decoration: none; border: 2px solid rgba(255,255,255,0.3); transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1rem; }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--primary); padding: 1rem 2.5rem; border-radius: 50px; font-weight: 600; text-decoration: none; border: 2px solid var(--primary); transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1rem; }
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

/* ===== Hero Slideshow ===== */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 420px;
    z-index: 2;
    overflow: hidden;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: var(--gradient);
}

.hero-slideshow .slide.active {
    opacity: 1;
}

.hero-slideshow .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slideshow-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 3;
}

.slideshow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slideshow-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

.slideshow-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* ===== Hero Marquee ===== */
.hero-marquee {
    background: var(--gradient);
    border-top: 3px solid var(--accent);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 4;
}

.marquee-track {
    display: inline-flex;
    animation: marquee 30s linear infinite;
}

.marquee-content {
    display: inline-block;
    padding: 0.1rem 0.2rem;
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== Sections ===== */
.section { padding: 6rem 2rem; }
.container { max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag { display: inline-block; background: rgba(13,74,47,0.1); color: var(--primary); padding: 0.5rem 1.5rem; border-radius: 50px; font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: 1px; text-transform: uppercase; }
.section-title { font-size: 3rem; color: var(--primary); margin-bottom: 1rem; font-weight: 700; }
.section-subtitle { font-size: 1.2rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* ===== Page Hero (sub pages) ===== */
.page-hero { position: relative; background: var(--gradient); padding: 10rem 2rem 4rem; text-align: center; color: var(--white); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: rgba(212,168,83,0.1); border-radius: 50%; }
.page-hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; animation: fadeInUp 0.8s ease; }
.page-hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 1rem; }
.page-hero p { font-size: 1.2rem; color: rgba(255,255,255,0.85); }
.breadcrumb { display: flex; justify-content: center; gap: 0.5rem; align-items: center; margin-top: 1.5rem; font-size: 0.95rem; color: rgba(255,255,255,0.7); }
.breadcrumb a { color: var(--accent-light); }
.breadcrumb a:hover { color: var(--white); }

/* ===== About ===== */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image { position: relative; }
.about-image-main { width: 100%; height: 500px; background: var(--gradient); border-radius: 30px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; }
.about-image-main img { width: 100%; height: 100%; object-fit: cover; }
.about-image-main .fa-overlay { font-size: 8rem; color: rgba(255,255,255,0.4); position: absolute; }
.about-experience { position: absolute; bottom: -20px; right: -20px; background: var(--accent); color: var(--primary); padding: 2rem; border-radius: 20px; text-align: center; box-shadow: 0 15px 40px rgba(212,168,83,0.3); }
.about-experience-number { font-size: 3rem; font-weight: 800; line-height: 1; }
.about-experience-text { font-size: 0.9rem; font-weight: 600; margin-top: 0.5rem; }
.about-content h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 1.5rem; font-weight: 700; }
.about-content p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.8; }
.about-features { list-style: none; margin: 2rem 0; }
.about-features li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; font-size: 1rem; color: var(--text-dark); }
.about-features li i { color: var(--accent); font-size: 1.3rem; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.about-stat { text-align: center; padding: 1.5rem; background: var(--bg-light); border-radius: 15px; transition: all 0.3s ease; }
.about-stat:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.about-stat-number { font-size: 2.5rem; font-weight: 800; color: var(--primary); font-family: 'Playfair Display', serif; }
.about-stat-label { font-size: 0.9rem; color: var(--text-light); margin-top: 0.5rem; }

/* Home principal photo override */
.principal-grid { grid-template-columns: 0.75fr 1.25fr; }
.principal-photo { height: 440px; max-width: 320px; margin: 0 auto; }
.principal-grid .about-experience { right: 0; bottom: -16px; padding: 1.5rem; }
.principal-grid .about-experience-number { font-size: 2.4rem; }
.principal-grid .about-experience-text { font-size: 0.8rem; }

/* ===== Values / mission ===== */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.value-card { background: var(--white); padding: 2.5rem; border-radius: 20px; border: 1px solid rgba(0,0,0,0.05); transition: all 0.4s ease; }
.value-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.value-icon { width: 70px; height: 70px; background: var(--gradient); border-radius: 18px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.8rem; margin-bottom: 1.5rem; }
.value-card h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: 1rem; }
.value-card p { color: var(--text-light); line-height: 1.7; }

/* ===== Programs / Sections ===== */
.programs { background: var(--bg-light); }
.programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.program-card { background: var(--white); padding: 2.5rem; border-radius: 20px; transition: all 0.4s ease; border: 1px solid rgba(0,0,0,0.05); position: relative; overflow: hidden; }
.program-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--gradient-gold); transform: scaleX(0); transition: transform 0.4s ease; }
.program-card:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.program-card:hover::before { transform: scaleX(1); }
.program-icon { width: 70px; height: 70px; background: var(--gradient); border-radius: 20px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 2rem; margin-bottom: 1.5rem; transition: all 0.3s ease; }
.program-card:hover .program-icon { transform: scale(1.1) rotate(5deg); background: var(--gradient-gold); color: var(--primary); }
.program-card h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 1rem; font-weight: 700; }
.program-card p { color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.7; }
.program-features { list-style: none; margin-bottom: 2rem; }
.program-features li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; font-size: 0.95rem; color: var(--text-dark); }
.program-features li i { color: var(--accent); }
.program-link { color: var(--primary); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.3s ease; }
.program-link:hover { color: var(--accent); gap: 1rem; }

/* ===== Features ===== */
.features { background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.feature-card { text-align: center; padding: 2.5rem; border-radius: 20px; transition: all 0.4s ease; position: relative; overflow: hidden; }
.feature-card::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: var(--gradient-gold); transition: width 0.4s ease; }
.feature-card:hover::after { width: 60%; }
.feature-card:hover { transform: translateY(-10px); }
.feature-icon { width: 80px; height: 80px; background: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 2rem; color: var(--primary); transition: all 0.4s ease; }
.feature-card:hover .feature-icon { background: var(--gradient); color: var(--white); transform: scale(1.1); }
.feature-card h3 { font-size: 1.3rem; color: var(--primary); margin-bottom: 0.75rem; font-weight: 600; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }

/* ===== Stats ===== */
.stats { background: var(--gradient); padding: 5rem 2rem; position: relative; overflow: hidden; }
.stats::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1400px; margin: 0 auto; position: relative; z-index: 1; }
.stat-item { text-align: center; color: var(--white); }
.stat-number { font-size: 3.5rem; font-weight: 800; font-family: 'Playfair Display', serif; color: var(--accent); margin-bottom: 0.5rem; }
.stat-label { font-size: 1.1rem; color: rgba(255,255,255,0.9); font-weight: 500; }

/* ===== CTA Band ===== */
.cta-band { background: var(--gradient-gold); padding: 4rem 2rem; text-align: center; }
.cta-band-content { max-width: 800px; margin: 0 auto; }
.cta-band h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; font-weight: 700; }
.cta-band p { font-size: 1.2rem; color: var(--primary); margin-bottom: 2rem; opacity: 0.85; }
.cta-band .btn-primary { background: var(--primary); color: var(--white); }
.cta-band .btn-primary:hover { background: var(--bg-dark); }

/* ===== Testimonials / Alumni ===== */
.testimonials { background: var(--bg-light); }
.testimonials-slider { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.testimonial-card { background: var(--white); padding: 2.5rem; border-radius: 20px; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.testimonial-quote { font-size: 1.1rem; color: var(--text-dark); line-height: 1.8; margin-bottom: 2rem; font-style: italic; position: relative; }
.testimonial-quote::before { content: '"'; font-size: 5rem; color: var(--accent); opacity: 0.3; position: absolute; top: -30px; left: -10px; font-family: 'Playfair Display', serif; line-height: 1; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar { width: 60px; height: 60px; background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.5rem; font-weight: 700; flex-shrink: 0; overflow: hidden; position: relative; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; display: none; position: absolute; top: 0; left: 0; }
.testimonial-avatar.loaded img { display: block; }
.testimonial-avatar.loaded .avatar-initials { display: none; }
.testimonial-avatar .avatar-initials { position: relative; z-index: 1; }
.testimonial-info h4 { font-size: 1.1rem; color: var(--primary); margin-bottom: 0.25rem; font-weight: 600; }
.testimonial-info p { font-size: 0.9rem; color: var(--text-light); }
.testimonial-stars { color: var(--accent); margin-bottom: 1rem; }

/* ===== Gallery (real images) ===== */
.gallery { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 1.5rem; }
.gallery-item { border-radius: 15px; overflow: hidden; position: relative; cursor: pointer; transition: all 0.4s ease; background: var(--gradient); }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: all 0.4s ease; }
.gallery-item:hover { transform: scale(1.03); box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: var(--white); opacity: 0; transition: all 0.4s ease; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.gallery-overlay p { font-size: 0.9rem; opacity: 0.9; }

/* ===== Cards with image (news/events) ===== */
.news { background: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.news-card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: all 0.4s ease; border: 1px solid rgba(0,0,0,0.05); }
.news-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.news-image { height: 240px; overflow: hidden; position: relative; background: var(--gradient); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 3rem; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-image img { transform: scale(1.08); }
.news-date { position: absolute; top: 1rem; right: 1rem; background: var(--accent); color: var(--primary); padding: 0.5rem 1rem; border-radius: 10px; font-weight: 600; font-size: 0.9rem; z-index: 2; }
.news-content { padding: 2rem; }
.news-tag { display: inline-block; background: rgba(13,74,47,0.1); color: var(--primary); padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem; }
.news-content h3 { font-size: 1.3rem; color: var(--primary); margin-bottom: 1rem; font-weight: 600; line-height: 1.4; }
.news-content p { color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.7; font-size: 0.95rem; }
.news-link { color: var(--accent); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.3s ease; }
.news-link:hover { gap: 1rem; }

/* ===== Partners ===== */
.partners { background: var(--bg-light); }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; align-items: center; }
.partner-logo { background: var(--white); border-radius: 18px; padding: 2rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: all 0.3s ease; min-height: 120px; }
.partner-logo:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.12); }
.partner-logo img { max-height: 70px; max-width: 100%; object-fit: contain; }
.partner-logo span { font-weight: 700; color: var(--primary); text-align: center; font-size: 0.95rem; }

/* ===== Contact ===== */
.contact { background: var(--bg-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 1.5rem; font-weight: 700; }
.contact-info > p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 2rem; line-height: 1.8; }
.contact-details { list-style: none; margin-bottom: 2rem; }
.contact-details li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; color: var(--text-dark); }
.contact-details li i { width: 45px; height: 45px; background: var(--gradient); color: var(--white); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-details li h4 { font-size: 1rem; color: var(--primary); margin-bottom: 0.25rem; font-weight: 600; }
.contact-details li p { color: var(--text-light); font-size: 0.95rem; }
.social-links { display: flex; gap: 1rem; }
.social-links a { width: 45px; height: 45px; background: var(--white); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.social-links a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(13,74,47,0.3); }
.contact-form { background: var(--white); padding: 3rem; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.contact-form h3 { font-size: 1.8rem; color: var(--primary); margin-bottom: 2rem; font-weight: 700; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; color: var(--text-dark); margin-bottom: 0.5rem; font-size: 0.95rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.875rem 1.25rem; border: 2px solid #e5e7eb; border-radius: 12px; font-size: 1rem; font-family: 'Inter', sans-serif; transition: all 0.3s ease; background: var(--bg-light); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 4px rgba(13,74,47,0.1); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit { width: 100%; padding: 1rem; background: var(--gradient); color: var(--white); border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; font-family: 'Inter', sans-serif; }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(13,74,47,0.3); }
.form-success { display: none; background: rgba(34,197,94,0.1); color: #16a34a; padding: 1rem; border-radius: 12px; margin-bottom: 1.5rem; font-weight: 600; text-align: center; }
.form-success.show { display: block; animation: fadeInUp 0.5s ease; }
.contact-map { margin-top: 2rem; border-radius: 20px; overflow: hidden; height: 280px; background: var(--gradient); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; text-align: center; }

/* ===== Footer ===== */
.footer { background: var(--bg-dark); color: var(--white); padding: 4rem 2rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; max-width: 1400px; margin: 0 auto 3rem; }
.footer-brand .logo-text { font-size: 1.5rem; margin-bottom: 1rem; display: inline-block; }
.footer-brand p { color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 1.5rem; }
.footer h4 { font-size: 1.1rem; margin-bottom: 1.5rem; font-weight: 600; color: var(--white); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-links a:hover { color: var(--accent); transform: translateX(5px); }
.footer-bottom { max-width: 1400px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-bottom a { color: var(--accent-light); }

/* ===== Back to top ===== */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--accent); color: var(--primary); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 999; box-shadow: 0 5px 20px rgba(212,168,83,0.4); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(212,168,83,0.6); }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero-title { font-size: 2.25rem; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 1100px) {
    .nav-menu { gap: 0.85rem; }
    .nav-menu a { font-size: 0.82rem; }
    .nav-cta { padding: 0.5rem 1rem; font-size: 0.82rem; }
}
@media (max-width: 768px) {
    .nav-menu { display: none; position: fixed; top: 80px; left: 0; width: 100%; background: rgba(8,37,26,0.98); flex-direction: column; padding: 2rem; gap: 1.5rem; max-height: 80vh; overflow-y: auto; }
    .nav-menu.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .nav-cta { display: none; }
    .section { padding: 4rem 1.5rem; }
    .section-title { font-size: 2rem; }
    .page-hero { padding: 8rem 1.5rem 3rem; }
    .page-hero h1 { font-size: 2.5rem; }
    .hero-title { font-size: 1.9rem; }
    .hero-slideshow { height: 50vh; min-height: 300px; }
    .marquee-content { font-size: 1rem; padding: 0.85rem 1.25rem; }
    .about-stats { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
