:root {
    --primary-blue: #0099ff;
    --primary-purple: #9933cc;
    --text-dark: #333;
}

body {
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    background: #009ff4;
}

/* Header */
header {
    border-bottom: 1px solid #eee;
    z-index: 1000;
    position: relative;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.header-logo {
    height: 60px;
    object-fit: contain;
}

.vr {
    height: 40px;
    align-self: center;
    opacity: 0.2;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 15px;
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 80px);
    /* Adjust based on header height */
    background: linear-gradient(135deg, #2196f3 0%, #ba68c8 100%);
    position: relative;
    /* If bg.png is the full background pattern */
    background-image: url('../images/bg.png'), linear-gradient(135deg, #2196f3 0%, #ba68c8 100%);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}



/* Main Logo Card */
.main-logo-card {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-top: -25px;
    /* Connect to header */
    position: relative;
    width: 100%;
    /* Image determines width */
    max-width: 450px;
    /* Limit width on large screens */
    margin-left: auto;
    margin-right: auto;
}

.main-logo {
    width: 100%;
    height: auto;
    display: block;
}

.main-logo-card h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-top: -2rem;
    /* Pull text up into the white space if needed, or adjust based on image */
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    text-align: center;
}

/* Date & Venue Box */
.date-venue-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    max-width: 600px;
    width: 100%;
}

/* Countdown */
.glass-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 5px;
    min-width: 70px;
    text-align: center;
    position: relative;
}

.countdown-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    display: block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.countdown-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Split flap effect simulation */
.countdown-number::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

/* Social Sidebar */
.social-sidebar {
    background: white;
    padding: 15px 5px 15px 15px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    box-shadow: -2px 5px 10px rgba(0, 0, 0, 0.1);
}

.social-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.2s;
    /* background: white; Removed as container is white */
    border-radius: 5px;
    padding: 0;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Slider Mockup */
.slider-indicators-mockup {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    border: 1px solid white;
    padding: 5px 15px;
    border-radius: 20px;
}

.slider-indicators-mockup .dash {
    width: 20px;
    height: 3px;
    background: white;
    display: inline-block;
    border: none;
    opacity: 1;
}

.slider-indicators-mockup .dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    border: none;
    opacity: 0.5;
}

.slider-indicators-mockup .active {
    background: white;
    opacity: 1;
}

/* Mobile Menu Overlay */
@media (max-width: 768px) {
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        background: white;
        z-index: 2000;
        padding: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        /* Start from top-leftish but centered vertically */
    }

    .mobile-menu-overlay.collapse:not(.show) {
        display: none;
    }

    .mobile-menu-overlay .navbar-nav {
        width: 100%;
    }

    .mobile-menu-overlay .nav-item {
        margin-bottom: 1.5rem;
    }

    .mobile-menu-overlay .nav-link {
        font-size: 1.2rem;
        color: #555 !important;
        /* Darker text for menu items */
        margin-left: 0;
    }

    .mobile-menu-overlay .nav-link.active {
        color: #0099ff !important;
        /* Primary blue for active */
        border-bottom: none !important;
        /* Remove underline if desired, or keep */
    }

    .mobile-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2rem;
        background: none;
        border: none;
        color: #333;
    }
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .header-logo {
        height: 40px;
    }


    .main-logo-card {
        width: 50%;
        max-width: 350px;
        border-radius: 0;
        padding: 0;
        margin-bottom: 1rem;
    }

    .hero-section {
        height: auto;
        padding-bottom: 50px;
    }

    .date-venue-box {
        margin-top: 2rem;
    }

    .social-sidebar {
        position: fixed;
        top: 20% !important;
        bottom: auto;
        right: 0;
        transform: translateY(-50%);
        z-index: 100;
        padding: 10px 10px 10px 10px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
    }
}

:root {
    --primary-blue: #0099ff;
    --primary-purple: #9933cc;
    --text-dark: #333;
}



/* When header is fixed-top we need top spacing for the page content */
#mainHeader {
    /* fixed-top class already sets position; ensure visual */
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}



