/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
    /* NEW THEME: Vibrant Financial Azure & Crystal Sky (BFSIEU Exclusive) */
    --primary-color: #012a2d;
    --secondary-color: #435355;
    --button-color: #012a2d;
    --button-hover: #435355;
    --text-dark: #000000;
    --text-light: #ffffff;
    
    /* Financial Chart Colors - Professional Blue Scale (6 Levels) */
    --chart-others: #ff007f;         /* Level 1: Imperial Navy (Darkest/Outer) */
    --chart-sponsors: #ff9900;       /* Level 2: Azure */
    --chart-managers: #ffcc00;       /* Level 3: Tech Blue */
    --chart-vps: #00ffff;            /* Level 4: Sky Blue */
    --chart-csuite: #ADE8F4;         /* Level 5: Light Frost (Inner) */
    --chart-na: #ffffff;             /* Level 6: Pure White (3% / Others) */

    /* Geo Chart Mapping to Azure Scale */
    --chart-geo-east: #ff007f;       
    --chart-geo-west: #ff9900;       
    --chart-geo-europe: #ffcc00;     
    --chart-geo-central: #00ffff;    
    --chart-geo-other: #ADE8F4;      
    --chart-geo-na: #ffffff;         
}

body {
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #F0F9FF; 
}

/* --- Typography Constraints --- */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5,
.section-title-underlined, .gallery-heading, .showcase-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 44px !important;
    line-height: 1.2;
    color: var(--primary-color) !important;
}

h3 { font-size: 32px !important; }
h4 { font-size: 24px !important; }
h5 { font-size: 20px !important; }
h6 { font-size: 18px !important; }

p, .lead, .nav-link, li, span {
    font-size: 17px !important;
}

/* =======================================================================
   --- DARK SECTION OVERRIDES (White Text & Enhanced Transparency) --- 
   ======================================================================= */

/* Force headings to white against images and gradients */
.hero-section h1, .hero-section h2, .hero-section h3,
.stats-section h2, .stats-section h3,
.who-should-attend-section h2, .who-should-attend-section h3,
.reasons-section h2, .reasons-section h3,
.registration-section h2, .registration-section h3, .registration-title,
.showcase-section h2, .showcase-title {
    color: #ffffff !important;
}

/* Force Section subheadings to white against vibrant backgrounds */
.reasons-section h4, .reasons-section h5,
.hero-section h4, .hero-section h5,
.stats-section h4, .stats-section h5,
.who-should-attend-section h4, .who-should-attend-section h5,
.registration-section h4, .registration-section h5 {
    color: #ffffff !important;
}

/* --- Global Color Scheme & Buttons --- */
.btn, .btn-primary, .btn-secondary, .btn-warning, .btn-showcase, .btn-brochure {
    background-color: var(--button-color) !important;
    border: 1px solid var(--button-color) !important;
    color: #fff !important;
    border-radius: 5px;
    padding: 12px 30px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn:hover, .btn-primary:hover, .btn-showcase:hover {
    background-color: var(--button-hover) !important;
    border-color: var(--button-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
}

.text-primary, .text-teal, .icon-box i, .speaker-name {
    color: var(--button-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

section {
    padding: 80px 0;
}

/* --- Navbar --- */
.navbar {
    position: fixed !important;
    top: 0; left: 0; width: 100%; z-index: 1030;
    background: #ffffff !important;
    padding: 0;
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--button-color);
}

.navbar-brand img {
    max-height: 50px; width: auto; padding: 2px 0;
}

.nav-link {
    color: var(--primary-color) !important;
    font-size: 16px !important;
    font-weight: 600;
}

.nav-link:hover {
    color: var(--button-hover) !important;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1) !important;
    margin-right: 15px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 119, 182, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 110vh;
    background: url('images/bfsibanners.webp') no-repeat center center;
    background-size: cover;
    position: relative;
    color: #fff !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* REDUCED OPACITY (0.78) to show more banner detail and remove "blackish" dullness */
    background: linear-gradient(90deg, rgba(1, 42, 45, 0.80), rgba(67, 83, 85, 0.80));
}

.hero-section .container { position: relative; z-index: 2; }

.timer-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 15px; border-radius: 8px; min-width: 90px; margin: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.timer-number { font-size: 36px !important; font-weight: 700; }
.timer-label { font-size: 14px !important; text-transform: uppercase; }

/* --- icon-box --- */
.icon-box {
    width: 80px; height: 80px; border-radius: 50%;
    background-color: var(--secondary-color);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}

/* --- Stats Section --- */
.stats-section {
    background: linear-gradient(90deg, rgba(1, 42, 45, 0.80), rgba(67, 83, 85, 0.80)),
        url('images/Banners.png') no-repeat center center;
    background-size: cover;
    color: #fff !important;
}

/* --- Who Should Attend Section (Azure Scale Charts) --- */
.who-should-attend-section {
    background: linear-gradient(90deg, rgba(1, 42, 45, 0.80), rgba(67, 83, 85, 0.80)),
                url('images/bfsibanners.webp') no-repeat center center;
    background-size: cover;
    color: #fff;
    overflow: hidden;
}

.who-should-attend-section .section-title-underline {
    width: 80px; height: 4px;
    background-color: #fff;
    display: inline-block;
}

.chart-container {
    position: relative; width: 100%; max-width: 380px; height: 320px; margin: 0 auto 15px auto; 
}

.donut-chart { position: absolute; left: 0; top: 0; width: 320px; height: 320px; }
.chart-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 0 10px rgba(0,0,0,0.2); }
.chart-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100px; height: 100px; background-color: rgba(0, 0, 0, 0.3); border-radius: 50%; z-index: 10; border: 2px solid rgba(255,255,255,0.1); }

