:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-red: #e94560;
    --accent-blue: #0f3460;
    --accent-light-blue: #1cb5e0;
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --text-dark: #2d3748;
    --text-light: #4a5568;
    --text-white: #ffffff;
    --border-light: #e2e8f0;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #e94560 0%, #0f3460 100%);
    --gradient-secondary: linear-gradient(135deg, #1cb5e0 0%, #0f3460 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

/* Color Classes */
.accent-color {
    color: var(--accent-red) !important;
}

.accent-blue {
    color: var(--accent-blue) !important;
}

.accent-light-blue {
    color: var(--accent-light-blue) !important;
}

.bg-accent-color {
    background-color: var(--accent-red) !important;
}

.bg-accent-blue {
    background-color: var(--accent-blue) !important;
}

.bg-light-custom {
    background-color: var(--light-bg) !important;
}

.bg-secondary-color {
    background-color: var(--secondary-color) !important;
}

.text-gray {
    color: var(--text-light) !important;
}

.text-muted {
    color: var(--text-light) !important;
}

/* Button Styles */
.button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: white;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.button:hover::before {
    left: 100%;
}

.button-outline {
    background: transparent;
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.button-outline:hover {
    background: var(--accent-red);
    color: white;
    transform: translateY(-3px);
}

/* Container */
.r-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.news-ticker-container {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 0;
}

.live-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.nav-container {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand .brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    background: var(--gradient-primary);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Social Links */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--accent-red);
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.3);
}

/* Banner Section */
.banner-section {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(15, 52, 96, 0.8) 100%);
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;
    color: white;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.banner-section h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.banner-section .accent-color {
    color: var(--accent-red) !important;
}

/* Stats Section */
.stats-section {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: none;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.stat-card h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Styles */
.card-hover {
    transition: all 0.4s ease;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: white;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-rotate {
    transition: transform 0.6s ease;
}

.card-rotate:hover {
    transform: rotateY(5deg) rotateX(5deg);
}

/* Show Cards */
.show-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.5s ease;
    box-shadow: var(--shadow);
}

.show-card img {
    transition: transform 0.5s ease;
    height: 300px;
    object-fit: cover;
}

.show-card:hover img {
    transform: scale(1.1);
}

.show-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(transparent, rgba(26, 26, 46, 0.9));
}

.show-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    color: white;
}

.show-title h5 {
    color: white;
    margin-bottom: 0.5rem;
}

