@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&family=Barlow:wght@300;400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

P,
a {
  font-family: 'Barlow', sans-serif;
}

body {
  background-color: #f5f5f5;
}

html {
  scroll-behavior: smooth;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: center; /* Center everything */
  position: relative; /* Allows absolute positioning of cart */
  padding: 10px 20px;
  background-color: #333;
}

.menu-icon {
  position: absolute;
  left: 20px;
  cursor: pointer;
  color: white;
  font-size: 28px;
  display: none;
}


.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cart-button {
  position: absolute;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.cart-counter {
  position: absolute;
  top: -5px;
  right: -5px;
  background: red;
  color: white;
  font-size: 12px;
  padding: 2px 5px;
  border-radius: 50%;
}

/* CART BUTTONS */
.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  transition: 0.3 ease-in;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  transform: translate(50%, -50%);
  min-width: 18px;
}

.logo-container img{
    width: 100px;
}

.title {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cart-btn:hover svg path {
  fill: rgb(255, 208, 0);
  transition: 400ms;
}

.cart-button:hover svg path {
  fill: rgb(255, 208, 0);
  transition: 400ms;
}

.navbar img {
  width: 190px;
  padding: 10px;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 40px;
  padding: 20px;
  justify-content: center;
  align-items: center;
  background-color: #3c3c3c;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.nav-links a:hover {
  color: red;
}


/* Mobile View - Show and position cart button */
@media (max-width: 787px) {
  .cart-button {
    display: flex;
  }

  .logo-container {
    margin: 0 60px;
  }

  .menu-icon {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    display: none;
  }

  .navbar {
    flex-direction: row;
    align-items: center;
    text-align: center;
    padding: 10px;
  }

  .nav-links a {
    font-size: 18px;
    padding: 10px;
  }

  .navbar img {
    margin-left: 0;
    width: 150px;
  }
}

/* Desktop View - Hide navbar cart button */
@media (min-width: 787px) {
  .cart-button {
    display: none;
  }

  .nav-links .cart-button {
    display: none;
  }
}

/* SIDE PANEL (Mobile Menu) */
.side-panel {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100vh;
  background-color: white;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease-in-out;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

.side-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.side-panel-overlay.active {
  display: block;
}

.side-panel a {
  padding: 20px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  transition: 0.3s;
}

.side-panel a:hover {
  background-color: #f1f1f1;
  color: rgb(158, 158, 158);
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
}

/* Open Side Panel */
.side-panel.open {
  left: 0;
}

/* CART PANEL */
#cart-panel {
  position: fixed;
  top: 0;
  right: -350px;
  width: 350px;
  height: 100%;
  background: white;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  padding: 20px;
  display: flex;
  flex-direction: column;
  z-index: 2000;
}

#cart-panel h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #333;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  display: none;
}

#cart-panel.open+.cart-overlay {
  display: block;
}

.cart-item-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

#cart-panel.open {
  right: 0;
}

.closed-btn {
  color: rgb(61, 61, 61);
  border: none;
  font-size: 30px;
  cursor: pointer;
  align-self: flex-end;
  background: none;
}

#cart-items {
  list-style: none;
  padding: 0;
  flex-grow: 1;
  overflow-y: auto;
  margin-bottom: 20px;
}

/* Cart item container */
#cart-items li {
  display: grid;
  grid-template-areas:
    "remove image"
    "details details";
  grid-template-columns: 1fr auto;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  gap: 10px;
  position: relative;
  align-items: start; /* Align items to top */
  overflow: auto;
}

/* Remove button at top right */
.remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  z-index: 1;
}

/* Centered image container */
.cart-item-image-container {
  grid-area: image;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px; /* Fixed width for image container */
  height: 100px; /* Fixed height for image container */
  margin: 0 auto; /* Center horizontally */
}

/* Image styling */
.cart-item-image {
  height: 100px;
  width: 100px;
  object-fit: contain;
  display: block;
  transform: translateX(-100px);
}

/* Details section */
.cart-item-details {
  grid-area: details;
  display: flex;
  flex-direction: column;
  padding-right: 30px;
}

/* Price and quantity row */
.price-qty-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-item-name {
  font-size: 15px;
  font-weight: bold;
  margin: 0;
}

.cart-item-price {
  color: red;
  font-size: 20px;
  font-weight: bold;
}

/* Quantity controls */
.qty-controls {
  display: flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  height: 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-right: -25px;
}

.qty-btn {
  width: 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #64748b;
}

.qty-btn:hover {
  background: #f1f5f9;
  color: #334155;
}

.qty-value {
  width: 30px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  background: white;
}
.qty-btn:active {
  transform: scale(0.95);
}

.qty-btn.minus {
  border-right: 1px solid #e2e8f0;
}

.qty-btn.plus {
  border-left: 1px solid #e2e8f0;
}

