/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease;
}

.navbar .brand {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar .nav-links {
    display: flex;
    gap: 2rem;
}

.navbar .nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #aaa;
    transition: color 0.3s ease;
    position: relative;
}

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    transition: width 0.3s ease;
}

.navbar .nav-links a:hover {
    color: #fff;
}

.navbar .nav-links a:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(0, 114, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(0, 198, 255, 0.06) 0%, transparent 50%);
    animation: bgShift 12s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes bgShift {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(5%, -5%); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 3px solid rgba(0, 198, 255, 0.3);
    box-shadow: 0 0 40px rgba(0, 114, 255, 0.15);
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #00c6ff 50%, #0072ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .tagline {
    font-size: 1.25rem;
    color: #888;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.hero .cta-btn {
    display: inline-block;
    padding: 0.9rem 2.8rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #0072ff, #00c6ff);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 114, 255, 0.35);
}

/* ===== SECTION SHARED ===== */
.section {
    padding: 5rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.section-subtitle {
    text-align: center;
    color: #777;
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: left;
}

.about-image {
    flex-shrink: 0;
    width: 260px;
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(0, 198, 255, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text p {
    color: #aaa;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.about-text .highlight {
    color: #00c6ff;
    font-weight: 600;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(145deg, #111, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 114, 255, 0.12);
    border-color: rgba(0, 198, 255, 0.2);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #fff;
}

.service-card p {
    font-size: 0.95rem;
    color: #888;
    line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    color: #e0e0e0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0072ff;
    box-shadow: 0 0 0 3px rgba(0, 114, 255, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form button {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #0072ff, #00c6ff);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 114, 255, 0.3);
}

/* ===== DIVIDER ===== */
.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 198, 255, 0.15), transparent);
    max-width: 1100px;
    margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 2.5rem 2rem;
    color: #555;
    font-size: 0.9rem;
    background: #0d0d0d;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer .footer-brand {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.footer p {
    margin-top: 0.3rem;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== LEADERBOARD TABLE ===== */
.leaderboard-hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 7rem 2rem 3rem;
    position: relative;
    overflow: hidden;
}

.leaderboard-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 40% 50%, rgba(0, 114, 255, 0.07) 0%, transparent 50%),
                radial-gradient(circle at 60% 50%, rgba(0, 198, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.leaderboard-hero .hero-content {
    position: relative;
    z-index: 1;
}

.leaderboard-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #ffffff 0%, #00c6ff 50%, #0072ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.leaderboard-hero .tagline {
    font-size: 1.15rem;
    color: #777;
    font-weight: 300;
}

.year-section {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.year-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.6rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #0072ff, #00c6ff);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(0, 114, 255, 0.25);
}

.year-badge .trophy {
    font-size: 1.3rem;
}

.leaderboard-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
}

.leaderboard-table thead th {
    padding: 0.9rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #666;
    text-align: left;
    border-bottom: 1px solid #222;
}

.leaderboard-table thead th:last-child,
.leaderboard-table tbody td:last-child {
    text-align: right;
}

.leaderboard-table thead th:nth-child(2),
.leaderboard-table tbody td:nth-child(2) {
    text-align: center;
}

.leaderboard-table tbody tr {
    background: #111;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.leaderboard-table tbody tr:hover {
    background: #161616;
    transform: translateX(4px);
    box-shadow: -4px 0 0 0 #0072ff;
}

.leaderboard-table tbody td {
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
    color: #ccc;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.leaderboard-table tbody td:first-child {
    border-radius: 10px 0 0 10px;
}

.leaderboard-table tbody td:last-child {
    border-radius: 0 10px 10px 0;
}

.rank-cell {
    font-weight: 700;
    font-size: 1rem;
    width: 50px;
}

.rank-1 .rank-cell { color: #ffd700; }
.rank-2 .rank-cell { color: #c0c0c0; }
.rank-3 .rank-cell { color: #cd7f32; }

.rank-1 {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.08), transparent) !important;
    border-left: 3px solid #ffd700;
}

.rank-2 {
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.06), transparent) !important;
    border-left: 3px solid #c0c0c0;
}

.rank-3 {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.06), transparent) !important;
    border-left: 3px solid #cd7f32;
}

.name-cell {
    font-weight: 500;
    color: #e0e0e0;
}

.name-cell .medal {
    margin-right: 0.4rem;
}

.weight-cell {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.weight-cell .unit {
    color: #555;
    font-weight: 400;
    font-size: 0.85rem;
    margin-left: 2px;
}

.highlight-weight {
    color: #00c6ff;
}

.best-grower-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 0.15rem 0.6rem;
    border-radius: 50px;
    margin-left: 0.6rem;
    vertical-align: middle;
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.stat-card {
    background: linear-gradient(145deg, #111, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 1.5rem 2rem;
    text-align: center;
    flex: 1;
    min-width: 160px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 114, 255, 0.1);
}

.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.3rem;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 114, 255, 0.15);
    border-color: rgba(0, 198, 255, 0.25);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
    z-index: 2001;
}

.lightbox-close:hover {
    color: #fff;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #aaa;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    z-index: 2001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #fff;
    background: rgba(0, 114, 255, 0.25);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.4rem;
    }

    .hero .tagline {
        font-size: 1rem;
    }

    .hero-logo {
        width: 130px;
        height: 130px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        width: 200px;
        height: 200px;
    }

    .navbar .nav-links {
        gap: 1rem;
    }

    .navbar .nav-links a {
        font-size: 0.85rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .leaderboard-hero h1 {
        font-size: 2.4rem;
    }

    .year-section {
        padding: 0 1rem;
    }

    .stats-bar {
        padding: 0 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.8rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .leaderboard-hero h1 {
        font-size: 2rem;
    }

    .year-badge {
        font-size: 0.9rem;
        padding: 0.5rem 1.2rem;
    }

    .leaderboard-table thead th {
        font-size: 0.7rem;
        padding: 0.6rem 0.8rem;
    }

    .leaderboard-table tbody td {
        padding: 0.8rem;
        font-size: 0.85rem;
    }

    .stats-bar {
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem 1.2rem;
    }

    .stat-card .stat-value {
        font-size: 1.4rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
}