/* --- Generic section baseline --- */
.page-section {
  min-height: calc(100vh - 0px); /* JS will set body padding to header height so sections fill viewport */
  width: 100%;
  position: relative;
  padding: 40px 0; /* fallback vertical padding */
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Desktop: make each section exactly full viewport (minus header) */
.page-section.fullscreen {
  min-height: calc(100vh - var(--header-height, 80px));
}

/* --- Section-specific backgrounds (use your uploaded images) --- */
.section-home {
  /* keep your existing hero background or image */
  background-image: url('../images/bg.png'), linear-gradient(135deg, #2196f3 0%, #ba68c8 100%);
  background-size: cover;
  background-position: center;
}

.section-about {
  /* the dotted map + gradient and plant illustration you provided */
  background-image: url('../images/about-us-bg.png'), linear-gradient(135deg, #2196f3 0%, #ba68c8 100%);
  background-size: cover;
  background-position: center top;
  color: #fff;
  padding-top: 50px;
  padding-bottom: 50px;
  /* ensure section takes full viewport height on desktop */
  min-height: calc(100vh - var(--header-height,80px));
}

/* event/advisory/partners/contact — each can have its own bg image */
.section-events {
  background-image: url('../images/event-bg.jpg'), linear-gradient(135deg, #2196f3 0%, #ba68c8 100%);
  background-size: cover;
  background-position: center;
  min-height: calc(100vh - var(--header-height,80px));
}

.section-advisory {
  background-image: url('../images/advisory-bg.jpg'), linear-gradient(135deg, #2196f3 0%, #ba68c8 100%);
  background-size: cover;
  background-position: center;
  min-height: calc(100vh - var(--header-height,80px));
}

.section-participants {
  background-image: url('../images/participants-bg.jpg'), linear-gradient(135deg, #2196f3 0%, #ba68c8 100%);
  background-size: cover;
  background-position: center;
  min-height: calc(100vh - var(--header-height,80px));
}

.section-key_track {
  background-image: url('../images/key-Tracks-bg.jpg'), linear-gradient(135deg, #2196f3 0%, #ba68c8 100%);
  background-size: cover;
  background-position: center;
  min-height: calc(100vh - var(--header-height,80px));
}

.section-partners {
   background-image: url('../images/partner2-bg.jpg'), linear-gradient(135deg, #2196f3 0%, #ba68c8 100%);
  background-size: cover;
  background-position: center;
  min-height: calc(100vh - var(--header-height,80px));
}

.section-contact {
   background-image: url('../images/contact6-bg.jpg'), linear-gradient(135deg, #2196f3 0%, #ba68c8 100%);
  background-size: cover;
  background-position: center;
  min-height: calc(100vh - var(--header-height,80px));
}

/* --- About title & content images styling --- */
.about-title-img {
  max-width: 100%;
  height: auto;
  /* On desktop keep big and left aligned */
  display: block;
  margin-left: 0;
}

/* Wrapper for the PNG content (rounded card image) */
.about-card-img-wrapper {
  position: relative;
  max-width: 100%;
}

.about-content-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px; /* should match the PNG corners but keeps fallback */
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* On larger screens match the layout in your design: title left large, card right */
@media (min-width: 992px) {
  .title-col {
    padding-left: 40px;
  }
  .content-col {
    padding-right: 80px;
  }
}

/* Mobile stacking: title on top, card below, with proper margins */
@media (max-width: 767.98px) {
  .page-section { padding: 28px 16px; }
  .title-col {
    text-align: left;
    margin-bottom: 16px;
  }
  .about-title-img {
    width: 80%;
  }
  .about-content-img {
    width: 100%;
  }
  /* reduce hero min-height on small devices so content fits nicely */
  .section-about { min-height: auto; padding-top: 80px; padding-bottom: 80px; }
}

/* preserve social sidebar styling and z-index */
.social-sidebar { z-index: 1200; }

/* small helper for visually-hidden h2s used by a11y */
.page-section h2.d-none { position: absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }


@media screen and (max-width: 768px) and (orientation: portrait) {
    .hero-section {
        background-image: url('../images/bg-p.png'), linear-gradient(135deg, #2196f3 0%, #ba68c8 100%);
    }
	.section-events {
		background-image: url('../images/event-bg-p.jpg'), linear-gradient(135deg, #2196f3 0%, #ba68c8 100%);
	}
	.section-advisory {
		background-image: url('../images/advisory-bg-p.jpg'), linear-gradient(135deg, #2196f3 0%, #ba68c8 100%);
	}
	
	.section-participants {
		background-image: url('../images/participants-bg-p.jpg'), linear-gradient(135deg, #2196f3 0%, #ba68c8 100%);
	}
	
	.section-key_track {
		background-image: url('../images/key-track-bg-p.jpg'), linear-gradient(135deg, #2196f3 0%, #ba68c8 100%);
	}
	
	
	.section-partners {
		background-image: url('../images/partner2-bg-p.jpg'), linear-gradient(135deg, #2196f3 0%, #ba68c8 100%);
		
	}
	
	.section-contact {
		background-size: contain;
		background-image: url('../images/contact2-bg-p.jpg'), linear-gradient(135deg, #2196f3 0%, #ba68c8 100%);
	}
}






/* make carousel a positioned parent for absolute children */
#heroCarousel {
  position: relative;
}

/* center the compact inline-flex indicator box horizontally */
.slider-indicators-mockup {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;            /* adjust this to move up/down as needed */
  transform-origin: center;
  /* combine transforms for both centering and vertical position if you want */
  /* e.g. transform: translate(-50%, -50%); to truly center vertically/horizontally */
  background: transparent; /* optional */
  width: auto;           /* keep it compact */
  z-index: 10;           /* ensure visible over content */
}

/* smaller niceties */
.slider-indicators-mockup .carousel-indicators {
  display: inline-flex;
  gap: .6rem;
  margin: 0;
  align-items: center;
}
