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

:root {
    --primary-color: #c23a89;
    --secondary-color: #ec4024;
    --button-color: #c23a89;
    --button-hover: #ec4024;
    --text-dark: #000000;
    --text-light: #ffffff;
}

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

/* --- 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: 400px;
    font-size: 44px !important; 
    line-height: 1.2;
}

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;
}

/* --- 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: 400px;
    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);
}

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

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

section {
    padding: 80px 0;
}

/* --- Navbar --- */
.navbar {
    /* Layout & Positioning */
    position: fixed !important; /* Forces header to stay at top while scrolling */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030; /* High z-index ensures it stays above other content */
    
    /* Appearance: Solid White initially */
    background: #ffffff !important; 
    padding: 0; 
    transition: all 0.3s ease;
}

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

/* Link Color */
.nav-link {
    color: #5e5e5e !important; /* Black text */
    font-size: 16px !important;
    font-weight: 600;
}

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

/* SCROLLED STATE */
.navbar-scrolled {
    /* White with 50% Opacity when scrolling */
    background: rgba(255, 255, 255, 0.5) !important; 
    backdrop-filter: blur(5px); 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* --- Mobile Toggler (Hamburger Menu) --- */
.navbar-toggler {
    border-color: rgba(0,0,0,0.1) !important; /* Light border */
    margin-right: 15px; /* Spacing from right edge */
}

/* Force the hamburger icon to be BLACK so it shows on white background */
.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, 0, 0, 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/DDN-Banner.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;
    background: linear-gradient(90deg, rgba(194, 58, 137, 0.80), rgba(236, 64, 36, 0.80));
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.timer-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    min-width: 90px;
    margin: 0 10px;
}
.timer-number { font-size: 36px !important; font-weight: 700; }
.timer-label { font-size: 14px !important; text-transform: uppercase; }

/* --- About & Services --- */
.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f0efff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* --- Stats Section --- */
.stats-section {
    background: linear-gradient(90deg, rgba(194, 58, 137, 0.80), rgba(236, 64, 36, 0.80)),
                url('images/Banners.png') no-repeat center center;
    background-size: cover;
    color: #fff !important;
}

/* --- Who Should Attend Section (New Compact/Vibrant Layout) --- */
.who-should-attend-section {
    /* Purple Gradient matching Hero Section */
    background: linear-gradient(90deg, rgba(194, 58, 137, 0.80), rgba(236, 64, 36, 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 & Layout */
.attendee-chart-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0;
    /* Aligned left */
    display: flex;
    align-items: center;
}

.donut-chart {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    margin-left: 10px;
}

.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);
}

/* Vibrant Ring Colors */
:root {
    --chart-csuite: #ffffff;
    /* White */
    --chart-vps: #00ffff;
    /* Cyan/Aqua */
    --chart-managers: #ffcc00;
    /* Gold/Yellow */
    --chart-sponsors: #ff9900;
    /* Orange */
    --chart-others: #ff007f;
    /* Bright Pink */
}

/* Ring 1: C-Suite (25%) */
.ring-csuite {
    width: 140px;
    height: 140px;
    background: conic-gradient(var(--chart-csuite) 0% 25%, rgba(255, 255, 255, 0.1) 25% 100%);
    z-index: 6;
}

/* Ring 2: VP's (25%) */
.ring-vps {
    width: 180px;
    height: 180px;
    background: conic-gradient(var(--chart-vps) 0% 5%, rgba(255, 255, 255, 0.08) 25% 100%);
    z-index: 5;
}

/* Ring 3: Managers (20%) */
.ring-managers {
    width: 220px;
    height: 220px;
    background: conic-gradient(var(--chart-managers) 0% 22%, rgba(255, 255, 255, 0.06) 20% 100%);
    z-index: 4;
}

/* Ring 4: Sponsors (15%) */
.ring-sponsors {
    width: 260px;
    height: 260px;
    background: conic-gradient(var(--chart-sponsors) 0% 43%, rgba(255, 255, 255, 0.04) 15% 100%);
    z-index: 3;
}

/* Ring 5: Others (15%) */
.ring-others {
    width: 300px;
    height: 300px;
    background: conic-gradient(var(--chart-others) 0% 30%, rgba(255, 255, 255, 0.02) 15% 100%);
    z-index: 2;
}

/* Center Hub */
.chart-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.3);
    /* Dark Transparent Hub */
    border-radius: 50%;
    z-index: 7;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Legend (Left) */
