/*General Reset */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  /* scroll-behavior: smooth; */
  /* overflow-x: hidden; */
  font-family: Arial, sans-serif;
  width: 100%;
  overflow-y: auto;
  overscroll-behavior-y:auto;
}


/* Header and Top Image */
/* Global styles */


/* Header Styles */
/* General Header and Top Image Styles */
/* General Header and Top Image Styles */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.top-image {
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  z-index: 1001;
}

.top-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Logo */
.logo {
  font-size: clamp(20px, 4vw, 34px);
  font-weight: bold;
  color: #555;
}

.logo img {
  object-fit: contain;
  padding-left: clamp(20px, 5vw, 150px);
  height: 70px;
}

/* Navbar Styles */
.navbar {
  background-color: white;
  color: #555;
  position: fixed;
  width: 100%;
  height: auto;
  min-height: 80px;
  top: 40px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: clamp(10px, 2vw, 20px);
  transition: all 0.3s ease;
  max-width: 1550px;
  justify-self: center;
}

.navbar-container {
  width: 100%;
  max-width: 1200px;
  margin-top: clamp(20px, 4vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Navigation Links */
.nav-links {
  display: flex;
  list-style: none;
  /* gap: clamp(10px, 2vw, 15px); */
}

.nav-links li {
  margin: 0;
  position: relative;
  top: clamp(5px, 2vw, 15px);
  left: clamp(50px, 10vw, 200px);
}

.nav-links a {
  text-decoration: none;
  color: #555;
  font-size: clamp(14px, 2vw, 16px);
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #f4a261;
}
.nav-links a.active {
  color: #f4a261; /* Orange color */
}

/* Navigation Actions */
.nav-actions {
  display: flex;
  align-items: center;
  margin-top: 0;
  padding-left: clamp(50px, 10vw, 200px);
}

.visit-btn {
  background-color: #f4a261;
  border: none;
  color: #fff;
  padding: clamp(6px, 2vw, 8px) clamp(20px, 4vw, 45px);
  font-size: clamp(12px, 2vw, 14px);
  margin-left: clamp(10px, 2vw, 30px);
  border-radius: 15px;
  cursor: pointer;
  height: clamp(35px, 5vw, 40px);
  transition: background-color 0.3s ease;
}

.visit-btn:hover {
  background-color: #f4a261;
}


/* Dropdown Menus */
.services-dropdown,
.web-designing-dropdown,
.school-management-dropdown {
  position: absolute;
  width: clamp(200px, 30vw, 250px);
  top: 100%; /* Open downward for "Services" dropdown */
  background-color: white;
  border-radius: 4px;
  box-shadow: 5px 4px 6px rgba(0, 0, 0, 0.1);
  display: none; /* Hide all dropdowns initially */
  z-index: 1002;
}

/* Links inside dropdown */
.services-dropdown span a,
.web-designing-dropdown span a,
.school-management-dropdown span a {
  display: block;
  padding: clamp(8px, 2vw, 10px);
  color: #555;
  text-decoration: none;
}

/* Hover Effects for Individual Dropdowns */
.services:hover .services-dropdown {
  display: block; /* Make "Services" dropdown visible on hover */
}

.web-designing-services:hover .web-designing-dropdown {
  display: block; /* Make "Web Designing" dropdown visible on hover */
}

.school-management:hover .school-management-dropdown {
  display: block; /* Make "School Management" dropdown visible on hover */
}

/* Web Designing Services Dropdown (on the right) */
.web-designing-services {
  position: relative;
}

.web-designing-services:hover .web-designing-dropdown {
  display: block;
  left: 100%; /* Position to the right of the parent */
  top: 0; /* Align directly on the same horizontal level */
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* School Management Dropdown (on the right) */
.school-management {
  position: relative;
}

.school-management:hover .school-management-dropdown {
  display: block;
  left: 100%; /* Position to the right of the parent */
  top: 0; /* Align directly on the same horizontal level */
  z-index: 1002;
}

/* Styling for Nested Dropdown Items */
.school-management-dropdown span,
.web-designing-dropdown span {
  display: block;
  width: 100%;
  border-bottom: 1px solid #d7d7d7;
}

/* Nested Links */
.school-management-dropdown a,
.web-designing-dropdown a {
  padding: 10px;
  display: block;
  color: #333;
  text-decoration: none;
}

/* Hover Effects for Links */
.services-dropdown span a:hover,
.web-designing-dropdown span a:hover,
.school-management-dropdown span a:hover {
  background-color: #f5f5f5;
  color: #f4a261;
}

/* Optional: Styling for the main menu links */
a {
  display: block;
  padding: 10px;
  color: black;
  text-decoration: none;
}



/* Additional Styles for Dropdowns */
.services-dropdown,
.web-designing-dropdown,
.school-management-dropdown {
  display: none;
  position: absolute;
  top: 100%; /* Open downward for "Services" dropdown */
  width: clamp(200px, 30vw, 250px);
  background-color: white;
  border-radius: 4px;
  box-shadow: 5px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1002;
}

/* Adjustments for Nested Dropdowns */
.school-management-dropdown {
  left: 100%; /* Align to the right of the parent item */
  top: 0; /* Position it directly below the parent item */
  display: none;
}

/* Hover Color */
.services-dropdown span a:hover,
.web-designing-dropdown span a:hover,
.school-management-dropdown span a:hover {
  color: #f4a261;
}


/* Animated Section */
.animated-section {
  position: relative;
  top: 90px;
  width: 100%;
  height: clamp(150px, 30vw, 200px);
  padding-top: clamp(10px, 2vw, 20px);
  text-align: center;
  border-radius: 15px;
  background: url("./images/breadcrumb.png") center/cover no-repeat;
  background-size: 100% 70%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  margin-top: clamp(100px, 15vw, 130px);
}

.animated-section h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: bold;
  animation: fadeInUp 1s ease;
}

.animated-section p {
  margin-top: clamp(10px, 2vw, 15px);
  font-size: clamp(10px, 2vw, 1.1rem);
  max-width: min(800px, 90vw);
  color: #385469;
  animation: fadeInUp 1.5s ease;
  padding: 0 clamp(10px, 3vw, 20px);
}

.animated-section .buttons {
  margin-top: clamp(15px, 3vw, 25px);
  display: flex;
  gap: clamp(10px, 2vw, 15px);
  animation: fadeInUp 2s ease;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 clamp(10px, 3vw, 20px);
}

.animated-section .buttons a {
  padding: clamp(8px, 2vw, 10px) clamp(15px, 3vw, 20px);
  border-radius: 5px;
  text-decoration: none;
  background-color: #f4a261;
  color: white;
  white-space: nowrap;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  font-size: clamp(20px, 4vw, 24px);
  cursor: pointer;
  z-index: 1003;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .navbar-container {
      padding: 0 20px;
  }

  .nav-links li {
      left: clamp(20px, 5vw, 100px);
  }

  .nav-actions {
      padding-left: clamp(20px, 5vw, 100px);
  }
}

@media (max-width: 768px) {
  .navbar {
      height: auto;
  }

  .hamburger-menu {
      display: block;
  }

  .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background-color: white;
      padding: 10px 0;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
      display: flex;
  }

  .nav-links li {
      margin: 10px 0;
      text-align: center;
      left: 0;
  }

  .nav-actions {
      width: 100%;
      justify-content: center;
      padding-left: 0;
      margin-top: 10px;
  }

  .visit-btn {
      margin-left: 0;
  }

  .services-dropdown,
  .blog-dropdown,
  .web-designing-dropdown {
      position: static;
      width: 100%;
      margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .navbar {
      top: 30px;
  }

  .top-image {
      height: 60px;
  }

  .animated-section {
      margin-top: 100px;
  }

  .logo img {
      padding-left: 10px;
  }

  .visit-btn {
      padding: 6px 15px;
      font-size: 14px;
  }
}



/* Hero Section */
.hero-subtitle {
  font-weight: 600;
  color: #ff8c42; /* Warm orange color */
  margin-top: 120px;
  padding-left: 0; /* No padding on left to ensure left alignment */
  text-transform: uppercase; /* Capitalized styling */
  text-align: left; /* Align the subtitle to the left */
}

.hero-subtitle .highlight-star {
  font-size: 1.5rem;
  color: #ff8c42; /* Star in the same color */
}

/* Title Styling */
.hero-title {
  font-weight: 700;
  color: #2d2d2d; /* Dark text color */
  padding-left: 0; /* Ensure title has no extra padding on left */
  text-align: left; /* Align title to the left */
}

.hero-title .highlight {
  color: #ff8c42; /* Orange highlight for 'Management' */
}

/* Description Styling */
.hero-description {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #555; /* Soft gray text */
  text-align: left; /* Align text to the left */
  line-height: 1.6; /* Optional, improves readability */
  padding-left: 0; /* No extra left padding */
}


/* Buttons */
.hero-buttons {
  margin-top: 30px;
}

.hero-buttons .btn-primary {
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 30px;
  margin-right: 10px;
  background-color: #ff8c42;
  text-decoration: none;
}

.btn-primary {
  background-color: #ff8c42;
  border-color: #ff8c42;
  color: white;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #e67a35;
  border-color: #e67a35;
}

.btn-outline-secondary {
  border-color: #2d2d2d;
  color: #2d2d2d;
  transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
  background-color: #2d2d2d;
  color: white;
}

.hero-image {
  width:80%;
  height: auto;
  position: relative;
  top: 80px;
  border-radius: 10px;
}




.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #2d2d2d; /* Dark text color */
  }
/* Container */
.container-baned {
  width: 100%;
  z-index: 2;
  position: relative;
  margin-top: -50px;
  padding: 0;
  max-width: 1400px;
    justify-self: center;
}

/* Content and Image Wrapper */
.payroll-first-content-image {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* Wrap the content and image on smaller screens */
  padding: 20px;
}

/* Content Styling */
.payroll-first-content {
  text-align: center; /* Center text */
  max-width: 600px; /* Ensure content doesn't stretch too much */
  padding: 0 20px;
}

/* Fade In Animations */
.hero-description {
  animation: fadeIn 2s ease-in-out forwards;
}

.hero-buttons {
  height: 40px;
  width: 30%;
  margin-top: 50px;
  background-color: #f4a261;
  padding: -10px;
  border-radius: 5px;
  animation: fadeIn 2.5s ease-in-out forwards;
  /* margin-bottom: 20px; */
}

.hero-buttons > .contactus {
  color: #fff;
  text-decoration: none;
  padding-bottom: 5px;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .payroll-first-content-image {
    flex-direction: column; /* Stack content and image vertically on smaller screens */
    justify-content: center;
  }

  .payroll-first-content {
    max-width: 90%; /* Allow more space on smaller screens */
    margin: 0 auto;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-buttons {
    width: 50%;
  }
}

@media (max-width: 768px) {
  /* Small Screen Adjustments */
  .payroll-first-content-image {
    flex-direction: column; /* Stack content and image vertically */
    padding: 20px;
  }

  .payroll-first-content {
    max-width: 100%; /* Full width for smaller screens */
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    width: 80%; /* Button takes more width on smaller screens */
  }
}

@media (max-width: 480px) {
  /* Very Small Screen Adjustments */
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .hero-buttons {
    width: 100%; /* Full width for buttons */
  }
}

/* Fade-in animation */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeInImage {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}





/* Hostel Benefits Section */
.maintenance-section {
    padding: 50px 10px;
    background-color:#f3f9f8; /* Light gray background for contrast */
   
}
.maintenance-section .row{
  max-width: 1400px;
  justify-self: center;
}

/* Image Styling */
.maintenance-section img {
    width: 100%;
    height: auto;
    border-radius: 10px;
   
}

/* Section Heading */
.maintenance-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
}

/* Subheading Styling */
.maintenance-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 10px;
}

