/* Lady Benz Brand Colors */
:root {
    --black: #000000;
    --blue: #9ba0b0;
    --silver: #d0d0d0;
    --white: #ffffff;
    --accent: var(--blue);
}
.font-size-1 {
    font-size: 0.8rem !important;
}

html, body{
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body {
    color: var(--black);
    background-color: var(--white);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}
.navbar a {
    color: var(--black);
}
.navbar a:hover {
    color: var(--accent);
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-header {
  position: relative;
  width: 100%;
  min-height: 60vh; /* Adjust height as needed */
  background: url('img/your-image.jpeg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

/* Soft gradient overlay for better text visibility */
.hero-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,rgba(0,0,0,0.3), rgba(0,0,0,0.1));
  z-index: 1;
}

/* Text stays above the gradient */
.hero-header .hero-content {
  position: relative;
  z-index: 2;
}

/* Make image colors pop */
.hero-header {
  filter: brightness(1.2) contrast(1.05);
}



/* Buttons */
.btn-primary {
    background-color: var(--black);
    border-color: var(--black);
}

.btn-secondary {
    color: color(#3E58A4);

}
.btn-first {
    color: #E3E4E4;
    border-color: var(--accent);}

.btn-first:hover {
    background-color: var(--black);
    color: #E3E4E4 !important;
    border-color: var(--black);
}
.btn-first:hover {
    background-color: var(--accent);
    color: #3E58A4 !important;
    border-color: var(--accent);
}   
.btn-primary:hover {
    background-color: grey !important;
    color: #ffffff !important;
    border-color: var(--accent);
}
.btn-outline-light:hover {
    color: var(--accent);
    background-color: var(--white);
    border-color: var(--accent);
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
}
.footer a {
    color: var(--silver);
}
.footer a:hover {
    color: var(--accent);
}


/********** Template CSS **********/
:root {
    --primary: #0B2154;
    --secondary: #0B2154;
    --light: #F2F2F2;
    --dark: #111111;
}

.fw-medium {
    font-weight: 500 !important;
}


.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}

.booking-btn {
    padding: 0 2rem !important;
    margin: 0 !important;
    background: black !important;
    color: #FFFFFF !important;
    border: none !important;
    height: 50px !important;
    width: 150px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px !important;
    text-transform: uppercase;
    margin-right: 20px !important;
    font-size: 0.8rem;
}

.booking-btn:hover {
    background: grey !important;
    color: #FFFFFF !important;
}

.close-icon{
    cursor: pointer;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

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

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

    .booking-btn {
        position: relative;
        left: 1.1rem;
        bottom: 10px;
        width: 90% !important;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 10px;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background:(0, 0, 0, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Facts ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/IMG-20250715-WA0071.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


/*** Service ***/
.service .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.service .nav .nav-link.active {
    background: var(--primary);
}

.service .nav .nav-link.active h4 {
    color: #FFFFFF !important;
}

/* FAQ  */
/* #faq,
#faq .accordion,
#faq .accordion-header,
#faq .accordion-button,
#faq .accordion-body {
  text-align: center !important;
  justify-content: center !important;
  align-items: center !important;
} */

/* Center FAQ accordion headers and buttons */
#faq .accordion-header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#faq .accordion-button {
  justify-content: center !important;
  text-align: center !important;
  width: 100%;
}

#faq .accordion-body {
  text-align: center;
}


/*** Booking ***/
.booking {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/IMG-20250715-WA0119.jpg) center center no-repeat;
    background-size: cover;
}

.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Team ***/
.team-item img{
    border-radius: 50px;
}

.team-overlay{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 123, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s; 
}

.team-item .team-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transform: scale(0);
    transition: .5s;
}

.team-item:hover .team-overlay {
    transform: scale(1);
    opacity: 1;
}

.team-item .team-overlay .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-overlay .btn:hover {
    color: #FFFFFF;
    background: var(--secondary)
}

.container{
    cursor: pointer;
}



/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 2px solid #000000;
    transition: .5s;
    border-radius: 50%;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(0, 0, 0, .9), rgba(0, 0, 0, .9)), url(../img/IMG-20250715-WA0073.jpg) center center no-repeat;
    background-size: cover;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

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

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.copyright {
    margin-bottom: 0 !important;
    padding-bottom: 4px !important;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Remove any bottom margin from last section */
section:last-of-type {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


      /* Modern card hover effect for services and team */
      .team-item, .d-flex.py-5, .d-flex.bg-light.py-5 {
        transition: box-shadow 0.2s, transform 0.2s;
      }
      .team-item:hover, .d-flex.py-5:hover, .d-flex.bg-light.py-5:hover {
        box-shadow: 0 8px 32px rgba(0,0,0,0.12);
        transform: translateY(-4px) scale(1.02);
        z-index: 2;
      }
      /* Responsive font and padding tweaks */
      @media (max-width: 767.98px) {
        .navbar-brand img { height: 36px; }
        .navbar-brand span { font-size: 1.1rem; }
        .carousel-caption { font-size: 0.95rem; padding: 0.5rem 1rem; }
        .display-5, .display-4, .display-3 { font-size: 2rem !important; }
        .footer .btn-social { width: 36px; height: 36px; font-size: 1.1rem; }
      }
      /* Improve form focus */
      .form-control:focus, .form-select:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.2rem rgba(13,110,253,.15);
      }
      /* Modern button style */
      .btn-primary, .btn-secondary {
        border-radius: 2rem;
        font-weight: 500;
        letter-spacing: 0.02em;
      }
      /* Hide duplicate service section on mobile */
      @media (max-width: 575.98px) {
        section.container.py-5:nth-of-type(2) { display: none; }
      }
      /* Fact card hover effect */
      .fact-card {
        transition: transform 0.2s, box-shadow 0.2s;
      }
      .fact-card:hover, .fact-card:focus-within {
        transform: translateY(-6px) scale(1.03);
        box-shadow: 0 8px 32px rgba(0,0,0,0.25);
      }

.flip-card {
  background: transparent;
  perspective: 1000px;
  cursor: pointer;
  outline: none;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 180px;
  text-align: center;
  transition: transform 0.6s cubic-bezier(.4,2,.6,1);
  transform-style: preserve-3d;
}
.flip-card:focus .flip-card-inner,
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}
.flip-card-front {
  z-index: 2;
}
.flip-card-back {
  transform: rotateY(180deg);
  z-index: 3;
}


