.latestnewscarousel {
  top: -254px !important;
}
@font-face {
  font-family: "Jameel Noori Nastaleeq";
  src: url("/fonts/Jameel Noori Nastaleeq Regular.ttf") format("truetype");
}

.urdu-text {
  font-family: "Jameel Noori Nastaleeq", serif;
  direction: rtl;
  font-size: 20px;
}

.latestnewscarouselbtn {
  width: 3rem !important;
  height: 2rem !important;
}

#today {
  max-height: 400px; /* set your desired height */
  overflow-y: auto; /* vertical scroll */
  overflow-x: hidden; /* prevent horizontal scroll */
}

/* Highlight date and time in meeting card */
.meeting-datetime {
  background-color: rgba(255, 255, 255, 0.2); /* semi-transparent highlight */
  padding: 4px 4px;
  border-radius: 6px;
  /*display: inline-block;*/
  font-weight: 700;
  font-size: 14px;
  color: #fff; /* white text on brown card */
  text-align: center;
  margin-bottom: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Highlight selected date */
.calendar-day.selected {
  outline: 3px solid #3d3425;
  background-color: #0c708e82 !important;
  font-weight: bold;
}

/* Calendar navigation buttons */
.calendar-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #2c3e50, #ff7800);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  /*display: flex;*/
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

/* Hover effect */
.calendar-nav-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
  /*        background: linear-gradient(135deg, #3a4f7a, #5b7bd5);
*/
}

/* Active (click) effect */
.calendar-nav-btn:active {
  transform: scale(0.95);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

/* Keyboard focus accessibility */
.calendar-nav-btn:focus {
  outline: 2px solid #ffd54f;
  outline-offset: 2px;
}

.press-text {
  color: white !important;
  list-style: auto !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: large;
  font-weight: 600;
  text-align: justify;
  line-height: 31px;
}

.highl-text {
  color: white !important;
  list-style: auto !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* shadow for text */
  font-size: large;
  font-weight: 600;
  text-align: justify;
  line-height: 31px;
}

#upcomingEvents {
  max-height: 141px;
  overflow-y: auto;
  overflow-x: hidden;
}

.sessionupdate {
  font-weight: bold;
  color: white !important;
  color: white !important;
  list-style: auto !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: larger;
  font-weight: 600;
  text-align: justify;
  line-height: 31px;
}

.today-item {
  font-weight: bold;
  color: white !important;
  color: white !important;
  list-style: auto !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: medium;
  background: black;
  font-weight: 600;
  text-align: justify;
  line-height: 19px;
}

.session-day {
  background: #4caf50 !important;
  color: white;
  border-radius: 6px;
}

.meeting-day {
  background: #f2994a !important;
  color: white;
  border-radius: 6px;
}

.calendar-day {
  cursor: pointer;
}

.calendar-day.today {
  border: 2px solid #b97844;
  background-color: #ccff00 !important;
  font-weight: bold;
}

/* Calendar day → BOTH events */
.both-day {
  background: linear-gradient(
    90deg,
    #4caf50 50%,
    /* Assembly → Green */ #f2994a 50% /* Committee → Yellow */
  ) !important;
  color: #fff;
}

/* Event card → BOTH */
.both-event {
  background: linear-gradient(90deg, #4caf50 50%, #b97844 50%);
  color: #fff;
}

html,
body {
  background:
    linear-gradient(
      62.14deg,
      rgba(255, 255, 255, 0.64) 28.04%,
      #fff9f4 66.05%,
      #e9f6ef 86.91%
    ),
    linear-gradient(
      161.65deg,
      rgba(253, 231, 211, 0) 23.28%,
      rgba(245, 236, 229, 0.391342) 52.05%,
      rgba(240, 221, 205, 0.983359) 89.59%
    );
  overflow-x: hidden;
  font-family: "Metropolis", sans-serif !important;
}

/* Accessability  BUTTON STYLING START...*/
/* ------------------------------------- */
/*#accessability {
    position: fixed;
    z-index: 9999;
    top: 50%;
    writing-mode: vertical-rl;
    padding: 20px 13px;
    background: linear-gradient( 90.82deg, #B2713D 3.29%, #D59662 75.34%, #E7AA78 99.74%);
    font-size: 17px;
    border-radius: 0 20px 20px 0;
    font-family: sans-serif;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transform: translateY(-50%);
}


  #accessability-open {
    padding: 20px;
    font-family: sans-serif;
    background: linear-gradient(320.08deg, #D59662 16.83%, #B2713D 59.19%);
    position: fixed;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 1);
    border-radius: 20px;
    text-align: center;
    z-index: 9999;
  }
.accessability-open .btn-info {
    color: rgba(0, 0, 0, 1);
    background: rgba(255, 255, 255, 1);
    font-size: 22px;
    font-weight: 500;
    border: none;
    padding: 3px 22px;
}
.accessability-open .btn-secondary {
    color: rgba(0, 0, 0, 1) !important;
    background-color: rgba(255, 255, 255, 1) !important;
    border: 2px solid rgba(212, 150, 98, 1) !important;
    border-radius: 5px;*/
/*    padding-left: 14px;
    padding-right: 14px;*/
/*}
.accessability-open .btn-success {
    color: rgba(0, 0, 0, 1) !important;
    background-color: rgba(255, 255, 255, 1) !important;
    border: 2px solid rgba(212, 150, 98, 1) !important;
    border-radius: 5px;
    margin-top: 8px;
}
.accessability-open .btn-success,
.accessability-open .btn-danger {
    display: block;
    width: 100%;
}
  .btn-danger {
    color: rgba(0, 0, 0, 1) !important;
    background-color: rgba(255, 255, 255, 1) !important;
    border:2px solid rgba(212, 150, 98, 1) !important;
    margin-top: 8px;
    border-radius: 5px;
  }
  .col-md-8 iframe{
    height: 100%; 
    width: 100%;
    background: rgba(255, 255, 255, 1);
    border-radius: 20px;
    
  }
  .bgDark {
    background-color: #222 !important; 
    color: white !important; 
  }

  .textWhite {
    color: white !important; 
  }
.accessability-open .btn-info:hover,
.accessability-open .btn-secondary:hover,
.accessability-open .btn-success:hover,
.accessability-open .btn-danger:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}
  .accessability-open .btn-info:hover{
    color: rgba(0, 0, 0, 1) !important;
    background-color: rgba(255, 255, 255, 1) !important;
  }
  @media(max-width:576px){
    #accessability{
        font-size:15px;
        padding:16px 8px;
    }
  }*/

/* Accessibilty code Start */

/* --- WIDGET STYLING --- */
#accessibility-widget-container {
  position: fixed;
  /* Positioned at Top Right */
  top: 35px;
  right: 12px;
  z-index: 2147483647; /* Max Z-Index to stay on top */
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
}

/* Floating Button - Restored to 60px and White Border */
#a11y-toggle-btn {
  width: 60px;
  height: 60px;
  background-color: #0d6efd; /* Bootstrap Primary Blue */
  border: 2px solid white;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s ease,
    background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

#a11y-toggle-btn:hover {
  transform: scale(1.1);
}

/* The Panel */
#a11y-panel {
  position: absolute;
  top: 75px; /* Opens below the button */
  right: 0;
  width: 300px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: none; /* Hidden by default */
  overflow: hidden;
  text-align: left;
}

#a11y-panel.visible {
  display: block;
  animation: fadeIn 0.3s;
}

