
/* ================= GLOBAL VARIABLES & STYLES ================= */
:root {
  --brand-primary: #d04713;
  --brand-bg: #f6f6f6;
  --nav-text-color: #2b2b2b;
  --brand-family: "Montserrat", sans-serif;
}

body {
  font-family: var(--brand-family);
  background-color: var(--brand-bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

p,
a,
span {
  font-weight: 400;
}

.py-5{
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/*responsive-logo css starts*/

.responsive-logo {
    width: 100%;
    width: 120px;
    height: auto;
    display: block;
}
 
@media (max-width: 768px) {
    .responsive-logo {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .responsive-logo {
        max-width: 110px;
    }
}
/*responsive-logo css ends*/

/* ================= NAVBAR STYLES ================= */
.custom-navbar {
  background-color: #ffffff !important;
}

.brand-logo {
  height: 60px; /* Adjust this height based on your final logo asset */
  object-fit: contain;
}

/* Navigation Links */
.custom-nav-links .nav-link {
  font-size: 17px;
  font-weight: 500;
  color: var(--nav-text-color) !important;
  padding: 10px 14px !important;
  transition: color 0.3s ease;
}

.custom-nav-links .nav-link:hover,
.custom-nav-links .nav-link:focus,
.custom-nav-links .nav-item.show .nav-link {
  color: var(--brand-primary) !important;
}

/* Dropdown Adjustments */
.dropdown-menu {
  border-radius: 4px;
  margin-top: 15px;
}
.dropdown-item {
  font-family: var(--brand-family);
  font-size: 16px;
  font-weight: 400;
}
.dropdown-item:hover {
  background-color: var(--brand-bg);
  color: var(--brand-primary);
}

/* Get Tickets Button */
.btn-get-tickets {
  background-color: var(--brand-primary);
  color: #ffffff;
  font-weight: 500;
  font-size: 15px;
  padding: 12px 30px;
  border-radius: 0; /* Sharp edges as shown in the design */
  border: 1px solid var(--brand-primary);
  transition: all 0.3s ease-in-out;
}

.btn-get-tickets:hover {
  background-color: #ffffff;
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary);
}

/* ================= RESPONSIVE (MOBILE / TABLET) ================= */
@media (max-width: 1199.98px) {
  .custom-navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand-logo {
    height: 50px;
  }

  .custom-nav-links .nav-link {
    padding: 12px 0 !important;
    border-bottom: 1px solid #eaeaea;
  }

  .custom-nav-links .dropdown-menu {
    border: none !important;
    box-shadow: none !important;
    background-color: var(--brand-bg);
    margin-top: 0;
  }

  .btn-get-tickets {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
}

@media (min-width: 1200px) {
  .custom-hover-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* Prevents the menu from disappearing when moving the mouse down */
    animation: fadeInDropdown 0.3s ease forwards;
  }
}

/* Smooth Fade and Slide Up Animation */
@keyframes fadeInDropdown {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= HERO SECTION STYLES ================= */

/* Reusable brand text color class */
.text-brand {
  color: var(--brand-primary);
  font-weight: 700;
}

/* Primary Button Styling (Hero) */
.btn-brand-primary {
  background-color: var(--brand-primary);
  color: #ffffff;
  font-weight: 500;
  font-size: 15px;
  padding: 12px 30px;
  border-radius: 0;
  border: 1px solid var(--brand-primary);
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  display: inline-block;
}

.btn-brand-primary:hover {
  background-color: #ffffff;
  color: var(--brand-primary);
  border-color: #ffffff;
}

/* Hero Container */
.hero-section {
  position: relative;
  /* 
      1. Linear Gradient creates the dark fade from left to right for text readability 
      2. Replace the unsplash URL with your actual high-res background image 
    */
  background-image:
    linear-gradient(
      90deg,
      rgba(30, 30, 30, 0.95) 0%,
      rgba(30, 30, 30, 0.3) 50%,
      rgba(30, 30, 30, 0) 100%
    ),
    url("../images/home/hero-img-1.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 120px 0;
  min-height: 85vh; /* Gives it that grand, full-screen feel */
  display: flex;
  align-items: center;
}

.hero-section .text-content-wrapper {
  color: #ffffff;
}

/* Top Label & Line */
.hero-line {
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: var(--brand-primary);
  margin-right: 15px;
}

.hero-label-text {
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #e0e0e0;
}

/* Typography specifics */
.hero-heading {
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #fff;
}

.hero-subheading {
  font-size: 1.6rem;
  color: #f0f0f0;
  line-height: 1.4;
}

.hero-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #dcdcdc;
  max-width: 95%;
}

/* ================= HERO RESPONSIVENESS ================= */

/* Large Laptops / Desktops */
@media (max-width: 1400px) {
  .hero-heading {
    font-size: 3.8rem;
  }
}

/* Tablets Landscape / Small Desktops */
@media (max-width: 1199.98px) {
  .hero-heading {
    font-size: 3.2rem;
  }
  .hero-subheading {
    font-size: 1.4rem;
  }
  .hero-section {
    min-height: 70vh;
    padding: 100px 0;
  }
}

/* Tablets Portrait */
@media (max-width: 991.98px) {
  .hero-section {
    /* On smaller screens, make the dark overlay span the whole width so text doesn't clash with the image */
    background-image:
      linear-gradient(
        90deg,
        rgba(30, 30, 30, 0.9) 0%,
        rgba(30, 30, 30, 0.8) 100%
      ),
      url("https://images.unsplash.com/photo-1541829070764-84a7d30dd3f3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80");
    padding: 80px 0;
  }
  .hero-heading {
    font-size: 2.8rem;
  }
  .hero-description {
    max-width: 100%;
  }
}

/* Mobile Devices */
@media (max-width: 767.98px) {
  .hero-section {
    padding: 60px 0;
    min-height: auto;
  }
  .hero-heading {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  .hero-subheading {
    font-size: 1.2rem;
  }
  .hero-description {
    font-size: 0.95rem;
  }
  .btn-brand-primary {
    width: 100%; /* Full width button on mobile */
    text-align: center;
  }
}

/* Very Small Mobile */
@media (max-width: 575.98px) {
  .hero-heading {
    font-size: 1.9rem;
  }
}

/* ================= UPCOMING CONFERENCES SECTION (PIXEL PERFECT) ================= */

.upcoming-conferences-section {
  background-color: #ffffff;
  font-family: var(--brand-family);
}



.section-subtitle {
  margin-left: 110px; /* Aligns perfectly under the 'U' */
  font-size: 1rem;
  color: #666666;
  margin-top: 5px;
}

/* Main Featured Image */
.main-featured-image {
  width: 100%;
  height: 660px; /* Extremely tall to allow thumbnails to overlap over it */
  background-image: url("https://images.unsplash.com/photo-1587825140708-dfaf72ae4b04?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  transition: background-image 0.4s ease-in-out;
}

/* Main Text Content */
.content-column {
  padding-top: 60px; /* Pushes text down to visually center it */
}

.featured-title {
  font-size: 2.2rem;
  font-weight: 500;
  color: #111111;
  line-height: 1.2;
}

.featured-meta {
  color: var(--brand-primary);
  font-size: 0.95rem;
  font-weight: 500;
}

.featured-desc {
  color: #555555;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 95%;
}

/* Solid Sharp Buttons */
.btn-solid-orange {
  background-color: var(--brand-primary);
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 12px 30px;
  border-radius: 0; /* Perfectly sharp edges */
  border: 1px solid var(--brand-primary);
  transition: all 0.3s ease;
}

.btn-solid-orange:hover {
  background-color: #b03a0f; /* Slightly darker on hover */
  color: #ffffff;
}

/* Thumbnail Row Overlay Trick */
.thumbnails-overlap-row {
  margin-top: -270px;
  position: relative;
  z-index: 10;
}

/* Thumbnail Cards */
.thumb-card {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.thumb-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.thumb-card.active-conference {
  border-color: var(
    --brand-primary
  ); /* Highlights currently selected virtual conference */
}

.thumb-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    transparent 100%
  );
  padding: 20px 15px 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.thumb-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.thumb-meta-data {
  display: flex;
  justify-content: space-between;
  color: #eeeeee;
  font-size: 0.8rem;
  font-weight: 400;
}

/* Smooth DOM Transition Class */
.fade-out-in {
  animation: fadeContent 0.5s ease forwards;
}

@keyframes fadeContent {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVENESS (MOBILE & TABLET) ================= */
@media (max-width: 1199.98px) {
  
  .featured-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 991.98px) {
  /* Break the overlap on smaller screens for a clean stacked layout */
  .thumbnails-overlap-row {
    margin-top: 30px;
  }
  .main-featured-image {
    height: 400px;
  }
  .content-column {
    padding-top: 30px;
    padding-bottom: 20px;
  }
  .section-subtitle {
    margin-left: 0;
    margin-top: 15px;
  }
 
  
}

@media (max-width: 767.98px) {
  
  .featured-title {
    font-size: 1.7rem;
  }
  .btn-solid-orange {
    width: 100%;
    margin-bottom: 10px;
  }
  .action-buttons {
    flex-direction: column;
    gap: 0 !important;
  }
}

/* ================= REUSABLE HOLLOW HEADING CLASSES Starts ================= */

.heading-line-orange {
  display: inline-block;
  width: 90px; 
  height: 1.5px;
  background-color: var(--brand-primary); 
  margin-right: 20px;
}

.hollow-heading {
  font-family: var(--brand-family) !important;
  font-size: 3.2rem;
  font-weight: 700 !important; 
  letter-spacing: 1px;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important; 
  -webkit-text-stroke: 1.2px var(--brand-primary) !important; 
  text-shadow: none !important; 
  box-shadow: none !important;
  
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  transform: translateZ(0) !important;
  backface-visibility: hidden !important;
  perspective: 1000px !important;
}

.hollow-heading::before,
.hollow-heading::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 1199.98px) {
  .hollow-heading { font-size: 2.8rem; }
  .heading-line-orange { width: 70px; margin-right: 15px; }
}

@media (max-width: 991.98px) {
  .hollow-heading { font-size: 2.4rem; }
  .heading-line-orange { width: 50px; }
}

@media (max-width: 767.98px) {
  .hollow-heading { 
    font-size: 2rem; 
    -webkit-text-stroke: 1px var(--brand-primary) !important; 
  }
  .heading-line-orange { width: 40px; margin-right: 12px; }
} 

/* ================= REUSABLE HOLLOW HEADING CLASSES Ends ================= */

/* ================= ABOUT US SECTION (PIXEL PERFECT) ================= */

.about-us-section {
  background-color: var(--brand-bg); 
  font-family: var(--brand-family);
  overflow-x: hidden;
}

.about-main-title {
  font-size: 2.5rem;
  font-weight: 500;
  color: #111111;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.about-subtitle {
  font-size: 1rem;
  color: var(--brand-primary);
  font-weight: 400;
}

.about-desc {
  font-size: 0.98rem;
  color: #555555;
  line-height: 1.7;
  max-width: 96%;
}

.feature-list-wrapper {
  max-width: 480px; 
}

.feature-item {
  display: flex;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #e0e0e0;
}

.feature-icon {
  width: 24px;
  height: 24px;
  background-color: var(--brand-primary);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-family: var(--brand-family); 
  margin-right: 20px;
  flex-shrink: 0;
}

.feature-text {
  font-size: 1rem;
  color: #333333;
  font-weight: 400;
}

.about-img {
  height: 520px;
  object-fit: cover;
  object-position: center;
}

.about-bottom-desc {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.6;
  max-width: 95%;
}

/* About Us Specific Responsiveness */
@media (max-width: 1199.98px) {
  .about-main-title { font-size: 2.8rem; }
  .about-img { height: 450px; }
}

@media (max-width: 991.98px) {
  .about-main-title { font-size: 2.5rem; }
  .feature-list-wrapper { max-width: 100%; }
  .about-img { height: 400px; }
  .about-desc, .about-bottom-desc { max-width: 100%; }
}

@media (max-width: 767.98px) {
  .about-main-title { font-size: 2rem; }
  .about-img { height: 300px; }
  .about-us-section .btn-solid-orange { width: 100%; text-align: center; }
}

/* ================= ADVISORY COMMITTEE STYLES ================= */

.advisory-section {
  background-color: #ffffff; /* Crisp white background */
  font-family: var(--brand-family);
}

/* Typography */
.section-main-title {
  font-size: 2.5rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.1;
  letter-spacing: -1px;
}

.advisory-header-desc {
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
}

/* Horizontal Accordion Grid */
.advisory-grid {
  display: flex;
  gap: 24px; /* Exact spacing between cards */
  width: 100%;
  height: 420px; /* Fixed height for uniformity */
}

/* Individual Card */
.adv-card {
  flex: 1; /* Collapsed state takes 1 part */
  display: flex;
  background: #ffffff;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth easing */
}

.adv-card.expanded {
  flex: 2.5; /* Expanded state takes 2.5 parts */
}

/* Image Wrapper */
.adv-img-wrap {
  width: 100%; /* When collapsed, image fills the 1 part */
  height: 100%;
  position: relative;
  flex-shrink: 0;
  transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.adv-card.expanded .adv-img-wrap {
  width: 40%; /* 40% of 2.5 is 1. Image width stays completely identical! */
}

.adv-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* LinkedIn Icon */
.linkedin-icon {
  font-family: var(--brand-family);
  position: absolute;
  bottom: 15px;
  left: 15px;
  width: 30px;
  height: 30px;
  background-color: var(--brand-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

/* Text Information Wrapper */
.adv-info-wrap {
  width: 60%; /* Takes remaining 60% of the expanded card */
  height: 100%;
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-left: none; /* Seamless connection to image */
  opacity: 0;
  visibility: hidden;
  position: relative;
  /* Prevent text wrapping weirdness during transition */
  overflow: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.adv-card.expanded .adv-info-wrap {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.2s; /* Show text after layout expands slightly */
}

/* Text Content Positioning */
.adv-info-content {
  padding: 35px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 300px; /* Prevents text squeezing during animation */
}

/* Inner Text Styles */
.adv-name {
  font-size: 1.7rem;
  font-weight: 600;
  color: #111111;
  margin-bottom: 20px;
}

.adv-desc {
  font-size: 0.9rem;
  color: #666666;
  line-height: 1.7;
  flex-grow: 1; /* Pushes the role/company to the bottom if needed */
}

.adv-bottom-info {
  margin-top: 20px;
}

.adv-role {
  font-size: 0.95rem;
  color: var(--brand-primary);
  font-weight: 500;
  margin-bottom: 5px;
  line-height: 1.4;
}

.adv-company {
  font-size: 0.95rem;
  color: #222222;
  font-weight: 500;
  margin: 0;
}

/* ================= RESPONSIVENESS ================= */

/* Tablet & Mobile Layout */
@media (max-width: 991.98px) {
  .section-main-title {
    font-size: 2.8rem;
  }

  .advisory-grid {
    flex-direction: column; /* Stack vertically */
    height: auto;
  }

  .adv-card {
    flex-direction: column;
    flex: auto !important;
    border: 1px solid transparent;
  }

  .adv-card.expanded {
    border: 1px solid #eaeaea;
  }

  .adv-img-wrap,
  .adv-card.expanded .adv-img-wrap {
    width: 100%; /* Image takes full width */
    height: 350px;
  }

  .adv-info-wrap,
  .adv-card.expanded .adv-info-wrap {
    width: 100%;
    border: none;
    border-top: none;
    height: 0; /* Vertical Accordion logic */
    padding: 0 30px;
    transition: all 0.4s ease;
  }

  .adv-card.expanded .adv-info-wrap {
    height: auto;
    padding: 30px;
  }

  .adv-info-content {
    min-width: 100%;
    padding: 0;
  }
}

@media (max-width: 767.98px) {
  .section-main-title {
    font-size: 2.2rem;
  }
}

/* ================= IPR EXCELLENCE STYLES ================= */

.excellence-section {
  background-color: #ffffff;
  font-family: var(--brand-family);
  overflow: hidden;
}

/* Header Adjustments */
.excellence-subtitle {
  font-size: 1rem;
  color: #666666;
}

.btn-dark-solid {
  background-color: #111111;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 0;
  transition: background-color 0.3s ease;
}

.btn-dark-solid:hover {
  background-color: var(--brand-primary);
  color: #ffffff;
}

/* List Formatting */
.border-top-light {
  border-top: 1px solid #f0f0f0;
}

.border-bottom-light {
  border-bottom: 1px solid #f0f0f0;
}

.track-record-row {
  position: relative; /* Anchor for the absolute image */
  transition: background-color 0.3s ease;
  cursor: default;
  z-index: 1; /* Default z-index */
}

.track-record-row:hover {
  background-color: #fafafa;
  z-index: 10; /* Brings the hovered row (and its image) above other rows */
}

/* Keeps text above the hovering image if they overlap slightly */
.z-index-2 {
  z-index: 2;
}

.fixed-hover-img {
  position: absolute;
  /* Locks it to one vertical line (72% from the left, nestled between title and date) */
  left: 72%;
  top: 50%;
  width: 280px;
  height: 190px;
  object-fit: cover;
  pointer-events: none; /* Mouse ignores the image */

  /* Starting state (hidden, scaled down, no tilt) */
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7) rotate(0deg);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);

  border: 4px solid #ffffff; /* Polaroid border */
  z-index: 5;
}

/* Hover state (fade in, scale up, tilt) */
.track-record-row:hover .fixed-hover-img {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(-10deg); /* Exact tilt from screenshot */
}

/* Typography inside rows */
.edition-text {
  color: var(--brand-primary);
  font-size: 0.95rem;
  font-weight: 400;
}

.record-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #111111;
  line-height: 1.4;
}

.record-meta {
  font-size: 0.9rem;
  color: #555555;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .record-title {
    font-size: 1.15rem;
    margin-bottom: 10px !important;
  }
  .text-md-end {
    text-align: left !important;
  }
  /* Disable the hover reveal on tablets/mobile to keep it clean */
  .fixed-hover-img {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .btn-dark-solid {
    width: 100%;
    text-align: center;
  }
  .track-record-row {
    padding: 20px 0;
  }
}

.custom-filter-dropdown {
  position: relative;
  display: inline-block;
  width: 150px; /* Standardized width */
}

/* The Black Top Button */
.filter-main-btn {
  background-color: #111111;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.filter-main-btn:hover {
  background-color: #333333;
}

/* The Dropdown List */
.filter-dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--brand-primary); /* #D04713 */
  display: none; /* Hidden by default */
  flex-direction: column;
}

/* Hover to open */
.custom-filter-dropdown:hover .filter-dropdown-list {
  display: flex;
}

/* The Orange Dropdown Items */
.filter-sub-btn {
  background-color: var(--brand-primary);
  color: #ffffff;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2); /* Faint white separator */
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
}

.filter-sub-btn:hover {
  background-color: #b03a0f; /* Darker orange on hover */
}

.year-marker {
  display: flex;
  align-items: center;
}

.year-badge {
  background-color: var(--brand-primary);
  color: #ffffff;
  padding: 4px 15px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Smooth fade in when filtering */
.fade-in-group {
  animation: fadeInGroup 0.5s ease forwards;
}

@keyframes fadeInGroup {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVENESS ================= */
@media (max-width: 767.98px) {
  .custom-filter-dropdown {
    width: 100%; /* Make dropdown full width on mobile */
  }
}

/* ================= PAGE BREAKER / CTA STYLES ================= */

.cta-breaker-section {
  background-color: var(--brand-primary); /* Uses your #D04713 brand orange */
  font-family: var(--brand-family);
}

/* Typography */
.cta-heading {
  font-size: 2.2rem;
  font-weight: 500; /* Slightly lighter than the 700 bold for an elegant look */
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.cta-subtext {
  font-size: 1.05rem;
  color: rgba(
    255,
    255,
    255,
    0.9
  ); /* 90% opacity white to establish visual hierarchy */
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* White Solid Button */
.btn-white-solid {
  background-color: #ffffff;
  color: #111111;
  font-weight: 400;
  font-size: 0.95rem;
  padding: 12px 30px;
  border-radius: 0;
  border: 1px solid #ffffff;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

/* Premium Hover State */
.btn-white-solid:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

/* ================= RESPONSIVENESS ================= */

@media (max-width: 1199.98px) {
  .cta-heading {
    font-size: 2rem;
  }
}

/* Tablet Layout */
@media (max-width: 991.98px) {
  .cta-heading {
    font-size: 2rem;
  }
  /* Push buttons to left alignment to follow the natural reading flow of stacked text */
  .cta-breaker-section .d-flex {
    justify-content: flex-start !important;
  }
}

/* Mobile Layout */
@media (max-width: 575.98px) {
  .cta-heading {
    font-size: 1.7rem;
  }
  .cta-subtext {
    font-size: 0.95rem;
  }
  /* Make buttons full width and stack them on very small screens */
  .btn-white-solid {
    width: 100%;
    text-align: center;
  }
  .cta-breaker-section .d-flex {
    flex-direction: column;
    gap: 15px !important;
  }
}

/* ================= IPR THEMES (REFINED) ================= */

.ipr-themes-section {
  background-color: var(--brand-bg); /* #f6f6f6 */
  font-family: var(--brand-family);
}

.theme-subtitle {
  font-size: 1rem;
  color: #555555;
}

/* Slider Navigation Buttons */
.btn-theme-slider {
  background-color: var(--brand-primary);
  color: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  font-family: monospace; /* Keeps the < and > arrows crisp */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 0;
}

.btn-theme-slider:hover {
  background-color: #b03a0f;
}

/* Scroll-Snap Slider Container */
.theme-slider-wrapper {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px; /* Space for shadow/scroll */

  /* Hide scrollbar for a clean look */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.theme-slider-wrapper::-webkit-scrollbar {
  display: none;
}

/* Individual Slide Card */
.theme-slide-card {
  /* Desktop: Shows exactly 4 cards minus the gaps */
  flex: 0 0 calc(25% - 22.5px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.theme-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 300px;
}

/* Text Area with the Watermark */
.theme-text-area {
  position: relative;
  padding-right: 15px;
  margin-bottom: 25px;
  flex-grow: 1; /* Pushes image to bottom */
}

/* The Faint Background Number (01, 02...) */
.watermark-number {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 5.5rem;
  font-weight: 700;
  color: var(--brand-primary);
  opacity: 0.12; /* Faint peach effect */
  line-height: 0.8;
  z-index: 0;
  pointer-events: none; /* Prevents text selection blocking */
}

/* Ensures Text sits ABOVE the watermark */
.content-above-watermark {
  position: relative;
  z-index: 2;
}

.theme-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #111111;
  margin-bottom: 12px;
}

.theme-desc {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.6;
  margin: 0;
}

/* Bottom Image */
.theme-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center;
  border-radius: 0; /* Sharp edges */
}

/* ================= RESPONSIVENESS ================= */

@media (max-width: 1199.98px) {
  .theme-slide-card {
    flex: 0 0 calc(33.333% - 20px); /* Show 3 cards */
  }
}

@media (max-width: 991.98px) {
  .theme-slide-card {
    flex: 0 0 calc(50% - 15px); /* Show 2 cards */
  }
  .watermark-number {
    font-size: 8rem;
    right: -15px;
  }
}

@media (max-width: 767.98px) {
  .theme-slider-wrapper {
    gap: 15px;
  }
  .theme-slide-card {
    /* flex: 0 0 85% leaves 15% for the next card to peek onto the screen */
    flex: 0 0 85%;
  }
  .slider-arrows {
    justify-content: flex-start;
    margin-top: 15px;
  }
}

/* ================= MAGAZINE SECTION STYLES ================= */

.magazine-section {
  background-color: #ffffff; /* Crisp white background */
  font-family: var(--brand-family);
}

/* Slider Track Logic */
.mag-slider-track {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.mag-slide {
  overflow-x: hidden;
  padding-bottom: 15px;
  padding: 10px;
}

/* Quarter Typography */
.quarter-text {
  font-size: 4.5rem;
  font-weight: 400;
  color: var(--brand-primary);
  line-height: 1;
  margin: 0;
  letter-spacing: -2px;
}

/* Slider Controls */
.btn-mag-control {
  background-color: var(--brand-primary);
  color: #ffffff;
  border: none;
  width: 32px;
  height: 32px;
  font-size: 0.9rem;
  font-family: var(--brand-family);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 0; /* Sharp design */
}

.btn-mag-control:hover {
  background-color: #b03a0f;
}

/* Typography for Articles */
.mag-category {
  font-size: 0.85rem;
  color: var(--brand-primary);
  font-weight: 500;
}

.mag-main-article-title {
  font-size: 1.45rem;
  font-weight: 600;
  color: #111111;
  line-height: 1.4;
}

.mag-side-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: #111111;
  line-height: 1.4;
}

.mag-bottom-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: #111111;
  line-height: 1.4;
}

.mag-meta {
  font-size: 0.8rem;
  color: #777777;
  font-weight: 400;
}

/* Image Sizing (Pixel Perfect Alignment) */
.mag-tall-img {
  height: 520px; /* Forces exact height to match the right column's stacked layout */
  object-fit: cover;
  object-position: center;
}

.mag-side-img {
  height: 180px;
  object-fit: cover;
  object-position: center;
}

.mag-bottom-img {
  height: 160px;
  object-fit: cover;
  object-position: center;
}

/* ================= RESPONSIVENESS ================= */

/* Tablets & Small Laptops */
@media (max-width: 1199.98px) {
  .mag-tall-img {
    height: 450px;
  }
  .mag-side-img {
    height: 150px;
  }
}

/* Tablets (Portrait) */
@media (max-width: 991.98px) {
  .mag-tall-img {
    height: 400px; /* Give it a standard height since it stacks now */
  }
  /* Let the left column take up space normally since it stacks */
  .magazine-section .col-lg-3.d-flex.flex-column {
    min-height: auto;
  }
  .mag-main-article-title {
    font-size: 1.6rem; /* Slightly larger on mobile for readability */
  }
  .side-article {
    margin-bottom: 30px;
  }
}

/* Mobile Devices */
@media (max-width: 767.98px) {
  .quarter-text {
    font-size: 3.5rem;
  }
  .mag-tall-img {
    height: 280px;
  }
  .mag-side-img,
  .mag-bottom-img {
    height: 200px;
  }
}

/* ================= IPR INSIGHTS STYLES ================= */

.insights-section {
  background-color: var(--brand-bg);
  font-family: var(--brand-family);
}

/* Header Adjustments */
.insights-subtitle {
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
  max-width: 800px; /* Prevents the text from stretching too far on ultra-wide screens */
}

/* Article Group & Hover Effects */
.article-group {
  cursor: pointer;
}

.insight-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111111;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.insight-desc {
  font-size: 0.9rem;
  color: #555555;
  line-height: 1.6;
}

.insight-meta {
  font-size: 0.8rem;
  color: #777777;
  font-weight: 500;
}

/* Image Wrapper */
.insight-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden; /* Required for the zoom effect to stay inside the box */
  border-radius: 0; /* Keeping the sharp edges consistent */
}

.insight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover Interactions */
.article-group:hover .insight-title {
  color: var(--brand-primary);
}

.article-group:hover .insight-img {
  transform: scale(1.08); /* Premium slow-zoom effect on hover */
}

/* ================= RESPONSIVENESS ================= */

@media (max-width: 991.98px) {
  .insight-title {
    font-size: 1.15rem;
  }
  .insight-img-wrapper {
    height: 180px;
  }
}

@media (max-width: 767.98px) {
  .insights-subtitle {
    font-size: 0.95rem;
  }
  .insight-img-wrapper {
    height: 240px; /* Make the image taller on mobile since it spans full width */
  }
}

/* ================= IPR AWARDS STYLES ================= */

.awards-section {
  background-color: #ffffff;
  font-family: var(--brand-family);
}

/* Base Card Styling */
.award-card {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  padding: 35px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: default;

  /* CRITICAL for the animation: keeps the expanding orange diamond contained inside the card */
  position: relative;
  overflow: hidden;
  z-index: 1;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.award-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(208, 71, 19, 0.25); /* Orange tinted shadow */
  border-color: transparent;
}

/* ================= CUSTOM DIAMOND SPREAD ANIMATION ================= */

.diamond-icon-wrap {
  position: relative;
  width: 50px;
  height: 50px;
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.diamond-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--brand-primary); /* #D04713 */
  border-radius: 2px;
  z-index: 1;

  /* Starts at normal scale */
  transform: rotate(45deg) scale(1);
  /* Ultra-smooth easing curve for the expansion */
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.award-card:hover .diamond-bg {
  transform: rotate(135deg) scale(25);
}

.award-card:hover .trophy-img {
  transform: scale(1.4);
  filter: drop-shadow(0px 8px 12px rgba(0, 0, 0, 0.3));
}

/* The New Trophy Image */
.trophy-img {
  position: relative;
  z-index: 3;
  width: 35px;
  height: 35px;
  object-fit: contain;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.4s ease;
}

/* Text Formatting */
.award-title {
  position: relative;
  z-index: 3; /* Keeps text above the expanding orange background */
  font-size: 0.95rem;
  font-weight: 500;
  color: #222222;
  line-height: 1.45;
  margin: 0;
  transition: color 0.4s ease; /* Smooth color swap */
}

/* Dynamically turn the text white when the orange background overtakes the card */
.award-card:hover .award-title {
  color: #ffffff;
}

/* ================= RESPONSIVENESS ================= */

@media (max-width: 767.98px) {
  .award-card {
    padding: 25px 15px;
  }
  .award-title {
    font-size: 0.9rem;
  }
}

/* ================= SPEAKERS SECTION STYLES ================= */

.speakers-section {
  background-color: var(--brand-bg); /* #f6f6f6 */
  font-family: var(--brand-family);
}

/* ================= 3D HOVER FLIP LOGIC ================= */

/* Container establishes the 3D space perspective */
.speaker-flip-card {
  background-color: transparent;
  width: 100%;
  aspect-ratio: 3 / 3.8; /* Perfect portrait ratio matching your design */
  perspective: 1000px; /* Gives the 3D rotation depth */
}

/* Inner wrapper handles the actual flipping */
.speaker-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1); /* Ultra-smooth physics */
  transform-style: preserve-3d;
}

/* Trigger the flip around the vertical Y-axis on hover */
.speaker-flip-card:hover .speaker-flip-inner {
  transform: rotateY(180deg);
}

/* Both faces hide their back when facing away */
.speaker-front,
.speaker-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari Support */
  backface-visibility: hidden;
  top: 0;
  left: 0;
}

/* Image Front Face */
.speaker-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Details Back Face */
.speaker-back {
  background-color: var(--brand-primary); /* #D04713 */
  color: #ffffff;
  transform: rotateY(180deg); /* Start it flipped backward */
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
}

/* ================= BACK FACE CONTENT TYPOGRAPHY ================= */

.speaker-name {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: #ffffff;
}

.speaker-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
}

/* Custom LinkedIn Icon Square */
.speaker-li-icon {
  width: 32px;
  height: 32px;
  background-color: #ffffff;
  color: #111111;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-family: var(--brand-family);
  font-size: 16px;
  text-decoration: none;
  margin-top: auto; /* Mathematically pushes it to the absolute bottom of the card */
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.speaker-li-icon:hover {
  background-color: #111111;
  color: #ffffff;
}

/* ================= RESPONSIVENESS ================= */

@media (max-width: 991.98px) {
  
  .speaker-name {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }
  .speaker-desc {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  .speaker-back {
    padding: 15px;
  }
}

@media (max-width: 575.98px) {
  /* Slightly taller ratio on mobile to ensure long descriptions fit */
  .speaker-flip-card {
    aspect-ratio: 3 / 4;
  }
}

/* ================= SPONSORS SECTION STYLES ================= */

.sponsors-section {
  background-color: #ffffff;
  font-family: var(--brand-family);
}

/* Wrapper to hold relative positions */
.sponsor-wrapper {
  position: relative;
  width: 100%;
  margin-top: 15px; /* Creates breathing room for the floating number */
}

/* Floating Number (01, 02, etc.) */
.sponsor-floating-num {
  position: absolute;
  top: -28px;
  left: 0;
  font-size: 1.1rem;
  color: var(--brand-primary);
  font-weight: 400;
  letter-spacing: 1px;
}

/* Main Orange Box */
.sponsor-box {
  background-color: var(--brand-primary);
  /* PRO TRICK: Inline SVG Topographic pattern applied purely via CSS */
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c13.866 0 25.362 5.062 35 14 9.638 8.938 19.134 14 33 14 13.866 0 25.362-5.062 35-14 9.638-8.938 19.134-14 33-14s23.362 5.062 33 14c9.638 8.938 19.134 14 33 14 13.866 0 25.362-5.062 35-14 9.638-8.938 19.134-14 33-14v2c-13.866 0-25.362 5.062-35 14-9.638 8.938-19.134 14-33 14-13.866 0-25.362-5.062-35-14-9.638-8.938-19.134-14-33-14s-23.362 5.062-33 14c-9.638 8.938-19.134 14-33 14-13.866 0-25.362-5.062-35-14-9.638-8.938-19.134-14-33-14v-2z' fill='%23ffffff' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 150px;
  height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.sponsor-wrapper:hover .sponsor-box {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(208, 71, 19, 0.2); /* Soft orange shadow */
}

/* Sponsor Filled Logic */
.sponsor-logo-img {
  max-width: 80%;
  max-height: 70px;
  object-fit: contain;
}

/* Filters black logos to pure white */
.white-filter {
  filter: brightness(0) invert(1);
}

/* Sponsor Empty Logic */
.sponsor-empty-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.btn-sponsor-now {
  background-color: #ffffff;
  color: #111111;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 0;
  transition: all 0.3s ease;
  border: 1px solid #ffffff;
}

.btn-sponsor-now:hover {
  background-color: #111111;
  color: #ffffff;
  border-color: #111111;
}

/* Overlapping Bottom Badge */
.sponsor-badge {
  position: absolute;
  bottom: -22px; /* Overlaps bottom edge exactly like the design */
  left: 12%;
  width: 76%; /* Keeps it centered with margins on the side */
  background-color: #e8e8e8; /* Light gray */
  color: #111111;
  text-align: center;
  padding: 14px 10px;
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 5;
  transition: background-color 0.3s ease;
}

.sponsor-wrapper:hover .sponsor-badge {
  background-color: #dfdfdf; /* Darkens slightly when card is hovered */
}

/* ================= RESPONSIVENESS ================= */

/* Tablets */
@media (max-width: 991.98px) {
  .sponsor-box {
    height: 180px;
  }
  .sponsor-badge {
    font-size: 0.85rem;
    padding: 12px 5px;
    left: 5%;
    width: 90%;
  }
}

/* Mobile Devices */
@media (max-width: 767.98px) {
  /* Disable the staggered layout on mobile so they stack normally in a straight vertical line */
  .mt-md-5 {
    margin-top: 1.5rem !important;
  }
  .sponsor-wrapper {
    margin-bottom: 30px; /* Make room for the overlapping badge on mobile stack */
  }
  .sponsor-box {
    height: 160px;
  }
}

/* ================= CONTACT US STYLES ================= */

.contact-section {
  background-color: #ffffff;
  font-family: var(--brand-family);
}

.contact-main-title {
  font-size: 2.5rem;
  font-weight: 500;
  color: #111111;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

/* Orange highlighted text matching the screenshot */
.contact-highlight-desc {
  font-size: 0.95rem;
  color: var(--brand-primary);
  line-height: 1.7;
  font-weight: 500;
}

/* Contact Icons & Text */
.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--brand-primary);
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-text {
  font-size: 1.05rem;
  font-weight: 500;
  color: #111111;
  line-height: 1.5;
}

/* Contact Form Box */
.contact-form-wrapper {
  background-color: var(--brand-bg); /* #f6f6f6 */
}

.custom-label {
  font-size: 0.95rem;
  color: #333333;
  font-weight: 500;
  margin-bottom: 8px;
}

.custom-input {
  border-radius: 0; /* Sharp edges */
  border: 1px solid #ffffff; /* Default is white */
  padding: 12px 15px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.custom-input:focus {
  outline: none;
  box-shadow: none !important;
  border-color: var(--brand-primary); /* Turns orange on focus */
}

/* ================= FOOTER & NEWSLETTER STYLES ================= */

.footer-section {
  /* PRO TRICK: Pure CSS implementation of the radial orange glow on the dark background */
  background: radial-gradient(
    circle at 0% 80%,
    rgb(255 70 0 / 65%) 0%,
    rgba(18, 18, 18, 1) 45%
  );
  background-color: #121212; /* Fallback */
  font-family: var(--brand-family);
  color: #ffffff;
}

/* Newsletter Top Half */
.newsletter-title {
  font-size: 3.2rem;
  font-weight: 500;
  color: #ffffff;
}

.newsletter-desc {
  font-size: 0.95rem;
  color: #c4c4c4;
  line-height: 1.6;
  max-width: 700px;
}

.newsletter-form-group {
  max-width: 600px;
  /* This joins the input and button seamlessly */
}

.newsletter-input {
  border-radius: 0;
  border: none;
  padding: 15px 25px;
  font-size: 0.95rem;
  background-color: #ffffff;
}

.newsletter-input:focus {
  outline: none;
  box-shadow: none;
}

.btn-subscribe {
  padding: 15px 35px;
  font-size: 1rem;
  border: 1px solid var(--brand-primary);
  white-space: nowrap; /* Prevents button text from breaking onto two lines */
}

/* Footer Divider */
.footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.15); /* Very faint white line */
}

/* Footer Bottom Half */
.footer-heading {
  font-size: 1.4rem;
  font-weight: 500;
  color: #ffffff;
}

.footer-text {
  font-size: 0.9rem;
  color: #b0b0b0;
  line-height: 1.7;
}

.footer-list {
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: 15px;
}

.footer-list li,
.footer-list li a {
  font-size: 0.9rem;
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-list li a:hover {
  color: var(--brand-primary);
}

.footer-contact-list li {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Copyright Bottom Bar */
.copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  color: #999999;
}

/* ================= RESPONSIVENESS ================= */

@media (max-width: 1199px) {
  .contact-main-title {
    font-size: 2.6rem;
  }
  .newsletter-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 991.98px) {
  .contact-main-title {
    font-size: 2.2rem;
  }
  .newsletter-title {
    font-size: 2.4rem;
  }
  /* Form Wrapper Spacing Fix */
  .contact-form-wrapper {
    padding: 30px !important;
  }
}

@media (max-width: 767.98px) {
  .newsletter-form-group {
    flex-direction: column;
  }
  .btn-subscribe {
    width: 100%;
    margin-top: 10px;
  }
  .footer-heading {
    margin-top: 20px;
  }
}

/* ================= GLOBAL/UTILITY ADDITIONS ================= */
.text-brand {
  color: var(--brand-primary) !important;
  font-weight: 700;
}
.bg-brand-primary {
  background-color: var(--brand-primary) !important;
}
.text-sm {
  font-size: 0.9rem;
}
.opacity-90 {
  opacity: 0.9;
}

/* ================= 1. SUMMIT HERO SECTION ================= */
.summit-hero-section {
  min-height: 85vh;
  background-image:
    linear-gradient(
      to right,
      rgba(15, 15, 15, 0.95) 0%,
      rgba(15, 15, 15, 0.7) 50%,
      transparent 100%
    ),
    url("https://images.unsplash.com/photo-1541829070764-84a7d30dd3f3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  padding: 120px 0;
  background-position: right center;
}
.summit-hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
}
.summit-hero-subtitle {
  font-size: 1.5rem;
  line-height: 1.5;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e0e0e0;
  font-size: 0.95rem;
}

/* ================= 3. ORANGE AWARD CTA ================= */
.award-cta-banner {
  background-color: var(--brand-primary);
}

/* ================= 4. WHY ATTEND SECTION ================= */

.why-attend-section {
  font-family: var(--brand-family);
}

.why-number {
  color: var(--brand-primary);
  font-size: 2.2rem;
  font-weight: 500;
}


.why-box-02, 
.why-box-03, 
.why-box-04, 
.why-box-05 {
  position: relative;
}

.why-box-02::before,
.why-box-03::before,
.why-box-04::before,
.why-box-05::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 20%; /* Exactly 20% from the border-top as requested */
  background-color: #eaeaea;
}

/* 3. Standard Horizontal Borders */
.why-box-01 {
  border-top: 1.5px solid #eaeaea;
}

.why-box-02,
.why-box-03 {
  border-top: 1.5px solid #eaeaea;
  border-bottom: 1.5px solid #eaeaea; /* Creates the middle horizontal line */
}

@media (max-width: 767.98px) {
  .why-box-02::before,
  .why-box-03::before,
  .why-box-04::before,
  .why-box-05::before {
    display: none !important;
  }
  
  .why-box-01,
  .why-box-02,
  .why-box-03,
  .why-box-04,
  .why-box-05 {
    border: none !important;
    border-bottom: 1.5px solid #eaeaea !important;
    padding: 30px 15px !important;
  }

  .why-box-05 {
    border-bottom: none !important;
  }

  .why-number {
    font-size: 1.8rem;
  }
}

/* ================= 5. WHO SHOULD ATTEND ================= */
.who-attend-section {
  font-family: var(--brand-family);
}

/* Container for relative positioning */
.who-card {
  position: relative;
  display: flex;
  align-items: flex-start;
}

/* The giant pale numbers behind the text */
.who-number {
  position: absolute;
  top: -15px;
  left: 15px;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(208, 71, 19, 0.12);
  line-height: 0.8;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

.who-info {
  position: relative;
  z-index: 1;
  padding-left: 65px;
  padding-top: 15px;
}

/* The circular arrow icon */
.who-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #e5e5e5; /* Very subtle light gray border */
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--brand-primary);
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03); /* Subtle premium lift */
}

/* Typography */
.who-text {
  font-size: 0.95rem;
  color: #4a4a4a;
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 992px) {
  /* Shifts the entire second row to the right on large screens to match the UI */
  .row-staggered {
    margin-left: 14%;
  }
}

@media (max-width: 991.98px) {
  .who-number {
    font-size: 6.5rem;
  }
  .who-info {
    padding-left: 55px;
  }
  /* Reset stagger on tablets to prevent clipping off the right side of the screen */
  .row-staggered {
    margin-left: 0;
  }
}

/* ================= 6. AGENDA SECTION ================= */
.agenda-item {
  padding: 25px 0;
  border-bottom: 1px solid #e0e0e0;
}
.agenda-time {
  flex-shrink: 0;
  width: 100px;
  color: var(--brand-primary);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.6;
}
.agenda-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #111;
  margin-bottom: 5px;
}
.agenda-desc {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

/* ================= 7. SPONSORSHIP MODELS ================= */
.sponsor-tier-card {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
}
.border-orange {
  border: 1px solid var(--brand-primary);
  background-color: #ffffff;
}
.tier-name {
  font-size: 1.1rem;
  font-weight: 500;
}
.tier-price {
  font-size: 2.2rem;
  font-weight: 700;
}
.tier-features li {
  font-size: 0.95rem;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* ================= 8. ADDITIONAL SPONSORSHIPS & 9. TICKETS ================= */
.addl-sponsor-card,
.ticket-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 30px 25px;
}
.addl-price {
  font-size: 1.8rem;
  letter-spacing: -0.5px;
}
.ticket-price {
  font-size: 1.8rem;
  letter-spacing: -0.5px;
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */
@media (max-width: 1199px) {
  .summit-hero-title {
    font-size: 3.2rem;
  }
  .tier-price {
    font-size: 1.8rem;
  }
}

@media (max-width: 991px) {
  .summit-hero-title {
    font-size: 2.8rem;
  }
  .agenda-time {
    width: 85px;
    font-size: 0.85rem;
  }
  .agenda-title {
    font-size: 1.15rem;
  }
}

@media (max-width: 767px) {
  .summit-hero-title {
    font-size: 2.2rem;
  }
  .summit-hero-subtitle {
    font-size: 1.2rem;
  }
  .agenda-item {
    flex-direction: column;
    gap: 10px;
  }
  .agenda-time {
    width: 100%;
    display: flex;
    gap: 10px;
  }
  .agenda-time br {
    display: none;
  } /* Puts times inline on mobile */
}

/* ================= SUMMIT THEMES STYLES ================= */

.summit-themes-section {
  background-color: var(
    --brand-bg
  ); /* Match the off-white background (#f6f6f6) */
  overflow-x: hidden; /* Critical: Prevents horizontal scrolling on the page */
  font-family: var(--brand-family);
}

/* --- Marquee Layout & Animation --- */

.marquee-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  /* Adding padding to prevent shadow/border clipping */
  padding: 10px 0;
}

.marquee-track {
  display: flex;
  width: max-content; /* Forces track to be exactly as wide as all 10 circles combined */

  /* Animation: 45 seconds, linear (constant speed), infinite loop */
  animation: slideMarquee 45s linear infinite;
}

/* Pro UX Feature: Pause the sliding when a user hovers to read */
.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes slideMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Move exactly 50% of the track (which is exactly the 5 original items). 
           This makes the 1st clone snap perfectly into the position of the original 1st item! */
    transform: translateX(-50%);
  }
}

/* --- Circle Design --- */

.theme-circle {
  width: 280px;
  height: 280px;
  border-radius: 50%; /* Makes it a perfect circle */

  /* Pixel perfect match to the screenshot's dashed orange border */
  border: 2px dashed var(--brand-primary);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;

  /* Flex-shrink 0 ensures circles don't squish when put into the flex row */
  flex-shrink: 0;
  margin: 0 15px; /* 30px gap between circles */
  background-color: transparent;
  transition:
    background-color 0.4s ease,
    box-shadow 0.4s ease;
  cursor: default;
}

/* Subtle hover interaction */
.theme-circle:hover {
  background-color: #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

/* Typography inside the circle */
.theme-circle-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #111111;
  margin-bottom: 12px;
  line-height: 1.4;
}

.theme-circle-desc {
  font-size: 0.85rem;
  color: #555555;
  line-height: 1.6;
  margin: 0;
}

/* ================= RESPONSIVENESS ================= */

/* Small Tablets / Large Mobile */
@media (max-width: 767.98px) {
  .theme-circle {
    /* Make circles slightly smaller so they fit better on mobile screens */
    width: 250px;
    height: 250px;
    padding: 20px;
  }
  .theme-circle-title {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }
  .theme-circle-desc {
    font-size: 0.8rem;
  }
}

/* ================= TESTIMONIALS SECTION STYLES ================= */
.testimonials-section {
  background-color: var(--brand-bg); /* #f6f6f6 */
  font-family: var(--brand-family);
  overflow-x: hidden;
}

/* --- Auto-Sliding Marquee Mechanics --- */

.testimonial-marquee-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 10px 0; /* Padding prevents clipping the box shadows */
}

.testimonial-marquee-track {
  display: flex;
  width: max-content;

  /* 60 seconds gives it a very slow, premium gliding speed */
  animation: slideTestimonials 60s linear infinite;
}

/* 
  PRO UX FEATURE: Pauses the auto-scroll when a user hovers 
  over the track so they can comfortably read the reviews! 
*/
.testimonial-marquee-track:hover {
  animation-play-state: paused;
}

/* 
  Translates exactly 50% of the entire track. 
  Because there are 10 items total, moving 50% means the 6th item 
  seamlessly replaces the 1st item, making the loop invisible to the user.
*/
@keyframes slideTestimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- Individual Card Styling --- */

.testimonial-card {
  /* 
      Instead of flex-basis percentages, using a fixed width with margin-right
      guarantees the math for translateX(-50%) works flawlessly without gaps breaking 
    */
  width: 380px;
  flex-shrink: 0;
  margin-right: 24px;

  background-color: #ffffff;
  border: 1px solid #eaeaea;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

/* --- SVG Icons inside Card --- */

.quote-icon {
  flex-shrink: 0;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: #f2a900; /* Gold Star Color */
}

/* --- Typography --- */

.testimonial-text {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.6;
  margin: 0;
}

/* --- Author Details --- */

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 45px;
  height: 45px;
  border-radius: 50%; /* Perfect circle avatar */
  object-fit: cover;
  margin-right: 15px;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #111111;
}

/* ================= RESPONSIVENESS ================= */

@media (max-width: 767.98px) {
  .testimonial-card {
    width: 320px; /* Slightly narrower on mobile */
    margin-right: 15px;
    padding: 25px 20px;
  }
}

/* ================= CONTACT HERO STYLES (PIXEL PERFECT) ================= */

.contact-hero-section {
  background-color: #ffffff; /* Crisp white background */
  font-family: var(--brand-family);
  padding-top: 80px; /* Generous top spacing */
}

/* Main Typography */
.contact-hero-title {
  font-size: 3.8rem;
  font-weight: 600; /* Bold, but not overly heavy */
  color: #111111;
  letter-spacing: -0.5px;
  margin-bottom: 2rem;
}

/* Shared brand color utility */
.text-brand {
  color: var(--brand-primary);
  font-weight: 700;
}

/* Center Content Wrapper */
.contact-subtitle-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2.2rem; /* Exact spacing between arrow and text */
  max-width: 650px;
}

