:root {
  --button: #2c3e50;
  --hovar: #1abc9c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: DM Sans,sans-serif;
    background-color: #f2f5f7;
    color: #333;
    display: flex;
}
a {
  text-decoration: none;
  color: #333;
}

.login-btn {
  background-color: #fff;         /* Primary Blue */
  color: #2c3e50;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  margin-left: 20px;
}
.hidding {
  @media (max-width: 768px) {
    display: none;
  }
}
/* ==================================== Booking Popup (UX Enhanced) =========================================*/
.booking-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease-in-out;
}

.booking-modal {
 background: linear-gradient(to bottom,#f9f9f9,#e9f8fc);
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  animation: scaleIn 0.3s ease;
  font-family: 'Segoe UI', sans-serif;
}

.booking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.booking-header h3 {
  margin: 0;
  font-size: 22px;
  color: #333;
}

.booking-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #777;
  cursor: pointer;
  transition: color 0.2s;
}

.booking-close:hover {
  color: #dc3545;
}

.booking-form-group {
  margin-bottom: 18px;
}

.booking-form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #555;
}

.booking-form-group input,
.booking-form-group select {
  width: 100%;
  padding: 14px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s;
}

.booking-form-group input:focus,
.booking-form-group select:focus {
  border-color: #007bff;
  outline: none;
}

.booking-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.booking-submit {
  background: var(--button);
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

.booking-submit:hover {
  background:var(--hovar);
}

.booking-cancel {
  background: hsl(0, 0%, 48%);
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.booking-cancel:hover {
  background: #c82333;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* =========================== 📱 aleat bar   =========================== */
.alert {
    padding: 16px 18px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideFadeIn 0.6s ease-out forwards;
    position: relative;
    overflow: hidden;
    transition: opacity 0.5s ease;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 6px solid #28a745;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 6px solid #dc3545;
}

/* Slide + Fade Animation */
@keyframes slideFadeIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideFadeOut {
    to {
        transform: translateY(-20px);
        opacity: 0;
    }
}

.loader {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #28a745;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==================================== Header Styling =========================================*/
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  background-color: #ffffff;
  color: hsl(0, 0%, 24%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Logo Section */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 55px;
  margin-right: 10px;
}

.logo span {
  font-size: 1.5rem;
  font-weight: bold;
  color: #f9d342;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #444444;
  font-weight: bold;
  transition: color 0.3s ease;
  position: relative; /* Needed for the pseudo-element positioning */
}

.nav-menu a::after {
  content: ''; /* The line is created with this */
  position: absolute;
  left: 0;
  bottom: -3px; /* Distance from the text */
  width: 0%; /* Initially, the line is hidden */
  height: 2px; /* Thickness of the line */
  background-color: #4254f9; /* Line color */
  transition: width 0.3s ease; /* Smooth animation */
}

.nav-menu a:hover {
  color: #4254f9;
}

.nav-menu a:hover::after {
  width: 100%; /* Expands the line on hover */
}

/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.hamburger div {
  height: 3px;
  background-color: #444444;
  border-radius: 2px;
}

/* Responsive Styling */
@media (max-width: 768px) {
  /* Hide navigation menu by default on small screens */
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background-color: hsl(0, 0%, 100%);
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.3rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }

  /* Show menu when active */
  .nav-menu.menu-active {
    display: flex;
  }

  /* Show hamburger icon */
  .hamburger {
    display: flex;
  }
}

/* Hero Section Styling */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  background-image: url('/images/web-img/heder.avif'); /* Replace with your image path */
  background-size: cover; /* Ensures the image covers the entire header */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents image repetition */
  min-height: 100vh;
  gap: 2rem;
}

/* Hero Content */
.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2rem;
}

/* Buttons Container */
.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Generic Button Style */
.cta-button,
.call-button,
.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Get a Quote Button */
.cta-button {
  background-color: #4254f9;
  color: white;
  border: none;
}

.cta-button:hover {
  background-color: #3543c9;
  transform: scale(1.05);
}

/* Call Button */
.call-button {
  background-color: #ff5722;
  color: white;
  border: none;
}

.call-button:hover {
  background-color: #e64a19;
  transform: scale(1.05);
}

/* WhatsApp Button */
.whatsapp-button {
  background-color: #25d366;
  color: white;
  border: none;
}

.whatsapp-button:hover {
  background-color: #20b352;
  transform: scale(1.05);
}

/* Button Icons */
.call-button i,
.whatsapp-button i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

/* Hero Image */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 2rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }
}

/* Call Now Button */
.call-button-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  transition: opacity 0.3s ease-in-out;
}

