
/* #hero {
    padding: 100px 0; /* Increase padding */
/* } */

#hero {
    background-size: cover;
    background-position: center;
    text-align: center;
    /* padding: 100px 0; Adjust padding as needed */
    color: rgb(8, 7, 7); /* Text color */
    /* background-size: contain; */
}


#hero .button { /* Style the buttons */
    font-size: 3.4em;
    padding: 15px 30px;
    background-color: #d9534f; /* Example color */
    color: #f0ad4e;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Add a hover transition */
}

#hero .button:hover {
    background-color: #f0ad4e; /* Example hover color */
}

#about-us p {
    max-width: 800px; /* Limit content width */
    margin: 0 auto; /* Center the text */
}

/* Basic Body Styles */
body {
    font-family: 'Arial', sans-serif;
    color: #333; 
}

h1, h2 {
    color: #d9b94f; 
    padding: 10px 0;
}

h3 {
    color: #d9b94f;
    padding: 10px 0;
}

h4 {
    color: #d9b94f; 
    padding: 20px 0;
}

a {
    color: #e6c20b; 
}


/* Header Styles */
header {
    display: flex;           /* Use flexbox for layout */
    align-items: center;    /* Vertically align items */
    /* justify-content: space-between;  */
    /* background-color: #000000;  */
    text-align: center;
    flex-direction: column; /* Stack logo and nav vertically */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 4px;
}

nav li {
    display: inline;
    margin-right: 20px;
}

nav {
    position: fixed; 
    top: 0;
    width: 100%;
    background-color: #070707; /* Match your site's background */
    z-index: 100; /* Ensure it stays on top */
    /* bottom: auto; */
}

.main-nav { /* Targets nav elements with the class "main-nav" */
    
    bottom: auto;
}

#top-menu { /* Targets the nav element with the ID "top-menu" */
    background-color: #65a900; /* Off-white background */
}

/* Section Styles */
section {
    /* padding: 2px; */
    text-align: center;
}

/* ... add more styles for about, services, testimonials, gallery, contact as needed ... */

nav a.active { 
    color: #ffffff; /* Example active link color */
    font-weight: bold; 
}

#about {
    /* background-image: url("images/Alankari-logo.jpg"); Path to your image */
    background-size: cover;          /* Cover the entire area */
    background-position: center;     /* Center the image */
    background-repeat: no-repeat;    /* Prevent image repetition */
    /* ... other styles for the about section ... */
    /* padding: 250px 0; */
  }

/* Footer Styles */
footer {
    background-color: #333; /* Example background color */
    color: white;
    text-align: center;
    padding: 10px;
}

.logo img {
    display: inline-block; 
    width: 290px;  
    max-width: 280px; 
    height: 170px;  
    color: rgb(149, 21, 21);
    margin-bottom: 20px;
  }

/* .logo {
    width: 350px; 
    height: 150px; 
    display: inline-block; 
    margin-bottom: 20px;
  } */
  

/* #about-text {
    width: 85%; 
    padding: 20px;
} */

#about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px; /* Add some space between the image and text */
}

#about-text {
    text-align: left;
    width: 60%; /* Adjust as needed */
}

#about-image {
    width: 40%; /* Adjust as needed */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    #about-content {
        flex-direction: column; /* Stack vertically */
    }

    #about-text, #about-image {
        width: 100%; 
    }
}

#about h2 {
    font-size: 2em;
    font-weight: bold;
    /* margin: 2em 0 1em 0;  */
}

#about p {
    font-size: 1.1em; /* Slightly larger body text */
    line-height: 1.6; 
}

#contact form {
    display: flex;
    flex-direction: column; /* Stack form elements vertically */
    align-items: center;   /* Center items horizontally */
  }
  
  #contact label {
    margin-bottom: 5px; /* Add space between labels and inputs */
  }
  
  #contact input,
  #contact textarea {
    margin-bottom: 15px; /* Add space between input fields */
    /* width: 75%; Optional: Make input fields full width */
    align-items: center;
  }

#contact input,
#contact textarea {
  padding: 15px;       /* Adjust padding as needed */
  border: 1px solid #ccc; /* Add a subtle border */
  border-radius: 5px;    /* Add rounded corners (optional) */
}

#contact .button:hover {
    background-color: #f0ad4e; /* Example hover color */
}

#services {
    /* display: grid; */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive columns */
    gap: 20px;
  }
  
  .service {
    border: 1px solid #ccc; /* Add a border */
    padding: 20px;
  }
  
  .service h3 {
    font-size: 1.8em; /* Increase heading size */
    margin-bottom: 10px;
  }

  /* Popup container */
