/* Import fonts */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', 'Roboto', sans-serif;
    background-color: #f3f4f6;
    color: #000;
    padding-top: 160px; /* Add padding to account for the fixed header and nav */
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Sticky wrapper for header and nav */
.sticky-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    background-color: white;
    padding: 1rem 0.5rem;
    height: 90px;
}

header > div {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 80px;
    width: auto;
    margin-top: -15px;
}

.title-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

header h1 {
    color: #1b1401;
    font-weight: 600;
    font-size: 1.775rem;
    line-height: 1.2;
    margin: 0;
}

header p {
    font-size: 11px;
    font-weight: 600;
    color: black;
    margin: 0;
    margin-top: 2px;
    padding-left: 60px;
}

/* Menu container to ensure the hamburger is properly aligned */
.menu-container {
    display: flex;
    align-items: center;
}

/* Navigation */
nav {
    background-color: #f4c542;
    color: white;
    font-size: 0.75rem;
    font-weight: 400;
}

nav > div {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 3rem;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
    padding: 0.5rem 0;
    font-weight: 400;
}

nav li {
    display: inline-block;
}

nav a,
nav button {
    color: white;
    font-size: 0.875rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 400;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: background 0.3s ease, color 0.3s ease;
}

nav a:hover,
nav button:hover {
    text-decoration: underline;
}

nav a.active {
    background-color: white;
    color: #f4c542;
    font-weight: 600;
}

nav button:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

nav i {
    font-size: 0.75rem;
}

/* Main content area */
.main-content {
    max-width: 1120px;
    margin: 2rem auto;
    padding: 0 3rem;
    min-height: 1000px; /* Just for demo to enable scrolling */
}

/* Glossy effect */
.glossy {
    background: linear-gradient(145deg, #f4c542, #e0b83c);
    border-radius: 10px;
    box-shadow: 6px 6px 12px #b3b3b3, -6px -6px 12px #ffffff;
}

/* Mobile Navigation Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1001;
}

.hamburger-lines {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 14px;
    width: 20px;
}

.hamburger-lines .line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #352b0f;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
}

.hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
}

.hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
}

/* Menu Open State */
.menu-open .line1 {
    transform: rotate(45deg);
}

.menu-open .line2 {
    transform: scaleY(0);
}

.menu-open .line3 {
    transform: rotate(-45deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 140px; /* Less padding on mobile */
    }

    header > div,
    nav > div,
    .main-content {
        padding: 0 1rem;
    }

    .logo-container img {
        height: 50px;
    }

    .title-container {
        position: static;
        transform: none;
        flex: 1;
        text-align: center;
    }

    header h1 {
        font-size: 1.1rem;
    }

    header p {

        font-size: 8px;
        margin: 0px;
        padding: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

/* Responsive Navigation */
@media (max-width: 768px) {
    nav > div {
        max-width: 100%;
        padding: 0;
    }

    /* Slide-in menu from right */
    nav ul {
        flex-direction: column;
        width: 250px; /* Set fixed width for the menu */
        height: 100vh; /* Full height */
        background-color: #f4c542;
        position: fixed;
        top: 0;
        right: -250px; /* Start off-screen to the right */
        z-index: 1000;
        padding: 80px 0 20px 0; /* Add padding top to account for header */
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    nav.active ul {
        right: 0; /* Slide in from right */
    }

    nav li {
        width: 100%;
        text-align: left; /* Left align text */
        padding: 15px 25px;
    }

    nav a, nav button {
        width: 100%;
        justify-content: flex-start; /* Left align items */
        font-size: 1rem; /* Slightly larger font for better touch targets */
    }

    /* Add overlay when menu is open */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}



/* Existing styles retained ... */

/* ✅ DROPDOWN STYLES */
.dropdown {
    position: relative;
}

.dropdown-button {
    background: none;
    border: none;
    color: white;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-family: inherit;
    transition: background-color 0.3s ease;
}

.dropdown-button:hover,
.dropdown-button.active {
    text-decoration: underline;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.dropdown[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #dcb93c;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown[aria-expanded="true"] .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #b89d2f;
}

/* ✅ MOBILE DROPDOWN SUPPORT */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        background-color: #e0b83c;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        padding-left: 1.25rem;
    }

    .dropdown[aria-expanded="true"] .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        border: none;
        padding: 0.75rem 0;
        font-size: 0.95rem;
    }
}




/* Hero Section Animation */
.hero .bg-image {
    animation: zoomInAnimation 20s forwards ease-in-out;
}

@keyframes zoomInAnimation {
    0% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1.1);
    }
}

