body {
  background-color: white;
}
a {
  color: inherit;
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  :root {
    font-size: 14px;
  }
}
.navbar-collapse {
  text-align: center;
}

.nav-logo {
  object-fit: contain;
  width: 14rem;
  position: absolute;
  top: 0;
}

.navbar {
  background-color: #21203f; /* Dark purple */
}

.navbar-nav .nav-link {
  color: #ffffff !important;
  margin-right: 15px;
  font-weight: 700;
}

.navbar-toggler {
  color: #ffffff;
  border-color: #ffffff;
}
.icon-links {
  color: #ffffff !important;
  margin-left: 15px;
}
.navbar-nav .nav-link:hover {
  color: #f8b400 !important; /* Orange hover color */
}
.icon-links:hover {
  color: #f8b400 !important;
}
.stundent-img {
  height: 35rem;
}

/* Custom Card Design */
.custom-card {
  background-color: #444459; /* Dark gray background */
  /* Rounded corners */
  border-radius: 15px 15px 0 0;
  width: 300px; /* Fixed width */
  padding: 20px;
  color: #ffffff;
  border: none;
  position: absolute;
  bottom: 0;
}
@media screen and (max-width: 768px) {
  /* Center the card on small screens */
  .custom-card {
    position: static; /* Remove absolute positioning */
    margin: auto; /* Add margin and center the card */
  }
}
/* Card Title */
.custom-card .card-title {
  font-weight: bold;
  font-size: 1.2rem;
  color: #ffffff;
}

/* Address Text */
.custom-card .card-text {
  font-size: 0.9rem;
  color: #dcdcdc;
}

/* Phone Button */
.phone-btn {
  background-color: #ffffff; /* White background */
  color: #444459; /* Dark text */
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.phone-btn:hover {
  background-color: #f8f8f8;
  color: #444459;
  text-decoration: none;
}

/* Appointment Button */
.appointment-btn {
  border: 1px solid #ffffff; /* White border */
  color: #ffffff;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.appointment-btn:hover {
  background-color: #ffffff; /* Invert colors on hover */
  color: #444459;
}

/* Badge Styling */
.badge-img {
  position: absolute;
  top: 10%; /* Adjust this to move the badge up/down */
  right: 0; /* Adjust this to move the badge left/right */
  width: 10rem; /* Adjust the size of the badge */
  z-index: 1; /* Ensure it stays on top of the student image */
}

/* Student Image */
.student-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  position: relative;
  z-index: 10;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .badge-img {
    top: 15%; /* Move the badge closer to the student image */
    right: 5%; /* Adjust for smaller screens */
    /* Scale down the badge size */
  }

  .student-img {
    max-width: 250px;
  }
}

/* Orange Section */
.orange-section {
  /* Bright orange background */
  color: #ffffff; /* White text */
  text-align: center;
  padding: 5rem;
}
@media screen and (max-width: 768px) {
  /* Orange Section */
  .orange-section {
    padding-top: 1rem;
  }
}

.orange-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
}

.orange-section h4 {
  font-size: 1.5rem;
  color: #ffd7b5; /* Lighter text for emphasis */
}

.orange-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.feature-box {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  width: 280px;
}

.feature-box h5 {
  font-size: 1.2rem;
  font-weight: bold;
}

.feature-box p {
  font-size: 1rem;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Button Styling */
.orange-section .btn-primary {
  background-color: #ffffff; /* White button */
  color: #f47920; /* Orange text */
  font-weight: bold;
  border: none;
  transition: all 0.3s ease;
}

.orange-section .btn-primary:hover {
  background-color: #ffd7b5; /* Lighter orange */
  color: #ffffff; /* White text */
}

/* Adjust spacing for smaller screens */
@media screen and (max-width: 768px) {
  .orange-section h2 {
    font-size: 1.8rem;
  }

  .orange-section h3 {
    font-size: 1.3rem;
  }

  .orange-section p,
  .orange-section ol li {
    font-size: 0.9rem;
  }
}
/* Remove margin between sections */

.orange-conatiner {
  position: relative;
}
.orange-section {
  background-color: #f36d1b; /* Orange background */
  color: #ffffff;
  position: absolute;
  /* Ensure alignment with v-shaped footer */
  top: 0rem; /* Add padding to separate text from the top */
  width: 100%;
  z-index: 9;
}
.orange-margin {
  height: 7rem;
}
/* Footer with V-Shaped Bottom */
.v-shaped-footer {
  background-color: #444459; /* Dark gray background */
  color: #ffffff;

  height: 7rem;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
  position: relative;
  /* Ensure alignment with v-shaped footer */
  padding-top: 0rem;
  z-index: 10;
  width: 100%;
}

.v-shaped-footer .row h5 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
}

.v-shaped-footer .container {
  padding-top: 20px;
  padding-bottom: 20px;
}
.navbar-toggler {
  border: none;
}
.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: none !important ;
}
@media screen and (max-width: 768px) {
  .v-shaped-footer {
    height: 10rem;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
  }
}

