/* Add Lexend font import */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;600&display=swap');

/* Fonts */
:root {
  --default-font: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Lexend", sans-serif;
  --nav-font: "Lexend", sans-serif;
}

/* Apply Lexend font to body, headings*



/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #433f39; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #B11226; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #000000;  /* The default color of the main navmenu links */
  --nav-hover-color: #B11226; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #B11226; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #fffaf3;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #1e160d;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #42301c;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0.726);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}

.header .topbar {
  --background-color: rgba(255, 255, 255, 0.726);
  padding: 10px 0 0 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--accent-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.header .topbar .cta-btn {
  color: transparent;
  background: transparent;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 6px 30px 8px 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .topbar .cta-btn:hover {
  background: transparent;
}

.header .branding {
  min-height: 60px;
  padding: 5px 0;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(255, 255, 255, 0.726);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 14px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0 0 0;
  position: relative;
}

.footer .icon {
  color: var(--accent-color);
  margin-right: 15px;
  font-size: 24px;
  line-height: 0;
}

.footer h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer .address p {
  margin-bottom: 0px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 5px;
  font-size: 13px;
}

.footer .footer-image {
  width: 100%;
  height: auto;
  max-height: 120px; /* Adjust this to control image height */
  object-fit: contain;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 160px 0 60px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 112px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 105px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: inline-block;
  text-transform: uppercase;
  border-radius: 50px;
  font-family: var(--default-font);
}

.section-title div {
  color: var(--heading-color);
  margin: 10px 0 0 0;
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
}

.section-title div .description-title {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 0;
}

.hero .carousel {
  width: 100%;
  min-height: 60vh;
  padding: 0;
  margin: 0;
  background-color: var(--background-color);
  position: relative;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  animation: zoomInSlow 5s ease-in-out forwards; /* Smooth zoom in over 5 seconds */
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero .carousel-item:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 80%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .carousel-container {
  position: absolute;
  inset: 90px 64px 64px 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 3;
}

.hero h1 {
  margin-top: 80px !important;
  font-size: 48px;
  font-weight: 700;
  animation: slideInLeft 2s both;
}

.hero h2 {
  margin-top: 80px !important;
  font-size: 48px;
  font-weight: 700;
  animation: slideInLeft 2s both;
}

.hero h2 span {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 30px;
  }
  .hero h1 {
    font-size: 30px;
  }
}

.hero p {
  animation: slideInUp 2s both 0.2s;
}

@media (min-width: 1024px) {

  .hero h2,
  .hero h1,
  .hero p {
    max-width: 60%;
  }
}

.hero h2, .hero h1, .hero p {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero .carousel-item.active h2,
.hero .carousel-item.active h1,
.hero .carousel-item.active p {
  opacity: 1;
  transform: translateY(0);
}


.hero .btn-get-started {
  color: var(--contrast-color);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px 5px;
  animation: fadeInUp 1s both 0.4s;
  border: 2px solid var(--accent-color);
}

.hero .btn-get-started:hover {
  background: var(--accent-color);
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  width: 10%;
  transition: 0.3s;
  opacity: 0.5;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

@media (min-width: 1024px) {

  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    width: 5%;
  }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 32px;
  line-height: 1;
}

.hero .carousel-indicators {
  list-style: none;
}

.hero .carousel-indicators li {
  cursor: pointer;
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-200px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomInSlow {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1); /* Medyo mag-zoom in ng 10% */
  }
}

.about {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    padding: 60px 20px;
  }
  
  .about .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }
  
  .overview-container {
    background: #fff;
    border-radius: 12px;
    padding: 30px 40px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    animation: fadeInUp 0.8s ease forwards;
  }
  
  .overview-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #B11226;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
  }
  
  .overview-title h2::after {
    content: '';
    width: 50px;
    height: 3px;
    background-color: #B11226;
    display: block;
    margin: 10px auto 0;
    border-radius: 5px;
  }
  
  .overview-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-top: 20px;
  }
  
  .fst-italic {
    font-style: italic;
    color: #777;
  }
  
  /* Animations */
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @media (max-width: 768px) {
    .overview-container {
      padding: 20px;
      text-align: left;
    }
  
    .overview-title h2 {
      font-size: 2rem;
      text-align: left;
    }
  
    .overview-title h2::after {
      margin-left: 0;
      transform: none;
    }
  
    .overview-description {
      font-size: 1rem;
      text-align: left;
    }
  }
  
  
