/* Importing Custom Font (Optional: Use a similar Google Font if needed) */
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans+Expanded:wght@100;200;300;400;500;600;700;800;900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');


body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
  }
  
  /* General Styling for Navbar */
  .header {
      width: 100%;
      z-index: 1000;
      padding-top: 10px;
  }
  
  .header .navbar {
      background-color: transparent;
      transition: background-color 0.3s ease-in-out;
      padding: 0.8rem 1rem;
  }
  
  .header .navbar-brand {
      font-size: 1.5rem;
      color: #333;
      text-transform: uppercase;
      font-weight: 700;
  }
  
  .header .navbar-toggler {
      border: none;
      padding: 0;
  }
  
  .header .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }
  
  .header .navbar-nav {
      display: flex;
      justify-content: center; /* Centers items evenly */
      gap: 2rem; /* Spacing between items */
  }
  
  .header .nav-link {
      font-size: 1rem;
      color: #ffffff;
      padding: 0.5rem 0;
      text-transform: capitalize;
      font-weight: 500;
      transition: color 0.3s ease, border-bottom 0.3s ease;
      border-bottom: 2px solid transparent;
  }
  
  .header .nav-link:hover,
  .header .nav-link.active {
      color: #007bff;
      border-bottom: 2px solid #007bff;
  }
  
  .header .btn-primary {
      font-size: 1rem;
      font-weight: 600;
      padding: 0.6rem 1.2rem;
      background-color: #007bff;
      border: none;
      color: #fff;
      border-radius: 5px; /* Rounded button for modern look */
      transition: background-color 0.3s ease;
  }
  
  .header .btn-primary:hover {
      background-color: #0056b3;
  }
  
  /* Mobile-Specific Adjustments */
  @media (max-width: 992px) {
      .header .navbar {
          background-color: rgba(20, 20, 20, 0.92); /* Light background on mobile */
          border-radius: 14px;
      }
  
      .header .navbar-collapse {
          background-color: rgba(20, 20, 20, 0); /* Matches navbar */
          padding: 1rem;
          border-radius: 5px;
      }
  
      .header .navbar-nav {
          flex-direction: column;
          align-items: center;
          gap: 1rem;
      }
  
      .header .btn-primary {
          width: 100%; /* Make the button fill the width of the navbar */
          padding: 15px; /* Optional: Increase padding for better appearance */
      }
  }
  
  /* Large Screen Adjustments */
  @media (min-width: 992px) {
      /* Navbar Styling */
  .header .navbar {
      background-color: transparent;
      transition: background-color 0.3s ease-in-out;
      padding: 0.8rem 3rem;
      border-radius: 14px;
  }
  
  .header .navbar.scrolled {
      background-color:rgba(20, 20, 20, 0.92); /* Light background for scrolled state */
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  }
  
  
      .header .navbar-nav {
          justify-content: center; /* Centers items across large screens */
      }
  }
  
  
  
  /* Add padding to prevent content overlap */
  /* main {
    padding-top: 10px; Matches the approximate height of the navbar
  } */
  
  /* Hero Section */
  /* Hero Section */
  #hero {
    position: relative;
    height: 100vh; /* Full-screen height */
    display: flex;
    flex-direction: column; /* Stacks content vertically */
    justify-content: center; /* Centers vertically */
    align-items: center; /* Centers horizontally */
    text-align: center;
    background-image: url('../img/interior_services.jpg');
    background-size: cover; /* Ensures the image covers the entire section */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents tiling */
    color: white; /* Default text color */
  }
  
  .hero-content {
    z-index: 2; /* Ensure content appears above the background */
    max-width: 600px; /* Optional: Restrict content width for better readability */
    padding: 20px; /* Optional: Add padding to content */
    margin-bottom: 20px; /* Spacing between content and buttons */
  }
  
  .hero-content h1 {
    font-size: 2.5rem; /* Adjusted for a larger title */
    font-weight: bold;
    margin-bottom: 20px;
  }
  
  .hero-content p {
    font-size: 1.2rem; /* Slightly larger for readability */
    margin-bottom: 30px;
  }
  
  .hero-buttons {
    display: flex;
    justify-content: center; /* Align buttons horizontally at the center */
    gap: 20px; /* Space between buttons */
    z-index: 2; /* Ensure buttons are above the overlay */
  }
  
  .hero-buttons .btn {
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    background-color: #007bff; /* Primary button color */
    transition: background-color 0.3s;
    text-align: center; /* Ensures the text is centered within buttons */
  }
  
  .hero-buttons .btn:hover {
    background-color: #0056b3; /* Darker shade on hover */
  }
  
  #hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Add a dark overlay for better text contrast */
    z-index: 1; /* Layer below the content but above the background */
  }
  
  
  .btn-primary {
    background-color: #007bff;
    border: none;
  }
  
  .btn-primary:hover {
    background-color: #0056b3;
  }
  
  .btn-secondary {
    background-color: #6c757d;
    border: none;
  }
  
  .btn-secondary:hover {
    background-color: #5a6268;
  }
  
  /* Services Section */
  .services {
    background:rgb(250, 250, 243);
  }
  
  .services .section-title {
    font-size: 1.8rem;
    font-weight: bold;
  }
  
  .services .service-card {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
  }
  
  .services .service-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 10px;
  }
  
  .services .service-title {
    font-size: 1.2rem;
    margin: 10px 0;
  }
  
  .services .service-description {
    font-size: 0.9rem;
    color: #555;
  }
  
  /* ================ */
  /* About Section */
  .about {
    padding: 50px 0;
  }
  .about img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
  }
  .about h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
  }
  .about ul {
    list-style: none;
    padding: 0;
  }
  .about ul li {
    margin-bottom: 10px;
    font-size: 1rem;
  }
        /* Styling for the navigation tabs */
        .nav-tabs {
            justify-content: center;
            border-bottom: 3px solid #ddd;
            gap: 2rem; /* Space between tabs */
        }

        .nav-tabs .nav-link {
            font-size: 1.8rem;
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            text-transform: uppercase;
            border: none;
            color: #555;
            background: none;
            padding: 1rem 4rem; /* Larger touch area */
            transition: all 0.3s ease-in-out;
            position: relative;
        }

        /* Underline effect on active and hover */
        .nav-tabs .nav-link::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: -3px;
            width: 0%;
            height: 3px;
            background-color: #007bff;
            transition: all 0.3s ease-in-out;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .nav-tabs .nav-link:hover,
        .nav-tabs .nav-link.active {
            color: #007bff;
        }

        .nav-tabs .nav-link.active::after {
            width: 100%;
            
        }

        /* Make buttons responsive */
        @media (max-width: 767px) {
            .nav-tabs .nav-link {
                font-size: 1.2rem;
                padding: 0.8rem 2rem;
            }
        }

        /* Tab content animation */
        .tab-content {
            padding: 2rem 0;
            animation: fadeIn 0.5s ease-in-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Step Cards */
        .step-card {
            display: flex;
            text-align: center;
            flex-direction: column;
            height: 100%;
            border-radius: 10px;
            overflow: visible; /* Allow step indicator to extend outside */
            position: relative;
            border: none;
            box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
        }

        /* Images inside the step cards */
        .step-img {
            height: 200px;
            object-fit:scale-down;
            width: 100%;
        }

        .step-indicator {
          position: absolute;
          bottom: -15px; /* Move it lower outside the card */
          left: 50%;
          transform: translateX(-50%);
          background-color: #007bff;
          color: white;
          font-size: 1.5rem;
          font-weight: bold;
          width: 50px;
          height: 50px;
          line-height: 50px;
          border-radius: 50%;
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
          border: 3px solid white;
          z-index: 10; /* Ensures it's above other elements */
      }

        .step-card .card-body {
          flex-grow: 1;
          display: flex;
          flex-direction: column;
          justify-content: center;
          text-align: center;
          padding-bottom: 30px; /* Extra space at bottom */
      }

        /* Adjustments for mobile */
        @media (max-width: 767px) {
            .step-img {
                height: 150px;
            }
        }



  /* Services Section */
  .services {
    padding: 50px 0;
    background-color: #f9f9f9;
  }
  .services h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
  }
  .services .service-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  .services .service-card img {
    max-width: 100%;
    border-radius: 8px;
  }
  .services .service-card h4 {
    font-size: 1.25rem;
    margin-top: 15px;
  }
  .services .service-card p {
    font-size: 1rem;
    color: #555;
  }
  
  /* Contact Section */
  .contact {
    padding: 50px 0;
    background-color: #f9f9f9;
  }
  
  .contact .section-title {
    font-weight: bold;
    margin-bottom: 20px;
  }
  
  .contact .section-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
  }
  
  .contact-info {
    padding: 20px;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
  }
  
  .contact-icon {
    font-size: 2rem;
    color: #007bff;
    margin-right: 15px;
  }
  
  .contact-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  .contact-item p {
    margin: 0;
    font-size: 1rem;
    color: #555;
  }
  
  .map-container iframe {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .contact .row {
      flex-direction: column;
    }
  
    .contact-info {
      margin-bottom: 20px;
    }
  }
  
  /* Footer */
  .footer {
    background: #f1f1f1;
    color: #333;
  }