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

html {
    background: linear-gradient(to bottom, #FF9933, #FFFFFF, #138808);
    min-height: 100%;
    height: 100%;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #000;
    background: linear-gradient(to bottom, #FF9933, #FFFFFF, #138808);
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Mobile Only Tiranga Games Section */
.mobile-only {
    display: block;
}

.tiranga-games-mobile {
    background: linear-gradient(135deg, rgb(195, 226, 244) 0%, rgb(155, 81, 224) 100%);
    padding: 30px 20px;
    text-align: center;
    width: 100%;
}

.games-buttons-top,
.games-buttons-bottom {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.btn-register,
.btn-login {
    background-color: #1a1a1a;
    color: white;
    text-decoration: none;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
}

.btn-register:hover,
.btn-login:hover {
    background-color: #333;
}

.games-logo-container {
    margin: 30px 0;
    text-align: center;
}

.games-logo-image {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.games-app-image {
    margin-top: 30px;
    text-align: center;
}

.games-app-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.games-content-text {
    margin-top: 30px;
    padding: 0 20px;
}

.games-signup-heading {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin-bottom: 20px;
}

.has-text-align-center {
    text-align: center;
    font-size: 16px;
    color: #000;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 600px;
}

/* Hide mobile section on desktop */
@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
}

/* Homepage Styles */
.homepage-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
}

.main-flag-container {
    text-align: center;
    margin-bottom: 40px;
}

.main-flag-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
}

.homepage-content {
    max-width: 900px;
    margin: 0 auto 50px;
}

.homepage-title {
    font-size: 32px;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
}

.homepage-subheading {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.homepage-text {
    font-size: 16px;
    color: #000;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
}

.homepage-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

@media (min-width: 768px) {
    .homepage-section {
        padding: 60px 40px;
    }

    .homepage-title {
        font-size: 42px;
    }

    .homepage-subheading {
        font-size: 28px;
    }

    .homepage-text {
        font-size: 18px;
    }

    .homepage-gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .homepage-section {
        padding: 80px 60px;
    }

    .homepage-title {
        font-size: 48px;
    }
}

/* Section 1: Tricolour Design */
.tricolour-section {
    padding: 40px 20px;
    background: white;
}

.tricolour-graphic,
.tricolour-graphic-bottom {
    margin: 30px 0;
    text-align: center;
}

.section-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.tricolour-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.section-heading {
    font-size: 26px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}

.section-text {
    font-size: 16px;
    color: #000;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: left;
}

/* Section 2: Ashoka Chakra */
.chakra-section {
    padding: 40px 20px;
    background: white;
}

.banner-container {
    margin-bottom: 30px;
    text-align: center;
}

.banner-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.chakra-content {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: left;
}

.chakra-graphic {
    margin-top: 30px;
    text-align: center;
}

/* Section 3: Cultural Presence */
.cultural-section {
    padding: 40px 20px;
    background: white;
}

.cultural-content,
.cultural-content-bottom {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: left;
}

.cultural-graphic {
    margin: 30px 0;
    text-align: center;
}

/* Section 4: Final Section */
.final-section {
    padding: 40px 20px;
    background: white;
}

.final-graphic {
    margin-bottom: 30px;
    text-align: center;
}

.final-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .tricolour-section {
        padding: 60px 40px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .tricolour-graphic {
        margin-bottom: 40px;
        text-align: center;
    }

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

    .tricolour-graphic-bottom {
        margin-top: 40px;
        text-align: center;
    }

    .section-heading {
        font-size: 32px;
    }

    .chakra-section {
        padding: 60px 40px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .banner-container {
        margin-bottom: 40px;
        text-align: center;
    }

    .chakra-content {
        text-align: left;
        margin-bottom: 40px;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .chakra-graphic {
        text-align: center;
        margin-top: 40px;
    }

    .cultural-section {
        padding: 60px 40px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .cultural-content,
    .cultural-content-bottom {
        text-align: left;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .cultural-graphic {
        text-align: center;
        margin: 40px 0;
    }

    .final-section {
        padding: 60px 40px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .final-graphic {
        text-align: center;
        margin-bottom: 40px;
    }

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

    .section-text {
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .section-heading {
        font-size: 36px;
    }

    .tricolour-section,
    .chakra-section,
    .cultural-section,
    .final-section {
        padding: 80px 60px;
    }
}

/* About Us Page Styles */
.about-section {
    padding: 40px 20px;
    background: white;
    min-height: calc(100vh - 200px);
}

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

.about-heading {
    font-size: 36px;
    font-weight: bold;
    color: #000;
    margin-bottom: 30px;
    text-align: center;
}

.about-subheading {
    font-size: 28px;
    font-weight: bold;
    color: #000;
    margin-top: 40px;
    margin-bottom: 20px;
}

.about-subheading-small {
    font-size: 22px;
    font-weight: bold;
    color: #000;
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-text {
    font-size: 16px;
    color: #000;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.about-list li {
    font-size: 16px;
    color: #000;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.about-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
    font-size: 20px;
}

@media (min-width: 768px) {
    .about-section {
        padding: 60px 40px;
    }

    .about-heading {
        font-size: 42px;
    }

    .about-subheading {
        font-size: 32px;
    }

    .about-subheading-small {
        font-size: 24px;
    }

    .about-text {
        font-size: 18px;
    }

    .about-list li {
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .about-section {
        padding: 80px 60px;
    }
}

/* Footer Navigation Menu */
.footer-nav {
    width: 100%;
    margin-top: 40px;
}

.footer-nav-bar {
    background: linear-gradient(to bottom, #FF9933, #FFFFFF, #138808);
    padding: 20px 0;
    width: 100%;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px;
}

.footer-link {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 12px;
    transition: opacity 0.3s;
}

.footer-link:hover {
    opacity: 0.7;
}

.footer-bottom {
    background-color: #2a2a2a;
    padding: 20px;
    width: 100%;
}

.footer-elements {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-element {
    width: 60px;
    height: 30px;
    background-color: #3a3a3a;
    border-radius: 8px;
}

/* Mobile adjustments for footer */
@media (max-width: 767px) {
    .footer-links {
        gap: 15px;
        padding: 0 15px;
    }

    .footer-link {
        font-size: 14px;
        padding: 6px 10px;
    }

    .footer-element {
        width: 50px;
        height: 25px;
    }
}

@media (min-width: 768px) {
    .footer-links {
        gap: 30px;
    }

    .footer-link {
        font-size: 16px;
    }
}

