@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    /* Exact Color Palette from Design */
    --primary: 187 65% 35%;
    /* Deep Teal: #1f8693 / rgb(31, 134, 147) */
    --secondary: 18 85% 54%;
    /* Vibrant Orange: #f16522 */
    --primary-foreground: 0 0% 100%;
    --secondary-foreground: 0 0% 100%;
    --accent: 187 65% 35%;
    --background: 0 0% 100%;
    --foreground: 210 25% 15%;
    --muted: 210 20% 98%;
    --muted-foreground: 210 15% 45%;
    --border: 210 20% 90%;
    --white: #ffffff;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: .75rem;

    /* RGB variants for transparency */
    --primary-rgb: 31, 134, 147;
    --secondary-rgb: 241, 101, 34;
}

.text-teal {
    color: rgb(31, 134, 147) !important;
}

.text-orange {
    color: #f16522 !important;
}


/* Glassmorphism & UI Components */
.glass-pill {
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 6px 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white !important;
    font-size: 0.85rem;
    font-weight: 500;
}

.glass-counter-box {
    background: rgba(26, 36, 45, 0.6) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    min-width: 100px;
    text-align: center;
    color: white;
}

.social-circle-white {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    transition: var(--transition-base);
    text-decoration: none;
}

.social-circle-white:hover {
    background: white;
    color: rgb(var(--primary-rgb)) !important;
}

.contact-icon-teal {
    color: rgb(var(--primary-rgb)) !important;
}

.btn-teal-outline {
    border: 1px solid rgb(var(--primary-rgb));
    color: rgb(var(--primary-rgb));
    background: transparent;
    transition: var(--transition-base);
}

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

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: var(--font-body);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: hsl(var(--foreground));
}

/* Navbar */
.navbar {
    background-color: transparent !important;
    padding: 1.25rem 0;
    transition: var(--transition-base);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background-color: var(--white) !important;
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid hsl(var(--border));
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-base);
}

.navbar-logo {
    transition: var(--transition-base);
}

.navbar.scrolled .nav-link {
    color: hsl(var(--foreground)) !important;
}

.navbar.scrolled .navbar-logo {
    height: 40px !important;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        margin-top: 15px;
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .navbar.scrolled .navbar-collapse {
        margin-top: 5px;
    }

    .navbar .nav-link {
        color: #1a242d !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .navbar .nav-link:last-child {
        border-bottom: none;
    }
}

/* Buttons - Matching Design Precisely */
.btn-primary {
    background-color: hsl(var(--secondary)) !important;
    border-color: hsl(var(--secondary)) !important;
    color: var(--white) !important;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    transition: var(--transition-base);
}

.btn-primary:hover {
    background-color: #e66b42 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(241, 120, 75, 0.3);
}

.btn-secondary {
    background-color: hsl(var(--primary)) !important;
    border-color: hsl(var(--primary)) !important;
    color: var(--white) !important;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    transition: var(--transition-base);
}

.btn-secondary:hover {
    background-color: hsl(var(--primary) / 0.9) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px hsla(var(--primary), 0.3);
}

.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
}

/* Section refinement */
.bg-light {
    background-color: hsl(var(--muted)) !important;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
}

.section-subtitle {
    color: hsl(var(--secondary));
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding-top: 140px;
    padding-bottom: 100px;
}