.call-button {
  background-color: #25d366; /* WhatsApp Green Color */
  color: white;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.call-button:hover {
  background-color: #128c7e; /* Darker green */
  transform: scale(1.05);
}

.call-button:active {
  background-color: #075e54; /* Darker green for active */
}

/* ==================================== Service =========================================*/

/* Services Section */
.services {
  padding: 3rem 1rem;
  background: linear-gradient(to bottom,#f9f9f9,#e9f8fc);
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
}

/* Grid Layout */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual Service Card */
.service-card {
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 180px; /* Ensures responsiveness */
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  max-width: 70px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.service-card:hover img {
  transform: scale(1.02);
}

.service-card h3 {
  font-size: 1.4rem;
  color: #111;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.service-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive Text */
@media (max-width: 992px) {
  .service-card {
    flex: 1 1 45%;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 2rem 1rem;
  }

  .services h2 {
    font-size: 1.5rem;
  }

  .service-card {
    flex: 1 1 100%;
    max-width: 100px;
    padding: 1rem;
  }

  .service-card img {
    max-width: 50px;
    height: auto;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.95rem;
  }
}

/* ==================================== Aboute  =========================================*/
.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  background-color: hsl(202, 49%, 83%);
  gap: 2rem;
  min-height: 70vh;
}

/* Content Section */
.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-info p {
  font-size: 1rem;
  color: #444;
  margin: 0.5rem 0;
}

.contact-info strong {
  color: #000;
}
/* Image Section */
.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about {
    flex-direction: column;
    text-align: center;
  }

  .about-content {
    margin-bottom: 2rem;
  }

  .about-content h2 {
    font-size: 1.8rem;
  }

  .about-content p {
    font-size: 1rem;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }
}

/* ==================================== Gallery =========================================*/
.gallery {
  padding: 2rem;
  background-color: #f9f9f9;
}

.gallery h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Masonry Grid using columns */
.masonry-grid {
  column-count: 5;
  column-gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  margin-bottom: 1rem;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.gallery-item:hover {
  transform: scale(1.02);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 10px black;
}

.lightbox:hover {
  cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
  .masonry-grid {
    column-count: 3;
  }
}

@media (max-width: 576px) {
  .masonry-grid {
    column-count: 2;
  }
}

  /* ==================================== Contact =========================================*/
  /* Contact Section Styling */
.contact {
  padding: 2rem;
  background-color: #f3f4f6;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}

.contact p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2rem;
}

/* Contact Options */
.contact-options {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.contact-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.contact-option img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease-in-out; /* Smooth zoom effect */
  object-fit: cover; /* Ensure images maintain their aspect ratio */
}

.contact-option img:hover {
  transform: scale(1.2); /* Zoom in the image */
}


.contact-link {
  font-size: 1.1rem;
  font-weight: bold;
  color: #0077cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #005fa3;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-options {
    flex-direction: column;
    gap: 1.5rem;
  }
}

  /* ==================================== Contact =========================================*/
  /* FAQ Section */
.faq {
  padding: 3rem 1rem;
  background: #f0f4f8;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.faq h2 {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

/* FAQ Container */
.faq-container {
  max-width: 850px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* FAQ Item */
.faq-item {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

/* FAQ Question */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  background: #ffffff;
  color: #222;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f5f5f5;
}

/* Icon style (+/-) */
.faq-question span:last-child {
  font-size: 1.5rem;
  color: #007bff;
}

/* FAQ Answer */
.faq-answer {
  padding: 1rem 1.5rem;
  background: #fbfbfb;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  border-top: 1px solid #eee;
  animation: fadeIn 0.3s ease;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq h2 {
    font-size: 2rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 1rem;
  }

  .faq-answer {
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
  }
}

  /* ==================================== Footer =========================================*/
.footer {
  background: linear-gradient(135deg, #232526, #414345); /* Smooth gradient */
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

.footer p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #ccc;
}

.footer a {
  color: #00bcd4;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #ffffff;
}

/* Social Icons (if any) */
.footer .social-icons {
  margin-top: 1rem;
}

.footer .social-icons a {
  margin: 0 8px;
  display: inline-block;
  font-size: 1.3rem;
  color: #bbb;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer .social-icons a:hover {
  transform: scale(1.2);
  color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer {
    padding: 1.5rem 1rem;
  }

  .footer p,
  .footer a {
    font-size: 0.95rem;
  }

  .footer .social-icons a {
    font-size: 1.1rem;
  }
}
/* ================================  Featured Subservice Bar =========================================== */

.featured-subservices {
   padding: 60px 20px;
    background: linear-gradient(to bottom, #f9f9f9, #e9f8fc);
    text-align: center;
}
/* Container for Subservice Cards */
.subservices-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Subservice Card */
.subservice-card {
  display: flex;
  flex-direction: row;
  background-color: #fafdff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: calc(33.33% - 20px);
  text-align: left;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  flex: 1 1 calc(33.33% - 20px);
  max-width: 500px;
}

.subservice-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Subservice Image */
.subservice-image {
  margin-right: 20px;
  flex-shrink: 0;
  overflow: hidden;
}

.subservice-image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.subservice-card:hover .subservice-image img {
  transform: scale(1.05);
}

/* Subservice Header */
.subservice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.subservice-name {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin: 0;
}

/* Price Section */
.sub-price-section {
  margin-bottom: 10px;
}

.sub-price {
  display: flex;
  align-items: center;
}

.sub-original-price {
  font-size: 0.8rem;
  text-decoration: line-through;
  color: #999;
  margin-right: 10px;
}

.sub-discount-price {
  font-size: 1rem;
  color: #ff5722;
  font-weight: bold;
}

/* Book Button */
.sub-select-button {
  background-color: hsl(0, 0%, 37%);
  color: #ffffff;
  padding: 8px 16px;
  font-size: 14px;
  border: none;
  margin-right: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: bold;
  margin-top: 5px;
}

.sub-select-button:hover {
  background-color: #0056b3;
}

.sub-select-button:focus {
  outline: none;
}

/* Media Queries */
@media (max-width: 768px) {
  .subservice-card {
    flex: 1 1 calc(100% - 20px);
  }

  .subservice-image img {
    width: 100px;
    height: 100px;
  }

  .subservice-name {
    font-size: 0.9rem;
  }

  .sub-price-section {
    font-size: 1rem;
  }

  .sub-select-button {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .subservice-card {
    flex: 1 1 calc(100% - 20px);
  }

  .subservice-image {
    margin-right: 15px;
  }

  .subservice-name {
    font-size: 0.8rem;
  }

  .sub-select-button {
    padding: 10px;
  }
}