/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/

#why-us .span{
  font-size: 60px;;
}
#why-us {
  font-family: "Poppins", sans-serif;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

#why-us .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 40px 0;
}

#why-us .card {
  position: relative;
  min-width: 320px;
  height: 440px;
  box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
    inset -5px -5px 15px rgba(255, 255, 255, 0.1),
    5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  margin: 30px;
  transition: 0.5s;
}

#why-us .card:nth-child(1) .box .content a {
  background: #2196f3;
}

#why-us .card:nth-child(2) .box .content a {
  background: #e91e63;
}

#why-us .card:nth-child(3) .box .content a {
  background: #23c186;
}

#why-us .card .box {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #2a2b2f;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: 0.5s;
}

#why-us .card .box:hover {
  transform: translateY(-50px);
}

#why-us .card .box:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
}

#why-us .card .box .content {
  padding: 20px;
  text-align: center;
}

#why-us .card .box .content h2 {
  position: absolute;
  top: -10px;
  right: 30px;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.1);
}

#why-us .card .box .content h3 {
  font-size: 1.8rem;
  color: #fff;
  z-index: 1;
  transition: 0.5s;
  margin-bottom: 15px;
}

#why-us .card .box .content p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  z-index: 1;
  transition: 0.5s;
}

#why-us .card .box .content a {
  position: relative;
  display: inline-block;
  padding: 8px 20px;
  background: black;
  border-radius: 5px;
  text-decoration: none;
  color: white;
  margin-top: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: 0.5s;
}

#why-us .card .box .content a:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
  background: #fff;
  color: #000;
}

/* Modern boxed text style */
#why-us .section-header {
  text-align: center;
  margin-bottom: 40px;
}

#why-us .box-text {
  display: inline-block;
  font-size: 70px;
  font-weight: 800;
  padding: 20px 40px;
  margin: 10px 0;
  background-color: #f5f5f5;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  color: #222;
  transition: transform 0.3s ease;
}

/* Highlight the brand name */
#why-us .highlight {
  background-color: #B11226;
  color: white;
}

/* Hover effect (optional) */
#why-us .box-text:hover {
  transform: scale(1.02);
}

/* Slide animations */
.slide-left {
  animation: slideInLeft 2s ease forwards;
}

.slide-right {
  animation: slideInRight 3s ease forwards;
  animation-delay: 0.3s;
}


@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-200px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(200px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* MOBILE RESPONSIVE LAYOUT */
@media (max-width: 768px) {
  #why-us {
    flex-direction: column;
    padding: 40px 20px;
  }

  #why-us .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
  }

  #why-us .card {
    margin: 30px 0;
    width: 90%;
    height: auto;
  }

  #why-us .card .box {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    height: 100%;
  }

  #why-us .card .box .content h2 {
    font-size: 4rem;
    position: static;
    margin-bottom: 10px;
  }

  #why-us .card .box .content h3 {
    font-size: 1.5rem;
  }

  #why-us .card .box .content p {
    font-size: 0.95rem;
  }

  #why-us .section-header {
    margin-bottom: 20px;
  }

  #why-us .box-text {
    font-size: 32px;
    padding: 12px 20px;
    margin: 8px 0;
    word-break: break-word;
  }
}


/*--------------------------------------------------------------
# Menu Section
--------------------------------------------------------------*/
.menu .menu-filters {
  padding: 0;
  margin: 0 auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
}

.menu .menu-filters li {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 10px;
  cursor: pointer;
  display: inline-block;
  padding: 8px 12px 10px 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  transition: all ease-in-out 0.3s;
  font-family: var(--heading-font);
}

.menu .menu-filters li:hover,
.menu .menu-filters li.filter-active {
  color: var(--accent-color);
}

.menu .menu-filters li:last-child {
  margin-right: 0;
}

.menu .menu-item {
  margin-top: 50px;
  position: relative;
}

