/* Global Variables */
:root {
    --primary-color: #dd5f19;
    /* Based on logo orange */
    --primary-dark: #b84a12;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --text-gray: #666;
    --white: #ffffff;
    --bg-light: #f9f9f9;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    color: var(--white);
}

h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
}

.subtitle {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.highlight-text {
    color: var(--primary-color);
}

.section-padding {
    padding: 6rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.max-w-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-img {
    height: 50px;
}

.desktop-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600 !important;
}

.btn-nav:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(221, 95, 25, 0.3);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 1rem 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border-bottom: 1px solid #ddd;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-nav ul {
    flex-direction: column;
    text-align: center;
}

.mobile-nav li {
    margin: 1rem 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 900px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.location-tag {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--text-dark);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* About Section */
.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}

.col-text,
.col-image {
    flex: 1;
    min-width: 300px;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-img {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
}

.floating-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(5px);
}

.icon-floating {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Services */
.bg-light {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(221, 95, 25, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Pillars */
.bg-dark {
    background-color: #1a1a1a;
    color: var(--white);
}

.bg-dark h2 {
    color: var(--white);
}

.pillars-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.pillars-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.pillar-img {
    border-radius: 20px;
    opacity: 0.8;
}

/* Community & Guarantee */
.community-logo {
    margin-top: 20px;
    max-height: 80px;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--text-dark), #2a2a2a);
    color: var(--white);
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.g-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.g-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

/* Footer */
.footer-section {
    background-color: #111;
    color: #aaa;
    padding: 4rem 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #333;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-contact h3,
.footer-social h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-contact i {
    color: var(--primary-color);
}

.social-icons a {
    font-size: 1.5rem;
    color: var(--white);
    margin-right: 1rem;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

/* Animations using Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 900px) {
    h1 {
        font-size: 2.5rem;
    }

    .header-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .row {
        flex-direction: column;
    }

    .hero-buttons {
        flex-direction: column;
    }

    h1 {
        font-size: 2rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-attention 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    color: white;
    /* Ensure icon stays white */
}

@keyframes pulse-attention {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
        transform: scale(1);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
}

/* Hexagon Cup Section */
.hexagon-section {
    background-color: #111;
    position: relative;
    overflow: hidden;
}

.hexagon-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 60% 50%, rgba(221, 95, 25, 0.1), transparent 70%);
    pointer-events: none;
}

.align-center {
    align-items: center;
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sponsorship-video {
    width: 100%;
    display: block;
}

.event-date {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hexagon-details p {
    margin-bottom: 0.8rem;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    font-size: 0.95rem;
    color: #ddd;
}

.mt-2 {
    margin-top: 2rem;
    display: inline-block;
}

/* Add nav link for Hexagon if needed, or just keep it as a section */
@media(max-width: 768px) {
    .hexagon-section .row {
        flex-direction: column-reverse;
        /* Text first on mobile? Or video? usually video first is fine, or text. Let's keep standard stack */
    }
}


/* Mobile Optimizations (iPhone XS and similar) */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .service-card {
        padding: 1.5rem;
    }

    .hexagon-section::before {
        background: radial-gradient(circle at 50% 50%, rgba(221, 95, 25, 0.15), transparent 80%);
    }

    .video-wrapper {
        margin-bottom: 2rem;
    }

    .youtube-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

/* Community Section Fixes */
.community-section {
    position: relative;
    background: url('../public/assets/511565915_17923349334093275_6628984569834508983_n.jpg') no-repeat center center/cover;
    /* Adding an overlay to ensure text readability if needed, though glass-box handles it */
}

.community-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.glass-box {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centers content horizontally */
    justify-content: center;
}

.community-logo {
    display: block;
    margin: 2rem auto 0;
    /* Auto margins for horizontal centering */
    max-height: 100px;
    /* Limit height */
    width: auto;
    max-width: 80%;
    /* Prevent overflow on small screens */
    object-fit: contain;
}