/* Seniority Chart Rings */
.ring-vps { width: 180px; height: 180px; background: conic-gradient(var(--chart-vps) 0% 5%, rgba(255,255,255,0.08) 5% 100%); z-index: 5; }
.ring-managers { width: 220px; height: 220px; background: conic-gradient(var(--chart-managers) 0% 22%, rgba(255,255,255,0.06) 22% 100%); z-index: 4; }
.ring-sponsors { width: 260px; height: 260px; background: conic-gradient(var(--chart-sponsors) 0% 43%, rgba(255,255,255,0.04) 43% 100%); z-index: 3; }
.ring-others { width: 300px; height: 300px; background: conic-gradient(var(--chart-others) 0% 30%, rgba(255,255,255,0.02) 30% 100%); z-index: 2; }

/* Geographical Chart Rings (6 Levels) */
.ring-geo-na { width: 100px; height: 100px; background: conic-gradient(var(--chart-geo-na) 0% 3%, rgba(255,255,255,0.2) 3% 100%); z-index: 7; }
.ring-geo-other { width: 140px; height: 140px; background: conic-gradient(var(--chart-geo-other) 0% 10%, rgba(255,255,255,0.1) 10% 100%); z-index: 6; }
.ring-geo-central { width: 180px; height: 180px; background: conic-gradient(var(--chart-geo-central) 0% 10%, rgba(255,255,255,0.08) 10% 100%); z-index: 5; }
.ring-geo-europe { width: 220px; height: 220px; background: conic-gradient(var(--chart-geo-europe) 0% 12%, rgba(255,255,255,0.06) 12% 100%); z-index: 4; }
.ring-geo-west { width: 260px; height: 260px; background: conic-gradient(var(--chart-geo-west) 0% 25%, rgba(255,255,255,0.04) 25% 100%); z-index: 3; }
.ring-geo-east { width: 300px; height: 300px; background: conic-gradient(var(--chart-geo-east) 0% 37%, rgba(255,255,255,0.02) 37% 100%); z-index: 2; }

/* Absolute Marker Positioning */
.chart-markers-right { position: absolute; right: 0; top: 0; height: 320px; width: 60px; display: block; }
.marker-item { position: absolute; right: 0; display: flex; align-items: center; transform: translateY(-50%); }
.marker-line { width: 25px; height: 1px; background-color: rgba(255, 255, 255, 0.8); margin-right: 8px; }
.marker-text { font-weight: 700; font-size: 16px; line-height: 1; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }

/* Coordinates */
.markers-seniority .pos-1 { top: 20px; } .markers-seniority .pos-2 { top: 40px; }
.markers-seniority .pos-3 { top: 60px; } .markers-seniority .pos-4 { top: 80px; }
.markers-geo .pos-1 { top: 20px; } .markers-geo .pos-2 { top: 40px; }
.markers-geo .pos-3 { top: 60px; } .markers-geo .pos-4 { top: 80px; } 
.markers-geo .pos-5 { top: 100px; } .markers-geo .pos-6 { top: 120px; }