.chart-legend-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
    min-width: 130px;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.legend-color {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Map colors to legend */
.color-csuite {
    background-color: var(--chart-csuite);
}

.color-vps {
    background-color: var(--chart-vps);
}

.color-managers {
    background-color: var(--chart-managers);
}

.color-sponsors {
    background-color: var(--chart-sponsors);
}

.color-others {
    background-color: var(--chart-others);
}

/* Markers (Right) */
.chart-markers-right {
    position: relative;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    z-index: 10;
    /* Ensures markers appear above chart rings */
}

.marker-item {
    display: flex;
    align-items: center;
}

.marker-line {
    width: 40px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    margin-right: 5px;
}

.marker-text {
    font-weight: 700;
    font-size: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Lists (Right Column) */
.attendee-list-box {
    background: rgba(255, 255, 255, 0.1);
    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;
}

.attendee-list li i {
    color: #fff;
    font-size: 12px;
    opacity: 0.7;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
.attendee-chart-wrapper {
    flex-direction: column;
    max-width: 350px;
    margin: 0 auto;
}

.chart-legend-left {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.chart-markers-right {
    position: absolute;
    right: -25px;
    top: 63%;
    transform: translateY(-50%);
    gap: 15px;
}

.marker-line {
    width: 30px;
}

.marker-text {
    font-size: 14px;
}

.donut-chart {
    margin-left: 0;
}

.attendee-chart-wrapper {
    position: relative;
}
}

/* --- Speakers (Final Structure) --- */
.speaker-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%; /* Equal height cards */
    text-align: center;
    border: 1px solid #eee;
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.speaker-content {
    padding: 15px 15px 15px 15px;
}

/* Image Container (Circular) */
.speaker-image-container {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px auto;
    border: 4px solid var(--primary-color); /* Purple Border */
}

/* Actual Image */
.speaker-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-name {
    font-size: 19px !important;
    font-weight: 700;
    margin-bottom: 5px;
    color: #000;
}

.speaker-title {
    font-size: 14px !important;
    color: #555;
    margin-bottom: 5px;
    line-height: 1.4;
    font-weight: 500;
    min-height: 40px; /* Aligns content better */
}

/* Company Name Style */
.speaker-company {
    font-size: 15px !important;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* LinkedIn Button Style */
.speaker-linkedin {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #0077b5; /* LinkedIn Brand Blue */
    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;
}

/* --- Invited Companies / Previous Partners Section --- */
#sponsors {
    background-color: #fff; /* White background */
    color: #000;
}

/* Heading Style (Red) */
#sponsors .section-title-underlined {
    color: #c23a89 !important;
    font-weight: 800; /* Extra bold */
}
#sponsors .section-title-underlined::after {
    background-color: #c23a89 !important;
}

/* The Link Container */
.company-logo-link {
    display: block;
    text-decoration: none;
    height: 100%; /* Ensures alignment */
}

/* The Logo Card Design */
.company-logo {
    background-color: #ffffff;
    
    /* Box Shape */
    width: 100%;
    height: 110px; /* Fixed height for uniform cards */
    border-radius: 15px; /* Rounded corners like your image */
    
    /* Image Alignment inside the box */
    object-fit: contain; 
    padding: 10px; /* Padding to keep logo away from edges */
    
    /* Border & Shadow to make it visible on white bg */
    border: 1px solid #f0f0f0; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Soft initial shadow */
    
    /* The "Pop" Animation Physics */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
    backface-visibility: hidden; /* Keeps text sharp during animation */
}

/* Hover Effect: "Grove/Pop" */
.company-logo-link:hover .company-logo {
    /* Moves Up (-5px) AND Grows (1.08x) */
    transform: translateY(-5px) scale(1.08); 
    
    /* Shadow becomes larger and softer to simulate height */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    
    /* Optional: Border color change */
    border-color: transparent;
}

/* --- Agenda / Schedules --- */
.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(--primary-color);
}

/* Tabs */
.custom-agenda-tabs .nav-link {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    margin: 0 5px;
}
.custom-agenda-tabs .nav-link.active {
    background-color: #b53c44 !important; /* Darker purple for active state */
}

/* --- Layout Structure (Fixes the "On Top" issue) --- */
.agenda-item {
    display: flex;           /* Puts dot and card side-by-side */
    align-items: center;     /* Vertically centers the dot relative to the card */
    margin-bottom: 5px;     /* Space between rows */
}

.agenda-marker {
    width: 50px;             /* Fixed width for the dot column */
    flex-shrink: 0;          /* Prevents the dot area from shrinking */
    display: flex;
    justify-content: center; /* Centers dot horizontally in its column */
}

.agenda-content {
    flex-grow: 1;            /* Card takes up the rest of the space */
}

/* --- Dot Styling --- */
.dot {
    width: 20px; 
    height: 20px; 
    border-radius: 50%;
    box-sizing: border-box; /* Ensures border is calculated inside size */
}

.dot.hollow { 
    background-color: transparent; 
    border: 3px solid var(--primary-color); /* Purple Ring */
}

.dot.solid { 
    background-color: var(--primary-color); /* Solid Purple Circle */
    border: 3px solid var(--primary-color);
}

/* --- Card Styling --- */
.agenda-card {
    background-color: #fff;
    border: 1px solid #eee; /* Subtle border */
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); /* Soft shadow like the screenshot */
    border-radius: 8px;
    width: 100%;
}

