/*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;

}



/* 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;
  }
}





/* main section it willcome */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

h1 {
    text-align: center;
    color: var(--text-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info {
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 1rem;
    color: white;
}



.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.info-item iframe {
    border-radius: 1rem;
    margin-top: 1rem;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.icon-circle img {
    width: 24px;
    height: 24px;
}

.info-content h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-form {
    padding: 2rem;
    border-radius: 1rem;
}

.contact-form h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-form p {
    margin-bottom: 2rem;
    color: #666;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    /* transition: background-color 0.3s; */
}

button:hover {
    background-color: #e67e22;
}

.map-container {
    width: 100vw; /* Full width of the viewport */
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    margin-top: 2rem;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.map-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}




/* Base styles */

.contact-wrapper {
  height: auto; /* Changed from 100vh to auto to ensure it adapts to content height */
  padding-left: 20px;
  display: flex;
  align-items: center;
  justify-content: center; /* Centers the container */
  margin-top: 100px;
  flex-direction: column; /* This ensures the layout is stacked vertically on smaller screens */
}
  
  .contact {
   display: flex; /* Ensures the contact info boxes are aligned horizontally */
   justify-content: space-between; /* Centers both boxes horizontally */
   width: 100%;
  }
  
  .contact-info-box {
   background-color: #f4a460;
   border-radius: 20px;
   width: 100%;
   max-width: 450px; /* Optional: Set a maximum width for the contact boxes */
   height: 100%; /* Ensures the height stretches to fill available space */
   padding: 2rem;
   box-shadow: 0 10px 30px rgba(244, 164, 96, 0.2);
   /* transform: translateY(0); */
   /* transition: all 0.3s ease; */
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   background: 1px solid #291402;
  }
  
  .contact-wrapper .contact {
   flex-grow: 1; /* Ensures both contact boxes grow equally */
  height: 100%;
  }
  
.contact{
  align-items: stretch;
}


/* Contact Info Box Styles */
/* .contact-info-box {
    background-color: #f4a460;
    border-radius: 20px;
    width: 100%;
    height:100%;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(244, 164, 96, 0.2);
    transform: translateY(0);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: 1px solid #291402;
} */

/* .contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(244, 164, 96, 0.3);
} */

.contact-info-items {
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    /* border-radius: 15px; */
    /* background: rgba(255, 255, 255, 0.05); */
    /* transition: all 0.3s ease; */
}

.contact-info-item:not(:last-child) {
    border-bottom: 2px solid white; /* Adds a white line after each item except the last one */
}




/* .contact-info-item:hover {
    background: rgba(255, 255, 255, 0.1);
} */

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-info-icon i {
    color: white;
    font-size: 20px;
}

.contact-info-content {
    flex: 1;

}

.contact-info-content h5 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    margin-bottom: 2px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-content p {
    color: white;
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 500;
    word-break: break-word;
}

.contact-info-image {
    margin-top: auto;
}

.contact-info-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* Contact Form Styles */
.contact-form-container {
    padding: 2rem;
    width: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
    /* transform: translateY(0);
    transition: all 0.3s ease; */
    height: 100%;
}

/* .contact-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
} */

.contact-form-title {
    color: #2d4b6b;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-left: 100px;
}

.contact-form-subtitle {
  color: #6c757d;
  font-size: 15px;
  line-height: 1.6;
  text-align: justify; /* Justifies the text to make the lines appear even */
  text-justify: inter-word; /* Ensures even spacing between words */
  margin: 0 auto; /* Centers the paragraph for a balanced look */
  width: 80%; /* You can adjust this width to control the text's length */
}


.contact-form-input {
    width: 100%;
    border: 2px solid #eef0f5;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 20px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.contact-form-input:focus {
    outline: none;
    border-color: #f4a460;
    box-shadow: 0 0 0 3px rgba(244, 164, 96, 0.1);
    background: white;
}

textarea.contact-form-input {
    resize: none;
    min-height: 150px;
}

.contact-form-button {
    background-color: #f4a460;
    border: none;
    padding: 15px 35px;
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

/* .contact-form-button:hover {
    background-color: #e8915c;
    transform: translateY(-2px);
} */

/* .contact-button-arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
} */

/* .contact-form-button:hover .contact-button-arrow {
    transform: translateX(5px);
} */

/* For Medium to Large Screens (Laptop/Tablet) */
@media (max-width: 1200px) {
  .contact {
      flex-direction: row; /* Keeps items side-by-side but will stack on smaller screens */
      gap: 2rem;
  }

  .contact-info-box,
  .contact-form-container {
      padding: 35px;
      width: 48%; /* Two boxes side by side */
  }
}

/* For Tablets */
@media (max-width: 991px) {
  .contact-wrapper {
      padding: 20px 0;
      min-height: auto;
  }

  .contact-form-container,
  .contact-info-box {
      width: 100%; /* Takes full width */
  }

  .contact {
      flex-direction: column; /* Stacks the contact info and form vertically */
  }
}

/* For Small Screens (Mobile) */
@media (max-width: 767px) {
  .contact-wrapper {
      padding: 15px 0;
  }

  .contact-form-container,
  .contact-info-box {
      padding: 25px 20px;
      width: 100%; /* Stacks contact info box and form one after another */
  }

  .contact-info-item {
      padding: 12px;
  }

  .contact-info-icon {
      width: 45px;
      height: 45px;
      margin-right: 15px;
  }

  .contact-form-title {
      font-size: 24px;
  }

  .contact-form-input {
      padding: 12px 15px;
  }

  .contact-form-button {
      padding: 12px 25px;
      font-size: 14px;
  }
}

/* For Extra Small Screens (Very Small Mobile) */
@media (max-width: 480px) {
  .contact-wrapper {
      padding: 15px 0;
  }

  .contact-info-box,
  .contact-form-container {
      padding: 20px 15px;
  }

  .contact-info-icon {
      width: 40px;
      height: 40px;
      margin-right: 12px;
  }

  .contact-info-content p {
      font-size: 14px;
  }

  .contact-form-title {
      font-size: 22px;
      margin-bottom: 15px;
  }

  .contact-form-subtitle {
      margin-bottom: 20px;
  }
}
/* Popup styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup-content {
    background: linear-gradient(135deg, #fff9c4, #e0f7fa);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 60%;
    max-width: 400px;
    position: relative;
}

.popup-body {
    margin-bottom: 20px;
}

.checkmark-icon {
    font-size: 50px;
    color: green; /* Green tick color */
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: white; /* White background circle */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto; /* Center it horizontally */
}

.popup-message {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: #333;
    cursor: pointer;
}

.popup-list {
    text-align: justify; /* Justify the text */
    margin-top: 15px;
    list-style-type: none; /* Remove bullets */
    padding-left: 0;
}

.popup-list li {
    margin-bottom: 8px;
    font-size: 16px;
    display: flex; /* To align the tick and text horizontally */
    align-items: center;
}

.popup-list .tick {
    font-size: 18px;
    color: green;
    margin-right: 10px;
    display: inline-block;
    width: 25px;
    height: 25px;
    border-radius: 50%; /* Make it a circle */
    background-color: white; /* White background for the circle */
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-list .tick:before {
    content: "✔"; /* Green tick inside the circle */
    color: green;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 767px) {
    .popup-content {
        width: 80%;
    }

    .checkmark-icon {
        font-size: 40px;
    }

    .popup-message {
        font-size: 16px;
    }
}





.testimage{
    width: 100wh!important;
    height: auto;
    object-fit: cover;
    background: 1px solid #dd6e0c;
    background-color: #2d4b6b;
    margin-bottom: -50px;
}