.qty-value {
  width: 40px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  background: white;
}

.qty-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f1f5f9;
}

.qty-btn:disabled:hover {
  background-color: #f1f5f9;
  transform: none;
}

.remove-btn {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  margin-left: 12px;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.remove-btn:hover {
  background: #fee2e2;
  transform: scale(1.1);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.qty-updated {
  animation: pulse 0.3s ease;
}

/* Cart Footer */
.cart-footer {
  border-top: 2px solid #ccc;
  padding-top: 10px;
  text-align: center;
}

.cart-footer p {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.view-cart-btn,
.clear-cart-btn {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.view-cart-btn {
  background: #4caf50 !important;
  color: white !important;
  margin-bottom: 10px;
  border: none !important;
}

.view-cart-btn:hover {
  background: #45a049 !important;
  transform: scale(1.05);
}

.clear-cart-btn {
  background: #d9534f;
  color: white;
}

.clear-cart-btn:hover {
  transform: scale(1.05);
}

.view-cart-btn:active,
.checkout-btn:active {
  transform: scale(0.98);
}

/* SLIDER */
.slider-container {
  position: relative;
  max-width: 100%;
  width: 100%; /* Ensure the container takes full width */
  height: auto; /* Allow the container to adjust based on content */
  margin: auto;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
  height: auto; /* Allow the slide to adjust based on image height */
  animation: fadeEffect 1.5s ease-in-out;
}

.slide img {
  width: 100%;
  height: auto; /* Ensure the image scales proportionally */
  object-fit: contain; /* Ensure the image fits within the container without distortion */
}

@keyframes fadeEffect {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  cursor: pointer;
  font-size: 20px;
  transition: 0.3s;
}

.prev {
  left: 10px;
}
.next {
  right: 10px;
}
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.dots-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px; /* Adjust spacing between indicators */
  margin-top: 10px;
}

.dot {
  width: 30px; /* Make it a rectangular line */
  height: 3px; /* Thin line like in the reference */
  background-color: #717171;
  transition: background-color 0.3s ease, width 0.3s ease;
  cursor: pointer;
}

.dot:hover {
  background-color: #cf0101; /* Highlight active with orange */
  width: 50px; /* Slightly wider active bar */
}

.dot.active, 
.dot:active {
  background-color: #cf0101;
  width: 50px;
}

.products {
  padding: 20px;
  text-align: center;
}

.slider-containers {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.product-wrapper {
  overflow: hidden;
  width: 100%;
}

.product-container {
  overflow: hidden;
  width: 100%;
}

.product-grid {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.product {
  flex: 0 0 25%; /* Show 4 products at a time by default */
  box-sizing: border-box;
  padding: 10px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.product:hover {
  transform: scale(1.037);
}

/* Change the <p> tag color to red on hover */
.product:hover > p {
  color: red;
}

.product img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  transition: 0.5s;
}

.product img:hover {
  box-shadow: 0 10px 8px rgba(0, 0, 0, 0.1);

}

.product p {
  margin-top: 10px;
  font-weight: bold;
  transition: color 0.2s ease-in-out; /* Smooth transition for color change */
}

.scroll-btn {
  background: rgba(30, 17, 17, 0.278);
  border: none;
  color: white;
  font-size: 15px;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 5px;
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 1;
  transition: opacity 0.3s ease, visibility 0.3s ease; /* Smooth fade-in/out */
  transition: 0.3s;
  opacity: 1;
  visibility: visible;
}

.scroll-btn.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* Prevent clicks on hidden buttons */
}

.scroll-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.scroll-btn.left {
  left: -50px; /* Move the left button outside the container */
}

.scroll-btn.right {
  right: -50px; /* Move the right button outside the container */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .product {
    flex: 0 0 33.33%; /* Show 3 products at a time on smaller desktops */
  }
}

@media (max-width: 1053px) {
  .product {
    flex: 0 0 50%; /* Show 2 products at a time on tablets */
  }

  .scroll-btn.left {
    left: 10px; /* Bring the left button inside the container */
  }

  .scroll-btn.right {
    right: 10px; /* Bring the right button inside the container */
  }
  #products h2 {
    font-size: 1.5rem; /* Smaller size on mobile */
  }

}

@media (max-width: 768px) {
  .product {
    flex: 0 0 50%; /* Show 2 products at a time on tablets */
  }

  .scroll-btn.left {
    left: 10px; /* Bring the left button inside the container */
  }

  .scroll-btn.right {
    right: 10px; /* Bring the right button inside the container */
  }
  #products h2 {
    font-size: 1.5rem; /* Smaller size on mobile */
  }
  .scroll-btn {
    top: 45%;
    transform: translateY(-95%);
    font-size: 15px;
    padding: 5px 9px;
  }
}

@media (max-width: 480px) {
  .product {
    flex: 0 0 50%; /* Show 1 product at a time on mobile */
  }

  .scroll-btn.left {
    left: 10px; /* Adjust button position for mobile */
  }

  .scroll-btn.right {
    right: 10px; /* Adjust button position for mobile */
  }

  .scroll-btn {
    top: 45%;
    transform: translateY(-95%);
    font-size: 15px;
    padding: 10px 15px;
  }
  
}
/*WHY CHOOSE US */
.why-choose-us {
  background-color: #f8f9fa;
  padding: 60px 20px;
  text-align: center;
}
.container {
  max-width: 1200px;
  margin: auto;
}
h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.feature {
  margin-top: 10px;
  background: white;
  padding: 60px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.feature:hover {
  transform: translateY(-10px);
}
.feature i {
  font-size: 3.5rem;
  color: #232323;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}
p {
  color: #555;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  #why h2 {
    font-size: 1.5rem; /* Smaller size on mobile */
  }

  .features {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-template-rows: repeat(2, 1fr); /* 2 rows */
    margin-top: -10px;
    padding: 10px;
    gap: 10px;
  }

  .feature {
    padding: 20px; /* Reduced padding for mobile */
    margin: 5px;
  }

  .feature i {
    font-size: 2.5rem; /* Smaller icon on mobile */
  }

  h3 {
    font-size: 1.2rem; /* Smaller heading on mobile */
  }

  p {
    font-size: 0.9rem; /* Smaller text on mobile */
  }
}

@media (max-width: 480px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    min-height: 600px;
    place-items: center;
    gap: 15px; /* Increased gap between grid items */
    padding: 10px; /* Added padding around the grid */
  }

  .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 30px 20px; /* Increased vertical padding */
    margin: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .feature i {
    font-size: 2.5rem;
    margin-bottom: 15px; /* Increased spacing below icon */
  }

  h3 {
    font-size: 1.2rem;
    margin-bottom: 15px; /* Increased spacing below heading */
  }

  p {
    font-size: 0.9rem;
    margin-bottom: 10px; /* Added spacing below paragraph */
    line-height: 1.4; /* Improved readability */
  }
}

/* GALLERY */
.gallery {
  padding: 50px;
  text-align: center;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery h2 {
  margin-bottom: 20px;
}

/* Slider Container */
.gallery-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  white-space: nowrap;
}

.slider {
  display: flex;
  gap: 20px;
  animation: scroll 15s linear infinite;
  width: 100%;
}

.slider img {
  width: 200px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.slider img:hover {
  transform: scale(1.1);
}

/* Infinite Scrolling Animation */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}

.gallery-container img {
  width: 50%;
  max-width: 200px;
  margin: 20px;
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.gallery-container img:hover {
  transform: scale(1.1);
}

/* Navigation Buttons */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 5px;
  z-index: 10;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 10px;
}
.next {
  right: 10px;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-container img {
    width: 30%; /* Adjusts to 3 images per row on smaller screens */
  }
  #gallery h2 {
    font-size: 1.7rem; /* Smaller size on mobile */
}
}

@media (max-width: 480px) {
  .gallery-container img {
    width: 45%; /* Adjusts to 2 images per row on even smaller screens */
  }
}

/* locate */
.locate {
  padding: 50px;
  text-align: center;
  background-color: #f8f9fa;
  color: white;
}

iframe {
  margin-top: 30px;
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow */
}

.social-links a {
  color: white;
  margin: 10px;
  font-size: 20px;
  text-decoration: none;
}

#locate-us {
  color: #333;
}

