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

/* --- Global Styles & Variables --- */
:root {
    --primary-color: #6a00c2;
    --secondary-color: #2c0062;
    --active-color: #5EA0C8; /* Active link color */
    --dark-bg: #1a1a1a;
    --light-text: #f8f9fa;
    --body-text: #6c757d;
}

body {
    font-family: 'Lato', sans-serif;
    color: #333;
}

/* --- Helper Classes --- */
.section-title {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-title-underlined {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-title-underlined::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
}

.section-heading {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.section-heading::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
}


/* --- Main Header Styling --- */
.main-header .navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.main-header .navbar .nav-link {
    color: #000000;
    font-weight: 600;
}

.main-header .navbar .nav-link:hover,
.main-header .navbar .nav-link.active {
    color: var(--active-color);
}

.main-header.scrolled .navbar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* --- Hero Slider (Carousel) Styling --- */
#heroCarousel {
    position: relative;
    height: 70vh;
    width: 100%;
    overflow: hidden;
}

#heroCarousel .carousel-item {
    height: 70vh;
    background-color: #333;
    position: relative;
}

#heroCarousel .carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#heroCarousel .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-bottom: 0;
    z-index: 2;
}

#heroCarousel .carousel-caption h1 {
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#heroCarousel .carousel-caption p.lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

#heroCarousel .carousel-indicators [data-bs-target] {
    background-color: #fff;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
#heroCarousel .carousel-indicators .active {
    opacity: 1;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    padding: 1.5rem;
}
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 5%;
}

@media (max-width: 768px) {
    #heroCarousel, #heroCarousel .carousel-item {
        height: 70vh;
    }
    #heroCarousel .carousel-caption h1 {
        font-size: 2rem;
    }
    #heroCarousel .carousel-caption p.lead {
        font-size: 1rem;
    }
     #heroCarousel .carousel-control-prev-icon,
    #heroCarousel .carousel-control-next-icon {
        padding: 1rem;
    }
}


/* --- Buttons --- */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 700;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}


