/*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;
  }
}
  
.features-section .container {
    max-width: 1400px;
   margin-top: 100px;
}

.features-section .row {
    display: flex;
    align-items: center;
}


.features-section .col-md-6 {
    padding: 15px;
}

.features-section img {
    max-width: 100%;
    height: 300px;
    border-radius: 8px;

}

.features-section h2 {
    color: #000000;
    font-family: "League Spartan", Sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.features-part-1 li {
    font-family: "League Spartan", Sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
    color: #666; /* Lighter color for better UI */
    list-style: none;
    margin-left: 0;
    padding-left: 0;

}


.features-part-1 li::before {
    content: '';
    width: 15px;
    height: 15px;
    border: 2px solid #314436;
    border-radius: 50%;
    background-color: #314436;
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
}

.features-part-1 li::after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    position: absolute;
    left: -29px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}


.features-part-2 li {
    font-family: "League Spartan", Sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
    color: #666; /* Lighter color for better UI */
    list-style: none;
    margin-left: 0;
    padding-left: 0;

}


.features-part-2 li::before {
    content: '';
    width: 15px;
    height: 15px;
    border: 2px solid #314436;
    border-radius: 50%;
    background-color: #314436;
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
}

.features-part-2 li::after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    position: absolute;
    left: -29px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}




.features-images {
    display: none;
    justify-content: center;
    flex-wrap: wrap;
    margin: none;
    padding: none;
}

.features-images.active {
    display: flex;
    margin: none;
    padding: none;
}

.features-image.features-tab-image-title{
    font-family: "League Spartan", Sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background-color: pink;
    margin: none;
    padding: none;
    /* make bold and italic */
    font-style: italic;
    font-weight: bold;
}



.features-part-2 {
    background: #E5F7F6;
    position: relative; /* Ensure stacking context */
}


.btn-grad {background-image: linear-gradient(to right, #24C6DC 0%, #514A9D  51%, #24C6DC  100%)}
.btn-grad {
   width: 180px;
   margin: 10px;
   padding: 15px 25px;
   text-align: center;
   text-transform: uppercase;
   transition: 0.5s;
   background-size: 200% auto;
   color: white;            
   /* box-shadow: 0 0 20px #eee; */
   border-radius: 10px;
   display: block;
   outline: none;
 }

 .btn-grad:hover {
   background-position: right center; /* change the direction of the change here */
   color: #fff;
   text-decoration: none;
 }


 .tab-grad {background-image: linear-gradient(to right, #00d2ff 0%, #3a7bd5  51%, #00d2ff  100%)}
 .tab-grad {
    margin: 10px;
    padding: 15px 45px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
  }


  

  .tab-grad:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
  }
 

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}



.features-part-1 {
    background: linear-gradient(180deg, white 0%, #E7F8F6 100%);
}

.features-part-1 li {
    font-family: "League Spartan", Sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
    color: #666; /* Lighter color for better UI */
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.features-part-1 li::before {
    content: '';
    width: 15px;
    height: 15px;
    border: 2px solid #314436;
    border-radius: 50%;
    background-color: #314436;
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
}

.features-part-1 li::after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    position: absolute;
    left: -29px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.part-1-border{
    margin-bottom: -60px;
    display: block;
}

.part2-top-border{
    margin-top: -60px;
    display: block;
}

.part-2-buttom-border{
    margin-bottom: -60px;
    display: block;
}


.features-middle-part{
    background-color: linear-gradient(180deg, white 0%, #F4EEE5 100%);
}

.features-middle-part p{
    font-family: "League Spartan", Sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
    color: #666; /* Lighter color for better UI */
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.features-tab-image-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* background: rgba(0, 0, 0, 0.5); */
    color: #fff;
    text-align: center;
    /* padding: 10px; */
    font-size: 18px;
    z-index: 1;
    /* transition: transform 0.3s; */
}

.features-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F3A060;
    color: #fff;
    display: flex;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateY(100%);
    padding: 20px;
}

.features-overlay ul {
    margin: 0;
    padding: 0;
    list-style: outside;
    margin-top: 10%;
}

.features-overlay ul li {
    margin-bottom: 10px;
    margin-left: 10px;
    font-size: 15px;
}

.features-image:hover .features-overlay {
    opacity: 1;
    transform: translateY(0);
}





/* Animation for elements coming from the bottom */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}



.features-images.active {
    display: flex;
}

.features-image {
    position: relative;
    margin: 5px;
    width: 320px;
    overflow: hidden;
    border-radius: 8px;
    opacity: 0;
    transform-style: preserve-3d;
    animation: feature3DEffect 0.6s ease-out forwards;
    --animation-delay: calc(var(--index) * 0.2s);
    animation-delay: var(--animation-delay);
    margin: 11px;
}

@keyframes feature3DEffect {
    0% {
        transform: perspective(1000px) rotateY(-90deg) translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: perspective(1000px) rotateY(0deg) translateX(0);
        opacity: 1;
    }
}

.features-image:hover {
    transform: rotateY(10deg) scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    scale: 1.04;
}

.features-image {
    position: relative;
    overflow: hidden;
}

.features-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.2) 70%,
        rgba(0, 0, 0, 0.7) 100%
    );
    pointer-events: none;
}

.features-tab-image-title {
    position: absolute;
    bottom: 10px;
    color: #fff;
    z-index: 1;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}