@media (max-width: 768px) {
  #locate-us {
    font-size: 1.5rem; /* Smaller size on mobile */
}
}

/* FOOTER */

.payment-methods p, .social-media p, .footer-column {
  color: #d36d00; /* Change this to your desired color */
}

h4{
  color: #ffffff;
}

.footer-container p, .footer-bottom p{
  color: #cecece;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content:space-around;
  flex-wrap: wrap;
  max-width: auto;
  background-color: #222;
  padding: 60px 20px;
  text-align: center;
}

.footer-left {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: 300px;
  text-align: left;
}

.footer-logo {
  width: 150px;
}

.contact-number {
  margin-top: 20px;
  color: red;
  font-weight: bold;
  font-size: 18px;
}

.tel-number {
  color: red;
  font-weight: bold;
  font-size: 18px;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  width: 60%;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  min-width: 150px;
  margin-bottom: 20px;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-column a {
  display: block;
  color: rgb(213, 213, 213);
  text-decoration: none;
  margin-bottom: 5px;
}

.footer-column a:hover {
  text-decoration: underline;
}

.social-media {
  margin: 10px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.social-media h4 {
  display: flex;
  align-items: center; /* Ensures text aligns with the icon */
  margin: 0;
}

.social-media a {
  display: inline-block;
  font-size: 30px;
  color: rgb(219, 219, 219);
  transition: 0.3s;
  text-align: center;
  margin-left: 10px;
}

.social-media a:hover {
  color: #007bff;
}

.payment-methods {
  margin-top: 20px;
}


/*Footer */
footer {
  background-color: #1f1f1f;
  color: #fff;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 10px;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
  padding: 10px;
}

@media (min-width: 1024px) {
  .footer-logo{
    flex: 1;
    min-width: 250px;
    padding: 10px;
    margin-top: 90px;
  }
  
}

.footer-logo img {
  max-width: 250px;
  margin-bottom: 20px;
}

.footer-logo p {
  font-size: 16px;
  line-height: 1.6;
}

.footer-logo a {
  color: #007BFF;
  text-decoration: none;
}

.footer-logo a:hover {
  text-decoration: underline;
}

.footer-contact-form {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.footer-contact-form h3 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
}

.footer-contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-form label {
  font-size: 14px;
  color: #ddd;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.footer-contact-form input, 
.footer-contact-form textarea {
  resize: vertical;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #555;
  background-color: #333;
  color: #fff;
  outline: none;
  transition: border 0.3s ease;
  box-sizing: border-box; /* Include padding in width calculation */
  max-width: 100%; /* Prevent container from growing beyond viewport */
  overflow: hidden; /* Hide any potential overflow */
}

.footer-contact-form input:focus,
.footer-contact-form textarea:focus {
  border-color: #007BFF;
}

.footer-contact-form button {
  padding: 12px 20px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.footer-contact-form button:hover {
  background-color: #0056b3;
}
/* Modal Background */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.9);
}

/* Show Modal */
.modal.show {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.modal-content {
  display: flex;
  flex-direction: column; /* Stack children vertically */
  align-items: center; /* Center items horizontally */
  justify-content: center; /* Center items vertically */
  padding: 20px;
  background: white;
  border-radius: 8px;
  width: 350px;
  height: 220px;
  text-align: center;
}

.close-btns {
  margin-top: 10px; /* Add some spacing from the message */
  padding: 8px 16px;
  background-color: green;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}


/* Slide Down Animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SVG Icons */
.icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

/* Success Icon */
.success-icon {
  stroke: green;
  animation: scaleUp 0.5s ease-in-out;
}

/* Error Icon */
.error-icon {
  stroke: red;
  animation: shake 0.4s ease-in-out;
}

/* Scale Up Animation */
@keyframes scaleUp {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Shake Animation for Error */
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

/* Close Button */
.close-btns:hover {
  background: #0056b3;
}


/* Copyright Section */
.footer-copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
}

.footer-copyright p {
  color: #fff;
}

.facebook {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.facebook a {
  display: inline-block;
  font-size: 30px;
  color: rgb(219, 219, 219);
  transition: 0.3s;
  text-align: center;
  margin-left: 10px;
}

.facebook p {
  display: flex;
  align-items: center; /* Ensures text aligns with the icon */
  margin: 0;
  color: #fff;
}

.facebook a:hover {
  color: #007bff;
}

@media (max-width: 768px) {
  .footer-logo img {
    max-width: 200px;
  }

  .footer-copyright p{
    font-size: 14px;
  }
}

/* Pagination Styles */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
  gap: 10px;
  grid-column: 1 / -1;
}

.page-numbers {
  display: flex;
  gap: 5px;
}

.pagination-btn {
  padding: 8px 16px;
  background-color: #3c3c3c;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #d9534f;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-btn {
  padding: 8px 12px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-btn:hover {
  background-color: #3c3c3c;
  color: white;
}

.page-btn.active {
  background-color: #d9534f;
  color: white;
  border-color: #d9534f;
}

/* PDF Size Modal Styles */
.pdf-size-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: white;
  padding: 25px;
  border-radius: 12px;
  z-index: 10000;
  width: 90%;
  max-width: 350px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.pdf-size-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.pdf-size-modal h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
}

.pdf-size-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdf-size-btn {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background: #f5f5f5;
  color: #333;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}

.pdf-size-btn:hover {
  background: #4CAF50;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.pdf-size-btn .pdf-size-icon {
  font-size: 20px;
  margin-right: 15px;
  width: 24px;
  text-align: center;
}

.pdf-size-btn .pdf-size-text {
  font-weight: 500;
  flex-grow: 1;
}

.pdf-size-btn .pdf-size-dims {
  font-size: 12px;
  color: #777;
  transition: color 0.2s;
}

.pdf-size-btn:hover .pdf-size-dims {
  color: rgba(255,255,255,0.8);
}

.pdf-size-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #888;
  transition: color 0.2s;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.pdf-size-close-btn:hover {
  color: #333;
  background: #f0f0f0;
}

.pdf-size-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: none;
  backdrop-filter: blur(3px);
}

.no-scroll {
  overflow: hidden;
}