/* Subjects Section */
.subjects-section {
  background-color: #21203f; /* Dark navy background */
  position: relative;
  overflow: hidden;
  padding: 5rem 0 !important;
}
/* Orange Section */
@media screen and (max-width: 768px) {
  /* Orange Section */
  .orange-section {
    padding-top: 1rem;
  }
}
/* Title Styling */
.subjects-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
}

.subjects-section p {
  font-size: 1.2rem;
  color: #b0b0b0; /* Light gray text */
}

/* Subject Card Styling */
.subject-card {
  background-color: #ffffff; /* White card background */
  border-radius: 15px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  padding: 2rem;
  transition: all 0.3s ease-in-out;
  text-align: center;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.subject-card i {
  font-size: 2.5rem;
  color: #f47920; /* Orange for icons */
}

.subject-card h5 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #21203f; /* Dark navy text */
  margin-top: 1rem;
}

/* Hover Effect for Subject Card */
.subject-card:hover {
  transform: translateY(-10px); /* Lift card */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Stronger shadow */
  background-color: #f47920; /* Orange background on hover */
  color: #ffffff;
}

.subject-card:hover i,
.subject-card:hover h5 {
  color: #ffffff; /* White text and icons on hover */
}

/* Call-to-Action Button */
.subjects-section .btn-primary {
  background-color: #f47920; /* Orange button */
  border: none;
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
  transition: all 0.3s ease-in-out;
}

.subjects-section .btn-primary:hover {
  background-color: #ffffff;
  color: #f47920; /* Reverse colors on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments for Medium Screens (Tablets) */
@media screen and (max-width: 768px) {
  .subject-card {
    height: 170px; /* Slightly smaller card height */
    padding: 1.5rem; /* Keep decent padding */
  }

  .subject-card i {
    font-size: 2rem; /* Maintain icon size for readability */
  }

  .subject-card h5 {
    font-size: 1.1rem; /* Reduce font size slightly but maintain legibility */
  }
}

/* Responsive Adjustments for Small Screens (Mobile Phones) */
@media screen and (max-width: 576px) {
  .subject-card {
    height: 160px; /* Reduced card height */
    padding: 1.2rem; /* Smaller padding */
  }

  .subject-card i {
    font-size: 1.8rem; /* Reduce icon size slightly */
  }

  .subject-card h5 {
    font-size: 1rem; /* Larger font size for better readability */
  }

  .subject-card p {
    font-size: 0.9rem; /* Slightly smaller text for supporting content */
  }
}

/* Button Styling for Small Screens */
.subjects-section .btn-primary {
  font-size: 1.1rem; /* Maintain larger font size for CTA button */
  padding: 0.8rem 1.5rem; /* Ensure good clickability */
}
/* V-Shaped Footer Section */
.v-shaped-footer {
  background-color: #444459; /* Dark background */
  color: #ffffff;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%);
  height: fit-content;
}

.v-shaped-footer .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Feature Item Styling */
.feature-item {
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.feature-item i {
  color: #f47920; /* Bright orange for icons */
}

.feature-item h5 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff; /* White text */
  margin-top: 0.5rem;
}

.feature-item p {
  font-size: 0.9rem;
  color: #dcdcdc; /* Light gray text */
}

/* Hover Effect */
.feature-item:hover {
  transform: translateY(-10px); /* Slight lift on hover */
}

.feature-item:hover i {
  color: #ffd700; /* Highlight the icon with gold on hover */
}

/* Full-Screen Section */
.full-screen-section {
  background-color: #f8f9fa; /* Light background */
  color: #212529; /* Dark text */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contact Text Styling */
.contact-text {
  font-size: 1rem;
  font-weight: bold;
  color: #6c757d; /* Muted gray */
  letter-spacing: 0.2em;
}

h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #21203f; /* Dark navy */
}

/* Address and Contact Details */
.address p,
.contact-details p {
  font-size: 1rem;
  color: #6c757d; /* Muted gray */
  margin-bottom: 0.3rem !important;
}

/* Form Styling */
form .form-item {
  margin-bottom: 1.5rem;
}

form .form-item label {
  font-size: 1rem;
  color: #212529;
  font-weight: bold;
}

form .form-item input,
form .form-item textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid #ced4da;
  padding: 0.5rem 0;
  font-size: 1rem;
  background-color: transparent;
  color: #212529;
  outline: none;
}

form .form-item input:focus,
form .form-item textarea:focus {
  border-bottom: 2px solid #21203f; /* Bright blue on focus */
}

form .form-item textarea {
  resize: none;
}

form .form-item button {
  background-color: #21203f; /* Bright blue button */
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

form .form-item button:hover {
  background-color: #3e3c79; /* Darker blue */
  cursor: pointer;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    text-align: center;
  }

  .contact-text {
    text-align: center;
  }

  .address,
  .contact-details {
    text-align: center;
  }

  form {
    width: 100%;
  }
}