/* General Animations */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInLeft 1s ease-in-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity : 1;
    }
}

.slide-in-right {
    animation: slideInRight 1s ease-in-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.bounce-in {
    animation: bounceIn 1s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* Apply animations to specific elements */
.hero .text-block {
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

.hero h2 {
    animation: slideInLeft 1s ease-out 0.5s both;
}

.hero p {
    animation: slideInLeft 1s ease-out 0.8s both;
}

.hero button {
    animation: fadeIn 1s ease-out 1.1s both;
}

/* Card hover animations */
.key-objectives .card {
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.key-objectives .card:hover {
    transform: translateY(-10px);
}

/* Welcome section animations */
.image-gallery img {
    transition: transform 0.5s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

/* Hero Section */
section.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    margin-top: -160px;
}

section.hero img.bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -20;
}

section.hero .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 15, 15, 0.6);
    z-index: -10;
}

section.hero .content {
    max-width: 1120px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 100vh;
    padding: 3rem;
    color: white;
    padding-top: 190px;
}

section.hero .text-block {
    flex: 1 1 60%;
    max-width: 640px;
}

section.hero h2 {
    font-weight: 800;
    font-size: 3.75rem; /* 6xl */
    line-height: 1.1;
    margin: 0;
    color: #f4c542; /* Updated color */
}

section.hero h2 span {
    color: white;
}

section.hero p {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1rem;
    max-width: 400px;
    line-height: 1.4;
}

section.hero button {
    margin-top: 1.5rem;
    background-color: #f4c542; /* Updated color */
    border: none;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

section.hero button:hover {
    background-color: #000000; /* black */
}

@media (max-width: 768px) {
    section.hero .content {
        padding: 1rem;
        min-height: auto;
    }
    section.hero h2 {
        font-size: 3rem; /* 5xl */
    }
    section.hero p {
        font-size: 0.875rem;
    }
    section.hero .text-block {
        max-width: 100%;
        flex: 1 1 100%;
    }
    section.hero{
      margin-top: -180px;
      margin-bottom: -120px;
    }
    section.hero .bg-image{
      margin-top: -50px;
    }
}

@media (max-width: 480px) {
    section.hero h2 {
        font-size: 2rem; /* 4xl */
    }
    section.hero p {
        font-size: 0.75rem;
    }
}

/* Welcome to Sarathi section */
section.welcome {
    background-color: #f5f5f5;
}

.welcome .container {
    max-width: 1120px;
    margin: 0 auto;
 padding: 64px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    position: relative;
}

@media (min-width: 768px) {
    .welcome .container {
        flex-direction: row;
        align-items: flex-start;
        gap: 96px;
    }
}

.image-gallery {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.gallery-container {
    width: 100%;
}

.top-image {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.top-image img {
    width: 100%;
    height: auto;
    display: block;
}

.bottom-row {
    display: flex;
    gap: 15px;
    width: 100%;
}

.bottom-image {
    width: 50%;
    border-radius: 4px;
    overflow: hidden;
}

.bottom-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Optional animation classes similar to the ones in your code */
.wow {
    visibility: visible;
}

.zoomIn {
    animation-name: zoomIn;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    50% {
        opacity: 1;
    }
}

.welcome .content {
    max-width: 440px;
}

.welcome h1 {
    font-weight: 600;
    font-size: 1.5rem;
    margin: 0 0 16px 0;
}

@media (min-width: 768px) {
    .welcome h1 {
        font-size: 1.875rem;
    }
}

.welcome p {
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #666666;
    margin: 0 0 32px 0;
}

@media (min-width: 768px) {
    .welcome p {
        font-size: 1rem;
    }
}

.btn {
    background-color: #f4c542; /* Updated color */
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 9999px;
    padding: 10px 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
    user-select: none;
}

.btn:hover,
.btn:focus {
    background-color: #000000; /* black */
    outline: none;
}

.btn-readmore {
    margin-bottom: 16px;
}

.btn-youtube {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.btn-youtube i {
    font-size: 1rem;
}

/* Decorative dotted circles */
.welcome .decorative-svg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    pointer-events: none;
    opacity: 0.2;
    width: 100px;
    height: 100px;
}

/* Key Objectives Section */
.key-objectives {
   background: linear-gradient(to top, rgb(206, 205, 205), rgb(237, 237, 237));
    color: rgb(0, 0, 0);
}

.key-objectives h1 {
    text-align: center;
    font-weight: 700;
    font-size: 50px;
}

.key-objectives .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.key-objectives .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.key-objectives .card {
    background: #fff;
    color: #000;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.key-objectives .card:hover {
    transform: translateY(-10px);
    background-color: #f4c542;
    color: #fff;
}

.key-objectives .card:hover .icon {
    color: white;
}

.key-objectives .card:hover .read-more {
    background-color: #fff;
    color: #f4c542;
}

.key-objectives .icon-wrapper {
    margin-bottom: 15px;
    font-size: 2.5rem;
    color: #f4c542;
}

.key-objectives .card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.key-objectives .card p {
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.5;
}

.key-objectives .read-more {
    background-color: #f4c542;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}




/*event section */

    .event-row {
      position: relative;
      display: grid;
      grid-template-columns: auto 1fr auto;
      column-gap: 48px;
      align-items: center;
      margin-bottom: 64px;
    }

    /* Vertical line spanning all events */
    .events-container {
      position: relative;
      max-width: 960px;
      margin: 0 auto;
      padding: 0 24px;
    }

    .events-container::before {
      content: "";
      position: absolute;
      top: 40px; /* aligns roughly with top of first image */
      bottom: 40px; /* aligns roughly with bottom of last image */
      left: 140px; /* aligned just right of date column */
      border-left: 1px solid #000;
      z-index: 0;
    }

    .date {
      text-align: right;
      font-weight: 700;
      font-size: 0.625rem; /* 10px */
      line-height: 1.2;
      position: relative;
      z-index: 1;
    }

    .date .time {
      font-weight: 400;
      margin-top: 4px;
    }

    .date .line {
      border-top: 1px solid #000;
      width: 80px;
      margin: 16px auto 0 auto;
    }

    .details {
      position: relative;
      z-index: 1;
    }

    .details h2 {
      font-weight: 700;
      font-size: 0.875rem; /* 14px */
      color: #d9a43a;
      margin: 0 0 6px 0;
      cursor: pointer;
      user-select: none;
    }

    .details p {
      font-weight: 400;
      font-size: 0.625rem; /* 10px */
      line-height: 1.2;
      margin: 0 0 12px 0;
      color: #000;
    }

    .details button {
      background-color: #fdbf00;
      border: none;
      color: #fff;
      font-weight: 700;
      font-size: 0.625rem; /* 10px */
      padding: 6px 12px;
      border-radius: 3px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .details button:hover,
    .details button:focus {
      background-color: #d9a43a;
      outline: none;
    }

    .image-container {
      display: flex;
      justify-content: center;
      position: relative;
      z-index: 1;
    }

    .image-container img {
      width: 120px;
      height: 140px;
      object-fit: contain;
      display: block;
    }

    @media (max-width: 768px) {
      body {
        
      }

      h1 {
        font-size: 1.5rem;
        margin-bottom: 32px;
      }

      .events-container::before {
        display: none;
      }

      .event-row {
        display: block;
        margin-bottom: 48px;
      }

      .date {
        text-align: left;
        margin-bottom: 8px;
      }

      .date .line {
        margin: 8px 0 0 0;
      }

      .image-container {
        justify-content: flex-start;
        margin-top: 12px;
      }
    }



/* Bhuchandra Events Section Styles */
.bhuchandra-events {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.bhuchandra-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 15px;
}

.bhuchandra-display-3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.bhuchandra-display-3 .text-primary {
  color: #f4c542;
}

.bhuchandra-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bhuchandra-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.bhuchandra-col-date {
  width: 20%;
  max-width: 150px;
  padding-right: 0;
}

.bhuchandra-col-content {
  width: 45%;
  border-left: 1px solid #e9ecef;
  border-right: 1px solid #e9ecef;
}

.bhuchandra-col-image {
  width: 35%;
}

.bhuchandra-date-box {
  text-align: center;
  border-bottom: 2px solid #f4c542;
  padding: 15px 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bhuchandra-date-box h6 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.bhuchandra-date-box p {
  margin: 0;
  font-size: 14px;
  color: #6c757d;
}

.bhuchandra-event-content {
  padding: 20px;
}

.bhuchandra-event-content h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.bhuchandra-event-content h4 a {
  color: #212529;
  text-decoration: none;
  transition: color 0.3s ease;
}

.bhuchandra-event-content h4 a:hover {
  color: #f4c542;
  text-decoration: none;
}

.bhuchandra-event-content p {
  color: #6c757d;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.6;
}

.bhuchandra-btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.bhuchandra-btn-primary {
  color: #fff;
  background-color: #f4c542;
  border-color: #f4c542;
}

.bhuchandra-btn-primary:hover {
  background-color: #000;
  border-color: #000;
  color: #fff;
  text-decoration: none;
}

.bhuchandra-event-image {
  overflow: hidden;
  height: 100%;
}

.bhuchandra-event-image img {
  height: 280px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.bhuchandra-event-image:hover img {
  transform: scale(1.05);
}

/* Modal Styles */
.bhuchandra-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  overflow: hidden;
  padding-top: 50px;
}

.bhuchandra-modal-content {
  background-color: #fff;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
  position: relative;
  border-radius: 10px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.bhuchandra-close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
  z-index: 2001;
}

.bhuchandra-close:hover {
  color: #f4c542;
}

.bhuchandra-modal-header {
  position: sticky;
  top: 0;
  background-color: #f4c542;
  padding: 20px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  z-index: 1000; /* ensures it stays above other elements */
}


.bhuchandra-modal-header h2 {
  margin: 0;
  color: #000000;
  font-size: 24px;
  font-weight: 600;
}

.bhuchandra-modal-body {
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.bhuchandra-modal-top-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  width: 100%;
  box-sizing: border-box;
}

.bhuchandra-modal-image-container {
  flex: 1;
  min-width: 300px;
}

.bhuchandra-modal-image-container img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bhuchandra-modal-info-container {
  flex: 1;
  min-width: 250px;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 5px;
}

.bhuchandra-modal-info-container p {
  margin-bottom: 10px;
  font-size: 16px;
}

/* Fixed description section styling */
.bhuchandra-modal-description-section {
  background-color: #fff;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  display: block;
}

.bhuchandra-modal-description-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #212529;
  width: 100%;
  display: block;
}

.bhuchandra-modal-description-section p {
  font-size: 16px;
  line-height: 1.6;
  color: #6c757d;
  margin-bottom: 15px;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  word-wrap: break-word;
  display: block;
  max-width: 100%;
}

/* Ensure modal description container takes full width */
#bhuchandraModalDescription {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  display: block;
  overflow: hidden;
}

body.bhuchandra-modal-open {
  overflow: hidden;
}

/* Animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
  .bhuchandra-display-3 {
    font-size: 2rem;
  }
  
  .bhuchandra-col-date {
    width: 25%;
  }
  
  .bhuchandra-col-content {
    width: 75%;
    border-right: none;
  }
  
  .bhuchandra-col-image {
    width: 100%;
    max-height: 250px;
  }
  
  .bhuchandra-event-image img {
    height: 250px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .bhuchandra-display-3 {
    font-size: 1.75rem;
  }
  
  .bhuchandra-col-date {
    width: 30%;
  }
  
  .bhuchandra-col-content {
    width: 70%;
  }
  
  .bhuchandra-modal-top-section {
    flex-direction: column;
  }
  
  .bhuchandra-modal-image-container,
  .bhuchandra-modal-info-container {
    flex: 100%;
  }
}

@media (max-width: 576px) {
  .bhuchandra-col-date {
    width: 100%;
    max-width: 100%;
    border-bottom: 1px solid #e9ecef;
  }

  .bhuchandra-date-box {
    text-align: center;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    gap: 5px; /* Optional spacing between elements */
  }

  .bhuchandra-col-content {
    width: 100%;
    border-left: none;
  }

  .bhuchandra-event-content {
    padding: 15px 20px;
  }
}


/*blog section */

       .blog-heading {
    margin-bottom: 40px;
    text-align: left;
}

.blog-heading h1 {
    font-size: 42px;
    font-weight: bold;
}

.blog-heading h1 span {
    color: #F3B617;
}

.blog {
    background-color: #f8f9fa;
    padding-left: 200px;
    margin-top: -40px;
}

.blog-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    max-width: 1120px;
    background-color: rgb(255, 255, 255);
}

.blog-card {
    flex: 1;
    min-width: 300px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
}

.blog-image {
    width: 100%;
    height: 230px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-image img:hover {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
}

.blog-author {
    color: #F3B617;
    font-size: 18px;
    margin-bottom: 10px;
}

.blog-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.blog-excerpt {
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more-btn {
    background-color: #F3B617;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.read-more-btn:hover {
    background-color: #e0a30d;
}

.view-more-container {
    text-align: center;
    margin: 20px 0;
    margin-left: -170px;
}

.view-more-btn {
    background-color: transparent;
    color: #F3B617;
    border: 1px solid #F3B617;
    padding: 10px 30px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s;
}

.view-more-btn:hover {
    background-color: #F3B617;
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog {
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 0;
    }

    .blog-container {
        justify-content: center;
        max-width: 100%;
    }

    .blog-card {
        flex: none;
        width: 100%;
        max-width: 350px;
    }

    .view-more-container {
        margin-left: 0;
    }

    .blog-heading h1 {
        font-size: 32px;
    }
}

        /* Modal Styles */
        /* Modal Overlay */
/* Modal Overlay */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  overflow: auto;
  padding-top: 60px;
  backdrop-filter: blur(3px);
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

/* Show Modal */
.modal.show {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Modal Content Container */
.modal-content {
  background-color: #fff;
  margin: 0 auto 60px auto;
  padding: 0;
  width: 90%;
  max-width: 700px;
  position: relative;
  border-radius: 12px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-20px);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

/* Animate Modal Content on Show */
.modal.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}

/* Scrollbar Styling */
.modal-content::-webkit-scrollbar {
  width: 8px;
}
.modal-content::-webkit-scrollbar-thumb {
  background-color: rgba(223, 172, 5, 0.5);
  border-radius: 4px;
}
.modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

/* Close Button */
.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  z-index: 10;
  transition: transform 0.2s ease, color 0.2s ease;
}

.close:hover {
  color: #f8d84f;
  transform: scale(1.1);
}

/* Modal Header */
.modal-header {
  position: sticky;
  top: 0;
  background-color: #FFC107;
  color: #000;
  padding: 20px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  z-index: 5;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.8em;
  font-weight: 600;
}

/* Modal Body */
.modal-body {
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Top Section Layout */
.top-section {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 25px;
}

/* Image Container */
.image-container {
  flex: 1;
  min-width: 250px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.image-container:hover img {
  transform: scale(1.02);
}

/* Info Container */
.info-container {
  flex: 1;
  min-width: 250px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #FFC107;
}

.info-container p {
  margin-bottom: 10px;
  font-size: 16px;
}

.info-container p strong {
  color: #000;
  font-weight: 500;
}

/* Description Section */
.description-section {
  background-color: #fff;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  display: block;
}

.description-section h3 {
  color: #000;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.4em;
  position: relative;
  padding-bottom: 8px;
}

.description-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #FFC107;
}

.description-section p {
  font-size: 16px;
  line-height: 1.6;
  color: #6c757d;
  margin-bottom: 15px;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  word-wrap: break-word;
  display: block;
  max-width: 100%;
}

/* Body class when modal is open */
body.modal-open {
  overflow: hidden;
  padding-right: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .modal {
    padding-top: 30px;
  }

  .modal-content {
    max-height: 90vh;
    margin-bottom: 30px;
  }

  .top-section {
    flex-direction: column;
    gap: 15px;
  }

  .image-container,
  .info-container {
    width: 100%;
    min-width: auto;
  }

  .modal-header h2 {
    font-size: 1.5em;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 95%;
  }

  .modal-header {
    padding: 15px;
  }

  .modal-body {
    padding: 15px;
  }

  .close {
    right: 15px;
    top: 10px;
    font-size: 24px;
  }
}


/* Footer */
.footer {
    margin: 0 auto;
    padding-left: 84px;
    padding-right: 84px;
    padding-top: 30px;
    background-color: #000000;
    color: #ffffff;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.md-flex-row {
    flex-direction: row;
}

.justify-between {
    justify-content: space-between;
}

.space-x-20 > * + * {
    margin-left: 80px;
}

.mb-12 {
    margin-bottom: 48px;
}

.md-mb-0 {
    margin-bottom: 0;
}

.w-1-3 {
    width: 33.3333%;
}

h2 {
    font-weight: 800;
 font-size: 1.25rem;
    margin-bottom: 24px;
}

.text-orange {
    color: #f4c542; /* Updated color */
}

p {
    color: #9ca3af;
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 32px;
}

button {
    background-color: #f4c542; /* Updated color */
    color: #0f243e;
    font-weight: 700;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

button:hover {
    background-color: #000000; /* black */
    color: #ffffff;
}

.text-gray-600 {
    color: #4b5563;
    font-weight: 600;
    margin-bottom: 16px;
}

.flex-center {
    display: flex;
    align-items: center;
}

.space-x-4 > * + * {
    margin-left: 16px;
}

.icon-box {
    background-color: #f4c542; /* Updated color */
    padding: 16px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f243e;
    font-size: 1.125rem;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.icon-box:hover {
    background-color: #000000; /* black */
    color: #ffffff;
}

.text-gray-400 {
    color: #9ca3af;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #9ca3af;
}

ul li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

ul li i {
    color: #f4c542; /* Updated color */
    margin-right: 12px;
    font-size: 1rem;
    min-width: 20px;
    text-align: center;
    transition: color 0.3s ease;
}

ul li:hover i {
    color: #000000; /* black */
}

hr {
    border: none;
    border-top: 1px solid #374151;
    margin: 40px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    color: #6b7280;
    font-size: 0.875rem;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom a {
    color: #f4c542; /* Updated color */
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: #fb923c;
}

/* Responsive */
@media (min-width: 768px) {
    .flex-col.md-flex-row {
        flex-direction: row;
    }
    .mb-12.md-mb-0 {
        margin-bottom: 0;
    }
    .w-1-3 {
        width: 33.3333%;
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 48px 16px;
    }
    p {
        max-width: 100%;
    }
    .space-x-20 > * + * {
        margin-left: 0;
    }
    .flex-col.md-flex-row {
        flex-direction: column;
    }
    .w-1-3 {
        width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-bottom p {
        margin: 0;
    }
}