.internal-hero {
    min-height: 450px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.internal-hero-content {
    position: relative;
    z-index: 2;
}

.hero-pill {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-circle-decoration {
    position: absolute;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: hsl(var(--secondary));
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

/* Countdown */
.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 100px;
    height: 120px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Partners */
.partner-logo {
    max-height: 50px;
    filter: none;
    opacity: 1;
    transition: var(--transition-base);
}

.partner-logo:hover {
    transform: scale(1.05);
}

.category-card {
    border: none;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.category-img {
    height: 250px;
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    background-color: hsl(var(--primary));
    color: white;
    padding: 100px 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -150px;
    left: -150px;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
}

/* Internal Hero */
.internal-hero {
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
}

.internal-hero .container {
    position: relative;
    z-index: 1;
}

/* Values Grid */
.value-card {
    background: white;
    padding: 30px;
    border-radius: 1rem;
    height: 100%;
    transition: var(--transition-base);
    border: 1px solid hsl(var(--border));
}

.value-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: hsl(var(--muted));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: hsl(var(--primary));
}

/* Activity Details */
.activity-hero {
    padding: 100px 0 60px;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.activity-icon-badge {
    width: 60px;
    height: 60px;
    background: hsl(var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
}

.info-box {
    background: white;
    padding: 20px;
    border-radius: 1rem;
    border: 1px solid hsl(var(--border));
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.info-box-icon {
    width: 40px;
    height: 40px;
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expect-list {
    list-style: none;
    padding: 0;
}

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

.expect-number {
    width: 30px;
    height: 30px;
    background: hsl(var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.target-box {
    background: #fcf8f3;
    padding: 30px;
    border-radius: 1rem;
    margin: 40px 0;
}

/* Header active pill */
.active-pill {
    background-color: hsl(var(--muted));
    border-radius: 50px;
    padding-left: 15px !important;
    padding-right: 15px !important;
    color: hsl(var(--primary)) !important;
}

/* Footer refinement */
.footer {
    background-color: #1a242d !important;
    /* Deep Navy/Black from screenshot */
    color: rgba(255, 255, 255, 0.8);
}

.footer h5 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none !important;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 12px;
    transition: var(--transition-base);
}

.footer-link:hover {
    color: hsl(var(--secondary));
}

/* Dropdown Hover */
.dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-item {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
    transition: var(--transition-base);
}

.dropdown-item:hover {
    background-color: hsl(var(--primary) / 0.05);
    color: hsl(var(--primary));
    padding-left: 1.75rem;
}

/* Countdown Refinement */
.countdown-item {
    background: rgba(26, 36, 45, 0.6);
    /* Matching screenshot dark boxes */
    backdrop-filter: blur(8px);
    width: 90px;
    height: 110px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-number {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* Hero Section Refinements */
.hero-section h1 {
    color: white !important;
}

.hero-section .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.hero-illustration {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 100px 0;
    position: relative;
}

.hero-illustration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    /* Subtle overlay for text readability */
    z-index: 1;
}

.hero-illustration>* {
    position: relative;
    z-index: 2;
}

/* Numbered Lists (What to Expect) */
.numbered-list {
    list-style: none;
    padding: 0;
}

.numbered-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.number-badge {
    background-color: hsl(var(--primary));
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
    font-weight: bold;
}

/* Info Boxes */
.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    transition: var(--transition-base);
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    background-color: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Value Cards for About Us */
.value-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    height: 100%;
    transition: var(--transition-base);
}

.value-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.value-icon {
    color: #0d9488;
    /* Teal color from screenshot */
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.bg-light-box {
    background-color: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
}

/* Buttons */
.btn-teal {
    background-color: #0d9488;
    color: white;
    border: none;
}

.btn-teal:hover {
    background-color: #0b7a6f;
    color: white;
}

.btn-outline-white {
    border: 1px solid white;
    color: white;
    background: transparent;
}

.btn-outline-white:hover {
    background: white;
    color: #1a242d;
}

/* CTA Circle Decorations */
.cta-circle {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.cta-circle-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -200px;
}

.cta-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    right: -50px;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

/* Footer bottom alignment */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Event Page Components */
.info-card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.event-info-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
    height: 100%;
}

.event-info-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(31, 134, 147, 0.1);
    color: rgb(31, 134, 147);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.numbered-list-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.numbered-list-circle {
    width: 36px;
    height: 36px;
    background: rgb(31, 134, 147);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.who-box {
    background: #fdfaf7;
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
    border: 1px solid rgba(31, 134, 147, 0.05);
}

.event-hero-icon {
    width: 80px;
    height: 80px;
    background: rgb(31, 134, 147);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 30px;
    box-shadow: 0 10px 20px rgba(31, 134, 147, 0.3);
}

@media (max-width: 768px) {
    .info-card-container {
        grid-template-columns: 1fr;
        margin-top: -40px;
        padding: 0 15px;
        gap: 15px;
    }
    
    .event-info-card {
        padding: 20px;
    }
    
    .who-box {
        padding: 25px;
    }
    
    .event-hero-icon {
        width: 65px;
        height: 65px;
        font-size: 2rem;
        margin-bottom: 20px;
    }

    /* Stack buttons on event pages on mobile */
    .col-lg-10 .d-flex.flex-wrap.gap-3.mt-5 {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .col-lg-10 .d-flex.flex-wrap.gap-3.mt-5 .btn {
        width: 100% !important;
        text-align: center;
    }

    /* Form responsiveness */
    .card.p-5 {
        padding: 25px !important;
    }

    .form-control, .form-select {
        font-size: 16px !important; /* Prevent iOS zoom */
        padding: 12px 15px !important;
    }
}

/* Mobile Responsive Overrides */
@media (max-width: 991px) {
    .navbar-brand {
        padding: 5px 10px !important;
    }

    .brand-logo-img {
        height: 25px !important;
    }

    .brand-logo-vr {
        height: 15px !important;
    }

    .hero-section {
        min-height: 80vh !important;
        padding-top: 140px !important;
        padding-bottom: 100px !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 2rem;
    }

    .display-1 {
        font-size: 3rem !important;
    }

    .display-2 {
        font-size: 2.5rem !important;
    }

    .display-3 {
        font-size: 2.25rem !important;
    }

    .display-4 {
        font-size: 2rem !important;
    }

    .display-5 {
        font-size: 1.75rem !important;
    }

    .display-6 {
        font-size: 1.5rem !important;
    }

    .glass-counter-box,
    .countdown-item {
        min-width: 70px !important;
        width: 75px !important;

        padding: 1rem 0.5rem !important;
        margin: 0 4px !important;
    }

    .glass-counter-box .display-5,
    .countdown-number {
        font-size: 1.5rem !important;
    }

    .glass-counter-box .small,
    .countdown-label {
        font-size: 0.6rem !important;
    }

    .hero-section .d-flex.gap-3 {
        gap: 0.75rem !important;
    }

    .hero-section .btn {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }

    /* Reduce vertical gaps in mobile */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .container.py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem !important;
    }

    .glass-pill {
        font-size: 0.75rem !important;
        padding: 4px 15px !important;
    }

    .hero-section .d-flex.justify-content-center.gap-3.mb-5 {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-section .btn {
        width: 100%;
    }

    .countdown-separator {
        display: none;
    }
}

/* Fix for horizontal scroll issues in rows */
.row {
    margin-right: 0;
    margin-left: 0;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
}