/* Panel Header */
.a11y-header {
  background: #0d6efd;
  color: white;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.a11y-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

/* Panel Body */
.a11y-body {
  padding: 15px;
  color: #333;
}

.a11y-row {
  margin-bottom: 15px;
}

.a11y-label {
  font-size: 12px;
  text-transform: uppercase;
  color: #666;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

/* Buttons inside panel */
.a11y-btn-group {
  display: flex;
  gap: 5px;
}

.a11y-btn {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  background: #f8f9fa;
  cursor: pointer;
  border-radius: 5px;
  font-size: 14px;
  transition: 0.2s;
}

.a11y-btn:hover {
  background: #e2e6ea;
}

/* Specific Tool Buttons (Active State) */
.btn-active-tool {
  background-color: #0d6efd !important;
  color: white !important;
  border-color: #0d6efd !important;
}

/* --- ACCESSIBILITY MODES (Global) --- */

/* 1. Dark Mode 
       Logic: Invert everything EXCEPT the widget container.
    */
html.a11y-dark {
  background-color: #121212 !important;
}

html.a11y-dark body {
  background-color: #121212 !important;
  color: #fff !important;
  height: 100%;
}

/* This line prevents the widget from breaking in Dark Mode */
html.a11y-dark body > *:not(#accessibility-widget-container) {
  filter: invert(1) hue-rotate(180deg);
}

/* Fix images inside Dark Mode */
html.a11y-dark img,
html.a11y-dark video,
html.a11y-dark iframe {
  filter: invert(1) hue-rotate(180deg) !important;
}

/* 2. High Contrast Mode */
html.a11y-contrast * {
  background-color: #000 !important;
  color: #ffff00 !important;
  border-color: #ffff00 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html.a11y-contrast #a11y-toggle-btn {
  border: 2px solid #ffff00 !important;
}

/* 3. Readable Font */
html.a11y-readable-font body {
  font-family: Arial, Helvetica, sans-serif !important;
  line-height: 1.8 !important;
  letter-spacing: 0.5px !important;
}

/* 4. Highlight Links */
html.a11y-links-highlight a {
  background: #ffff00 !important;
  color: #000 !important;
  text-decoration: underline !important;
  font-weight: bold !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibilty code End */

/* Accessability  BUTTON STYLING END !!*/
/* ------------------------------------- */

/* TOP BAR STYLING START.... */

/* Top Bar */
.top-bar {
  background: linear-gradient(to right, #aa662f, #c28756, #c28756, #c28756);
  color: white;
  padding: 10px;
  font-size: 14px;
  width: 100%;
}

.top-bar a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
}

.top-bar .container-fluid {
  padding-left: 3.5rem;
  padding-right: 3.5rem;
  display: flex;
  /*        justify-content: space-evenly;*/
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 0.8rem;
  /*        max-width: 1416px;
        margin: 0px 0px 0px 48px;
        padding: 0 15px;*/
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
}
.top-links a {
  display: inline-block;
  transition: transform 0.2s ease-in-out;
}

.top-links a:hover {
  transform: scale(1.05);
}

.social-icons {
  display: flex;
  align-items: center !important;
  margin-left: auto;
  gap: 10px;
}

.social-icons a i {
  color: #b2713d;
  background-color: #ffffff !important;
  padding: 9px 12px;
  padding-top: 11px;
  border-radius: 14px;
  font-size: 18px;
  transition: background-color 0.3s ease;
  align-items: center;
}
/*    .social-icons a{
        align-items:center
    }*/
/*.bi-instagram::before{
    align-items:center;
}*/

.social-icons .btn {
  background-color: #000000;
  color: white;
  border: none;
  border-radius: 14px;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 400;
  transition: background-color 0.3s ease;
}

.social-icons .btn:hover {
  background-color: #555;
}
.menu-toggle {
  display: none;
  /*    backround:none;*/
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .top-links {
    gap: 26px;
  }
  .top-bar a {
    font-size: 15px;
  }
}
@media (max-width: 1024px) {
  .top-bar .container-fluid {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .social-icons i {
    padding: 9px 10px;
    border-radius: 12px;
  }

  .social-icons .btn {
    border-radius: 12px;
  }

  .top-links {
    gap: 26px;
  }

  .top-bar a {
    font-size: 15px;
  }
}
/*    @media (max-width: 768px) {
        .menue-toggle {
            display: inline-block;
            font-size: 2rem;
            font-weight:500;
            padding:0 0.4rem;
        }
        .top-bar .container-fluid{
            flex-direction: column;
            align-items: center;
        }
        .top-bar{
            padding-top:0;
            padding-bottom:0.4rem;
        }
            .top-bar a{
                font-weight:500;
            }


            .top-links {
                justify-content: center;
                margin-bottom: 10px;
            }
        
    }*/
@media (max-width: 768px) {
  .menu-toggle {
    display: inline-block;
    font-size: 2rem;
    font-weight: 500;
    padding: 0 0.4rem;
    background: none !important;
  }

  .top-bar {
    padding-top: 0;
    padding-bottom: 0.4rem;
  }

  .top-bar a {
    font-weight: 500;
  }

  .top-links {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    order: 1;
  }

  .top-links.active {
    display: flex;
    padding-top: 15px;
  }

  .social-icons {
    /* justify-content: center; */
    margin-top: 0.4rem;
    gap: 15px;
    order: 0;
    margin-left: 0;
    margin-right: auto;
  }

  /* Animate Menu Toggle */
  .menu-toggle.active i {
    transform: rotate(90deg);
  }
}
/* FIX: This closing bracket was missing. */

/*@media (max-width: 576px) {
 .top-bar .container-fluid {
         flex-direction: column;
         align-items: center;
     }

     .top-links {*/
/* justify-content: space-evenly; */
/*display: flex;*/
/* align-items: center; */
/*gap: 10px;
     }

     .social-icons {
         flex-wrap: wrap;
         gap: 11px;
     }

         .social-icons i {
             font-size: 14px;
         }

         .social-icons .btn {
             padding: 6px 12px;
             font-size: 14px;
         }
 }*/

/*    @media (max-width: 480px) {
     .top-links {
         flex-direction: column;
         align-items: center;
         gap: 10px;
     }

     .social-icons {
         flex-wrap: wrap;
         gap: 8px;
     }

         .social-icons i {
             font-size: 14px;
         }

         .social-icons .btn {
             padding: 6px 12px;
             font-size: 12px;
         }
 }*/

@media (max-width: 425px) {
  .social-icons {
    padding-top: 0.5rem;
  }

  .top-links {
    gap: 10px;
  }

  .top-bar {
    padding-left: 0;
    padding-right: 0;
  }

  .social-icons {
    flex-wrap: wrap;
    gap: 11px;
  }

  .social-icons i {
    font-size: 14px;
  }

  .social-icons .btn {
    padding: 5px 12px;
    font-size: 14px;
  }

  .menu-toggle {
    font-size: 1.7rem;
    font-weight: 500;
  }
}
/* FIX: This closing bracket was missing. */

@media (max-width: 375px) {
  .top-bar .container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .top-links {
    gap: 10px;
  }

  .social-icons {
    gap: 8px;
  }

  .social-icons i {
    font-size: 14px;
    padding: 9px 10px;
  }

  .social-icons .btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}
/* FIX: This closing bracket was missing. */

@media (max-width: 320px) {
  .top-links.active {
    display: flex;
    padding-top: 0;
  }

  .social-toggle-container {
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }
}
/* FIX: This closing bracket was missing. */

/* TOP BAR STYLING ENDDD */

.container-background-imageheader {
  position: relative;
  width: 100%;
  height: 100%;
  background: url("../img/profiles-nitb/17078202537701111.jpg") no-repeat center
    center/cover;
}

.container-background-imageheader::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 0;
}

/* backround image start */
.container-background-image {
  position: relative;
  width: 100%;
  /*        height: 100%;*/
  min-height: 100%;
  padding-bottom: 1px;
  background: url("../img/profiles-nitb/1707820253770.jpg") no-repeat center
    center/cover;
}

.container-background-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 0;
}
/* backround image endded  */

.container-header-nav,
.container-first {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.container-first .header,
.container-first .navbar {
  /* position: absolute; */
  position: relative;
  top: 0;
  left: 0;
  width: 98%;
  z-index: 2;
}

/* Header Section */
.header {
  padding: 10px 0;
}

.logo {
  height: 145px;
  width: 142px;
  margin-right: 15px;
  margin-top: 10px;
}

.title {
  font-size: 32px;
  font-weight: 700;
  color: black;
  padding-top: 40px;
}

.display-date {
  padding-left: 10px;
  font-size: 16px;
  font-weight: 400;
  padding-bottom: 8px;
  padding-right: 50px;
}

.display-date p {
  font-size: 16px;
  font-weight: 400;
}

.vertical-line {
  width: 1px;
  height: 20px;
  background-color: #000;
  margin: 0 10px;
}

.container-header-nav .search-bar {
  display: flex;
  width: 348px;
  position: relative;
}

.container-header-nav .search-bar input {
  width: 100%;
  border-radius: 20px;
  padding: 17px;
  font-size: 20px;
  border: none;
  outline: none;
}

.container-header-nav .search-bar .btn-brown {
  background: linear-gradient(#b2713d, #d49662);
  color: white;
  border-radius: 20px;
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  border: none;
  cursor: pointer;
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Adjustments */
/*@media (max-width: 768px) {
   .header .container-fluid {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-section {
    margin-bottom: 10px;
  }

  .search-bar {
    width: 100%;
  }
} */
/* Responsive Adjustments */
@media (max-width: 768px) {
  .header .container-fluid {
    flex-direction: column;
    align-items: center;
  }

  .logo-section {
    margin-bottom: 10px;
    text-align: center;
  }

  .title {
    font-size: 20px;
    padding-top: 10px;
  }

  .display-date {
    padding-right: 13px;
    font-size: 14px;
    padding-bottom: 0;
  }

  .display-date p {
    font-size: 14px;
    font-weight: 400;
  }

  .container-header-nav .search-bar {
    width: 280px;
    max-width: 100%;
  }

  .container-header-nav .search-bar input {
    padding: 10px;
    font-size: 16px;
  }

  .container-header-nav .search-bar .btn-brown {
    height: 35px;
    width: 35px;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 80px;
    width: 80px;
  }

  .title {
    font-size: 18px;
  }

  .vertical-line {
    margin: 0 5px;
  }
  .container-header-nav .search-bar {
    width: 250px;
    max-width: 100%;
  }
  .container-header-nav .search-bar input {
    padding: 10px;
    font-size: 14px;
  }

  .container-header-nav .search-bar .btn-brown {
    height: 30px;
    width: 30px;
  }
}

/* Navigation */
/*    .navbar-wrapper{
        padding-left:3.5rem;
        padding-right:3.5rem;
    }*/
.navbar {
  background: white;
  padding: 20px 0;
  z-index: 9999;
  width: 98%;
  border-radius: 20px;
  margin-top: 30px;
  box-sizing: border-box;
  overflow: visible;
  margin-left: auto;
  margin-right: auto;
}

/* Home Button */
.btn-home {
  background: linear-gradient(to right, #b2713d, #d49662);
  color: white;
  border-radius: 20px;
  padding: 17px 40px;
  margin-right: 20px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  box-shadow: 0px 4px 4px 0px #b2713d4d;
}

/* Nav Items */
/*    .navbar-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 22px;
    }*/

/* Nav Links Container */
.navbar-wrapper .navbar-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}

.navbar-wrapper .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  /*        width:-webkit-fill-available;*/
}

/*        .navbar-wrapper .nav-item .dropdown-arrow {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            font-size: 14px;
            color: rgba(10, 9, 11, 1);
            text-shadow: 0 0 1px black;
            font-weight: 700;
            line-height: 1;
        }*/

/*    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }*/

/*    .nav-link {
        color: black;
        font-weight: 400;
        font-size: 17px;
        padding: 5px 10px;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 80px;
        position: relative;
        padding-bottom: 15px;
    }*/

.navbar-wrapper .nav-item .nav-link {
  color: black;
  font-weight: 500;
  font-size: 16px;
  padding: 5px 10px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  position: relative;
  padding-bottom: 15px;
}

/*    .dropdown-arrow {
        font-size: 14px;
        color: #0a090b;
        margin-top: 5px;
        font-weight: 700;
    }*/

.navbar-wrapper .nav-item .dropdown-arrow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  color: rgba(10, 9, 11, 1);
  font-weight: 500;
  line-height: 1;
}
.dropdown-toggle::after {
  display: none !important;
}
.navbar-wrapper .nav-item .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 10px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 2000;
}

.dropdown-menu.drop-left {
  left: auto !important;
  right: 0 !important;
  transform: none !important;
}

.submenu-right.drop-left {
  left: auto !important;
  right: 100% !important;
}
/* Dropdown Items */
.navbar-wrapper .dropdown-item {
  display: block;
  padding: 8px 15px;
  color: black;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.3s ease-in-out;
}

.navbar-wrapper .dropdown-item:hover {
  background: #f5f5f5;
}

.navbar-wrapper .dropdown-toggle::after {
  display: none;
}

.navbar-wrapper .nav-item.dropdown.show .dropdown-menu {
  opacity: 1;
  visibility: visible;
  /*    display:block;*/
}

.navbar-wrapper .dropdown-submenu {
  position: relative;
}

.navbar-wrapper .dropdown-submenu .submenu-right {
  position: absolute;
  left: 100%;
  top: 0;
  transform: translateX(-0%);
  display: none;
  background: white;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 10px 0;
  min-width: 200px;
}

.navbar-wrapper .dropdown-submenu:hover > .submenu-right {
  display: block;
}

.navbar-wrapper .dropdown-submenu > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-wrapper .dropdown-submenu > a i {
  font-size: 14px;
  opacity: 0.8;
}

/* Default Dropdown Menu */
/*.navbar-wrapper .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    width: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 10;
}*/

/* Show Dropdown on Hover for Desktop */
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
  }
}
/*@media (min-width: 993px) {


    .dropdown-submenu {
        position: relative;
    }

    .navbar-wrapper .dropdown-submenu .submenu-right {
        position: absolute;
        left: 100%;
        top: 0;
        transform: translateX(-0%);
        display: none;
        background: white;
        border-radius: 10px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        list-style: none;
        padding: 10px 0;
        min-width: 200px;
    }

    .navbar-wrapper .dropdown-submenu:hover > .submenu-right {
        display: block;
    }
}*/
/* Responsive Adjustments */
/*@media (min-width: 1441px) and (max-width: 1920px) {
        .navbar-wrapper .navbar-nav {
            display: flex;
            flex-wrap: nowrap;
            justify-content: space-around;
            gap: 1.8rem;
            width: 100%;
            margin: 0;
            padding: 0;
            -webkit-overflow-scrolling: touch;
        }


        .container-home {
            padding: 0 15px !important;

        }

        .navbar {
            width: 92%;
            margin-left: auto;
            margin-right: auto;
        }
    }*/