/* The Arrow */
.contact-hero-arrow {
  flex-shrink: 0;
  margin-top: 4px; /* Optically aligns the top of the arrow with the cap-height of the text */
}

/* Description Text */
.contact-hero-desc {
  font-size: 0.95rem;
  line-height: 1.8; /* Elegant, loose line height */
  color: #666666;
  font-weight: 400;
  max-width: 560px; /* Forces the exact text wrapping seen in the screenshot */
}

/* The faint line at the bottom */
.contact-hero-divider {
  width: 100%;
  border-bottom: 1px solid #eaeaea; /* Very subtle grey line */
  margin-top: 60px; /* Exact distance from the text to the line */
  margin-bottom: 30px;
}

/* ================= RESPONSIVENESS ================= */

@media (max-width: 991.98px) {
  .contact-hero-title {
    font-size: 3.2rem;
  }
}

@media (max-width: 767.98px) {
  .contact-hero-section {
    padding-top: 50px;
  }
  .contact-hero-title {
    font-size: 2.5rem;
  }
  .contact-subtitle-wrapper {
    flex-direction: column; /* Stack arrow and text on mobile */
    align-items: center;
    gap: 1.5rem;
    padding: 0 15px;
  }
  .contact-hero-desc {
    text-align: center !important; /* Center text on mobile for better balance */
  }
  .contact-hero-arrow {
    margin-top: 0;
  }
}

