/* --- Global Styles --- */
:root {
    --primary-color: #e63946;    /* Red Sports Theme */
    --secondary-color: #1d3557;  /* Navy Theme */
    --accent-color: #ffb703;     /* Gold Accent for Prizes */
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --dark: #121212;
    --text-color: #333333;
    --gray: #777777;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, .logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.section {
    padding: 10px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-top: 10px;
}

.badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.badge.yellow {
    background: var(--accent-color);
    color: var(--secondary-color);
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--secondary-color); color: var(--white); }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: #c1121f;
    transform: translateY(-3px);
}

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

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

.btn-block { width: 100%; }
.logo {
    display: flex;
    align-items: center;
    gap: 10px;                 /* tighter spacing */
    white-space: nowrap;
     color: var(--secondary-color);
}

.logo-image {
    width: 80px;               /* 👈 balanced size */
    height: 80px;
    object-fit: contain;
}

.logo-text span {
    color: var(--primary-color);
    font-style: italic;
}
/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow);
}

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

.logo {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.logo span {
    color: var(--primary-color);
    font-style: italic;
}

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

.nav-links li {
    margin-left: 25px;
}

.nav-links li a {
    font-weight: 500;
    color: var(--secondary-color);
}

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

.nav-btn {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 5px;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}
  .incharge-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.incharge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 45px;
}

.incharge-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    border-top: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.incharge-card:hover {
    transform: translateY(-6px);
}

.incharge-card h4 {
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.incharge-card p {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: url('../images/Website-Banner-SGU-Spardha-2026-b.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 53, 87, 0.7); /* Navy overlay */
}

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

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.info-item i {
    color: var(--primary-color);
    margin-right: 10px;
}

.hero-btns .btn {
    margin: 0 10px;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
}

.about-img img {
    border-radius: 10px;
    box-shadow: 20px 20px 0 var(--primary-color);
}

/* --- Games Section --- */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.game-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-10px);
}

.game-img img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-img img {
    transform: scale(1.1);
}

.game-body {
    padding: 25px;
}

.game-body h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.game-body p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* --- Rules Section --- */
.rules-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.rule-item i {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
    font-size: 1.2rem;
}

.rules-image img {
    border-radius: 10px;
}

/* --- Prizes Section --- */
.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.prize-card {
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    transition: var(--transition);
}

.prize-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.prize-card.main {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;   /* no permanent gold */
    transform: scale(1.05);
}

.prize-card.main:hover {
    border-color: var(--accent-color); /* gold ONLY on hover */
}

.prize-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 10px 0;
}

.prize-list {
    text-align: left;
    margin-top: 15px;
}

.prize-list li {
    margin-bottom: 10px;
}
/* --- Team Section --- */
.team-grid2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.team-card2 {
    text-align: center;
}

/* --- Team Section --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.team-card {
    text-align: center;
}

.team-img img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 15px;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.team-info h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.team-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* --- Contact Section --- */
.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-info {
    background: var(--secondary-color);
    color: var(--white);
    padding: 50px;
}

.contact-info h3 { margin-bottom: 20px; }

.contact-details { margin: 40px 0; }

.cd-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.cd-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.contact-form {
    padding: 50px;
}

.contact-form h3 { margin-bottom: 30px; color: var(--secondary-color); }

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    outline: none;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
}

/* --- Footer --- */
footer {
    padding: 50px 0;
    background: #0a111a;
    color: #888;
}

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

.footer-logo a {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
}

.footer-logo span { color: var(--primary-color); }

.footer-links a {
    margin-left: 20px;
    font-size: 0.9rem;
}

.footer-links a:hover { color: var(--white); }
/* ===== Our Ventures Section ===== */

.ventures-section {
    padding: 50px 0;
    background: #ffffff;
}

.ventures-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4a24c; /* golden heading like image */
    margin-bottom: 25px;
}

.ventures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.venture-item {
    font-size: 1.05rem;
    font-weight: 600;
    color: #e63946; /* red text */
}
.footer-credit {
    text-align: center;
    font-size: 0.95rem;
    color: #b5b5b5;     /* single neutral color */
    margin-top: 20px;
    letter-spacing: 0.3px;
}