@media (min-width: 992px) and (max-width: 1220px) {
  .navbar-nav {
    gap: 0px;
  }

  .navbar-wrapper .nav-item .nav-link {
    font-size: 14px !important;
    font-weight: 500;
  }

  .top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1416px;
    margin: 0px 0px 0px 22px;
    padding: 0 15px;
  }

  /*.nav-link {
    font-size: 15px;
    padding: 5px 8px;
  }*/

  .dropdown-arrow {
    font-size: 12px;
  }

  .btn-home {
    padding: 15px 25px;
    font-size: 18px;
  }

  .navbar-wrapper .dropdown-arrow {
    font-size: 12px;
  }

  .navbar-wrapper .navbar-expand-lg .navbar-collapse {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .navbar-wrapper .btn-home {
    padding: 14px 18px;
    font-size: 16px;
    height: 65px;
    width: 110px;
    margin-right: 24px;
    border-radius: 16px;
  }

  .navbar-wrapper .nav-item .nav-link {
    font-size: 16px;
    font-weight: 500;
  }

  /*    .navbar-wrapper .navbar-nav {
        flex-wrap: wrap;
    }*/
}

@media (max-width: 1024px) {
  .navbar-wrapper .nav-item .nav-link {
    font-size: 14px;
  }

  .navbar-wrapper .navbar-nav {
    gap: 0;
  }
  .navbar-wrapper .btn-home {
    margin-right: 14px;
  }
}

/*@media (max-width: 991px) {
    .navbar-wrapper .nav-item.dropdown {
        position: relative;
    }

    .navbar-wrapper .nav-item .dropdown-menu {
        position: static !important;
        left: 0 !important;
        transform: none !important;
        width: 100%;
        display: none;
    }

    .navbar-wrapper .nav-item.dropdown.show .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}*/

/*  mobile-specific styles  */
@media (max-width: 990px) {
  .navbar-wrapper .nav-item .dropdown-menu,
  .navbar-wrapper .dropdown-submenu .submenu-right {
    position: static !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    width: auto;
    max-width: 300px;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: auto;
    transition: max-height 0.3s ease;
  }

  .navbar-wrapper .navbar-nav {
    flex-wrap: wrap;
    gap: 5px;
  }

  /*    .navbar-wrapper .dropdown-submenu .submenu-right {
        max-width
    }*/
  .navbar-wrapper .nav-item.dropdown.show .dropdown-menu,
  .navbar-wrapper .dropdown-submenu.show .submenu-right {
    max-height: 1000px;
    overflow-y: hidden;
  }

  .navbar-wrapper .dropdown-submenu .submenu-right {
    padding-left: 20px;
    background: rgba(0, 0, 0, 0.03);
  }

  .navbar-wrapper .nav-item .nav-link {
    min-height: auto;
    padding: 12px 15px;
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .navbar-wrapper .nav-item .dropdown-arrow {
    position: static;
    margin-left: 10px;
    transform: none;
    transition: transform 0.3s ease;
  }

  .navbar-wrapper .nav-item.dropdown.show .dropdown-arrow {
    transform: rotate(180deg);
  }

  Fixed
    submenu
    indicator
    rotation
    .navbar-wrapper
    .dropdown-submenu.show
    > .dropdown-item
    > .bi-chevron-right {
    transform: rotate(90deg);
  }

  .navbar-wrapper .dropdown-item {
    padding: 10px 25px !important;
  }

  .navbar-wrapper .navbar-toggler {
    margin-left: 10px;
  }

  .navbar-wrapper .btn-home {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .navbar-wrapper .dropdown-toggle::after {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .navbar-wrapper .nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column;
    gap: 10px;
  }
  .navbar {
    width: 100%;
  }
  .btn-home {
    padding: 12px 20px;
    font-size: 18px;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .nav-link {
    font-size: 16px;
  }

  .dropdown-arrow {
    font-size: 12px;
    margin-top: 3px;
  }

  .container-home {
    padding: 0 15px;
  }
}
@media (max-width: 320px) {
  .navbar-wrapper {
    padding-left: 2.5rem !important;
    padding-right: 2.5rem !important;
  }
}
/* ,.,.,.,.,, */
/* !!!!!!!!!!!! */

.sticker {
  position: relative;
  padding: 14px 30px 1px 30px;
  font-size: 14px;
  font-weight: 400;
  width: 100%;
  margin-top: 15px;
  color: white;
  overflow: hidden;
  box-sizing: border-box;
  background: linear-gradient(to right, #b2713d, #c28756);
  height: 40px; /* Add fixed height to limit vertical space */
}

.ticker-text {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%; /* start from outside right */
  animation: scroll-left 60s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}
.sticker:hover .ticker-text {
  animation-play-state: paused;
}

/* Video Card */
.card-container {
  padding-left: 3.5rem;
  padding-right: 3.5rem;
}

.video-card {
  position: relative;
  border-radius: 22px;
  box-sizing: border-box;
  height: 550px;
}

.video-card-image {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 22px;
}

/* Card Overlay */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* Play Button (Top Left Corner) */
.btn-play {
  font-size: 16px;
  color: white;
  background: linear-gradient(#c00f0c, #ec221f);
  border: none;
  border-radius: 10px;
  padding: 7px 20px;
  position: absolute;
  top: 10px;
  left: 20px;
}

/* Arrow Buttons (Top Right Corner) */
.arrow-buttons {
  position: absolute;
  top: 10px;
  right: 25px;
  display: flex;
  gap: 10px;
}

.btn-arrow {
  font-size: 1.5rem;
  color: white;
  background: linear-gradient(to right, #b2713d, #d49662);
  border: none;
  border-radius: 17px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Footer Section (Bottom of Card) */
.footer-section {
  background: rgb(0 0 0 / 58%);
  padding: 28px 245px 28px 15px;
  border-radius: 23px;
  color: rgba(255, 255, 255, 1);
  text-align: start;
  position: absolute;
  bottom: 27px;
  left: 49px;
  right: 36px;
  box-sizing: border-box;
}

.footer-section h3 {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
  display: block;
}

.footer-section p {
  margin: 5px 0 0;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
  display: block;
}

.footer-with-controls {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-right: 30px !important;
  gap: 15px !important;
}

.footer-with-controls .footer-text {
  flex: 1 !important;
}

.yt-video-controls {
  display: flex !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
  z-index: 20 !important;
}

.btn-yt-control {
  background: rgba(255, 255, 255, 0.2) !important;
  border: none !important;
  color: white !important;
  font-size: 1.3rem !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
}

.btn-yt-control:hover {
  background: rgba(255, 255, 255, 0.4) !important;
  transform: scale(1.08) !important;
}

.btn-yt-control:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5) !important;
}

@media (max-width: 576px) {
  .footer-with-controls {
    padding-right: 15px !important;
    gap: 10px !important;
  }

  .btn-yt-control {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.1rem !important;
  }
}

/* Card Styling */
.card-2nd-portion0 {
  /*    background: linear-gradient( to bottom, rgba(194, 128, 75, 0.7), rgba(249, 189, 139, 0.7) );*/
  background: linear-gradient(
    to right,
    rgba(178, 113, 61, 1),
    rgba(212, 150, 98, 1),
    rgba(227, 166, 115, 1)
  );
  border-radius: 23px;
  text-align: center;
  height: 550px; /* Fixed Height */
  position: relative;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* Flexbox to manage Header vs Tabs */
  display: flex;
  flex-direction: column;
}

/* --- Header Section --- */
.card-2nd-portion0 .header-section {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  display: flex;
  justify-content: center;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.2) 99.99%,
    rgba(0, 0, 0, 0.4) 100%
  );
  color: #ffffff;
  margin-bottom: 10px; /* Adjusted margin */
  border-radius: 17px;
  padding: 12px 10px 13px 8px;
  filter: brightness(100%) !important;
  align-items: center;
  flex-shrink: 0; /* Prevents header from shrinking */
}

.card-2nd-portion0 .card-2nd-header-links {
  gap: 12px;
  display: flex;
}

/* --- Tab Buttons --- */
.card-2nd-portion0 .tab-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  border-radius: 8px;
  padding: 5px;
  transition: all 0.3s ease;
}

.card-2nd-portion0 .tab-btn.active,
.card-2nd-portion0 .tab-btn:hover {
  color: white;
  background: rgba(60, 8, 1, 1);
}

/* --- Tab Content Area (The Container for all tabs) --- */
.card-2nd-portion0 .tab-content {
  flex: 1; /* Takes all remaining height */
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Prevents double scrollbars */
  padding: 0;
}

/* --- Individual Tab Panes --- */
.card-2nd-portion0 .tab-pane {
  display: none;
  height: 100%; /* Fill the parent */
  flex-direction: column;
  padding: 0 1.25rem 1.25rem 1.25rem;
  animation: fadeIn 0.4s ease;
}

.card-2nd-portion0 .tab-pane.active {
  display: flex; /* Use Flex instead of block */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Body Content Inside Tabs --- */
.card-2nd-portion0 .video-card-body {
  padding: 0;
  /* Default: just sit at top */
}

/* Specific class to center content in tabs 2, 3, 4 */
.card-2nd-portion0 .centered-tab-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertical Center */
  align-items: center;
}

.card-2nd-portion0 .national-emblem {
  font-size: 40px; /* Added size for icon */
  color: rgba(60, 8, 1, 1);
  margin-bottom: 10px;
}

.card-2nd-portion0 .designation-card-2nd-portion0 {
  font-weight: 400 !important;
  font-size: 24px !important;
  color: rgba(255, 255, 255, 1) !important;
  margin-bottom: 15px;
}

.card-2nd-portion0 .card-text-portion0 {
  font-weight: 300 !important;
  font-size: 20px !important;
  color: rgba(255, 255, 255, 1) !important;
}

.card-2nd-portion0 .card-text1 {
  text-align: center;
  margin-bottom: 0;
}

.card-2nd-portion0 .card-text2 {
  text-align: center;
}

/* --- Footer / Search Section (Now inside Tab 1) --- */
/* This specific footer style ensures it sits at the bottom of the tab */
.card-2nd-portion0 .card-footer {
  border: none;
  margin-top: auto; /* This pushes the footer to the bottom of the flex container */
  text-align: center;
  padding: 0; /* Padding handled by tab-pane */
  background: transparent; /* Remove bootstrap default bg */
}

.card-2nd-portion0 .card-search-bar {
  display: block;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 1);
  border-radius: 17px;
  border: none !important;
  width: 100%;
}

.card-2nd-portion0 .card-search-bar input {
  border-radius: 17px;
  border: none !important;
  padding: 17px;
  font-size: 20px;
  color: rgba(109, 102, 102, 1);
  font-weight: 400;
  box-sizing: border-box;
  outline: none;
  width: 100%;
  background: transparent;
}

.card-2nd-portion0 .btn-card-brown {
  background: rgba(60, 8, 1, 1) !important;
  color: rgba(255, 255, 255, 1) !important;
  border-radius: 17px;
  border: none;
  cursor: pointer;
  padding: 17px;
  font-size: 20px;
  font-weight: 400;
  width: 100%;
  margin-bottom: 5px;
  transition: background 0.3s ease;
}

.card-2nd-portion0 .btn-card-brown:hover {
  background: #2a0600 !important;
}

.card-2nd-portion0 .btn-view-all {
  display: block;
  width: 100%;
  color: rgba(255, 255, 255, 1);
  font-size: 20px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  margin-top: 14px;
  transition: all 0.3s ease-in-out;
}

.card-2nd-portion0 .btn-view-all:hover {
  color: rgba(255, 255, 255, 1);
  font-size: 22px;
  transform: scale(1.04);
  letter-spacing: 1px;
}

/* --- Content Styling for Tab 2 & 3 Items --- */
.card-2nd-portion0 .today-item,
.card-2nd-portion0 .business-item {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 15px;
  text-align: left;
  color: white !important;
  font-weight: bold;
  width: 100%;
}
/* === NEW STYLES FOR HOUSE BUSINESS TAB === */
/* ========================================= */

.card-2nd-portion0 .business-grid-container {
  display: grid;
  /* 3 Columns equal width */
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 100%;
  padding: 5px;
  /* Ensure it fits nicely */
  max-height: 100%;
}

/* The Link Wrapper */
.card-2nd-portion0 .business-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: white;
  transition: transform 0.2s ease;
}