.menu .menu-img {
  width: 80px;
  border-radius: 50%;
  float: left;
  border: 8px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.menu .menu-content {
  margin-left: 95px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.menu .menu-content::after {
  content: "......................................................................" "...................................................................." "....................................................................";
  position: absolute;
  left: 20px;
  right: 0;
  top: -4px;
  z-index: 1;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.menu .menu-content a {
  color: var(--heading-color);
  background: var(--background-color);
  padding-right: 10px;
  position: relative;
  z-index: 3;
  font-weight: 700;
  transition: 0.3s;
}

.menu .menu-content a:hover {
  color: var(--accent-color);
}

.menu .menu-content span {
  background: var(--background-color);
  color: var(--accent-color);
  position: relative;
  z-index: 3;
  padding: 0 10px;
  font-weight: 600;
}

.menu .menu-ingredients {
  margin-left: 95px;
  font-style: italic;
  font-size: 14px;
  font-family: var(--nav-font);
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Specials Section
--------------------------------------------------------------*/
.specials {
  overflow: hidden;
}

.specials .nav-tabs {
  border: 0;
}

.specials .nav-link {
  border: 0;
  padding: 12px 15px 12px 0;
  transition: 0.3s;
  color: var(--default-color);
  border-radius: 0;
  border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
}

.specials .nav-link:hover {
  color: var(--accent-color);
}

.specials .nav-link.active {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background-color: var(--background-color);
}

.specials .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.specials .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.specials .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.specials .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .specials .nav-link {
    border: 0;
    padding: 15px;
  }

  .specials .nav-link.active {
    color: var(--accent-color);
    background: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
.events {
  --default-color: #ffffff;
  --background-color: #000000;
  --heading-color: #ffffff;
  padding: 80px 0;
  position: relative;
}

.events .slider-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.events:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.events .section-title h2 {
  color: #ffffff;
}

.events .container {
  position: relative;
  z-index: 3;
}

.events .event-item h3 {
  font-weight: 700;
  font-size: 30px;
}

.events .event-item .price {
  font-size: 26px;
  font-family: var(--default-font);
  font-weight: 700;
  margin-bottom: 15px;
}

.events .event-item .price span {
  border-bottom: 2px solid var(--accent-color);
}

.events .event-item ul {
  list-style: none;
  padding: 0;
}

.events .event-item ul li {
  padding-bottom: 10px;
}

.events .event-item ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.events .event-item p:last-child {
  margin-bottom: 0;
}

.events .swiper-wrapper {
  height: auto;
}

.events .swiper-pagination {
  margin-top: 30px;
  position: relative;
}

.events .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 70%);
  opacity: 1;
}

.events .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Book A Table Section
--------------------------------------------------------------*/
.book-a-table .reservation-img {
  min-height: 500px;
  background-size: cover;
  background-position: center;
}

.book-a-table .reservation-form-bg {
  background: color-mix(in srgb, var(--default-color), transparent 97%);
}

.book-a-table .php-email-form {
  padding: 30px;
}

@media (max-width: 575px) {
  .book-a-table .php-email-form {
    padding: 20px;
  }
}

.book-a-table .php-email-form input[type=text],
.book-a-table .php-email-form input[type=email],
.book-a-table .php-email-form input[type=number],
.book-a-table .php-email-form input[type=date],
.book-a-table .php-email-form input[type=time],
.book-a-table .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 20%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.book-a-table .php-email-form input[type=text]:focus,
.book-a-table .php-email-form input[type=email]:focus,
.book-a-table .php-email-form input[type=number]:focus,
.book-a-table .php-email-form input[type=date]:focus,
.book-a-table .php-email-form input[type=time]:focus,
.book-a-table .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.book-a-table .php-email-form input[type=text]::placeholder,
.book-a-table .php-email-form input[type=email]::placeholder,
.book-a-table .php-email-form input[type=number]::placeholder,
.book-a-table .php-email-form input[type=date]::placeholder,
.book-a-table .php-email-form input[type=time]::placeholder,
.book-a-table .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.book-a-table .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 14px 60px;
  transition: 0.4s;
  border-radius: 4px;
}

.book-a-table .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  overflow: hidden;
  border-right: 3px solid var(--background-color);
  border-bottom: 3px solid var(--background-color);
}

.gallery .gallery-item img {
  transition: all ease-in-out 0.4s;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Chefs Section
--------------------------------------------------------------*/
.chefs .member {
  position: relative;
}

.chefs .member .pic {
  overflow: hidden;
  margin-bottom: 50px;
}

.chefs .member .member-info {
  background-color: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: -50px;
  left: 20px;
  right: 20px;
  padding: 20px 15px;
  overflow: hidden;
  transition: 0.5s;
}

.chefs .member h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  position: relative;
  padding-bottom: 10px;
  font-family: var(--default-font);
}

.chefs .member h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  bottom: 0;
  left: 0;
}

.chefs .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.chefs .member .social {
  position: absolute;
  right: 15px;
  bottom: 15px;
}