.footer-credit,
.footer-credit a {
    font-size: 0.95rem !important;
    font-weight: 400;
    color: #b5b5b5;
}

.footer-credit .text-red {
    color: var(--primary-color) !important; /* your theme red */
    font-weight: 600;
}

.footer-credit a:hover {
    text-decoration: underline; /* subtle hover only */
}
.mobile-close {
    position: absolute;
    top: 20px;
    right: 25px;
}

#close-menu {
    font-size: 2.2rem;
    cursor: pointer;
    color: var(--secondary-color);
    display: none;
}
/* ===== Responsive ===== */
@media (max-width: 768px) {
    .ventures-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
#close-menu {
        display: block;
    }
 .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        z-index: 9999;
    }

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

    /* CLOSE BUTTON */
    .mobile-close {
        position: absolute;
        top: 18px;
        right: 20px;
        font-size: 2.2rem;
        cursor: pointer;
        color: #1d3557;
        z-index: 10000;
    }
}

/* ===========================
   FINAL MOBILE RESPONSIVE FIX
   =========================== */

/* Tablets & small laptops */
@media (max-width: 992px) {

    .logo {
        font-size: 1.3rem;
    }

    .logo-image {
        width: 60px;
        height: 60px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .about-grid,
    .rules-container,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .about-img {
        order: -1;
    }
}


/* ===========================
   MOBILE (PHONES)
   =========================== */
@media (max-width: 768px) {

    /* ===== NAVBAR ===== */
    .hamburger {
        display: block;
        z-index: 10001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.15);
        z-index: 9999;
    }

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

    .nav-links li {
        margin: 18px 0;
    }

    /* ===== CLOSE BUTTON ===== */
    .mobile-close {
        position: absolute;
        top: 18px;
        right: 20px;
        z-index: 10002;
    }

    #close-menu {
        display: block;
        font-size: 2.4rem;
        cursor: pointer;
        color: var(--secondary-color);
    }

    /* ===== LOGO MOBILE FIX ===== */
    .logo {
        font-size: 1.1rem;
        gap: 8px;
    }

    .logo-image {
        width: 48px;
        height: 48px;
    }

    .logo span {
        font-size: 1.1rem;
    }

    /* ===== HERO ===== */
    .hero-title {
        font-size: 2.4rem;
    }

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

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-info {
        flex-direction: column;
        gap: 12px;
    }

    /* ===== SECTIONS ===== */
    .stats {
        flex-wrap: wrap;
        gap: 15px;
    }

    .games-grid,
    .team-grid,
    .prizes-grid {
        grid-template-columns: 1fr;
    }

    /* ===== OUR VENTURES ===== */
    .ventures-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* ===== FOOTER ===== */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-links a {
        margin: 0 10px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.5s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

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

    .nav-links li { margin: 20px 0; }

    .hamburger { display: block; }

    .hero-title { font-size: 2.8rem; }
    .hero-info { flex-direction: column; gap: 10px; }

    .stats { flex-wrap: wrap; }
    .contact-form, .contact-info { padding: 30px; }
    
    .footer-content { flex-direction: column; text-align: center; gap: 30px; }
    .footer-links a { margin: 0 10px; }
}

/* ===== Prize Card Hover Effects ===== */

.prize-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.prize-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    background: rgba(255, 255, 255, 0.08);
}

/* Icon animation */
.prize-card i {
    transition: transform 0.35s ease, color 0.35s ease;
}

.prize-card:hover i {
    transform: scale(1.3) rotate(-8deg);
    color: #ffd166;
}

/* Title & amount highlight */
.prize-card h3,
.prize-amount {
    transition: color 0.3s ease;
}

.prize-card:hover h3,
.prize-card:hover .prize-amount {
    color: var(--accent-color);
}

/* Gold border animation */
.prize-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: border-color 0.35s ease;
    pointer-events: none;
}

.prize-card:hover::before {
    border-color: var(--accent-color);
}

/* Extra highlight for main trophy card */
.prize-card.main:hover {
    transform: translateY(-16px) scale(1.06);
    box-shadow: 0 25px 50px rgba(255, 183, 3, 0.35);
    background: rgba(255, 183, 3, 0.12);
}