.popup {
    display: none; 
    position: fixed; 
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); 
    width: 80%; 
    max-width: 600px;
    max-height: fit-content;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 
    z-index: 1; /* Ensure it's on top */
  }
  
  /* Popup content */
  .popup-content {
    padding: 20px;
    text-align: justify;
  }
  
  /* Close button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  .scrolling-banner {
    width: 100%;
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Keep images in a single line */
  }
  
  .scrolling-banner img {
    height: 200px; /* Set a fixed height for the images */
    display: inline-block; /* Display images inline */
    margin-right: 20px; /* Add space between images */
  }

  .container {
    position: relative; 
    display: inline-block; 
  }
  
  .popup {
    display: none; 
    /* position: fixed;  */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); 
    width: 80%; 
    max-width: 600px;
    max-height: fit-content;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 
    z-index: 1; /* Ensure it's on top */
  }
  
  .container:hover .popup {
    display: block; 
  }

  .popup-text {
    align-content: Left;
    display: none; 
    position: center; 
    left: 50%;
    top: 50%;
    /* transform: translate(-50%, -50%);  */
    width: 80%; 
    max-width: 600px;
    /* max-height: fit-content; */
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 
    z-index: 1; /* Ensure it's on top */
    text-align: center;
  }

  ul {
    padding-left: 40px;
    /* Add indentation */
    text-align: center;
    left: 50%;
    top: 50%;
    list-style-type: circle;    /* Use circles instead of discs */
    list-style-type: square;    /* Use squares */
    /* list-style-image: url('images/logo-legal.jpg'); /* Use a custom image */
  }

  ul {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0; /* Remove default padding */
  }
  
  ul li {
    margin-bottom: 10px; /* Add space between items */
  }
  
  ul li i {
    margin-right: 10px; /* Add space between icon and text */
    color: #f0ad4e; /* Example color */
  }

  .container:hover .popup-text {
    display: block; 
  }

  .left-aligned {
    list-style-position: inside;
    padding-left: 0;
  }

  .gallery {
    /* display: inline-block; */
    grid-template-columns: repeat(auto-fit, minmax(5px, 1fr));
     /* Responsive columns */
     display: grid;
     /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));  */
     gap: 20px;
  }

  .gallery img {
    /* width: 200px;   */
    /* Set a fixed width */
    /* height: 150px;  */
    /* Set a fixed height */
    object-fit: cover; /* Maintain aspect ratio and cover the area */
    width: 100%;
    height: auto;
    border-radius: 5px;
  }

  .gallery img {
    width: 200px;  /* Set a fixed width */
    height: 150px; /* Set a fixed height */
    border-radius: 5px;
    object-fit: cover; /* Maintain aspect ratio and cover the area */
  }

  .modal-content img { /* Or #modal-image if you prefer to be more specific */
    max-width: fit-content; 
    height: 520px;
    display: flex;
  }

  .modal {
    display: none;
    position: fixed; 
    z-index: 1; 
    left: 50%;
    top: 50%;
    width: 100%; 
    height: 100%; 
    transform: translate(-50%, -50%);
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.4); 

  }
       /* Modal Content */
       .modal-content {
        text-align: center;
        background-color: #fefefe;
        margin: 15% auto; 
        padding: 20px;
        border: 1px solid #888;
        width: fit-content;
        height: fit-content;
      }
    
      .close {
        position: relative; 
        top: 20px;   /* Adjust position as needed */
        right: 0px; /* Adjust position as needed */
        font-size: 28px;
        color: white;   /* Example: Make it white */
        background-color: rgba(0, 0, 0, 0.5); /* Example: Semi-transparent background */
        padding: 5px 10px; 
        border-radius: 50%; /* Make it circular */
        cursor: pointer;
        /* color: #020202; */
        float: right;
        /* font-size: 28px; */
        /* font-weight: bold; */
      }
    
      .close:hover,
      .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
      }

      .fas.fa-phone {
        font-size: 1.2em; 
        vertical-align: middle;
      }
      .fas.fa-envelope {
        vertical-align: middle; 
      }



      .center-bullets {
        /* list-style-position: ; */
        text-align: center;
        padding-left: 0;
      }

      @media (max-width: 768px) { /* Adjust the breakpoint as needed */
        .gallery {
          grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Fewer columns on smaller screens */
        }
      
        .modal-content img {
          max-width: 95%; /* Ensure the image fits comfortably */
        }
      }

      p i {
        font-size: 1.2em;
        color: #f0ad4e;
        margin-right: 5px; 
      }