.chefs .member .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.chefs .member .social a:hover {
  color: var(--accent-color);
}

.chefs .member .social i {
  font-size: 16px;
  margin: 0 2px;
}

#chef * {
    box-sizing: border-box;
  }
  
  #chef html {
    font-family: sans-serif;
    font-weight: 300;
    color: hsl(0 0% 15%);
  }
  
  #chef h2 {
    font-weight: 400;
    margin: 2rem 0 0.25rem 0;
  }
  
  #chef h1 {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    opacity: 0.5;
    margin: 0;
  }
  
  #chef p {
    margin: 0;
  }
  
  #chef body {
    display: grid; 
    place-items: center;
    min-height: 100vh;
  }
  
  #chef figure {
    width: 500px;
    aspect-ratio: 8 / 5;
    --bg: hsl(330 80% calc(90% - (var(--hover) * 10%)));
    --accent: hsl(0, 5%, 7%);
    transition: background 0.2s;
    background:
      radial-gradient(circle at top left, var(--accent), transparent 75%),
      var(--bg);
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
  }
  
  #chef figure:after {
    content: "";
    position: absolute;
    width: 20%;
    aspect-ratio: 1;
    border-radius: 50%;
    bottom: 0%;
    left: 10%;
    background: linear-gradient(-65deg, var(--bg) 50%, var(--accent) 50%);
    filter: blur(25px);
    transform:
      translateX(calc(var(--hover) * 15%))
      scale(calc(1 + (var(--hover) * 0.2)));
    transition: transform 0.2s, background 0.2s;
  }
  
  #chef img {
    position: absolute;
    left: 20%;
    top: 15%;
    width: 40%;
    transform:
      translateX(calc(var(--hover) * -15%))
      scale(calc(1 + (var(--hover) * 0.2)));
    transition: transform 0.2s;
  }
  
  #chef article {
    --hover: 0;
  }
  
  #chef article:hover {
    --hover: 1;
  }
  

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  position: relative;
}

.testimonials:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.testimonials .testimonials-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.testimonials .container {
  position: relative;
  z-index: 3;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 85%);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  margin: 0 0 15px 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 50%);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--default-color);
  opacity: 1;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}


/* Layout styles */
#maps .container {
  max-width: 1600px; /* Wider container */
  margin: 0 auto;
  padding: 40px 20px;
}

.map-stats-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

/* Map Section */
.map-section {
  flex: 1 1 65%; /* Make map wider */
}

/* MAP SECTION HEADERS */
.map-section h2 {
  font-size: 3.2rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #111;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  animation: fadeUp 1s ease-out;
}

.map-section p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
  animation: fadeUp 1s ease-out;
  animation-delay: 0.1s;
  animation-fill-mode: both;
}

#container {
  height: 520px;
  width: 100%;
  margin-top: 20px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Stats Section */