/* Paragraph Styling */
.maintenance-section p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Highlight Star Styling */
.highlight-star {
    color: #ff8c42; /* Warm orange color */
    margin-right: 10px;
}

.col-md-6 p {
  text-align: justify; /* Justify the text */
  line-height: 1.6; /* Optional: improve readability */
  font-size: 1.1rem; /* Optional: adjust font size */
  color: #555; /* Optional: color text */
}

/* Responsive Layout */
@media (max-width: 768px) {
    .maintenance-section .row {
        flex-direction: column; /* Stack content on mobile */
    }

    .maintenance-section img {
        margin-bottom: 20px;
    }

    .maintenance-section h2 {
        font-size: 2rem;
        text-align: center; /* Center the heading on smaller screens */
    }

    .maintenance-section h4 {
        font-size: 1.1rem;
    }

    .maintenance-section p {
        font-size: 0.95rem;
    }
}


/* Hostel Features Section */
/* Container for the entire section */
.hostel-features-section {
  display: flex;
  justify-content: center; /* Centers all content horizontally */
  align-items: center; /* Centers all content vertically */
  color: #333; /* Dark text for readability */
  /* height: 69vh;  */
  overflow-x: hidden; /* Prevent horizontal scrolling */
  box-sizing: border-box; /* Ensures padding doesn't affect layout */
  padding: 10px 20px; /* Ensure there's some padding for smaller screens */
  max-width: 1400px;
    justify-self: center;
}