.card-2nd-portion0 .business-link-item:hover {
  transform: translateY(-3px);
  text-decoration: none;
  color: white;
}

/* The White Box with Icon */
.card-2nd-portion0 .business-icon-box {
  background: rgba(255, 255, 255, 1); /* Pure White */
  border-radius: 18px; /* Rounded corners like image */
  width: 80px;
  height: 68px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.card-2nd-portion0 .icon-img {
  width: 36px;
  height: 36px;
}

/* The Icon inside the box */
.card-2nd-portion0 .business-icon-box i {
  color: rgba(178, 113, 61, 1);
  font-size: 36px;
  font-weight: 500;
}

/* The Text Label */
.card-2nd-portion0 .business-label {
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

/* Hover effect on icon specifically */
.card-2nd-portion0 .business-link-item:hover .business-icon-box {
  background: #fcfcfc;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* --- Get Involved Grid Layout --- */
.card-2nd-portion0 .involved-grid-container {
  display: grid;
  grid-template-columns: repeat(
    2,
    1fr
  ); /* 2 Columns looks best for longer text */
  gap: 15px;
  width: 100%;
  padding: 5px;
}

.card-2nd-portion0 .involved-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.card-2nd-portion0 .involved-item:hover {
  transform: translateY(-3px);
}

/* --- Views Management (Main vs Sub) --- */
.card-2nd-portion0 .involved-view {
  width: 100%;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* --- Sub Menu Panel (The Flyout/Drawer) --- */
.card-2nd-portion0 .involved-sub-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95); /* Light background for readability */
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  /* Animation State: Hidden by default */
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 10;
}

/* Active State for Sub Menu */
.card-2nd-portion0 .involved-sub-panel.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

/* --- Sub Menu Header --- */
.card-2nd-portion0 .sub-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.card-2nd-portion0 .sub-panel-header h5 {
  margin: 0;
  color: rgba(60, 8, 1, 1);
  font-size: 18px;
  font-weight: 600;
  text-align: right;
  flex: 1;
}

.card-2nd-portion0 .btn-back {
  background: transparent;
  border: none;
  color: rgba(60, 8, 1, 1);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
}

.card-2nd-portion0 .btn-back:hover {
  text-decoration: underline;
}

/* --- Sub Menu List Items --- */
.card-2nd-portion0 .sub-panel-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  flex: 1;
}

.card-2nd-portion0 .sub-list-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(60, 8, 1, 0.05);
  border-radius: 10px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.2s ease;
  text-align: left;
}

.card-2nd-portion0 .sub-list-item i {
  color: rgba(60, 8, 1, 1);
  font-size: 20px;
  width: 25px;
  text-align: center;
}

.card-2nd-portion0 .sub-list-item:hover {
  background: rgba(60, 8, 1, 0.15);
  color: #000;
  text-decoration: none;
}

/* Responsive Adjustments */
/* ,.,.,.,.,,.,.,,.,,.,.,. */