.stats-section {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-box {
  background-color: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* STATS SECTION HEADERS */
.stats-section h3 {
  font-size: 2.4rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  animation: fadeUp 1s ease-out;
}

.stat-box h4 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #B11226;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

.stat-box p {
  margin-top: 10px;
  font-size: 1.05rem;
  color: #666;
  line-height: 1.5;
}

/* Counter animation */
.counter {
  font-weight: bold;
  display: inline-block;
}

/* Responsive tweak */
@media (max-width: 768px) {
  .map-stats-wrapper {
    flex-direction: column;
  }

  .stats-section,
  .map-section {
    width: 100%;
  }

  .stat-box {
    padding: 20px;
  }
}

  /* Section Wrapper */
  .product-section {
    padding: 60px 20px;
    max-width: 1800px;
    margin: 0 auto;
  }
  
  /* Grid Layout */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  
  /* Product Card */
  .product-card {
    position: relative;
    height: 280px;  
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  
  /* Hover Effect */
  .product-card:hover {
    transform: scale(1.05);
    filter: brightness(0.7);
    color: #B11226;
  }
  
  /* Product Name Overlay */
  .product-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    text-align: center;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    padding: 12px 24px;
    border-radius: 8px;
  }
  
  /* Responsive: 2 columns on tablets, 1 column on mobile */
  @media (max-width: 992px) {
    .product-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 576px) {
    .product-grid {
      grid-template-columns: 1fr;
    }
  }
  
  #rawmats {
    font-family: sans-serif;
  }
  
  #rawmats *,
  #rawmats *:before,
  #rawmats *:after {
    box-sizing: border-box;
  }
  
  #rawmats .text-center {
    text-align: center;
  }
  
  #rawmats .color-white {
    color: #fff;
  }
  
  #rawmats .box-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 35px 15px;
    width: 100%;
  }
  
  @media screen and (min-width: 1000px) {
    #rawmats .box-container {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
    }
  }
  
  #rawmats .box-item {
    position: relative;
    -webkit-backface-visibility: hidden;
    width: 415px;
    margin: 20px;
    max-width: 100%;
  }
  
  #rawmats .flip-box {
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    perspective: 1000px;
    -webkit-perspective: 1000px;
    position: relative;
  }
  
  #rawmats .flip-box-front,
  #rawmats .flip-box-back {
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    min-height: 475px;
    transition: transform 0.7s cubic-bezier(.4, .2, .2, 1);
    -webkit-transition: transform 0.7s cubic-bezier(.4, .2, .2, 1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  
  #rawmats .flip-box-front {
    transform: rotateY(0deg);
  }
  
  #rawmats .flip-box:hover .flip-box-front {
    transform: rotateY(-180deg);
  }
  
  #rawmats .flip-box-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: rotateY(180deg);
  }
  
  #rawmats .flip-box:hover .flip-box-back {
    transform: rotateY(0deg);
  }
  
  #rawmats .flip-box .inner {
    position: absolute;
    left: 0;
    width: 100%;
    padding: 60px;
    outline: 1px solid transparent;
    perspective: inherit;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%) translateZ(60px) scale(.94);
  }
  
  #rawmats .flip-box-header {
    font-size: 34px;
    color: white;
  }
  
  #rawmats .flip-box p {
    font-size: 20px;
    line-height: 1.5em;
  }
  
  #rawmats .flip-box-img {
    margin-top: 25px;
    max-width: 80px;
  }
  
  #rawmats .flip-box-button {
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    margin-top: 25px;
    padding: 15px 20px;
    text-transform: uppercase;
  }

  #rawmats .flip-box-button:hover {
    background-color: #fff; /* Background changes to white on hover */
    color: #000; /* Text color changes to black on hover */
    /* You can adjust these colors to match your design */
}

  #rawmats .flip-box-front::before,
#rawmats .flip-box-back::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.336); /* dark transparent layer */
  z-index: 1;
  border-radius: 8px;
}


.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-out;
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: #fff;
  border-radius: 10px;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(50px);
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
  opacity: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  
  /* Custom scrollbar styles */
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: #810d1d #f1f1f1; /* For Firefox */
}

/* Custom scrollbar for Chrome, Edge, Safari */
.modal-container::-webkit-scrollbar {
  width: 12px;
}

.modal-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 0 10px 10px 0;
}

.modal-container::-webkit-scrollbar-thumb {
  background-color: #810d1d;
  border-radius: 20px;
  border: 3px solid #f1f1f1;
}

.modal-container::-webkit-scrollbar-thumb:hover {
  background-color: #6d0917;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
  opacity: 1;
}