.agenda-card .time { 
    color: var(--primary-color); 
    font-weight: 700; 
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.agenda-card .title {
    font-weight: 400;
    font-size: 1rem;
    color: #000;
}

/* Special styling for breaks (optional) */
.card-break { 
    background-color: #f9f9f9; 
}

/* --- Gallery --- */
.gallery-wrapper {
    display: grid;
    /* Grid Layout: Wide Left, Narrower Middle, Wide Right */
    grid-template-columns: 1.5fr 1fr 1.5fr;
    /* Fixed height rows */
    grid-template-rows: 250px 250px;
    gap: 15px;
}

.gallery-slot {
    background-color: #ddd; /* Fallback color */
    border-radius: 10px;
    
    /* Ensures image fills the box completely (Crops edges if needed) */
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
}

/* Grid Positioning */
.slot-1 { grid-column: 1; grid-row: 1 / span 2; } /* Left Tall */
.slot-2 { grid-column: 2; grid-row: 1; }          /* Middle Top */
.slot-3 { grid-column: 2; grid-row: 2; }          /* Middle Bottom */
.slot-4 { grid-column: 3; grid-row: 1 / span 2; } /* Right Tall */


/* --- Showcase --- */
.showcase-section {
    padding: 0 !important; /* Removes outer section padding */
    background-image: url('images/show-case.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
}

.showcase-content { 
    position: relative; 
    z-index: 2; 
    /* Adds internal spacing since we removed the section padding */
    padding: 80px 0; 
}

.showcase-image-wrapper { 
    position: relative; 
    z-index: 2; 
}

/* --- Testimonials Section --- */
#testimonials {
    background-color: #f9f9f9; /* Light grey background to separate section */
}

#testimonials .section-title-underlined {
    color: var(--primary-color) !important;
}

.testimonial-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.testimonial-text {
    font-size: 22px !important; /* Larger text size */
    color: #2c3e50;
    line-height: 1.6;
    display: inline;
    font-weight: 400;
}

/* Quote Icons Style */
.quote-icon-start,
.quote-icon-end {
    color: #aebfd6; /* Muted blue-grey color from image */
    font-size: 40px;
    vertical-align: top;
    opacity: 0.8;
}

.quote-icon-start {
    margin-right: 15px;
}

.quote-icon-end {
    margin-left: 15px;
    vertical-align: bottom; /* Aligns closing quote at bottom */
}

/* Author Details */
.testimonial-author h5 {
    color: #000;
    font-size: 18px !important;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 15px !important;
    font-weight: 500;
}

/* Carousel Control Arrows (Dark color for visibility on light bg) */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) grayscale(100); 
    background-size: 100%, 100%;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%; /* Reduces clickable area width so it doesn't cover text */
}

/* --- Reasons Section --- */
.reasons-section {
    background: linear-gradient(90deg, rgba(194, 58, 137, 0.80), rgba(236, 64, 36, 0.80)),
                url('images/DDN-Reasons.webp') no-repeat center center;
    background-size: cover;
    color: #fff !important;
    }
.reason-icon { color: #fff; opacity: 0.8; }

/* --- Venue Section --- */
.venue-image {
    width: 100%;
    border-radius: 25px; /* Rounded corners */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Soft shadow for depth */
    object-fit: cover;
    min-height: 300px;
}

.venue-details {
    padding-left: 20px;
}

/* Paragraph Text Size */
.venue-details p {
    font-size: 17px !important;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Labels (Strong Text) - Color them Purple */
.venue-details strong {
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 5px;
}

/* Mobile Adjustment */
@media (max-width: 991px) {
    .venue-details {
        padding-left: 0;
        text-align: center; /* Center text on mobile */
    }
}

/* --- Registration Form Section --- */
.registration-section {
    /* Uses your site's purple gradient for the background */
    background: linear-gradient(90deg, rgba(194, 58, 137, 0.80), rgba(236, 64, 36, 0.80)),
                url('images/Banners.png') no-repeat center center;
    background-size: cover;
    color: #fff !important;
    padding-bottom: 80px;
}

.registration-title {
    color: #fff !important; /* Forces heading to white */
}
/* Change the underline color to white for this dark section */
.registration-section .section-title-underlined::after {
    background-color: #fff !important;
}

.registration-card {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Form Inputs Styling */
.custom-input {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px 15px;
    font-size: 15px;
    background-color: #f8f9fa;
    transition: all 0.3s;
}

.custom-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
    background-color: #fff;
}

.custom-input::placeholder {
    color: #999;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Submit Button */
.btn-submit {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border: none;
    padding: 15px 50px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.btn-submit:hover {
    background-color: #5a52d5 !important; /* Slightly darker purple */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .registration-card {
        padding: 30px 20px;
    }
}

/* --- Footer Social Icons --- */
.social-link {
    color: #555; /* Default dark grey color */
    transition: all 0.3s ease;
    display: inline-block;
}

.social-link:hover {
    color: var(--primary-color) !important; /* Changes to Purple on hover */
    transform: translateY(-3px); /* Slight lift effect */
}

/* Adjust icon size if needed */
.social-link i {
    font-size: 24px;
}
/* --- Footer --- */
.site-footer {
    background-color: #1a1a1a;
    color: #ccc;
}
.site-footer h3, .site-footer h5 { color: #fff; }
.footer-divider { border-color: var(--primary-color); }
.contact-list i { color: var(--primary-color); margin-right: 10px; }

@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 {
        grid-column: auto; grid-row: auto; height: 250px;
    }
}