@media (max-width: 1200px) {
  .footer-section {
    padding: 20px 150px 20px 15px;
  }

  .footer-section h3 {
    font-size: 28px;
  }

  .footer-section p {
    font-size: 12px;
  }

  .btn-play {
    font-size: 14px;
    padding: 5px 15px;
  }

  .arrow-buttons {
    top: 6px;
    right: 25px;
    position: inherit;
  }

  .btn-arrow {
    font-size: 1.2rem;
    padding: 8px 18px;
  }

  .header-section {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .card-2nd-header-links {
    flex-wrap: wrap;
    gap: 10px;
  }

  .tab-btn {
    padding: 7px 5px;
  }

  .designation-card-2nd-portion0 {
    font-size: 28px !important;
  }

  .card-text-portion0 {
    font-size: 16px !important;
  }

  .card-search-bar input {
    font-size: 18px;
    padding: 15px;
  }

  .btn-card-brown {
    font-size: 18px;
    padding: 15px;
    width: 100%;
  }

  .btn-view-all {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .col-md-8,
  .col-md-4 {
    width: 100%;
  }

  .card-2nd-portion0 {
    width: 100%;
    max-width: 100%;
  }

  .footer-section {
    padding: 15px 20px 15px 15px;
    left: 20px;
    right: 20px;
  }

  .footer-section h3 {
    font-size: 24px;
  }

  .footer-section p {
    font-size: 12px;
  }

  .btn-play {
    font-size: 12px;
    padding: 5px 10px;
    top: 15px;
  }

  .arrow-buttons {
    top: 6px;
    right: 25px;
    position: absolute;
  }

  .btn-arrow {
    font-size: 1rem;
    padding: 6px 14px;
  }

  .card-2nd-portion0 .header-section {
    font-size: 14px;
    padding: 10px;
    justify-content: start;
  }

  .card-2nd-header-links {
    font-size: 14px;
    padding: 10px;
    gap: 22px;
  }

  .btn-mna {
    font-size: 12px;
  }

  .designation-card-2nd-portion0 {
    font-size: 24px !important;
  }

  .card-text-portion0 {
    font-size: 14px !important;
  }

  /*    .card-footer {
        margin-top: 10%;
    }*/

  .card-search-bar input {
    font-size: 16px;
    padding: 12px;
  }

  .btn-card-brown {
    font-size: 16px;
    padding: 12px;
  }

  .btn-view-all {
    font-size: 20px;
    margin-top: 20px;
  }

  .tab-btn {
    padding: 5px 12px;
  }
}

@media (max-width: 576px) {
  .card-container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
  .footer-section {
    padding: 10px 15px 10px 15px;
    left: 10px;
    right: 10px;
  }

  .footer-section h3 {
    font-size: 20px;
  }

  .footer-section p {
    font-size: 10px;
  }

  .btn-play {
    font-size: 10px;
    padding: 4px 8px;
    top: 8px;
  }

  .arrow-buttons {
    top: 6px;
  }

  .btn-arrow {
    font-size: 0.8rem;
    padding: 4px 10px;
  }

  .header-section {
    font-size: 12px;
    padding: 8px;
  }

  .btn-mna {
    font-size: 10px;
  }

  .designation-card-2nd-portion0 {
    font-size: 20px !important;
  }

  .card-text-portion0 {
    font-size: 12px !important;
  }

  .card-search-bar input {
    font-size: 14px;
    padding: 10px;
  }

  .btn-card-brown {
    font-size: 14px;
    padding: 10px;
  }

  .btn-view-all {
    font-size: 14px;
  }
  .card-2nd-header-links {
    display: flex;
    justify-content: center;
  }
  .tab-btn {
    padding: 7px 14px;
  }
}

/* SECTION 0.1 STYLING START */

.video-icons-card {
  position: relative;
  z-index: 2;
  background-color: #ffffff;
  border-radius: 18px;
  /* overflow: visible; */
  text-align: center;
  margin-bottom: 20px;

  border: 1px solid #736a6a;
  height: 80px;
  display: flex;
}

.card-arrow-btn {
  position: absolute;
  /* bottom: -31px;
  left: 50%; */
  /* transform: translateX(-50%); */
  border-radius: 20px;
  padding: 15px 15px 15px 15px;
  font-size: 0.9rem;
  background: linear-gradient(#d49662, #b2713d);
  cursor: pointer;
}
/* THIS PORTION STYLING END  */
/* .,.,.,,,.,.,.,.,..., */
/* !!!!!!!!!!!!!!!!!!!!! */

/* <!-- PORTION 011 STYLING  START --> */
/* <!-- ,.,.,.,.,.,.,.,,. --> */
/* <!-- -------------------- --> */

/* Existing Styles */
.container-2nd {
  padding-left: 60px;
  padding-right: 60px;
}
.video-icons-card-row > .col-md-3 {
  display: flex;
}

.video-icons-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /*  height: auto;*/
  height: 100%;
  width: 100%;
  padding: 8px;
  border: none;
  box-shadow: -3px 4px 6.2px -4px rgba(0, 0, 0, 0.25);
}

.btn-explore-more {
  text-decoration: none;
  display: flex;
  align-items: end;
  color: rgba(178, 113, 61, 1);
  font-size: 20px;
  font-weight: 700;
  flex-direction: column;
  margin-bottom: 10px;
  padding-right: 16px;
}

.video-icons-card:hover {
  transform: translateY(-5px);
}

.card-video-icons-body {
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.card-video-icons-body span {
  font-size: 14px;
  font-weight: 200;
  color: rgba(0, 0, 0, 1);
  flex-grow: 1;
  margin-right: 15px;
  text-align: left;
}

.card-arrow-btn-portion011 {
  background: linear-gradient(rgba(212, 150, 98, 1), rgba(178, 113, 61, 1));
  color: rgba(255, 255, 255, 1);
  border-radius: 20px;
  width: 57px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.card-arrow-btn-portion011:hover {
  background: linear-gradient(rgba(212, 150, 98, 0.8), rgba(178, 113, 61, 0.8));
}
/* RESPONSIVENESS OF PORTION 011 */
/* Responsive Design */
@media (max-width: 768px) {
  .col-md-3 {
    flex: 0 0 50%;
    min-width: 60%;
  }

  .card-arrow-btn-portion011 {
    width: 45px;
    height: 45px;
  }

  .card-video-icons-body span {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .container-2nd {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
  .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .card-arrow-btn-portion011 {
    width: 40px;
    height: 40px;
  }

  .card-video-icons-body span {
    font-size: 12px;
  }

  .btn-explore-more {
    font-size: 18px;
  }
}

/* PORTION012 STYLING START */
/* ------------------------- */
/* .,.,.,.,.,.,.,.,.,.,.,.,. */

/* --- Base Styles --- */
.highlights-card {
  transition: all 0.3s ease;
}

/* --- Card 1 (Tabs) --- */
.card-1st-portion012 {
  min-height: 440px;
  border-radius: 23px;
  background: rgba(255, 255, 255, 1);
  padding-top: 20px;
  overflow: visible;
  /* height: 100%;  */
}

.card-1st-portion012 .card-highlights-body {
  padding-inline: 0;
}

.card-highlights-body {
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
}
.card-1st-portion012 .card-highlights-body ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Standard List Item Style */
.tab-item-portion012 {
  display: flex;
  align-items: center;
  padding: 14px 24px 14px 20px;
  border-radius: 0 17px 17px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  margin-right: 0;
}

/* Link Styling & Arrow Alignment (Flexbox Fix) */
.tab-item-portion012 .card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-decoration: none;
  color: rgba(0, 0, 0, 1);
  font-size: 18px;
  font-weight: 300;
}

.tab-item-portion012 i {
  font-size: 22px;
}

/* --- Active Tab Styling (The Gradient Highlight) --- */
.active-tab-portion012 {
  background: linear-gradient(
    to right,
    rgba(178, 113, 61, 1),
    rgba(212, 150, 98, 1),
    rgba(231, 170, 120, 1)
  );
  margin-right: -24px;
}

.active-tab-portion012 .card-link {
  color: rgba(255, 255, 255, 1) !important;
  font-weight: 500;
  /* font-size: 20px; */
}

/* --- Card 2 & 3 Styles (Kept mostly original) --- */
.card-2nd-portion012 {
  height: 342px;
  /* height: 100%;  */
  margin-top: 50px;
  border-radius: 33px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(115, 106, 106, 0.66);
  /* background: rgba(255, 255, 255, 1); */
  background: linear-gradient(
    to right,
    rgba(178, 113, 61, 1),
    rgba(212, 150, 98, 1),
    rgba(231, 170, 120, 1)
  );
}

/* CARD 2ND */
/* .card-2nd-portion012 {
 
} */

.name-2nd-portion012 {
  color: rgba(255, 255, 255, 1);
  font-weight: 600;
  font-size: 15px;
  /* background: linear-gradient(
    rgba(255, 255, 255, 1),
    rgba(243, 230, 219, 1),
    rgba(239, 221, 207, 1)
  ); */
  background: rgba(60, 8, 1, 1);
  border-radius: 11px;
  padding: 12px 20px;
  display: inline-flex;
  margin-top: 20px;
}

.designation-2nd-portion012 {
  color: rgba(255, 255, 255, 1);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 12px;
  margin-bottom: 10px;
}

.card-text-portion012 {
  color: rgba(255, 255, 255, 1);
  font-size: 15px;
  font-weight: 200;
  padding: 0 15px;
}

/* CARD 3RD */
/* .card-3rd-portion012 {
  background: linear-gradient(
    rgba(178, 113, 61, 1),
    rgba(212, 150, 98, 1),
    rgba(227, 166, 115, 1)
  );
  border: 1px solid rgba(125, 70, 26, 1);
} */

.name-3rd-portion012 {
  color: rgba(255, 255, 255, 1);
  font-weight: 600;
  font-size: 15px;
  background: rgba(60, 8, 1, 1);
  border-radius: 11px;
  padding: 12px 20px;
  display: inline-flex;
  margin-top: 20px;
}

.designation-3rd-portion012 {
  color: rgba(255, 255, 255, 1);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 12px;
  margin-bottom: 10px;
}

.card-3rd-portion012 .card-text-portion012 {
  color: rgba(255, 255, 255, 1);
}

/* Arrow Buttons at Bottom */
/* .arrow-btn {
  margin: 0 auto 20px auto;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
} */
/* .btn-2nd-portion012 {
  background: rgba(212, 150, 98, 1); 
  color: white;
} */
.btn-2nd-portion012,
.btn-3rd-portion012 {
  background: rgba(60, 8, 1, 1) !important;
  color: white;
}
/* --- NEW MEDIA GALLERY STYLES (Clean Grid) --- */
#highlights-tabs-row .media-gallery-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  padding: 16px;
  flex-wrap: wrap;
}

#highlights-tabs-row .gallery-album-link {
  text-decoration: none;
  flex: 1;
  min-width: 150px; /* Slightly wider to fit images */
  max-width: 250px;
  text-align: center;
}

/* The White Card Container */
#highlights-tabs-row .album-box {
  background: #fff;
  border: 1px solid rgba(212, 150, 98, 0.4);
  border-radius: 20px;
  padding: 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* .album-box:hover {
      background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(243, 230, 219, 1));
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    } */
#highlights-tabs-row .album-box:hover {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1),
    rgba(243, 230, 219, 1)
  );
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  border-color: rgba(178, 113, 61, 1);
}

/* The 2x2 Grid Container */
#highlights-tabs-row .album-thumb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  width: 140px; /* Fixed size for uniformity */
  height: 140px;
  border-radius: 12px;
  overflow: hidden; /* Clips the images to rounded corners */
  background: #f0f0f0;
}

/* The Images inside the grid */
#highlights-tabs-row .album-thumb-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images don't stretch */
  transition: transform 0.3s ease;
}

/* Subtle zoom effect on images when hovering the box */
#highlights-tabs-row .album-box:hover .album-thumb-grid img {
  transform: scale(1.1);
}
/* --- TOGGLE UTILITY (Required for Tabs to work) --- */
#highlights-tabs-row .tab-pane-content {
  display: none; /* Hides all content by default */
  height: 100%;
}

#highlights-tabs-row .tab-pane-content.active {
  display: block;
  animation: fadeIn 0.5s;
}

#highlights-tabs-row .album-box h5 {
  color: rgba(0, 0, 0, 1);
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* --- Responsiveness --- */

@media (max-width: 1200px) {
  /* Reduce overhang on medium screens */
  #highlights-tabs-row .active-tab-portion012 {
    margin-right: -20px;
  }
}

@media (max-width: 991px) {
  /* On tablets/mobile, remove overhang to prevent scrollbar */
  #highlights-tabs-row .active-tab-portion012 {
    margin-right: 0;
    border-radius: 17px; /* rounded on all sides */
  }

  #highlights-tabs-row .card-2nd-portion012 {
    margin-top: 30px;
    height: auto;
    padding-bottom: 20px;
  }

  #highlights-tabs-row .card-1st-portion012 {
    padding-right: 20px; /* Add padding back since overhang is gone */
  }

  #highlights-tabs-row .media-gallery-grid {
    flex-direction: column;
  }

  #highlights-tabs-row .gallery-album-link {
    width: 100%;
    max-width: 100%;
  }

  #highlights-tabs-row .album-thumb-grid {
    width: 100%;
    height: 200px;
  }
  /* Larger images on mobile */
}