.modal-header {
  padding: 20px;
  background: #810d1d;
  color: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-title {
  margin: 0 auto;
  font-size: 1.8rem;
  color: white;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.modal-close:hover {
  transform: rotate(90deg);
}

.modal-content-wrapper {
  padding: 25px;
}

.modal-images-row {
  display: flex;
  gap: 20px; /* Space between images */
  margin-bottom: 30px;
}


.modal-image {
  width: 100%;
  height: 350px; /* Fixed height for consistency */
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover; /* Changed from 'fill' to 'cover' for better aspect ratio */
}

.modal-text-content {
  flex: 0 0 60%;
  display: flex;
  flex-direction: column;
}

.secondary-image {
  width: 100%;
  max-height: 300px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: fill;
  margin-bottom: 20px;
}

/* Adjust the main image container */
.modal-image-container {
  flex: 1; /* Both containers will take equal space */
  position: relative;
}

.modal-description {
  line-height: 1.7;
  color: #333;
  font-size: 1.1rem;
}

/* For SINGLE large image */
.modal-single-image-container {
  width: 100%;
  margin-bottom: 30px;
}

.modal-image-single {
  width: 100%;
  max-height: 500px;
  object-fit: cover; /* or 'cover' depending on preference */
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.features-section {
  width: 100%;
  border-top: 1px solid #eee;
  padding-top: 25px;
}

.features-title {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
  position: relative;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature-card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #eee;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background: #6d0917;
  color: white;
}

.feature-card:hover .feature-icon {
  color: #e93b3b;
  transform: scale(1.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #800d1c;
  transition: all 0.3s ease;
}

.feature-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card:hover .feature-name{
  color: white;
}

.feature-desc {
  font-size: 0.95rem;
  color: #666;
}

.feature-card:hover .feature-desc {
  color: #eee;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .modal-images-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .modal-image {
    height: 300px; /* Slightly smaller height on tablets */
  }
  
  .modal-image-container {
    padding-right: 0;
    padding-bottom: 25px;
    flex: 1;
  }
  
  .modal-text-content {
    flex: 1;
  }
  
  .features-title {
    text-align: center;
  }
  
  .features-title:after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .modal-container {
    width: 95%;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .modal-image {
    height: 250px; /* Smaller height on mobile */
  }
  
  .modal-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-content-wrapper {
    padding: 15px;
  }
  
  .modal-image {
    max-height: 250px;
  }
}


/* Logo Styling */
.header-logo {
  width: 200px;
  height: 100px;
  object-fit: contain; /* Ensures image maintains aspect ratio */
  position: absolute;
  left: -20px;
  top: 5%;
  transform: translateY(-50%);
  z-index: 1000;
}

/* Navbar Container */
.branding {
  position: relative;
  min-height: 200px; /* Matches logo height */
  padding-left: 420px; /* Logo width + 20px spacing */
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
  .header-logo {
    width: 300px;
    height: 110px;
    top: -7px;
  }
}

@media (max-width: 992px) {
  .header-logo {
    width: 250px;
    height: 80px;
  }
}

@media (max-width: 768px) {
  .header-logo {
    width: 200px;
    height: 80px;
    top: -7px;
  }
}

/* Modern Connect Modal Styles */
.connect-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.connect-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(177, 18, 38, 0.95) 0%, rgba(30, 10, 15, 0.95) 100%);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.connect-modal-container {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  margin: auto;
  background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(177, 18, 38, 0.3), 0 0 0 1px rgba(177, 18, 38, 0.1);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.9) translateY(30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.connect-modal.active {
  display: flex;
}

.connect-modal.active .connect-modal-overlay {
  opacity: 1;
}

.connect-modal.active .connect-modal-container {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.connect-modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  height: auto;
  max-height: 100%;
}

.connect-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(177, 18, 38, 0.1);
  border: none;
  cursor: pointer;
  z-index: 10;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connect-modal-close:hover {
  background: #b11226;
  color: #ffffff;
  transform: rotate(90deg);
  box-shadow: 0 4px 12px rgba(177, 18, 38, 0.3);
}

.connect-modal-close svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Modal Header */
.connect-modal-header {
  padding: 3rem 2.5rem 2rem;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, #b11226 0%, #8e0e1f 100%);
  color: white;
}

.modal-icon {
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.modal-icon svg {
  width: 3rem;
  height: 3rem;
  stroke: #ffffff;
}

.connect-modal-header h3 {
  color: #ffffff;
  margin: 0 0 0.75rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.connect-modal-header p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.connect-modal-body {
  padding: 2.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex-grow: 1;
}

.floating-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  height: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}

.form-group {
  position: relative;
  margin: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.2rem 1rem 0.6rem;
  font-size: 1rem;
  border: none;
  border-bottom: 2px solid #e0e0e0;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  appearance: none;
  color: #333;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
  padding-top: 1.5rem;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b11226' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1.25rem;
}

.form-group label {
  position: absolute;
  top: 1.2rem;
  left: 0;
  color: #999;
  font-size: 1rem;
  font-weight: 500;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left center;
}

.form-group .underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #b11226 0%, #8e0e1f 100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus and Valid States */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: transparent;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
  top: 0;
  font-size: 0.8rem;
  color: #b11226;
  font-weight: 600;
  transform: translateY(-0.25rem);
}

.form-group input:focus ~ .underline,
.form-group select:focus ~ .underline,
.form-group textarea:focus ~ .underline {
  width: 100%;
}

.form-footer {
  margin-top: auto;
  padding-top: 1.5rem;
}

.connect-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, #b11226 0%, #8e0e1f 100%);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(177, 18, 38, 0.3);
  position: relative;
  overflow: hidden;
}

.connect-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.connect-submit-btn:hover::before {
  left: 100%;
}

.connect-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(177, 18, 38, 0.4);
}

.connect-submit-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(177, 18, 38, 0.3);
}

.connect-submit-btn svg {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.connect-submit-btn:hover svg {
  transform: translateX(4px);
}

/* Responsive Breakpoints */
@media (min-width: 480px) {
  .connect-modal {
    padding: 1rem;
  }
  .connect-modal-container {
    max-height: 90vh;
  }
  .connect-modal-body {
    padding: 2.5rem;
  }
}

/* Small Mobile (360x600) */
@media (max-height: 600px) {
  .connect-modal-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  .connect-modal-header h3 {
    font-size: 1.5rem;
  }
  .modal-icon {
    width: 60px;
    height: 60px;
  }
  .modal-icon svg {
    width: 2rem;
    height: 2rem;
  }
  .form-group textarea {
    min-height: 80px;
  }
  .connect-modal-body {
    padding: 1.5rem;
  }
}

/* Tall Mobile (390x844) */
@media (min-height: 700px) and (max-height: 900px) {
  .connect-modal-container {
    max-height: 90vh;
  }
}

/* Tablet/Landscape (1114x705) */
@media (min-width: 768px) and (max-height: 800px) {
  .connect-modal-container {
    max-height: 90vh;
  }
  .connect-modal-body {
    max-height: calc(90vh - 200px);
  }
}

/* Desktop (1366x768) */
@media (min-width: 1024px) {
  .connect-modal-container {
    max-height: 90vh;
  }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
  .connect-modal-header {
    padding: 1rem 1.5rem 0.75rem;
  }
  .connect-modal-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
  }
  .connect-modal-header p {
    font-size: 0.9rem;
  }
  .modal-icon {
    margin-bottom: 0.5rem;
    width: 50px;
    height: 50px;
  }
  .modal-icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }
  .connect-modal-body {
    padding: 1rem 1.5rem;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.8rem 1rem 0.4rem;
  }
  .form-group label {
    top: 0.8rem;
    font-size: 0.9rem;
  }
  .form-group input:focus ~ label,
  .form-group input:not(:placeholder-shown) ~ label,
  .form-group select:focus ~ label,
  .form-group select:valid ~ label,
  .form-group textarea:focus ~ label,
  .form-group textarea:valid ~ label {
    top: 0;
    font-size: 0.75rem;
  }
  .form-group textarea {
    min-height: 60px;
  }
  .floating-form {
    gap: 1.25rem;
  }
  .form-grid {
    gap: 1.25rem;
  }
  .connect-submit-btn {
    padding: 0.9rem 1.5rem;
  }
}

