:root {
    --navy:   #003366;
    --navy2:  #001f40;
    --blue:   #0055aa;
    --yellow: #f1c40f;
    --light:  #eef4ff;
    --dark:   #0a1628;
    --grey:   #555;
    --radius: 16px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    background: #f0f2f5;
    color: var(--dark);
    overflow-x: hidden;
}

img { max-width:100%; height:auto; display:block; }

/* ── NAVBAR ── */
.topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px clamp(16px,4vw,40px);
    background: rgba(22, 22, 233, 0.949);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.nav-logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.nav-logo img { width:42px; height:42px; border-radius:50%; border:2px solid ; object-fit:cover; }
.nav-logo span { font-family:'Fredoka',sans-serif; color:white; font-size:20px; font-weight:700; }

.back-btn {
    color: var(--yellow);
    text-decoration: none;
    font-size: clamp(12px,2.5vw,14px);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color 0.3s;
}
.back-btn:hover { color: white; }

/* ── HEADER ── */
.sec-header {
    position: relative;
    min-height: clamp(340px,58vh,560px);
    background:
        linear-gradient(135deg, rgba(0,10,30,0.94) 0%, rgba(0,51,102,0.88) 100%),
        url('https://images.unsplash.com/photo-1582560475093-ba66accbc424?w=1400&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.sec-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg, transparent, transparent 40px,
        rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px
    );
}

.sec-header-overlay {
    position: relative;
    z-index: 2;
    padding: clamp(30px,5vw,60px) clamp(20px,6vw,80px);
}

.sec-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: white;
    font-size: clamp(12px,2.2vw,14px);
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(6px);
}

.sec-header h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(28px,7vw,64px);
    color: white;
    line-height: 1.15;
    margin-bottom: 12px;
    text-shadow: 0 3px 20px rgba(0,0,0,0.4);
}

.sec-header h1 span { color: var(--yellow); }

.sec-header p {
    font-size: clamp(13px,2.5vw,18px);
    color: rgba(255,255,255,0.78);
    margin-bottom: 16px;
}

.star-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: clamp(16px,3.5vw,24px);
    color: var(--yellow);
    font-weight: 700;
}

.star-row span {
    font-size: clamp(12px,2.2vw,15px);
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}

/* floating shapes */
.shape {
    position: absolute;
    font-size: clamp(22px,4vw,40px);
    animation: floaty 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}
.s1 { top:14%; left:7%;  animation-delay:0s; }
.s2 { top:18%; right:9%; animation-delay:0.8s; }
.s3 { bottom:20%; left:10%; animation-delay:0.4s; }
.s4 { bottom:14%; right:8%; animation-delay:1.2s; }

@keyframes floaty {
    0%,100% { transform:translateY(0) rotate(0deg); }
    50%      { transform:translateY(-16px) rotate(6deg); }
}

/* ── STATS STRIP ── */
.stats-strip {
    background: var(--navy);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: clamp(25px,5vw,45px) clamp(20px,5vw,60px);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 28px;
    flex: 1;
    min-width: 110px;
}

.stat-num {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(26px,6vw,46px);
    color: var(--yellow);
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: clamp(11px,2vw,13px);
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    text-align: center;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.18);
    align-self: center;
}

@media (max-width:500px) {
    .stat-divider { display:none; }
    .stats-strip  { gap:8px; }
}

/* ── SHARED ── */
section { padding: clamp(45px,7vw,90px) clamp(16px,6vw,80px); }

.section-tag {
    display: inline-block;
    background: var(--light);
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.section-tag.light {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
}

.section-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(24px,5vw,40px);
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-title span  { color: var(--navy); }
.section-title.white { color: white; }
.section-title.white span { color: var(--yellow); }

.section-sub {
    font-size: clamp(14px,2.3vw,17px);
    color: var(--grey);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.7;
    text-align: center;
}

/* ── TEAM SECTION ── */
.team-section { background: #fff; text-align: center; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 22px;
    margin-top: 10px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    background: #fafbff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.13);
}

.avatar-wrap {
    background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
    padding: clamp(20px,4vw,32px) 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: clamp(150px,20vw,200px);
    overflow: hidden;
}

.avatar-wrap svg {
    width: clamp(100px,16vw,140px);
    height: auto;
}

.team-info {
    padding: clamp(16px,3vw,22px);
}

.team-info h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(17px,2.8vw,20px);
    color: var(--navy);
    margin-bottom: 4px;
}

.team-info .role {
    font-size: clamp(12px,2vw,13px);
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 8px;
}

.team-info .desc {
    font-size: clamp(12px,1.9vw,14px);
    color: var(--grey);
    line-height: 1.65;
}

/* ── DUTIES SECTION ── */
.duties-section {
    background: linear-gradient(135deg, var(--navy2) 0%, var(--navy) 100%);
    padding: clamp(50px,8vw,90px) clamp(16px,6vw,80px);
}

.duties-inner {
    display: flex;
    gap: clamp(30px,6vw,70px);
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.duties-text { flex:1; min-width:220px; }

.duties-grid {
    flex: 2;
    min-width: 260px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 14px;
}

.duty-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 18px;
    transition: background 0.3s;
    text-align: left;
}

.duty-card:hover { background: rgba(255,255,255,0.13); }

.duty-icon {
    font-size: clamp(24px,4vw,34px);
    margin-bottom: 10px;
    display: block;
}

.duty-card h3 {
    font-size: clamp(14px,2.3vw,16px);
    color: white;
    font-weight: 700;
    margin-bottom: 6px;
}

.duty-card p {
    font-size: clamp(12px,1.9vw,13px);
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

/* ── RULES SECTION ── */
.rules-section { background: var(--light); text-align: center; }

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 18px;
    margin-top: 20px;
    text-align: left;
}

.rule-item {
    background: white;
    border-radius: var(--radius);
    padding: 20px 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: 0 3px 14px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}

.rule-item:hover { transform: translateY(-4px); }

.rule-num {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(20px,4vw,28px);
    color: var(--yellow);
    font-weight: 700;
    background: var(--navy);
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rule-item p {
    font-size: clamp(13px,2vw,15px);
    color: var(--grey);
    line-height: 1.65;
    padding-top: 10px;
}

/* ── CONTACT ── */
.contact-section { background: #fff; text-align: center; }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 20px;
    margin-top: 10px;
}

.contact-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: clamp(22px,4vw,32px) 22px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 4px solid var(--navy);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}

.contact-icon {
    font-size: clamp(28px,6vw,42px);
    margin-bottom: 12px;
    display: block;
}

.contact-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(17px,2.8vw,20px);
    color: var(--navy);
    margin-bottom: 10px;
}

.contact-card p {
    font-size: clamp(13px,2vw,14px);
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 12px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--navy);
    color: white;
    font-size: clamp(12px,2vw,14px);
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s;
}

.contact-link:hover { background: var(--blue); }

/* ── FOOTER ── */
.sec-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 22px 20px;
    font-size: 13px;
}