/* ================= 1. AWARD CATEGORIES STYLES ================= */

.award-categories-section {
  font-family: var(--brand-family);
}

.award-cat-check {
  width: 24px;
  height: 24px;
  color: var(--brand-primary);
  display: block;
}

.award-cat-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111111;
  line-height: 1.4;
  margin-bottom: 12px;
}

.award-cat-desc {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

.award-cat-img {
  height: 600px;
  border-radius: 0;
}

/* ================= 2. NOMINATE CTA STYLES ================= */

.nominate-cta-section {
  font-family: var(--brand-family);
}

.nominate-meta {
  font-size: 1rem;
  font-weight: 400;
}

.nominate-title {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1px;
}

.nominate-desc {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* White Solid Buttons overrides (if needed) */
.nominate-cta-section .btn-white-solid {
  background-color: #ffffff;
  color: #111111;
  font-weight: 500;
  border-radius: 0;
  border: 1px solid #ffffff;
  transition: all 0.3s ease;
}

.nominate-cta-section .btn-white-solid:hover {
  background-color: transparent;
  color: #ffffff;
}

/* Right Nomination Card */
.nomination-card {
  border-radius: 0;
}

.deadline-date {
  font-size: 1.8rem;
  font-weight: 600;
  color: #111111;
  border-bottom: 1px solid #eaeaea;
}

.deadline-list li {
  font-size: 0.95rem;
  color: #333333;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
}

.deadline-list li svg {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  flex-shrink: 0;
}

/* ================= 3. NOMINATION PROCESS STYLES ================= */

.nomination-process-section {
  font-family: var(--brand-family);
}

/* Circular Process Icons */
.process-icon {
  width: 65px;
  height: 65px;
  background-color: var(--brand-primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 15px rgba(208, 71, 19, 0.2);
}

.process-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #111111;
}

.process-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* --- SVG Arrow Positioning Logic --- */

.process-arrow {
  position: absolute;
  top: 25px; /* Aligns arrows perfectly with the vertical center of the circular icons */
  width: 20%; /* Makes them stretch dynamically between columns */
  height: 30px;
  z-index: 0;
  pointer-events: none; /* Stops them from interfering with clicks/hovers */
}

.process-arrow svg {
  width: 100%;
  height: 100%;
}

/* Positions the 1st arrow between Column 1 and Column 2 */
.process-arrow-1 {
  left: 23%;
}

/* Positions the 2nd arrow between Column 2 and Column 3 */
.process-arrow-2 {
  left: 56.5%;
}

/* ================= RESPONSIVENESS ================= */

@media (max-width: 1199.98px) {
  .nominate-title {
    font-size: 3rem;
  }
  .award-cat-img {
    height: 500px;
  }
}

@media (max-width: 991.98px) {
  .nominate-title {
    font-size: 2.5rem;
  }
  .award-cat-title {
    font-size: 1.15rem;
  }
  .award-cat-img {
    height: 400px;
  }
  .nomination-card {
    margin-top: 30px;
  }
}

@media (max-width: 767.98px) {
  .nominate-title {
    font-size: 2.2rem;
  }
  .nominate-desc {
    font-size: 1rem;
  }
  .nomination-card {
    padding: 30px 20px !important;
  }

  /* Ensure buttons stack neatly on small mobile screens */
  .nominate-cta-section .btn-white-solid {
    width: 100%;
    text-align: center;
  }
}