/* Mobile Devices - General */
@media (max-width: 768px) {
  .connect-modal-container {
    max-height: 95vh;
    border-radius: 20px;
  }
  
  .connect-modal-header {
    padding: 1.5rem 1.25rem 1rem;
  }
  
  .modal-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.75rem;
    border-radius: 12px;
  }
  
  .modal-icon svg {
    width: 1.75rem;
    height: 1.75rem;
  }
  
  .connect-modal-header h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
  }
  
  .connect-modal-header p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .connect-modal-body {
    padding: 1.25rem;
  }
  
  .floating-form {
    gap: 1.25rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 1rem 0.75rem 0.5rem;
    font-size: 0.9rem;
  }
  
  .form-group label {
    font-size: 0.9rem;
    top: 1rem;
  }
  
  .form-group input:focus ~ label,
  .form-group input:not(:placeholder-shown) ~ label,
  .form-group select:focus ~ label,
  .form-group select:valid ~ label,
  .form-group textarea:focus ~ label,
  .form-group textarea:valid ~ label {
    font-size: 0.75rem;
  }
  
  .form-group textarea {
    min-height: 80px;
    padding-top: 1.25rem;
  }
  
  .form-footer {
    padding-top: 1rem;
  }
  
  .connect-submit-btn {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .connect-modal-close {
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
  }
  
  .connect-modal-close svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
  .connect-modal-header h3 {
    font-size: 1.25rem;
  }
  
  .connect-modal-header p {
    font-size: 0.8rem;
  }
  
  .modal-icon {
    width: 45px;
    height: 45px;
  }
  
  .modal-icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  .connect-modal-body {
    padding: 1rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 0.85rem;
    padding: 0.9rem 0.5rem 0.4rem;
  }
  
  .form-group label {
    font-size: 0.85rem;
    top: 0.9rem;
  }
  
  .form-group textarea {
    min-height: 70px;
  }
  
  .connect-submit-btn {
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* Short screens - prioritize fitting everything */
@media (max-height: 700px) {
  .connect-modal-container {
    max-height: 98vh;
  }
  
  .connect-modal-header {
    padding: 1.25rem 1.25rem 0.75rem;
  }
  
  .modal-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 0.5rem;
  }
  
  .modal-icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  .connect-modal-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
  }
  
  .connect-modal-header p {
    font-size: 0.8rem;
  }
  
  .connect-modal-body {
    padding: 1rem;
  }
  
  .floating-form {
    gap: 1rem;
  }
  
  .form-grid {
    gap: 1rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.85rem 0.75rem 0.4rem;
    font-size: 0.85rem;
  }
  
  .form-group label {
    font-size: 0.85rem;
    top: 0.85rem;
  }
  
  .form-group textarea {
    min-height: 60px;
  }
  
  .form-footer {
    padding-top: 0.75rem;
  }
  
  .connect-submit-btn {
    padding: 0.8rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* Very short mobile screens */
@media (max-width: 768px) and (max-height: 600px) {
  .connect-modal-container {
    max-height: 99vh;
    border-radius: 16px;
  }
  
  .connect-modal-header {
    padding: 1rem 1rem 0.5rem;
  }
  
  .modal-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.35rem;
  }
  
  .modal-icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }
  
  .connect-modal-header h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }
  
  .connect-modal-header p {
    font-size: 0.75rem;
  }
  
  .connect-modal-body {
    padding: 0.75rem;
  }
  
  .floating-form {
    gap: 0.85rem;
  }
  
  .form-grid {
    gap: 0.85rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.75rem 0.5rem 0.35rem;
    font-size: 0.8rem;
  }
  
  .form-group label {
    font-size: 0.8rem;
    top: 0.75rem;
  }
  
  .form-group input:focus ~ label,
  .form-group input:not(:placeholder-shown) ~ label,
  .form-group select:focus ~ label,
  .form-group select:valid ~ label,
  .form-group textarea:focus ~ label,
  .form-group textarea:valid ~ label {
    font-size: 0.7rem;
  }
  
  .form-group textarea {
    min-height: 50px;
  }
  
  .form-footer {
    padding-top: 0.5rem;
  }
  
  .connect-submit-btn {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    border-radius: 12px;
  }
  
  .connect-modal-close {
    width: 32px;
    height: 32px;
  }
}