.mission-card {
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.mission-card:hover .hover-content {
  opacity: 1;
  transform: translateY(0);
}

.hover-content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #ffc107;
  transition: all 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

.hse-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.hse-card:hover {
  transform: translateY(-10px);
  background: #ffc107;
  color: white;
}

.hse-card:hover i,
.hse-card:hover .card-title {
  color: white !important;
}

.hse-card .hse-hover-content {
  max-height: 0;
  opacity: 0;
  transition: all 0.3s ease;
  overflow: hidden;
}

.hse-card:hover .hse-hover-content {
  max-height: 200px;
  opacity: 1;
  margin-top: 1rem;
}

.core-value-item {
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 5px;
}

.core-value-item:hover {
  background: rgba(255, 193, 7, 0.1);
  transform: translateX(10px);
}

.hse-card {
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  cursor: pointer;
  background: #f8f9fa;
}
.hse-card:hover, .hse-card:focus-within {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  background: #fffbe6;
}
.hse-card .fa {
  transition: color 0.3s;
}
.hse-card:hover .fa, .hse-card:focus-within .fa {
  color: #ffb300 !important;
}
.hse-hover-content {
  transition: color 0.3s;
}
.hse-card:hover .hse-hover-content, .hse-card:focus-within .hse-hover-content {
  color: #333;
  font-weight: 500;
}


    .service-card {
        transition: all 0.3s ease-in-out;
        border-radius: 10px;
        cursor: pointer;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .service-card i {
        transition: all 0.3s ease;
    }
    
    .service-card:hover i {
        transform: scale(1.1);
        color: #ffc107 !important;
    }
    
    .service-card a {
        position: relative;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .service-card a::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: #ffc107;
        transition: width 0.3s ease;
    }
    
    .service-card:hover a {
        color: #ffc107 !important;
    }
    
    .service-card:hover a::after {
        width: 100%;
    }

.service-item {
    background: #ffffff;
    padding: 30px;
    transition: all 0.5s;
    border: 1px solid rgba(0,0,0,0.1);
    height: 100%;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #ffc107;
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(255,193,7,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
}

.service-item:hover .service-icon {
    background: #ffc107;
}

.service-item:hover .service-icon i {
    color: #fff !important;
}

.nav-pills .nav-link {
    border-radius: 8px;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.1);
}

.nav-pills .nav-link:hover:not(.active) {
    background: rgba(255,193,7,0.1);
    border-color: #ffc107;
}

.nav-pills .nav-link.active {
    background: #ffc107;
    color: #fff;
}

/* Mobile Responsive Improvements */

/* Base Mobile Styles */
@media (max-width: 991.98px) {
    /* Improved Navigation */
    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar-brand {
        padding: 0.5rem 0;
    }

    .navbar-toggler {
        padding: 0.4rem 0.8rem;
        margin-right: 0.5rem;
    }

    .navbar-nav {
        padding: 1rem 0;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    /* Container Padding Adjustments */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Hero Section */
    .carousel-caption {
        padding: 1rem;
    }

    .carousel-caption h1 {
        font-size: 1.8rem;
    }

    /* Services Grid */
    .service-item {
        margin-bottom: 1rem;
        padding: 1.5rem;
    }

    /* Team Section */
    .team-item {
        margin-bottom: 2rem;
    }

    /* Buttons */
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    /* Testimonials */
    .testimonial-text {
        padding: 1.5rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
    /* Typography */
    h1 {
        font-size: 1.8rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    h3 {
        font-size: 1.3rem !important;
    }

    /* Spacing */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Grid Improvements */
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .col, [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Service Cards */
    .service-icon {
        width: 60px;
        height: 60px;
    }

    /* Booking Section */
    .booking {
        padding: 2rem 1rem;
    }

    .booking-form {
        padding: 1rem;
    }

    /* Footer */
    .footer {
        text-align: center;
    }

    .footer-menu {
        justify-content: center;
    }

    .footer .btn.btn-social {
        margin: 0.3rem;
    }
}

/* Landscape Mode */
@media (max-height: 576px) and (orientation: landscape) {
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }

    .carousel-caption {
        padding: 0.5rem;
    }
}

/* Tablet Improvements */
@media (min-width: 577px) and (max-width: 991.98px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .service-item {
        margin-bottom: 2rem;
    }

    .team-item {
        margin-bottom: 2.5rem;
    }
}

/* Loading Performance */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Touch Device Optimizations */
@media (hover: none) {
    .service-item:hover,
    .team-item:hover,
    .btn:hover {
        transform: none !important;
    }

    .nav-link:active {
        background-color: rgba(0,0,0,0.05);
    }
}

/* Grid System Improvements */
.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

@media (max-width: 991.98px) {
    .row {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
}

/* Mobile Navigation Improvements */
@media (max-width: 600px) {
    /* Right-sided navigation */
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -280px; /* Start off-screen from right */
        left: auto; /* Reset left position */
        width: 280px;
        height: 100vh;
        padding: 1rem;
        background-color: var(--white);
        transition: right 0.3s ease; /* Change transition to right */
        box-shadow: -2px 0 10px rgba(0,0,0,0.1); /* Shadow on left side */
        overflow-y: auto;
        z-index: 1050;
    }

    .navbar-collapse.show {
        right: 0; /* Slide in from right */
        left: auto;
    }

    /* Navbar brand adjustments */
    .navbar-brand {
        margin-right: auto;
        padding: 0.5rem 0;
    }

    /* Toggle button positioning */
    .navbar-toggler {
        margin-left: 0.5rem;
        margin-right: 0;
        order: 2; /* Push to right */
    }

    /* Improved dropdown handling */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        background-color: rgba(0,0,0,0.02);
        border: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }

    .navbar-nav .dropdown-item {
        padding: 0.8rem 1.5rem;
        color: var(--black);
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .navbar-nav .dropdown-toggle::after {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Active states */
    .navbar-nav .dropdown-item.active,
    .navbar-nav .dropdown-item:active {
        background-color: var(--accent);
        color: var(--white);
    }

    /* Navigation items styling */
    .navbar-nav {
        margin: 0;
        padding: 1rem 0;
    }

    .navbar-nav .nav-item {
        position: relative;
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding: 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        color: var(--black);
    }

    /* Close button positioning */
    .nav-close {
        position: absolute;
        top: 1rem;
        left: 1rem; /* Move to left side */
        right: auto;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--black);
        cursor: pointer;
        z-index: 1052;
    }
}

/* Extra small device improvements */
@media (max-width: 400px) {
    .navbar-collapse {
        width: 100%; /* Full width for very small devices */
        right: -100%; /* Start fully off-screen */
    }

    .navbar-brand {
        max-width: calc(100% - 100px); /* Prevent overlap with toggle */
    }

    .navbar-brand img {
        max-width: 100%;
        height: auto;
    }

    /* Adjusted padding for better touch targets */
    .navbar-nav .nav-link,
    .navbar-nav .dropdown-item {
        padding: 1rem;
    }
}

/* Body & Container Improvements */
body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    padding-right: var(--bs-gutter-x, 1rem);
    padding-left: var(--bs-gutter-x, 1rem);
    max-width: 100%;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Mobile Content Spacing */
@media (max-width: 991.98px) {
    section {
        padding: 3rem 0;
    }

    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .row {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
    }

    .col, [class*="col-"] {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* Navigation Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.show {
    display: block;
    opacity: 1;
}

/* Prevent scroll when nav is open */
body.nav-open {
    overflow: hidden;
    padding-right: var(--scrollbar-width, 0px);
}

/* Enhanced Navigation Styles */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

/* Dropdown Improvements */
.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-top: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--black);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(155, 160, 176, 0.1);
    color: var(--accent);
    transform: translateX(5px);
}

/* Mobile Navigation Refinements */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .dropdown-menu {
        background-color: rgba(155, 160, 176, 0.05);
        border: none;
        box-shadow: none;
    }

    .dropdown-item {
        padding: 0.8rem 2rem;
        border-left: 3px solid transparent;
    }

    .dropdown-item:hover {
        border-left-color: var(--accent);
        transform: none;
    }
}

/* Enhanced Navigation Interactions */
.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: all 0.3s ease;
    opacity: 0;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
    opacity: 1;
}

.dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(-180deg);
}

/* Active State Improvements */
.nav-link.active {
    color: var(--accent);
}

.nav-link.active::after {
    width: 100%;
    left: 0;
    opacity: 1;
}

.dropdown-item.active {
    background-color: rgba(155, 160, 176, 0.1);
    color: var(--accent);
}

.carousel-img {
  width: 100%;
  aspect-ratio: 16/9; /* responsive */
  object-fit: cover;
}

.carousel-caption {
  background: rgba(0,0,0,0.4);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}
.carousel-caption h1 {
  font-size: 2rem;
  font-weight: 700;
}