/* Flexbox container for image and content */
.hostel-third-content-image {
  display: flex;
  flex-direction: column; /* Stack content and image vertically on smaller screens */
  align-items: center; /* Center both content and image */
  width: 100%; /* Make sure the container doesn’t overflow */
  
}

/* Content styling */
.hostel-third-content {
  width: 100%; /* Full width of the container */
  /* margin-left: 0; */
  text-align: justify;

}

/* Heading Styling */
.features-heading {
  /* font-weight: 700; */
  color: #2d2d2d;
 
}

/* Highlight Star */
.highlight-star {
  color: #ff8c42;
  font-size: 1.5rem;
  margin-right: 10px;
}

/* Sub-heading Styling */
.hostel-third-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d2d2d;
}

/* List Styling */
.hostel-third-content ul {
  list-style-type: disc;
  padding-left: 40px;
  margin-bottom: 20px; /* Space below the list */
}

.hostel-third-content li {
  font-size: 1rem;
  color: #555;
}

/* Image Section */
.features-image .hostel-third-image {
  width: 100%;
  max-width: 100%; /* Ensure the image does not exceed its container width */
  height: auto; /* Maintain aspect ratio */
  border-radius: 10px; /* Optionally, round corners for the image */
}

/* Responsive Layout for Small Screens */
@media (max-width: 768px) {
  .hostel-features-section {
    height: auto; /* Allow height to adjust to content */
    padding: 30px 10px;
  }

  .features-heading {
    font-size: 1.8rem;
  }

  .hostel-third-content h4 {
    font-size: 1.1rem;
  }

  .hostel-third-content ul {
    padding-left: 15px;
  }

  /* Stack content and image on smaller screens */
  .hostel-third-content-image {
    flex-direction: column; /* Stack content and image vertically */
    padding: 20px; /* Add padding on smaller screens */
  }

  /* Adjust image size for small screens */
  .features-image .hostel-third-image {
    width: 100%; /* Adjust image width for better fitting */
  }
}

/* For Laptop & Desktop Screens */
@media (min-width: 769px) {
  .hostel-third-content-image {
    flex-direction: row; /* Arrange content and image side by side on larger screens */
    justify-content: center; /* Ensure content is centered even on wide screens */
    padding: 20px;
  }

  .features-image .hostel-third-image {
    width: 100%; /* Image takes up half the width */
  }

  .hostel-third-content {
    width: 50%; /* Content takes up the other half */
    padding-left: 20px; /* Add padding for better spacing */
    padding-right: 20px;
    text-align: justify;
  }
}







