/* General Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}
/*---------------------------------navbar styling------------------------------------------------------------------------*/
/* Navbar Container */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(to right, #ececec, #ebebeb);
  box-shadow: 9px 9px 16px #bebebe, -9px -9px 16px #ffffff;
  border-radius: 0 0 20px 20px;
  position: relative;
  z-index: 10; 
  height: 80px;
}

.logo h3{
font-size: 22px;
}

.white{
color: rgb(248, 248, 248);
font-family: "Rubik Wet Paint", system-ui;
font-weight: 200;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.brand-name{
font-family: "Rubik Wet Paint", system-ui;
font-weight: 200;
color: rgb(255, 166, 1);
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subscript{
font-family: 'Courier New', Courier, monospace;
color: rgb(26, 26, 26);
margin-top: -2px; /* Adjust spacing as needed */
display: block;
margin-left: 4rem;
} 

/* Fixed width for navbar buttons */
.menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.menu li a {
  text-decoration: none;
  color: #333;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease-in-out;
  background: linear-gradient(to right, #ececec, #ebebeb);
  box-shadow: 9px 9px 16px #bebebe, -9px -9px 16px #ffffff;
  width: 150px; /* Fixed width for navbar buttons */
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu li a:hover {
  background-color: #e0e5ec;
  box-shadow: 9px 9px 16px #bebebe, -9px -9px 16px #ffffff;
  transform: translateY(-3px); /* Hover 3D lift */
}

.menu li a:active {
  box-shadow: inset 6px 6px 12px #bababa, inset -6px -6px 12px #ffffff;
  transform: translateY(2px); /* Pressed down look */
}

@media (min-width: 769px) and (max-width: 1024px){
  .menu li a{
    
    width: 80px;
    align-items: center;
    justify-content: center;
    }
    }

  @media (min-width: 1025px) and (max-width: 1400px){
    .menu li a{  
     width: 125px;
      align-items: center;
       justify-content: center;
       }
       } 
/*---------------------------------hamburger styling------------------------------------------------------------------------*/
/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 150; /* Ensure hamburger is always above the menu */
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background-color: #333;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background-color: #333;
}

.hamburger:hover span {
  background-color: #555;
}
/*---------------------------------Logo toggle button styling--------------------------------------------------------------------*/
.dark-mode-toggle img{
  width: 38px;
  height: auto;
}
/*---------------------------------side panel styling------------------------------------------------------------------------*/
/* Responsive for small screens */
@media (max-width: 800px) {
  .menu {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Start links from the top */
    align-items: flex-start;
    padding: 5rem 2rem 2rem; /* Ensure buttons are below the cross button */
    background: rgba(255, 255, 255, 0.1); /* Transparent background */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 100;
  }

  .menu.show {
    left: 0; /* Display menu from the left */
  }

  /* Even width for panel menu buttons */
  .menu li {
    margin-bottom: 1.5rem;
    width: 100%;
  }

  .menu li a {
    width: 200px; /* Fixed width for panel menu buttons */
    height: 50px; /* Fixed height for even buttons */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hamburger {
    display: flex;
  }

  .navbar {
    justify-content: space-between;
  }

  .logo {
    order: 2;
    text-align: center;
    flex-grow: 1;
  }

  .hamburger {
    order: 1;
  }

  .dark-mode-toggle {
    order: 3;
  }
}
  /* ---------------------------------------About Us Section Styling-------------------------------------- */
.about-us {
    padding: 2rem;
    text-align: center;
    border-radius: 20px;
    box-shadow: 6px 6px 12px #bebebe, -6px -6px 12px #ffffff;;
    margin-top: 2rem;
    background: linear-gradient(to right, #ececec, #ebebeb);
}

.about-header {
    margin-bottom: 2rem;
}

.about-header h2 {
  font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-family: "Rubik Wet Paint", system-ui;
font-weight: 200;
color:#b40131;
}

.about-header p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
    text-align: justify;
}

.about-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;  
}

.card {
  box-shadow: 6px 6px 12px #bebebe, -6px -6px 12px #ffffff;
    border-radius: 12px;
    padding: 2rem;
    max-width: 450px;
    width: 100%;
    text-align: center;
    background: linear-gradient(to right, #ececec, #ebebeb);
}

.card h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-family: "Rubik Wet Paint", system-ui;
font-weight: 200;
color:#b40131;
}

.card p {
    line-height: 1.6;
   text-align: justify;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-header h1 {
        font-size: 2rem;
    }
    .about-header p {
        font-size: 0.9rem;
    }
    .about-cards {  
        gap: 1.5rem;
    }
}
/*------------------------------------------------Footer styling-------------------------------------------------------------------*/
/* Footer Styling */
.footer {
  background: linear-gradient(to right, #ececec, #ebebeb);
  box-shadow: 9px 9px 16px #ffffff, -9px -9px 16px #bebebe;
  padding: 2rem;
  text-align: center;
  border-radius: 20px 20px 0 0;
  margin-top: 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color:#b40131;
  font-family: "Rubik Wet Paint", system-ui;
font-weight: 200;
}

.footer-section p, .footer-section ul {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #2a5aa6;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #0073e6;
}

.footer-section .socials a {
  margin-right: 0.5rem;
}
/* Basic icon styling */
.socials a {
  font-size: 24px;       /* Adjust the size of the icons */
  color: #555555;        /* Default icon color */
  text-decoration: none; /* Remove underline */
  transition: color 0.3s; /* Smooth color transition on hover */
}

/* Hover effects */
.socials a:hover {
  color: #007bff;        /* Color change on hover */
}

.footer-bottom {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #777;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
      flex-direction: column;
      text-align: center;
  }

  .footer-section {
      width: 100%;
      margin-bottom: 1rem;
  }
}