/* Laptop screens */
@media (max-width: 1366px) and (max-height: 768px) {
  .connect-modal-body {
    max-height: calc(90vh - 200px);
    padding: 2rem;
  }
}

/* Tall mobile devices */
@media (max-width: 428px) and (min-height: 800px) {
  .connect-modal-header {
    padding: 1.75rem 1.5rem 1.25rem;
  }
  .connect-modal-body {
    padding: 1.5rem;
  }
}

.get-connected-btn {
  background-color: #B11226;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 16px;
}

.get-connected-btn:hover {
  background-color: #8e0e1f; /* darker shade of #B11226 */
  transform: translateY(-2px);
}

.search-wrapper {
  margin-left: 1rem;
  display: flex;
  align-items: center;
  position: relative;
}

.search-toggle {
  cursor: pointer;
  font-size: 1.4rem;
  color: #333;
  transition: opacity 0.3s ease;
}

.search-toggle:hover{
  color: #B11226
}

.search-form {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  width: 0;
  opacity: 0;
  transition: width 0.3s ease, opacity 0.3s ease;
}

.search-form input {
  border: 1px solid #ccc;
  padding: 5px 10px;
  border-radius: 4px;
  width: 180px;
}

.search-form.expanded {
  width: 200px;
  opacity: 1;
}

.search-form.collapsed {
  width: 0;
  opacity: 0;
}

@media (max-width: 768px) {
  .search-form input {
    width: 100%;
  }
}

.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    padding: 1rem;
    box-sizing: border-box;
  }

  .success-popup-content {
    background-color: #fff;
    color: #b11226;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    animation: fadeInScale 0.3s ease;
    max-width: 90%;
    width: 100%;
  }

  @keyframes fadeInScale {
    from {
      transform: scale(0.9);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }

  /* Responsive text and padding on small screens */
  @media (max-width: 480px) {
    .success-popup-content {
      font-size: 14px;
      padding: 16px 20px;
      border-radius: 8px;
    }
  }