/* News Section */
.news-slider {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.news-item {
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-item:hover {
    background: var(--light-bg);
    transform: translateX(5px);
}

.news-item:last-child {
    border-bottom: none;
}

/* Carousel */
.carousel-item img {
    height: 400px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.75);
    border-radius: 10px;
    padding: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Tab Styles */
.nav-tabs {
    border: none;
    margin-bottom: 2rem;
}

.nav-tabs .nav-link {
    color: var(--text-light);
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    margin: 0 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-tabs .nav-link.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.3);
}

.nav-tabs .nav-link:not(.active):hover {
    background: var(--light-bg);
    color: var(--accent-red);
}

.tab-content {
    margin-top: 20px;
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: none;
    box-shadow: var(--shadow);
    position: relative;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-card img {
    transition: transform 0.5s ease;
    height: 300px;
    object-fit: cover;
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-card .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Partner Logos */
.logo-partner {
    transition: all 0.3s ease;
}

.logo-partner:hover {
    transform: scale(1.1);
}

/* Footer */
.footer-section {
    background: var(--primary-color);
    color: white;
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.footer-title {
    color: white;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-heading {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-red);
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-list a:hover {
    color: var(--accent-red);
    padding-left: 5px;
}

.platform-logo-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.platform-logo-container:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.platform-logo {
    height: 30px;
    filter: brightness(0) invert(1);
}

.contact-item {
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon {
    color: var(--accent-red);
    font-size: 1.2rem;
    margin-top: 2px;
    margin-right: 10px;
}

.contact-label {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-info {
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 20px 0;
    margin-top: 40px;
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

.badge.bg-accent-color {
    background: var(--gradient-primary) !important;
}

.badge.bg-dark {
    background: var(--primary-color) !important;
}

/* Section Spacing */
.section {
    padding: 80px 0;
}

/* Background Variations */
.bg-gradient-dark {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    color: white;
}

.bg-gradient-dark h1,
.bg-gradient-dark h2,
.bg-gradient-dark h3,
.bg-gradient-dark h4,
.bg-gradient-dark h5,
.bg-gradient-dark h6 {
    color: white;
}

.bg-gradient-primary {
    background: var(--gradient-primary) !important;
    color: white;
}

.bg-gradient-primary h1,
.bg-gradient-primary h2,
.bg-gradient-primary h3,
.bg-gradient-primary h4,
.bg-gradient-primary h5,
.bg-gradient-primary h6 {
    color: white;
}

.bg-gradient-blue {
    background: var(--gradient-secondary) !important;
    color: white;
}

/* ========== CONTENT VISIBILITY FIXES ========== */
/* Make all animated content immediately visible */
.fade-in,
.slide-in-left,
.slide-in-right {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* Remove transitions that might cause delays */
.fade-in,
.slide-in-left,
.slide-in-right {
    transition: none !important;
}

/* Ensure all content is visible */
.stat-card,
.show-card,
.team-card,
.news-item,
.card-hover {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Make sure carousel items are visible */
.carousel-item {
    opacity: 1 !important;
}

.carousel-item.active {
    opacity: 1 !important;
}

/* Ensure tab content is visible */
.tab-pane {
    opacity: 1 !important;
    display: block !important;
}

.tab-pane.active {
    opacity: 1 !important;
}

/* ========== ANIMATIONS (Keep but make instant) ========== */
/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(233, 69, 96, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(233, 69, 96, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Floating Elements */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translate(0, 0px);
    }

    50% {
        transform: translate(0, 15px);
    }

    100% {
        transform: translate(0, -0px);
    }
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Utility Classes */
.d-flex {
    display: flex;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-inline {
    display: inline;
}

.d-inline-block {
    display: inline-block;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-start {
    justify-content: flex-start;
}

.justify-content-end {
    justify-content: flex-end;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-around {
    justify-content: space-around;
}

.align-items-center {
    align-items: center;
}

.align-items-start {
    align-items: flex-start;
}

.align-items-end {
    align-items: flex-end;
}

.align-items-stretch {
    align-items: stretch;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.position-fixed {
    position: fixed;
}

.position-static {
    position: static;
}

.top-0 {
    top: 0;
}

.bottom-0 {
    bottom: 0;
}

.start-0 {
    left: 0;
}

.end-0 {
    right: 0;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.m-0 {
    margin: 0;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.ml-0 {
    margin-left: 0;
}

.mr-0 {
    margin-right: 0;
}

.mx-0 {
    margin-left: 0;
    margin-right: 0;
}

.my-0 {
    margin-top: 0;
    margin-bottom: 0;
}

.m-1 {
    margin: 0.25rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.ml-1 {
    margin-left: 0.25rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.m-2 {
    margin: 0.5rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.m-3 {
    margin: 1rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.m-4 {
    margin: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.m-5 {
    margin: 3rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.p-0 {
    padding: 0;
}

.pt-0 {
    padding-top: 0;
}

.pb-0 {
    padding-bottom: 0;
}

.pl-0 {
    padding-left: 0;
}

.pr-0 {
    padding-right: 0;
}

.px-0 {
    padding-left: 0;
    padding-right: 0;
}

.py-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.p-1 {
    padding: 0.25rem;
}

.pt-1 {
    padding-top: 0.25rem;
}

.pb-1 {
    padding-bottom: 0.25rem;
}

.p-2 {
    padding: 0.5rem;
}

.pt-2 {
    padding-top: 0.5rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.p-3 {
    padding: 1rem;
}

.pt-3 {
    padding-top: 1rem;
}

.pb-3 {
    padding-bottom: 1rem;
}

.p-4 {
    padding: 1.5rem;
}

.pt-4 {
    padding-top: 1.5rem;
}

.pb-4 {
    padding-bottom: 1.5rem;
}

.p-5 {
    padding: 3rem;
}

.pt-5 {
    padding-top: 3rem;
}

.pb-5 {
    padding-bottom: 3rem;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}

.gap-5 {
    gap: 3rem;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-visible {
    overflow: visible;
}

.overflow-auto {
    overflow: auto;
}

.rounded {
    border-radius: 0.375rem;
}

.rounded-3 {
    border-radius: 1rem;
}

.rounded-4 {
    border-radius: 1.5rem;
}

.rounded-pill {
    border-radius: 50rem;
}

.shadow {
    box-shadow: var(--shadow);
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Font weights */
.fw-light {
    font-weight: 300;
}

.fw-normal {
    font-weight: 400;
}

.fw-medium {
    font-weight: 500;
}

.fw-semibold {
    font-weight: 600;
}

.fw-bold {
    font-weight: 700;
}

.fw-bolder {
    font-weight: 800;
}

/* Line heights */
.lh-1 {
    line-height: 1;
}

.lh-sm {
    line-height: 1.25;
}

.lh-base {
    line-height: 1.5;
}

.lh-lg {
    line-height: 2;
}

/* Font sizes */
.fs-1 {
    font-size: 0.75rem;
}

.fs-2 {
    font-size: 0.875rem;
}

.fs-3 {
    font-size: 1rem;
}

.fs-4 {
    font-size: 1.125rem;
}

.fs-5 {
    font-size: 1.25rem;
}

.fs-6 {
    font-size: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .banner-section {
        height: 70vh;
        background-attachment: scroll;
    }

    .banner-section h1 {
        font-size: 2.5rem;
    }

    .stats-section {
        margin-top: -40px;
    }

    .section {
        padding: 60px 0;
    }

    .nav-tabs .nav-link {
        padding: 10px 20px;
        margin: 5px;
        font-size: 0.9rem;
    }

    .carousel-item img {
        height: 300px;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .banner-section h1 {
        font-size: 2rem;
    }

    .button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .stat-card h2 {
        font-size: 2.5rem;
    }

    .section {
        padding: 40px 0;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

/* Ensure all Bootstrap grid classes work properly */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.row-cols-1>* {
    flex: 0 0 100%;
    max-width: 100%;
}

.row-cols-md-2>* {
    flex: 0 0 50%;
    max-width: 50%;
}

.row-cols-lg-3>* {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.row-cols-lg-4>* {
    flex: 0 0 25%;
    max-width: 25%;
}

.row-cols-lg-6>* {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.col {
    flex: 1 0 0%;
}

.col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

/* Ensure images are responsive */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Font family classes */
.font-1 {
    font-family: 'Montserrat', sans-serif;
}

/* Make sure all content is visible on print */
@media print {
    * {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
}