

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* position: relative; */
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  /* top: 60px; */
  background-color: #ffffff;
}

.content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
}

.text-content {
  max-width: 50%; /* Shrink text area to allow more space for the image */
}

.image-container {
  display: flex;
  justify-content: flex-end;
  max-width: 50%; /* Ensure enough space for the larger image */
}

.side-image {
  max-width: 100%; /* Ensure responsiveness */
  width: 650px; /* Preferred size for larger screens */
  height: auto; /* Maintain aspect ratio */
  border-radius: 10px;

}

/* Responsive Design */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px; /* Narrower padding for mobile */
  }

  .text-content {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .image-container {
    max-width: 80%;
  }
}

/* Navbar Style */
.navbar1 {
  background-color: #F5F4F8;
  padding: 18px 40px; /* Slightly more padding for balanced spacing */
  display: flex;
  align-items: center;
  justify-content: space-between;

  position: sticky; /* Keeps navbar visible while scrolling */
  top: 0;
  z-index: 1000;
}

/* Logo Section */
.navbar1 .logo-container {
  margin-right: 25px;
}

.navbar1 .logo {
  height: 40px; /* Slightly larger logo for visual balance */
  width: auto;
}

/* Company Name */
.navbar1 h1 {
  color: #41246E;
  font-family: 'Arial', sans-serif;
  font-size: 8.1rem;
  margin: 0;
}

/* Menu List */
.navbar1 ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px; /* Equal spacing between menu items */
  margin: 0;
}

/* Menu Items */
.navbar1 ul li {
  position: relative;
}

/* Menu Links */
.navbar1 ul li a {
  color: #41246E;
  text-decoration: none;
  font-size: 1.15rem; /* Larger text for readability */
  font-weight: 500;
  padding: 10px 18px;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* Hover Effect */
.navbar1 ul li a:hover {
  color: green;
  cursor: pointer;
}

/* ===== Dropdown Styling ===== */
.dropdown {
  position: relative;
}

/* Dropdown Container */
.dropdown .dropdown-content {
  display: block;
  position: absolute;
  background-color: white;
  min-width: 185px; /* Slightly wider for larger text */
  z-index: 10;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
  margin-top: 15px;
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0s;
}

/* Dropdown Links */
.dropdown .dropdown-content a {
  display: block;
  color: #41246E;
  padding: 12px 20px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: left;
}

/* Hover Effect for Dropdown Links */
.dropdown .dropdown-content a:hover {
  color: white;
  background-color: #41246E;
}

/* Dropdown Arrow */
.arrow {
  font-size: 13px;
  margin-left: 8px;
}


/* Login Button */
.login-btn {
  background-color: white;
  color: white;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
  border: 2px solid #41246E;
  text-align: center;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.login-btn:hover,
.login-btn:focus {
  background-color: #f2f6f4;
  color: red;
  text-decoration: none;
  cursor: pointer;
}

/* Navbar Responsive */
@media (max-width: 768px) {
  .navbar1 {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar1 .logo-container {
    margin-bottom: 10px;
  }

  .navbar1 ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar1 ul li {
    margin-right: 0;
    margin-bottom: 0px;
  }

  .navbar1 ul li a {
    font-size: 0.9rem;
  }

  .dropdown .dropdown-content {
    position: static;
  }
}


/* Typed Cursor */
.typed-cursor {
  font-size: 2rem;
  color: #41246E;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Flex Actions */
.flex-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
  margin: 0 100px;
}

.action-btn {
  flex: 0 0 auto;
}

.btn {
  display: inline-block;
  text-decoration: none;
  color: white;
  background-color: white;
  padding: 15px 40px;
  border-radius: 15px;
  font-size: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  background-color: red;
  transform: translateY(-2px);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

/* Specific Buttons */
.signup-btn {
  background-color: #41246E;
  border-radius: 15px;
}

.signup-btn:hover {
  background-color: green;
}

.btn-view {
  background-color: white;
  color: red;
  border: 2px solid red;
  border-radius: 8px;
}

.btn-view:hover {
  background-color: white;
  color: green;
}

/* ------------------------------------------------------------ */


/* Base dropdown styles */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 260px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
  z-index: 3;
  border-radius: 2px;
  border: 1px solid #41246E;
  top: 120%; /* Align below the parent menu */
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Nested dropdown */
.nested-dropdown {
  position: relative;
}

.nested-dropdown-content {
  display: none;
  position: absolute;
  left: calc(100% - 1px); /* Align to the right of the parent dropdown */
  top: 0px; /* Moves the nested dropdown slightly up */
  background-color: white;
  min-width: 335px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
  z-index: 3;
  border-radius: 2px;
  border: 1px solid #41246E;
  max-height: 85vh; /* 90% of the viewport height */
  overflow-y: auto; /* Enable scrolling inside the dropdown if necessary */
}

.nested-dropdown:hover .nested-dropdown-content {
  display: block;
}

/* Optional hover effects for links */
.dropdown-content a,
.nested-dropdown-content a {
  padding: 15px 100px;
  text-decoration: none;
  color: #000;
  display: block;
}

.dropdown-content a:hover,
.nested-dropdown-content a:hover {
  background-color: #41246E;
  color: #41246E;
}


/* Nested dropdown links */
.nested-dropdown-content a {
  gap: 5px; /* Space between icon and text for all links */

}


/* --------------------------------------------------container Section Design---------------------------------------------------------- */


/* General section container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Service Section */
.services {
  background-color: rgb(251, 250, 250);
  padding: 60px 5px;
}

.services h2 {
  font-size: 2rem;
  text-align: center;
  color: #41246E;
  margin-bottom: 25px;
}

.services p {
  text-align: center;
  color: #41246E;
  margin-bottom: 40px;
}

.service-cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.service-card {
  background-color: #ffffff;
  border: 1px solid #41246E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  width: calc(33.33% - 20px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-card i {
  font-size: 40px;
  color: #41246E;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.25rem;
  color: #41246E;
  margin-bottom: 10px;
}

.service-card p {
  color: #41246E;
}

/* Testimonials Section */
.testimonials {
  background-color: #ffffff;
  padding: 60px 0;
}

.testimonials h2 {
  font-size: 2rem;
  text-align: center;
  color: #41246E;
  margin-bottom: 20px;
}

.testimonials .testimonial-cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.testimonial-card {
  background-color: #F8F9FA;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  width: calc(50% - 20px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-card p {
  font-style: italic;
  color: #41246E;
  margin-bottom: 10px;
}

.testimonial-card span {
  color: #41246E;
  font-weight: bold;
}


/* Responsive Design */
@media (max-width: 768px) {
  .service-card,
  .testimonial-card {
    width: 100%;
  }
}



.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.member-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 25px 15px;
    transition: all 0.3s ease;
}
.member-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}
.member-box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;

}
.member-box span {
    font-size: 0.95rem;
    color: #444;
}