/* --- Audience Section Styling --- */
.audience-item img {
    height: 64px;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.audience-item h6 {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1rem;
}


/* --- Worldwide Audience Section Styling --- */
.chart-subtitle {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 1rem;
    font-size: 0.95rem;
    color: var(--body-text);
}

.chart-legend p {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.legend-color {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 3px;
    margin-right: 8px;
    flex-shrink: 0;
}

.legend-brands { background-color: #003049; }
.legend-service-providers { background-color: #5d3587; }
.legend-government { background-color: #5fa8a3; }
.legend-law-firms { background-color: #a4c3d2; }
.legend-western-europe { background-color: #003049; }
.legend-northern-europe { background-color: #a4c3d2; }
.legend-eastern-europe { background-color: #5fa8a3; }
.legend-north-america { background-color: #5d3587; }


/* --- Invited Industry Leaders (Speakers) Section --- */
.speaker-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    padding: 1rem;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.speaker-card .speaker-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center top;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.speaker-card .speaker-info {
    padding: 0.5rem;
}

.speaker-card .speaker-name {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.speaker-card .speaker-title {
    color: var(--body-text);
    font-size: 0.9rem;
    line-height: 1.4;
    min-height: 40px;
    margin-bottom: 0.25rem;
}

.speaker-card .speaker-company {
    font-weight: 700;
    color: #333;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.speaker-card .speaker-linkedin {
    color: var(--active-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.speaker-card .speaker-linkedin:hover {
    color: var(--secondary-color);
}


/* --- Reasons to Attend Section --- */
.reason-card {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(106, 0, 194, 0.4);
}

.reason-card .reason-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 1;
}

.reason-card .reason-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.reason-card .reason-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
}


/* --- Agenda Section Styling --- */
.agenda-day-title {
    font-weight: 700;
    color: var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.agenda-day-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
}

.agenda-accordion {
    position: relative;
    padding-left: 25px;
}

.agenda-accordion::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0;
    width: 3px;
    background-color: #dee2e6;
}

.agenda-accordion .accordion-item {
    background-color: transparent;
    border: none;
    position: relative;
    margin-bottom: 1rem;
}

.agenda-accordion .accordion-item::before {
    content: '';
    position: absolute;
    top: 18px;
    left: -34px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.agenda-accordion .accordion-header,
.agenda-accordion .agenda-item-static {
    padding: 0;
}

.accordion-button, .agenda-item-static {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: var(--secondary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(106, 0, 194, 0.25);
}

.accordion-button::after {
    display: none;
}

.agenda-title {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
}
.accordion-button:not(.collapsed) .agenda-title {
    color: #fff;
}

.agenda-description {
    font-size: 0.95rem;
    color: var(--body-text);
    margin-top: 0.25rem;
}
.accordion-button:not(.collapsed) .agenda-description {
    color: rgba(255, 255, 255, 0.8);
}

.accordion-body {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    margin-top: -0.5rem;
    padding: 1.5rem;
}
.accordion-body ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.accordion-item.item-break::before {
    background-color: var(--primary-color);
}
.accordion-item.item-break .agenda-item-static {
    background-color: #e9ecef;
}
.accordion-item.item-break .agenda-title {
    color: var(--secondary-color);
}
/* --- Agenda Tab Styling --- */
.agenda-nav-tabs {
    border-bottom: 2px solid #dee2e6;
    justify-content: center; /* This centers the tabs */
}

.agenda-nav-tabs .nav-item {
    margin-bottom: -2px; 
}

.agenda-nav-tabs .nav-link {
    border: none;
    border-bottom: 10px solid transparent;
    padding: 1rem 2.5rem; /* CHANGED: Increased padding to make tabs bigger */
    font-weight: 700;
    font-size: 1.5rem; /* CHANGED: Increased font size */
    color: #fff; /* CHANGED: Default text color is now white */
    background-color: #2c0062; /* CHANGED: Default background color */
    margin: 0 5px; /* Adds a small gap between tabs */
    border-radius: 10px 10px 0 0; /* Optional: Adds rounded top corners */
    transition: all 0.3s ease;
}

.agenda-nav-tabs .nav-link:hover {
    background-color: #4a01a7; /* A slightly lighter purple for hover */
    color: #fff;
}

.agenda-nav-tabs .nav-link.active {
    color: #fff; /* CHANGED: Active text color */
    background-color: var(--primary-color); /* CHANGED: Active background color (lighter purple) */
    border-color: var(--primary-color);
}

.tab-content .agenda-accordion {
    padding-left: 0; 
    position: relative;
}

/* --- Streams Section Styling --- */
.streams-main-title {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stream-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 3rem 1.5rem;
    border-radius: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stream-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(44, 0, 98, 0.3);
}

.stream-card h3 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stream-card p {
    font-size: 1.1rem;
    opacity: 0.9;
}


/* --- Testimonials Section Styling --- */
#testimonialCarousel .carousel-inner {
    padding: 2rem 5%;
    min-height: 250px;
}

.testimonial-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--body-text);
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.testimonial-author .author-logo {
    height: 50px;
    max-width: 100px;
    object-fit: contain;
}

.testimonial-author .author-details {
    text-align: left;
}

.testimonial-author .author-name {
    display: block;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.testimonial-author .author-title {
    display: block;
    color: var(--active-color);
    font-size: 1rem;
}

#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
    background-image: none;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ccc;
    font-size: 1.5rem;
}

#testimonialCarousel .carousel-control-prev-icon::before {
    content: '\f053';
}
#testimonialCarousel .carousel-control-next-icon::before {
    content: '\f054';
}

#testimonialCarousel .carousel-indicators [data-bs-target] {
    background-color: #ccc;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

#testimonialCarousel .carousel-indicators .active {
    background-color: var(--primary-color);
}


/* --- Benefits of Attending Section --- */
.benefit-card {
    background: var(--primary-color);
    color: #fff;
    padding: 2rem 1.5rem;
    height: 100%;
    border-radius: 80px; 
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    background: var(--secondary-color);
}

.benefit-card h4 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 1rem;
}

.benefit-card p {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* --- Invited Companies Section --- */
#invited-companies {
    position: relative;
    overflow: hidden; 
}

.background-image-overlay {
    position: relative;
    background-image: url('assets/images/background.jpeg'); /* UPDATE THIS PATH */
    background-size: cover;
    background-position: center center;
    padding: 4rem 0; 
}

.company-logo {
    background-color: #fff;
    padding: 1px;
    border-radius: 1.25rem;
    width: 100%;
    max-height: 100px;
    object-fit: contain;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); 
    border: 1px solid rgba(0, 0, 0, 0.05); 
}

.company-logo-link {
    display: block;
    transition: transform 0.3s ease;
    padding: 0.5rem;
}

.company-logo-link:hover {
    transform: scale(1.1);
}


/* --- Media Partners Section (Slick Carousel) --- */
.media-logos-slick .slide {
  padding: 0 10px;
  height: 100px;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.media-logos-slick .slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

.media-logos-slick .slide:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.slick-dots li button:before {
  font-size: 12px;
  color: #ccc;
}
.slick-dots li.slick-active button:before {
  color: var(--primary-color) !important;
}
/* --- Venue Section Styling --- */
.venue-image {
    width: 100%;
    border-radius: 1.5rem; /* Large rounded corners */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.venue-details {
    padding-left: 1.5rem;
}

.venue-details p {
    font-size: 1.1rem;
    color: var(--body-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.venue-details p strong {
    color: var(--secondary-color);
    font-weight: 700;
}
/* --- Conference Registration Section --- */
.registration-section {
    background-color: #f4f4f4; /* Light grey background */
}

.registration-title {
    font-weight: 700;
    color: #ccc;
    font-size: 2.5rem;
    letter-spacing: 2px;
}

.registration-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* Style for the input fields and text area */
.registration-card .form-control,
.registration-card .form-select {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: #555;
}

.registration-card .form-control::placeholder {
    color: #aaa;
    font-weight: 600;
}
.registration-card .form-control:focus,
.registration-card .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(106, 0, 194, 0.15);
}

/* Style for the submit button */
.btn-submit {
    background-color: #f9527a;
    color: #fff;
    font-weight: 700;
    padding: 0.8rem 3rem;
    border-radius: 50px; /* Pill shape */
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
}

.btn-submit:hover {
    background-color: #e04269;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(249, 82, 122, 0.4);
}
/* --- Footer Styling --- */
.site-footer {
    padding: 2rem 0;
    /* Light grey gradient background */
    background: linear-gradient(to right, #e9e9e9 0%, #dddddd 100%);
    color: #333;
    border-top: 1px solid #d1d1d1;
}

.footer-col {
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    .footer-col {
        margin-bottom: 0;
    }
}

.social-icon {
    color: #333;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
}

.footer-logo {
    max-height: 80px;
}

.footer-link {
    display: block;
    color: #333;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.copyright-text {
    margin: 0;
    font-size: 0.9rem;
}
/* --- Vertical Navigation Tabs --- */
.vertical-tabs {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 999;
}
.vt-tab {
    display: block;
    writing-mode: vertical-rl; /* Makes text vertical */
    transform: rotate(180deg); /* Flips the vertical text to be readable */
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    color: #fff;
    padding: 1.5rem 1rem;
    margin-bottom: 0.5rem;
    
    /* CHANGE THIS LINE to create the correct tab shape */
    border-radius: 0 20px 20px 0; 
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);

    /* The rest of the styles are correct */
    box-shadow: -2px 2px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.vt-tab:hover {
    color: #fff;
    transform: translateY(-5px) rotate(180deg);
    box-shadow: -4px 4px 15px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
    .vertical-tabs {
        display: none;
    }
}