/* For WebKit Browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 1px; /* Thin scrollbar width */
    height: 6px; /* Thin scrollbar height (for horizontal scrollbars) */
}

::-webkit-scrollbar-track {
    background: transparent; /* Transparent track */
}

::-webkit-scrollbar-thumb {
    background: black; /* Red scrollbar handle */
    border-radius: 10px; /* Rounded handle */
}

::-webkit-scrollbar-thumb:hover {
    background: darkred; /* Darker red on hover */
}

/* For Firefox */
body {
    scrollbar-width: thin; /* Thin scrollbar */
    scrollbar-color: red transparent; /* Red handle with transparent track */
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Font Styles */
body {
    font-family: calibri;
    line-height: 1.6;
    background-color: #fff;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}
.ad{
    position: absolute;
    bottom: 50px;
    left: 50px;
    width: 120px;
    height: 160px;
    z-index: 1;
}
/* Header Styles */
header {
    background: #f8fcfc  ;
    border-bottom: 0px solid #f0f0f0;
    padding-bottom: 10px;
}
  
.top-bar {
    text-align: end;
    
    background-image: linear-gradient(120deg, #a6c0fe 0%, #f68084 100%);
    color: #fff;
    padding: 0.5rem 0.5rem;
    font-size: 0.9rem;
}
 
.header-content h1 {
    
    font-size: 1.9rem;
    color: #424646;
    margin-top: 10px;
    margin-left: 50px;
}

.header-content p {
    font-size: 14px;
    color: ;
    margin-left: 85px;
    font-weight: 600;
}

/* Main Content */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    min-height: calc(100vh - 120px); /* Minimum height to avoid overlapping */
    padding: 5px; /* Add padding for spacing */
    box-sizing: border-box;
}


/* General styles for the section */
.services-section {
  position: relative;
  width: 100%;
  min-height: 515px;
  height: auto; /* Adjust the height as per requirement */
  background-image: url('images/bg1.jpg');
  background-size: cover;
  background-position: center;
}
.rubik-glitch-regular {
  font-family: "Rubik Glitch", serif;
  font-weight: 400;
  font-style: normal;
  color: #fff;
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    font-size: 2.2rem;
}

/* Overlay to darken the background */
.services-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;

}

/* Service box styles */
.service-box {
  background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent box for the text */
  padding: 20px;
  margin: 10px;
  width: 250px;
  border-radius: 8px;
  transition: transform 0.3s ease;
  text-align: left; /* Align the list to the left */
}

/* Adding hover effect */
.service-box:hover {
  transform: translateY(-10px); /* Slight lift effect on hover */
}

/* List styling for CCTV and WiFi */
.service-box ul {
  list-style-type: disc;
  padding-left: 20px;
}

.service-box li {   
  margin-bottom: 10px;
}

/* Ensuring services are inline and responsive */
.services-overlay {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Adjust service box layout for mobile view */
@media screen and (max-width: 768px) {
  .service-box {
    width: 200px; /* Adjusting width for mobile view */
  }
}


/* Main Content Container */
.content-container {
    display: flex;
    width: 100%;
    max-width: 1000px;
    gap: 30px;
    height: 100%; /* Ensure it adjusts dynamically */
}

.content-container h3 {
    font-weight: 100;
    transition: opacity 1s ease-out;
    opacity: 1; /* Make sure they are visible initially */
}

.content-container #txt1 {
    position: absolute;
    left: 14%;
    top: 116%;
    font-size: 70px;
    z-index: 1;
    color: #f4d03f;
}

.content-container #txt2 {
    position: absolute;
    left: 14%;
    top: 149%;
    font-size: 70px;
    z-index: 1;
    color: #ec7063;
}
 
.content-container #txt3 {
    position: absolute;
    left: 33%;
    top: 125%;
    font-size: 70px;
    z-index: 1;
    color: #34495e;
}

/* Image Container */
.image-container {
    flex: 1; /* Equal width */
    background: #fff; /* White background */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1;
}

/* Image Styling */
.image-container img {
    max-width: 90%;
    height: auto;
    display: block;
    z-index: 2;
}

/* Appointment Container */
.appointment-container {
    flex: 1; /* Equal width */
    background: #f9f9f9;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow: auto;
}

/* Heading */
.appointment-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.4rem;
    font-weight: bold;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 13px;
    width: 100%;
}

label {
    font-size: 0rem;
    color: #555;
}

input, select, textarea {
    width: 100%;
    padding: 7px;
    font-size: 0.9rem;
    border: 0px ;
    border-bottom: 0px solid #ccc;
    border-radius: 2px;
    transition: all 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: #0078d7;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 120, 215, 0.5);
}

button {
    padding: 10px;
    font-size: 1rem;
    color: #fff;
    background: #0078d7;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #005bb5;
}

/* Fade effect on elements when they are out of view */
.fade {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade.show {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    main {
        padding: 15px;
        min-height: auto; /* Allow flexible height for smaller screens */
    }
    .services-section {
      position: relative;
      width: 100%;
      min-height: 900px;

    }
    .rubik-glitch-regular {
        top: 60%;
        right: -10%;
        font-size: 1.9rem;
        
    }
    .content-container {
        flex-direction: column; /* Stack the divs vertically */
        height: auto; /* Adjust height for responsiveness */
    }

    .image-container, .appointment-container {
        flex: 1 1 100%;
        height: auto; /* Allow divs to grow based on content */
    }

    /* Adjust header font size for mobile */
    .header-content h1 {
        font-size: 1.5rem;
    }

    /* Adjust positioning and size for mobile */
    .content-container #txt1, .content-container #txt2, .content-container #txt3 {
        font-size: 50px; /* Reduced font size */
    }

    .content-container #txt1 {
        left: 10%;
        top: 146%;
    }

    .content-container #txt2 {
        left: 25%;
        top: 167%;
    }
 
    .content-container #txt3 {
        left: 60%;
        top: 150%;
    }
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 1rem;
    background: #273746;
    color: #fff;
    font-size: 0.9rem;
    min-height: 150px;
}

.social-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 10px;
}

.social-icons li {
    display: inline-block;
}

.social-icons a {
    text-decoration: none;
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 16px;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: #0078d7;
}
 


.map-address-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 15px;
  
  background-color: #f0f5f5;
}

.map-container {
  flex: 1;
  min-width: 300px;
  

}

.slider-container {
  flex: 1;
  min-width: 300px;
  position: relative;
  height: 400px;
  overflow: hidden;
  background-color: #000; /* Optional: to provide a background for slider */
  border-radius: 8px;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slider .slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 30px;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
}

#button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

@media (max-width: 768px) {
  .map-container iframe {
    height: 300px; /* Adjust map height for mobile */
  }

  .slider-container {
    height: 250px; /* Adjust slider height for mobile */
  }
}

.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slide {
  min-width: 100%;
  height: auto;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}