/* Legends Mapping */
.chart-legend-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: fit-content; margin: 0 auto; z-index: 10; }
.legend-item { display: flex; align-items: center; font-size: 14px; font-weight: 500; text-align: left; color: #ffffff; }
.legend-color { width: 12px; height: 12px; border-radius: 50%; margin-right: 10px; border: 1px solid rgba(255, 255, 255, 0.4); box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); flex-shrink: 0; }

.color-others, .color-geo-east      { background-color: var(--chart-others) !important; }
.color-sponsors, .color-geo-west    { background-color: var(--chart-sponsors) !important; }
.color-managers, .color-geo-europe  { background-color: var(--chart-managers) !important; }
.color-vps, .color-geo-central       { background-color: var(--chart-vps) !important; }
.color-csuite, .color-geo-other     { background-color: var(--chart-csuite) !important; }
.color-na, .color-geo-na     { background-color: var(--chart-na) !important; }

.attendee-list-box {
    background: rgba(255, 255, 255, 0.08); padding: 20px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.15);
}
.attendee-list li { margin-bottom: 8px; display: flex; align-items: center; font-size: 15px !important; color: #fff; }
.attendee-list li i { color: #fff; font-size: 12px; opacity: 0.7; }

@media (max-width: 991px) {
    .who-should-attend-section .col-lg-4 { margin-bottom: 4rem !important; }
}
@media (max-width: 420px) {
    .chart-container { transform: scale(0.85); transform-origin: center top; margin-bottom: -30px !important; }
}

/* --- Speakers (Azure Lift State) --- */
.speaker-card {
    background: #fff; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden; transition: all 0.3s ease; height: 100%; text-align: center; border: 1px solid var(--secondary-color);
}
.speaker-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 119, 182, 0.15); }
.speaker-content { padding: 15px 15px 15px 15px; }
.speaker-image-container { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; margin: 0 auto 10px auto; border: 4px solid var(--accent-color); }
.speaker-image-container img { width: 100%; height: 100%; object-fit: cover; }
.speaker-name { font-size: 19px !important; font-weight: 700; margin-bottom: 5px; color: var(--text-dark); }
.speaker-title { font-size: 14px !important; color: #555; margin-bottom: 5px; line-height: 1.4; font-weight: 500; min-height: 40px; }
.speaker-company { font-size: 15px !important; font-weight: 700; color: var(--button-color); margin-bottom: 5px; }
.speaker-linkedin { display: inline-block; font-size: 13px; font-weight: 600; color: #0077b5; text-decoration: none; border: 1px solid #0077b5; padding: 6px 10px; border-radius: 20px; transition: all 0.3s ease; }
.speaker-linkedin:hover { background-color: #0077b5; color: #fff; }

/* --- Industry Partners / Sponsors --- */
#sponsors { background-color: #fff; color: #000; }
#sponsors .section-title-underlined { color: var(--primary-color) !important; font-weight: 800; }
#sponsors .section-title-underlined::after { background-color: var(--button-color) !important; }
.company-logo {
    background-color: #ffffff; width: 100%; height: 110px; border-radius: 15px; object-fit: contain; padding: 10px; border: 1px solid #f0f0f0; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.company-logo-link:hover .company-logo { transform: translateY(-5px) scale(1.08); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); border-color: transparent; }

/* =======================================================================
   --- AGENDA SECTION (Azure Card Layout) --- 
   ======================================================================= */
.section-title-underlined { color: var(--primary-color); padding-bottom: 15px; position: relative; display: inline-block; }
.section-title-underlined::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background-color: var(--button-color); }
.custom-agenda-tabs .nav-link { background-color: var(--primary-color) !important; color: #fff !important; margin: 0 5px; padding: 10px 25px; border-radius: 5px; font-weight: 500; }
.custom-agenda-tabs .nav-link.active { background-color: var(--button-color) !important; }
.agenda-item { display: flex; align-items: center; margin-bottom: 15px; width: 100%; }
.agenda-marker { width: 60px; flex-shrink: 0; display: flex; justify-content: center; }
.agenda-content { flex-grow: 1; }
.dot { width: 20px; height: 20px; border-radius: 50%; box-sizing: border-box; }
.dot.hollow { background-color: transparent; border: 3px solid var(--button-color); }
.dot.solid { background-color: var(--button-color); border: 3px solid var(--button-color); }
.agenda-card { background-color: #fff; border: 1px solid #eee; padding: 15px 25px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03); border-radius: 8px; width: 100%; }
.agenda-card .time { color: var(--button-color); font-weight: 700; font-size: 1.1rem; margin-bottom: 5px; display: block; }
.agenda-card .title { font-weight: 400; font-size: 1rem; color: var(--text-dark); display: block; }
.card-break { background-color: #f9f9f9; }

/* --- Gallery & Showcase --- */
.gallery-wrapper { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; grid-template-rows: 250px 250px; gap: 15px; }
.gallery-slot { background-color: #ddd; border-radius: 10px; background-size: cover; background-position: center; }
.slot-1 { grid-column: 1; grid-row: 1 / span 2; }
.slot-4 { grid-column: 3; grid-row: 1 / span 2; }
.showcase-section { padding: 0 !important; background-image: url('images/Show-c.webp'); background-size: cover; background-position: center; color: #fff; position: relative; }
.showcase-content { position: relative; z-index: 2; padding: 80px 0; }

/* --- Testimonials (Azure Slate Wash) --- */
#testimonials { background-color: var(--secondary-color); }
.testimonial-text { font-size: 22px !important; color: var(--text-dark); line-height: 1.6; font-weight: 400; }
.quote-icon-start, .quote-icon-end { color: var(--accent-color); font-size: 40px; opacity: 0.8; }
.carousel-control-prev-icon, .carousel-control-next-icon { filter: invert(1) grayscale(100); }

/* --- Reasons Section --- */
.reasons-section {
    background: linear-gradient(90deg, rgba(1, 42, 45, 0.80), rgba(67, 83, 85, 0.80)),
        url('images/Banners.png') no-repeat center center;
    background-size: cover; color: #fff !important;
}

/* --- Audience Includes --- */
#audience { background-color: #ffffff; padding: 80px 0; }
.audience-icon { font-size: 50px; color: var(--button-color); margin-bottom: 20px; display: block; }
.audience-text { font-size: 16px !important; color: var(--text-dark); font-weight: 700; line-height: 1.4; }

/* --- Venue Section --- */
.venue-image { width: 100%; border-radius: 25px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); object-fit: cover; }
.venue-details strong { color: var(--button-color); font-weight: 700; margin-right: 5px; }

/* --- Registration Section --- */
.registration-section {
    background: linear-gradient(90deg, rgba(1, 42, 45, 0.80), rgba(67, 83, 85, 0.80)),
        url('images/Banners.png') no-repeat center center;
    background-size: cover; color: #fff !important; padding-bottom: 80px;
}
.registration-card { background: #fff; padding: 50px; border-radius: 15px; border: 1px solid var(--secondary-color); box-shadow: 0 10px 30px rgba(0, 119, 182, 0.1); }
.custom-input { border: 1px solid #ddd; border-radius: 5px; padding: 12px 15px; background-color: #f8f9fa; transition: all 0.3s; }
.custom-input:focus { border-color: var(--button-color); box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1); background-color: #fff; }
.btn-submit { background-color: var(--button-color) !important; color: #fff !important; width: 100%; transition: 0.3s; }
.btn-submit:hover { background-color: var(--button-hover) !important; transform: translateY(-3px); }

/* --- Footer (Pure White Headings Over Deep Navy) --- */
.site-footer { background-color: #000; color: #f0f0f0; border-top: 5px solid var(--button-color); }
.site-footer h3, .site-footer h5 { color: #ffffff !important; }
.footer-divider { border-color: var(--accent-color); }
.contact-list i { color: #ffffff !important; margin-right: 10px; }
.site-footer p, .site-footer .nav-link, .site-footer li, .site-footer span { color: #ffffff !important; opacity: 0.9; }
.social-link:hover { color: #ffffff !important; transform: translateY(-3px); }

/* --- Media Queries --- */
@media (max-width: 768px) {
    h1, h2, .display-2 { font-size: 32px !important; }
    .gallery-wrapper { grid-template-columns: 1fr; grid-template-rows: auto; }
    .slot-1, .slot-2, .slot-3, .slot-4 { height: 250px; }
    .registration-card { padding: 30px 20px; }
}
/* --- Agenda Glance Section --- */
.agenda-glance-icon {
    max-height: 60px;
    margin-bottom: 15px;
}