/* 1st PORTION STYLING START */
/* ------------------------- */

.section-header-portion1 {
  display: flex;
  justify-content: space-between;
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.heading-1 {
  font-size: 32px !important;
  font-weight: 600;
  color: #543c29;
}

.line-1 {
  height: 66px !important;
}

.section-header .line {
  width: 8px;
  height: 48px;
  background: linear-gradient(#b2713d, #d49662);
  margin-right: 10px;
}

/* THE EXPLORE MORE BUTTON STYLING */

.explore-more-portion1 {
  text-decoration: none;
  display: flex;
  align-items: center;
  color: rgba(178, 113, 61, 1);
  font-size: 20px;
  font-weight: 700;
  flex-direction: row;
  padding-right: 16px;
  justify-content: flex-end;
  /*        gap: 10px;*/
}

.content-wrapper-portion1 {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(
    to right,
    rgba(178, 113, 61, 1),
    rgba(212, 150, 98, 1)
  );
  padding: 7px 5px;
  border-radius: 19px;
}

.text-explore-more-portion1 {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 1);
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 0;
}

.explore-btn-portion1 {
  background: rgba(65, 59, 53, 0.47) !important;
  padding: 10px 17px;
  border-radius: 20px;
  color: rgba(255, 255, 255, 1) !important;
  font-size: 20px;
}
.explore-btn-portion1 .bi-arrow-right::before {
  vertical-align: text-bottom;
}

.portion1-row .custom-card {
  position: relative;
  z-index: 2;
  background-color: #ffffff;
  border-radius: 33px;
  overflow: visible;
  /* aspect-ratio: 2 / 3;*/
  text-align: center;
  margin-bottom: 20px;
  padding: 16px 38px 50px 38px;
  border: 1px solid rgba(115, 106, 106, 0.66);
  transition: transform 0.2s ease;
  /*  height: 77%;
*/
}

.card-2nd-portion1 {
  background: linear-gradient(#b2713d, #d49662, #e3a673);
  border: 1px solid #7d461a;
}

.custom-card:hover {
  transform: translateY(-2px);
}

.card-img-portion1 {
  object-fit: cover;
  object-position: top;
  border-radius: 19px;
  /* height: 65%;*/

  aspect-ratio: 2 / 2;
}

.person-name-portion1 {
  font-size: 18px;
  color: #000000;
  text-align: center;
  margin-bottom: 8px;
  font-weight: 600;
  background: linear-gradient(#ffffff, #f3e6db, #efddcf);
  padding: 7px;
  letter-spacing: normal;
  border-radius: 10px;
}

.designation {
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  /* text-align: center; */
  margin-bottom: 10px;
}

.card-text {
  font-size: 16px;
  color: rgba(0, 0, 0, 1);
  text-align: justify;
}

/* .footer-section {
  background-color: #fff;
  border-top: none;
  text-align: center;
  padding: 12px;
} */

/*  THIS ARROW BUTTON STYLING IS COMMON WITH THE PORTION012 BUTTONS */

.arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 68px;
  border: none;
  border-radius: 26px;
  background: linear-gradient(#d49662, #b2713d);
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Icon styling */
.arrow-btn i {
  font-size: 20px;
  color: #ffffff;
}

/* 2nd portion override */
.btn-2nd-portion1 {
  background: #3c0801 !important;
}

/* Hover effect */
.arrow-btn:hover {
  transform: translateX(-50%) scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  opacity: 0.95;
}

/* Responsive Adjustments for Smaller Screens */

@media (min-width: 768px) and (max-width: 992px) {
  .custom-card {
    height: auto;
    padding: 14px 18px 36px 18px;
  }

  .card-img-portion1 {
    height: auto;
    object-fit: cover;
  }

  .person-name-portion1 {
    font-size: 12px;
    padding: 6px;
  }

  .designation {
    font-size: 16px;
  }

  .card-text {
    font-size: 12px;
    line-height: 1.4;
  }

  .arrow-btn {
    bottom: -28px;
    padding: 16px 18px;
    font-size: 16px;
    border-radius: 22px;
  }

  .arrow-btn i {
    font-size: 18px;
  }

  .section-header-portion1 {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .explore-more-portion1 {
    justify-content: flex-end;
    padding-right: 16px;
  }

  .content-wrapper-portion1 {
    padding: 6px;
  }

  .text-explore-more-portion1 {
    font-size: 16px;
    padding-top: 10px;
  }

  .explore-btn-portion1 {
    padding: 9px 16px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .custom-card {
    height: auto;
    padding: 16px 20px 40px 20px;
  }

  .card-img-portion1 {
    height: auto;
    object-fit: cover;
  }

  .person-name-portion1 {
    font-size: 14px;
    padding: 5px;
  }

  .designation {
    font-size: 18px;
  }

  .card-text {
    font-size: 14px;
  }

  .arrow-btn {
    bottom: -25px;
    padding: 15px 18px;
  }

  .arrow-btn i {
    font-size: 18px;
  }

  .section-header-portion1 {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .explore-more-portion1 {
    justify-content: flex-end;
    padding-right: 0;
  }

  .content-wrapper-portion1 {
    padding: 5px;
  }

  .text-explore-more-portion1 {
    font-size: 14px;
    padding-top: 8px;
  }

  .explore-btn-portion1 {
    padding: 8px 14px;
    font-size: 18px;
  }
}

/* 1st PORTION STYLING END */
/* ------------------------- */

/*-------------------------------------------------------------------------------------*/
/* Social Media Section Specifics */
.social-media-row .heading-2 {
  color: rgba(84, 60, 41, 1);
  font-size: 2rem;
  font-weight: 600;
}

.social-media-row .section-description {
  color: rgba(84, 60, 41, 1);
  font-size: 1rem;
  margin-bottom: 0;
}

.line-social {
  height: 47px;
}

.social-media-row .custom-card {
  border: 1px solid rgba(115, 106, 106, 0.66);
  border-radius: 2rem;
}

.social-media-row .heading-card3 {
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0;
  color: rgb(180 115 63);
  text-align: center;
}

.social-card .card-body {
  padding: 12px;
  height: 100%;
}

/* Placeholder for the future Iframes */
.social-card .iframe-placeholder {
  background-color: #f8f8f8;
  border: 1px dashed #d49662;
  border-radius: 20px;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}

.placeholder-text {
  color: #736a6a;
  font-weight: 300;
  font-size: 14px;
}

@media (max-width: 768px) {
  .social-card .card-body {
    padding-inline: 0;
  }

  .social-card .iframe-placeholder {
    min-height: 280px;
  }
}
/*--------------------------------------------------------------------------------------*/

/* 2ND PORTION STYLING START */
/* ------------------------- */
/* !!!!!!!!!!!!!!!!!!!!!!!!!! */

/* General Layout */
.row.portion2-row {
  display: flex;
  justify-content: space-between;
  /*flex-wrap: wrap;*/
  align-items: stretch;
}

.row.portion2-row .line-2-portion2 {
  height: 47px; /* Removed !important by ensuring specificity */
}

/* Section Headers */
.row.portion2-row .section-description {
  font-size: 16px;
  color: #543c29;
  margin-bottom: 20px;
  font-weight: 400;
  min-height: 50px;
}

.row.portion2-row .portion2-row .heading-2 {
  color: #543c29;
  font-size: 36px;
  font-weight: 300;
}

/* Unified Card Styling */
.row.portion2-row .custom-card {
  background-color: #ffffff;
  border-radius: 33px;
  border: 1px solid #736a6a;
  width: 100%;
  height: 100%; /* Ensures card fills the column height */
  overflow: hidden;
  position: relative; /* Necessary for absolute positioning inside */
}

.row.portion2-row .calendar-card {
  padding: 20px;
  text-align: center;
}

/* Library Card Specifics */
.row.portion2-row .library-card {
  padding: 0; /* Padding handled by overlay */
  display: flex;
  flex-direction: column;
}

/* The Image acts as a background */
.row.portion2-row .card-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.65;
}

/* The Content sits on top of the image */
.row.portion2-row .library-content-overlay {
  position: relative;
  z-index: 1;
  padding: 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distributes space nicely */
  overflow-y: auto; /* Adds scroll if content is too long */
}

/* Calendar Internal Styling */
.row.portion2-row .calendar-container {
  width: 100%;
  background: #ffffff;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.row.portion2-row #calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  font-size: 14px;
  font-weight: bold;
}

.row.portion2-row .calendar-day {
  background: #ffffff;
  color: #000000;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
}

.row.portion2-row .current-day {
  background: linear-gradient(#b2713d, #d49662, #e5b186);
  border-radius: 6px;
  color: white;
}

.row.portion2-row .calendar-events-title {
  color: #000000;
  font-weight: 300;
  margin-bottom: 10px;
  text-align: start;
}

.row.portion2-row .calendar-text {
  padding-top: 10px;
  padding-bottom: 15px;
  color: #000000;
  border-bottom: 1px solid #aa662f;
  font-size: 11px;
  font-weight: 300;
  text-align: start;
}

/* Legend Styling */
.row.portion2-row .legend {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  padding-left: 17px;
  margin-bottom: 10px;
}

.row.portion2-row .legend-item {
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 300;
  font-family: Arial, sans-serif;
  color: #000000;
}

.row.portion2-row .color-box {
  width: 27px;
  height: 26px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 4px;
}

.row.portion2-row .event {
  background-color: #219653;
}

.row.portion2-row .session {
  background-color: #4caf50;
}

.row.portion2-row .meeting {
  background-color: #f2994a;
}

/* Library Text and Buttons Styling */
.row.portion2-row .library-text {
  font-size: 16px;
  border-radius: 14px;
  padding: 10px;
  color: #000000;
  font-weight: 400;
  text-align: start;
  margin-bottom: 20px;
  background-color: #ffffff;
  margin-top: 12px;
}

.row.portion2-row .read-more-btn {
  color: rgba(170, 102, 47, 1);
}

.row.portion2-row .heading-card3 {
  font-weight: 500;
  font-size: 22px !important;
  color: #ffffff;
  text-align: start;
  margin-bottom: 15px;
}

.row.portion2-row .heading-card3:hover {
  text-decoration: underline;
  color: white;
}

.row.portion2-row .button-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.row.portion2-row .event-btn {
  background-color: #ffffff !important; /* Kept white background for buttons */
  border: 1px solid #e0e0e0; /* Added subtle border for visibility over image */
  margin-bottom: 5px;
  padding: 15px 10px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 18px;
  font-weight: 300;
  color: #000000;
}

.row.portion2-row .event-btn i {
  margin-left: 25px;
}

.row.portion2-row .explore-btn {
  color: #b2713d !important;
  margin-top: 10px;
  font-size: 22px;
  font-weight: 600;
  background: transparent;
  border: none;
}
/* --- Column 3: Latest News Specific Styles --- */

/* Wrapper for the news card content */
.row.portion2-row .news-card {
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* Ensure the carousel image covers the full height of the card */
.row.portion2-row .news-carousel-img {
  object-fit: cover;
  margin-top: 9%;
  object-position: center;
}

/* The white box overlay on top of the news image */
.row.portion2-row .news-content-overlay {
  position: absolute;
  bottom: 6%;
  left: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 15px;
  border-radius: 14px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

/* Heading inside the carousel */
.row.portion2-row .news-heading {
  color: #543c29;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}

/* Description text inside the carousel */
.row.portion2-row .news-desc {
  color: #000000;
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* Link inside the carousel */
.row.portion2-row .news-link {
  color: #b2713d;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.row.portion2-row .news-link:hover {
  text-decoration: underline;
  color: #8c5830;
}

/* Carousel Indicators (Dots) adjustments */
.row.portion2-row .carousel-indicators {
  margin-bottom: 5px;
  z-index: 3;
}

.row.portion2-row .carousel-indicators [data-bs-target] {
  background-color: #b2713d;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #fff;
}

/* Responsive Fix for Small Screens */

/* Adjustments for screen sizes between 768px and 992px */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Ensure consistent card heights */
  .calendar-card,
  .image-card-portion2,
  .library-events {
    min-height: 600px;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .section-description {
    min-height: 50px;
  }

  /* Calendar Section */
  .calendar-card {
    padding: 7px;
  }

  #calendar {
    font-size: 12px;
    gap: 3px;
  }

  .calendar-container {
    height: 300px;
    overflow: hidden;
    padding: 10px;
  }

  .calendar-events-title {
    font-size: 18px;
  }

  .calendar-text {
    font-size: 12px;
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .legend {
    flex-wrap: wrap;
    gap: 10px;
  }

  .legend-item {
    font-size: 10px;
  }

  .color-box {
    width: 20px;
    height: 20px;
  }

  /* Library Section */
  .image-card-portion2 {
    padding: 0;
  }

  .img-inside-card {
    height: 100%;
    object-fit: cover;
  }

  /* Library Events Section */
  .library-events {
    margin-top: 0;
    padding: 15px;
  }

  .library-text {
    font-size: 14px;
    margin-bottom: 15px;
    margin-top: 110px;
  }

  .heading-card3 {
    font-size: 20px !important;
    margin-bottom: 15px;
  }

  .event-btn {
    font-size: 16px;
    padding: 15px 10px;
    margin-bottom: 10px;
  }

  .explore-btn {
    font-size: 18px;
    margin-top: 15px;
  }

  /* General Adjustments */
  .section-description {
    font-size: 14px;
    margin-bottom: 15px;
    min-height: 60px;
  }

  .heading-2 {
    font-size: 28px;
  }

  .line-2-portion2 {
    height: 40px !important;
  }

  .portion2-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
  }

  .library-section-portion2 {
    flex: 1 1 calc(33.33% - 20px);
    margin-bottom: 0;
  }
}

/* Responsive Fix for Small Screens */

/* Adjustments for screen sizes between 768px and 992px */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Ensure consistent card heights */
  .calendar-card,
  .image-card-portion2,
  .library-events {
    min-height: 600px;
    /* height: auto;  */
    display: flex;
    flex-direction: column;
  }

  .section-description {
    min-height: 50px;
  }

  /* Calendar Section */
  .calendar-card {
    padding: 7px;
  }

  #calendar {
    font-size: 12px;
    gap: 3px;
  }

  .calendar-container {
    height: 300px;
    overflow: hidden;
    padding: 10px;
  }

  .calendar-events-title {
    font-size: 18px;
  }

  .calendar-text {
    font-size: 12px;
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .legend {
    flex-wrap: wrap;
    gap: 10px;
  }

  .legend-item {
    font-size: 10px;
  }

  .color-box {
    width: 20px;
    height: 20px;
  }

  /* Library Section */
  .image-card-portion2 {
    padding: 0;
  }

  .img-inside-card {
    height: 100%;
    object-fit: cover;
  }

  /* Library Events Section */
  .library-events {
    margin-top: 0;
    padding: 15px;
  }

  .library-text {
    font-size: 14px;
    margin-bottom: 15px;
    margin-top: 110px;
  }

  .heading-card3 {
    font-size: 20px !important;
    margin-bottom: 15px;
  }

  .event-btn {
    font-size: 16px;
    padding: 15px 10px;
    margin-bottom: 10px;
  }

  .explore-btn {
    font-size: 18px;
    margin-top: 15px;
  }

  /* General Adjustments */
  .section-description {
    font-size: 14px;
    margin-bottom: 15px;
    min-height: 60px;
  }

  .heading-2 {
    font-size: 28px;
  }

  .line-2-portion2 {
    height: 40px !important;
  }

  .portion2-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
  }

  .library-section-portion2 {
    flex: 1 1 calc(33.33% - 20px);
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .portion2-row {
    flex-direction: column;
    align-items: center;
  }

  .library-text {
    margin-top: 0;
  }

  .legend {
    gap: 30px;
  }

  .legend-item {
    font-size: 12px;
  }

  .col-md-4 {
    width: 100%;
    margin-bottom: 20px;
  }
  .library-events {
    margin-top: 12px;
  }
}

@media (max-width: 450px) {
  .calendar-card {
    padding: 4px;
  }

  #calendar {
    font-size: 12px;
    gap: 3px;
  }

  .legend {
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .calendar-card {
    padding: 3px;
  }

  #calendar {
    font-size: 10px;
    gap: 3px;
  }

  .legend {
    gap: 10px;
  }

  .legend-item {
    font-size: 8px;
  }
}

/* 2ND PORTION STYLING END */
/* ------------------------- */
/* !!!!!!!!!!!!!!!!!!!!!!!!!! */

/* 3RD PORTION STYLING START */
/* ------------------------- */
/* !!!!!!!!!!!!!!!!!!!!!!!!!! */
.house-committee-section {
  padding: 20px;
}

/* === Main Card Styling === */
.house-committee-section .house-card {
  position: relative;
  z-index: 2;
  background-color: #ffffff;
  border-radius: 20px; /* Slightly tighter radius for list look */
  overflow: hidden;
  margin-bottom: 20px;
  height: 400px; /* Fixed Height */
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.house-committee-section .house-card:hover {
  transform: translateY(-5px);
}

/* === Specific Card Borders/Backgrounds === */
.house-committee-section .card-1st-portion3 {
  border: 1px solid rgba(115, 106, 106, 0.66);
}

.house-committee-section .card-2nd-portion3 {
  background: linear-gradient(#b2713d, #d49662, #e3a673);
  border: 1px solid #7d461a;
}

.house-committee-section .card-3rd-portion3 {
  border: 1px solid rgba(115, 106, 106, 0.66);
}

/* === STATIC HEADER (Fixed at top) === */
.house-committee-section .card-static-header {
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: linear-gradient(
    123.67deg,
    #ffffff 14.77%,
    #f3e6db 74.29%,
    #efddcf 93.19%
  );
  z-index: 5;
}

/* Special header for brown card */
.house-committee-section .header-brown {
  background: rgba(60, 8, 1, 1) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.house-committee-section .header-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #333;
}

/* === SCROLLING AREA === */
.house-committee-section .ticker-window {
  flex: 1;
  height: 300px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.house-committee-section .ticker-track {
  display: flex;
  flex-direction: column;
  flex-direction: column;
  margin-top: 0;
}

/* === POINT ITEM STYLING (The List Items) === */
.house-committee-section .ticker-point-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee; /* Light separator */
  transition: background 0.2s ease;
}

.house-committee-section .ticker-point-item:last-child {
  border-bottom: none;
}

/* For the Brown Card separators */
.house-committee-section .border-light-white {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Hover effect on item */
.house-committee-section .ticker-point-item:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

/* === ICONS === */
.house-committee-section .point-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  font-size: 16px;
}

/* Icon Colors */
.house-committee-section .icon-blue {
  background-color: #efebe9;
  color: #5d4037;
}

.house-committee-section .icon-white {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.house-committee-section .icon-brown {
  background-color: #efebe9;
  color: #5d4037;
}

/* === TEXT CONTENT === */
.house-committee-section .point-content {
  display: flex;
  flex-direction: column;
  text-align: left; /* Align text left like a list */
}

.house-committee-section .point-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #333;
  line-height: 1.2;
}

.house-committee-section .point-date {
  font-size: 12px;
  color: #888;
}

/* Helpers for Brown Card Text */
.house-committee-section .text-white {
  color: #fff !important;
}

.house-committee-section .text-white-50 {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Animation */
@keyframes vertical-list-scroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .house-committee-section .house-card {
    height: 350px;
  }
}

/* 4TH PORTION STYLING START */
/* ........................... */
.parlimentary-initiatives-row {
  margin-bottom: 90px; /* Retained for larger screens */
}

/* Existing Styles */
.Parliamentary-initiatives-card {
  background: rgba(255, 255, 255, 1);
  border-radius: 20px;
  height: auto; /* Changed to auto for responsiveness */
  padding: 20px; /* Added padding for better spacing */
}

.header-section-Parliamentary-initiatives {
  text-align: center;
  align-items: center;
  margin-top: 38px; /* Retained for larger screens */
  color: rgba(0, 0, 0, 1);
}

.header-section-Parliamentary-initiatives .heading-portion4 {
  font-family: Metropolis;
  font-size: 48px; /* Retained for larger screens */
  font-weight: 300;
  line-height: 48px;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.text-portion4 {
  text-align: center;
  padding-left: 160px; /* Retained for larger screens */
  padding-right: 160px; /* Retained for larger screens */
  font-size: 18px; /* Retained for larger screens */
}

.card-body-portion4 {
  margin-bottom: 28px; /* Retained for larger screens */
}

/* New Styles for Initiative Cards */
.initiative-cards {
  display: flex;
  justify-content: center;
  gap: 20px; /* Retained for larger screens */
  margin-top: 50px; /* Retained for larger screens */
  flex-wrap: wrap; /* Added for responsiveness */
}

.initiative-card {
  background: linear-gradient(
    123.67deg,
    #ffffff 14.77%,
    #f3e6db 74.29%,
    #efddcf 93.19%
  );
  border-radius: 15px;
  padding: 35px; /* Retained for larger screens */
  text-align: center;
  flex: 1;
  max-width: 196px;
  height: 192px;
  margin-bottom: 20px; /* Added for spacing */
}

.initiative-card-3rd {
  /*background: linear-gradient(0deg, #2b1f1e, #2b1f1e) !important;*/
}

.logo-container {
  background: linear-gradient(0deg, #ffffff, #ffffff);
  padding: 5px;
  display: inline-block;
  border-radius: 12px;
}

.initiative-logo-1st {
  width: 86.57px;
  height: 102px;
}

.initiative-logo-2nd {
  width: 94px;
  height: 102.87px;
}

.initiative-logo-3rd {
  width: 110px;
  height: 110px;
}

.initiative-logo-4th {
  width: 102.62px;
  height: 102px;
}

.initiative-logo-5th {
  width: 106.56px;
  height: 111.21px;
}

/* VIEW ALL INITIATIVES BUTTON STYLING START... */
.viewAll-initiatives-portion4 {
  text-decoration: none;
  display: flex;
  align-items: center;
  color: rgba(178, 113, 61, 1);
  font-size: 20px; /* Retained for larger screens */
  font-weight: 700;
  flex-direction: row;
  padding-right: 16px; /* Retained for larger screens */
  justify-content: center;
}

.content-wrapper-portion4 {
  display: flex;
  align-items: center;
  gap: 28px; /* Retained for larger screens */
  background: linear-gradient(
    to right,
    rgba(178, 113, 61, 1),
    rgba(212, 150, 98, 1)
  );
  padding: 7px 5px; /* Retained for larger screens */
  border-radius: 19px;
}

.text-viewAll-initiatives-portion4 {
  font-size: 16px; /* Retained for larger screens */
  font-weight: 600;
  color: rgba(255, 255, 255, 1);
  margin-bottom: 0;

  padding-left: 10px; /* Retained for larger screens */
  padding-right: 10px; /* Retained for larger screens */
}

.viewAll-btn-portion4 {
  background: rgba(65, 59, 53, 0.47) !important;
  padding: 10px 17px; /* Retained for larger screens */
  border-radius: 20px;
  color: rgba(255, 255, 255, 1) !important;
  font-size: 20px; /* Retained for larger screens */
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .header-section-Parliamentary-initiatives .heading-portion4 {
    font-size: 40px; /* Adjusted for 1024px */
  }

  .text-portion4 {
    padding-left: 100px; /* Adjusted for 1024px */
    padding-right: 100px; /* Adjusted for 1024px */
  }

  .initiative-card {
    max-width: 180px; /* Adjusted for 1024px */
    height: 180px; /* Adjusted for 1024px */
  }

  .initiative-logo-1st,
  .initiative-logo-2nd,
  .initiative-logo-3rd,
  .initiative-logo-4th,
  .initiative-logo-5th {
    width: 80%; /* Adjusted for 1024px */
    height: auto; /* Adjusted for 1024px */
  }

  .viewAll-initiatives-portion4 {
    font-size: 18px; /* Adjusted for 1024px */
  }

  .viewAll-btn-portion4 {
    padding: 10px 14px;
    font-size: 18px;
    border-radius: 16px;
  }
}

@media (max-width: 768px) {
  .header-section-Parliamentary-initiatives .heading-portion4 {
    font-size: 32px;
  }
  .parlimentary-initiatives-row {
    margin-bottom: 65px;
  }

  .text-portion4 {
    padding-left: 50px;
    padding-right: 50px;
    font-size: 16px;
  }

  .initiative-card {
    min-width: 180px;
    min-height: 180px;
    padding: 20px;
  }

  .initiative-logo-1st,
  .initiative-logo-2nd,
  .initiative-logo-3rd,
  .initiative-logo-4th,
  .initiative-logo-5th {
    width: 70%;
    height: auto;
  }

  .viewAll-initiatives-portion4 {
    font-size: 16px;
  }

  .viewAll-btn-portion4 {
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 16px;
  }
}

@media (max-width: 425px) {
  .header-section-Parliamentary-initiatives {
    margin-top: 10px;
  }

  .header-section-Parliamentary-initiatives .heading-portion4 {
    font-size: 24px;
  }

  .text-portion4 {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 14px;
  }

  .initiative-card {
    max-width: 120px;
    height: 120px;
    padding: 15px;
  }

  .initiative-logo-1st,
  .initiative-logo-2nd,
  .initiative-logo-3rd,
  .initiative-logo-4th,
  .initiative-logo-5th {
    width: 60%;
    height: auto;
  }

  .viewAll-initiatives-portion4 {
    font-size: 14px;
  }

  .viewAll-btn-portion4 {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 14px;
  }
}

@media (max-width: 375px) {
  .header-section-Parliamentary-initiatives {
    margin-top: 10px;
  }

  .header-section-Parliamentary-initiatives .heading-portion4 {
    font-size: 20px;
  }

  .text-portion4 {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12px;
  }

  .initiative-card {
    max-width: 100px;
    min-height: 100px;
    padding: 10px;
  }

  .initiative-logo-1st,
  .initiative-logo-2nd,
  .initiative-logo-3rd,
  .initiative-logo-4th,
  .initiative-logo-5th {
    width: 50%;
    height: auto;
  }

  .viewAll-initiatives-portion4 {
    font-size: 12px;
  }

  .content-wrapper-portion4 {
    gap: 3px;
    padding: 4px 4px;
    border-radius: 15px;
  }

  .viewAll-btn-portion4 {
    padding: 10px 10px;
    font-size: 10px;
    border-radius: 12px;
  }
}
/* VIEW ALL INITIATIVES BUTTON STYLING END !!!! */

/* PORTION 5 STYLING START */
/* FOOTER SECTION STYLING */
/* ----------------------- */

a {
  text-decoration: none;
  color: inherit;
}

.footer-head-links-portion5 {
  background: linear-gradient(180deg, #e19d68 0%, #d08e59 50%, #e19d68 100%);
  border: 3px solid rgba(255, 255, 255, 1);
  border-radius: 20px;
  padding: 50px 20px;
  margin-top: -70px;
  position: relative;
  z-index: 1;
}

.text-head-link {
  font-family: Metropolis;
  font-size: 16px;
  font-weight: 400;
  line-height: 28.8px;
  text-align: center;
  color: rgba(255, 255, 255, 1);
}

.footer {
  background: linear-gradient(
    to right,
    rgba(178, 113, 61, 1),
    rgba(212, 150, 98, 1)
  );
  color: #ffffff;
  overflow: visible;
}

.heading-card-portion5 {
  color: rgba(255, 255, 255, 1);
  font-family: Metropolis !important;
  font-size: 24px;
  font-weight: 700;
  text-align: start;
}

.col-md-2 {
  margin-right: -12px;
  /* padding-left: 0; */
}

.footer-item ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-item ul li a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 1);
  font-family: Metropolis;
  font-size: 16px;
  font-weight: 400;
  line-height: 18.2px;
  gap: 5px;
}

.footer-item ul li a:hover {
  color: #dde4ea;
}

.footer-item ul li a i {
  margin-right: 0.5rem;
  font-size: 18px;
}

.text-copyrights {
  font-family: Metropolis;
  font-size: 18px;
  font-weight: 400;
  line-height: 20.8px;
  text-align: start;
}

.social-icons-footer {
  display: flex;
  justify-content: end;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  /* .footer-item {

    margin-bottom: 2rem;
    
  }  */

  .footer-head-links-portion5 {
    padding: 30px 10px;
    margin-top: -71px;
    gap: 40px;
  }

  .text-head-link {
    font-size: 14px;
  }

  .heading-card-portion5 {
    font-size: 20px;
  }

  .footer-item ul li a {
    font-size: 14px;
  }

  .text-copyrights {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .footer {
    padding-left: 0;
    padding-right: 0;
  }
  .footer-head-links-portion5 {
    padding: 20px 10px;
    margin-top: -70px;
  }
  .footer-head-links-portion5 .text-head-link {
    margin-right: 8px !important;
  }

  .text-head-link {
    font-size: 12px;
  }

  .heading-card-portion5 {
    font-size: 18px;
  }

  .footer-item ul li a {
    font-size: 12px;
  }

  .text-copyrights {
    font-size: 14px;
  }
}

/*    @media (min-width: 850px) {


        .dropdown-submenu {
            position: relative;
        }

            .dropdown-submenu .submenu-right {
                position: absolute !important;
                top: 0;
                left: 100%; 
                transform: translateX(0); 
                display: none;
                visibility: hidden; 
                min-width: 200px;
                white-space: nowrap;
                z-index: 1050;
            }

            .dropdown-submenu:hover .submenu-right {
                display: block;
            }
    }*/

/*    @media (max-width: 800px) {

        .navbar-nav .dropdown-menu {
            position: absolute !important;
        }

        .submenu-right {
            position: absolute !important;
        }

        .dropdown-submenu .submenu-right {
            position: relative !important;
            top: 0;
            display: none;
            visibility: hidden; 
            min-width: 200px;
            white-space: nowrap;
            z-index: 1050;
        }

        .dropdown-submenu:hover .submenu-right {
            display: unset;
        }
    }*/
