body {
  font-family: Arial, sans-serif;
}
html {
  scroll-behavior: smooth;
}
.header {
  background-color: #1A231C !important ;/* Ensure this color is correct */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding:  0; /* Reduced padding to make the header thinner */
}

.nav{
width: 1459px;
}

.nav-link {
  color: #333;
  font-weight: 200;
  margin: 0 5px;
}

.nav-link:hover {
  color: #007bff;
}

#Logo {
  position: relative;
  top: 5px;
  /* bottom: 1px; */
  left: 10px;
  z-index: 10;
  width: 70px;
  height: 70px;
  margin: 5px;
}
/* #navbarCollapse {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px; /* Adjust spacing between links */
/* } */

/* .navbar-collapse .button-green { */
  /* margin-left: auto; Push the button to the right */
/* }  */
.Sign-btn{
  color: black;
  border-radius: 20px;
  background-color: #66C18E;
  padding: 0.5rem 1.5rem;
  border: none;
  font-weight: 520;
font-size:500;
  align-content: start;
  width:60% ;
  height: 130%;
}
.hero-section h1 .green-text {
  color:#45825D /* Green color for "Technology" */
}


  .hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    text-align: start;
  }
  
  .hero-section .lead {
    font-size: 1.5rem;
    color: #1a231c;
    text-align: start;

  }
  
  .hero-section img {
    max-width: 100%;
    height: auto;

  }
  .button-black {
    background-color: black;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: background-color 0.3s ease;

  }
  .button-green:hover {
    background-color: #f0f0f0;
  }
  .button-green {
    color: black;
    border-radius: 20px;
    background-color: #66C18E;
    padding: 0.5rem 1.5rem;
    border: none;
    font-weight: 500;
    align-content: start;
    transition: background-color 0.3s ease;
  }

.button-black:hover {
    background-color: #66C18E;;
  }
  .hero-section .button-container, .about-us .button-container {
    display: flex;
    gap: 10px; /* Space between buttons */
    margin-top: 20px; /* Space between text and buttons */
  }
 
  
  
  .about-us, .find-tutor, .popular-simulations, .pricing-plans, .testimonials, .contact-us {
    padding: 60px 0;
  }
  
  .popular-simulations{
    background: linear-gradient(to right, #45825D, #1a231c);
    color: white;
  min-height: 650px;
  font-size: 20px;
  }

  .popular-simulations h2{
   font-weight: 700;
  }
  .popular-simulations img, 
  .card img {
    max-width: 100%; /* Ensures the image does not exceed the container width */
    height: auto; /* Maintains aspect ratio */
    display: block; /* Removes extra space below inline images */
    object-fit: contain; /* Ensures the whole image fits within the box */
  }
  
  .card {
    margin: 10px;
    padding: 1%;
    border: 1px solid #ddd;
    border-radius: 10px;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
 
  .card:hover {
    transform: scale(1.05); /* Slightly increases size */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2); /* Adds a shadow for a popping effect */
  }
  

  /* Find a Tutor Section */
  .find-tutor {
    background: linear-gradient(to bottom, #ffffff 50%, #45825D 100%);
  }

  .ombre-overlay {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(221, 221, 221, 0) 0%, rgba(69, 130, 93, 1) 100%);
    pointer-events: none; /* Ensures the overlay doesn't block interactions */
  }

  .find-tutor h2{
    color: #45825D;
    font-weight: 600;
    font-size: 50px;
  }
  .search-btn {
    background-color: #45825D;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: transform 0.3s ease
  }

  .search-btn:hover{
    background-color: #449d44;
  }
 .student-img {
      max-width: 100%;
      height: auto;
      display: block;
    }
       
    .features-container {
      margin-left: 2rem;
    }
    
    .features-title {
      font-size: 1.6rem;
      margin-bottom: 1.5rem;
      position: relative;
      display: inline-block;
    }
    
    .features-title:after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 0;
      width: 50px;
      height: 3px;
      background-color: #45825D;
    }
    
    .feature-item {
      display: flex;
      align-items: center;
      margin-bottom: 1rem;
    }
    
    .feature-icon {
      background-color: #45825D;
      color: white;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 10px;
    }
    
    .feature-text {
      font-weight: 600;
      color:#45825D;
    }
    
    .feature-description {
      color: #1A231C;
      font-size: 0.9rem;
      margin-top: -5px;
      margin-left: 40px;
    }

/* Search Box Styling */
.search-box .form-control {
  border-radius: 20px 0 0 20px;
  padding: 3%;
}

  /* Black header styling */
    #black-header {
      background-color: #1a231c;;
      color: white;
      padding: 16px 8px; /* Increased vertical padding for better spacing */
      text-align: center;
      width: 100vw; /* Full viewport width */
      position: relative;
      left: 50%; /* Shift to the left by 50% of its own width */
      transform: translateX(-50%); /* Center it properly */
      display: flex;
      align-items: center; /* Vertically center the content */
      justify-content: center; /* Horizontally center the content */
      height: 100px; /* Set a fixed height or adjust as needed */
    }

   .about-us p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    text-align: start;
  } 

  .about-us img {
    border-radius: 10px;
    width: 100%;
    height: 600px;
  }

  .about-us h2{
    text-align: center;
  } */
/* Ensure the section and image container take full height */
#about-us {
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center; /* Center content vertically */
}

.image-container {
  height: 100%; /* Full height of the parent */
  overflow: hidden; /* Prevent scrolling */
}

.image-container img {
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  object-fit: cover; /* Cover the container while maintaining aspect ratio */
}
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
  }
  
  /* Header Styles */
  .pricing-header {
    margin-bottom: 40px;
  }
  
  .pricing-header h4 {
    color: #45825D;
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
  }
  
  .pricing-header h2 {
    font-size: 32px;
    margin: 0;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
  }
  
  /* Pricing Cards Container */
  .pricing-cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
  }
  
  /* Individual Card Styles */
  .pricing-card {
    background-color: #1a231c;
    color: white;
    border-radius: 10px;
    padding: 30px;
    width: 280px;
    text-align: left;
  }
  
  .card-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
  }
  
  .card-price {
    font-size: 42px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
  }
  
  .card-frequency {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 20px;
  }
  
  .get-started-btn {
    background-color: #45825D;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
    margin: 20px 0;
  }
  
  .divider {
    height: 1px;
    background-color: #333;
    margin: 15px 0;
  }
  
  /* Feature List Styles */
  .feature-list {
    list-style-type: none;
    padding: 0;
    margin: 20px 0 0 0;
  }
  
  .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .feature-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
  }
  
  .check {
    background-color: #3a7d44;
  }
  
  .cross {
    background-color: #e63946;
  }
  .testimonials {
    padding: 3rem 0;
    background-color: #f8f9fa;
    position: relative;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
  }
  
  .testimonials-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .testimonials-header h2 {
    font-size: 2rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
  }
  
  .testimonials-header h2:after {
    content: '';
    position: relative;
    width: 50%;
    height: 3px;
    background-color: #1a231c;
    bottom: 0;
    left: 25%;
  }
  
  .user-text {
    color:#45825D;
    font-weight: 600;
  }
  
  .testimonials-slider {
    position: relative;
    overflow: hidden;
  }
  
  .testimonials-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
    padding: 10px 0;
  }
  
  /* Black testimonial cards */
  .testimonial-card {
    min-width: 300px;
    width: calc(50% - 20px);
    background-color:#1a231c;;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    padding: 1.5rem;
    margin-bottom: 1rem;
    height: auto;
  }
  
  .testimonial-content {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    text-align: start;
    
  }
  
  .testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
    border: 2px solid #ddd;
  }
  
  .testimonial-author {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #fff;
  }
  
  .testimonial-position {
    font-size: 0.9rem;
    color: #aaa;
  }
  
  .testimonial-text {
    font-size: 1rem;
    color: #ddd;
    line-height: 1.2;
  }
  
  /* Side arrows for scrolling */
  .side-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(40, 167, 69, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    opacity: 0.7;
    transition: opacity 0.3s;
    z-index: 10;
  }
  
  .side-arrow:hover {
    opacity: 1;
  }
  
  .arrow-left {
    left: 5px;
  }
  
  .arrow-right {
    right: 5px;
  }
  
  /* Scroll indicator at the edge of visible cards */
  .scroll-indicator {
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    width: 30px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0.8;
  }
  
  .scroll-indicator-arrow {
    color: #28a745;
    font-size: 2rem;
    animation: pulse 1.5s infinite;
  }
  
  @keyframes pulse {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px); }
    100% { transform: translateX(0); }
  }
  
  .pagination {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 5px;
  }
  
  .pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .pagination-dot.active {
    background-color: #28a745;
  }
  
  @media (max-width: 768px) {
    .testimonial-card {
      width: calc(100% - 20px);
    }
  }

  /* Row styling to match original */
  .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
  }

  .col-md-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }

  @media (min-width: 768px) {
    .col-md-6 {
      flex: 0 0 50%;
      max-width: 50%;
    }
  }




  /* Popup Styles for login */
.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;
}

.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}

.close-btn {
  float: right;
  cursor: pointer;
}
  .login-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color:#66C18E; /* Green background */
    color: white; /* White text */
    text-decoration: none; /* Remove underline */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s ease; /* Smooth hover effect */
  }

  .login-link:hover {
    background-color: #218838; /* Darker green on hover */
  }

  /* Contact Section Styles */
.header-contact {
    background-image: url('images/7xm.xyz754935.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
}

.header-contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/7xm.xyz754935.jpg'); /* Use the same image */
    background-size: contain;
    background-position: center;
    filter: blur(5px); /* Adjust the blur value as needed */
    z-index: -1; /* Place the blurred image behind the content */
}

.header h1 {
    color: white;
    font-size: 2.5em;
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    background: white;
    padding: 40px 0;
}

.contact-info h2 {
    font-size: 30px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #3A6A4D;
    text-align: left;
}

.contact-info p{
    font-size: 30px;
    margin-bottom: 20px;
    text-align: left;
    font-weight:700;
    color: #1A231C;
}

/*  */

.contact-info hr {
    border-top: 3px solid #3A6A4D; /* Green line */
    width: 130px;
    margin-left: 0;
    margin-bottom: 1em;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #3A6A4D;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-media a:hover {
    background-color: #333;
    color: white;
}

/* Contact Form Styling */
.contact-form {
    background-color: #f4f4f4; /* Greyish background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.input-container {
    display: flex;
    gap: 10px;
    width: 100%;
}

.input-wrapper {
    width: 100%;
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 10px;
    top: 14px; /* Fixed position from top instead of using transform */
    color: #333;
    font-size: 16px;
    pointer-events: none; /* Ensure the icon doesn't interfere with input clicks */
}

.input-wrapper input,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 12px 12px 35px; /* Left padding for the icon */
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.5; /* Ensure consistent line height */
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
    padding-left: 35px; /* Consistent padding with inputs */
}

.contact-form button {
    background-color: #3A6A4D; /* Green button */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #449d44;
}
  
      /* Footer Styles */
      footer {
        background-color: #1A231C;
        color: white;
        border-top-left-radius: 50px;  /* This creates the rounded corner on the top-left */
        border-top-right-radius: 50px; 
        justify-content: space-between;
    }

    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-logo img {
        width: 234px;  
        height: 230px;
    }

    .footer-container {
        display: flex;
        justify-content: space-around;
        padding: 20px;
        flex-wrap: wrap;
    }

    .footer-section {
        width: 20%;
        min-width: 150px;
        margin-bottom: 20px;
    }

    .footer-section h4 {
        color: white;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 5px;
        margin-bottom: 10px;
    }

    .footer-section ul {
        list-style: none;
        padding: 0;
    }

    .footer-section ul li a {
        color: white;
        text-decoration: none;
        display: block;
        margin-bottom: 5px;
    }

    /* Email input styling - FIXED to be side by side */
    .email-input {
        display: flex;
        width: 100%;
        margin-bottom: 15px;
    }

    .email-input input[type="email"] {
        flex: 1;
        padding: 8px;
        border-radius: 5px 0 0 5px;
        border: none;
    }

    .email-input button {
        background-color: #66C18E;
        color: white;
        padding: 8px 15px;
        border: none;
        border-radius: 0 5px 5px 0;
        cursor: pointer;
    }

    /* Dropdown Styling */
    .custom-dropdown {
        position: relative;
        width: 100%;
    }

    .dropdown-header {
        display: flex;
        align-items: center;
        padding: 10px 15px;
        background-color: white;
        border: 1px solid #ddd;
        border-radius: 4px;
        cursor: pointer;
        justify-content: space-between;
        color: #333;
    }

    .selected-flag {
        margin-right: 10px;
    }

    .selected-flag img {
        width: 24px;
        height: auto;
        vertical-align: middle;
        border-radius: 3px;
    }

    .selected-text {
        flex-grow: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .arrow {
        transition: transform 0.3s;
    }

    .dropdown-options {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        border: 1px solid #ddd;
        border-top: none;
        border-radius: 0 0 4px 4px;
        list-style: none;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        z-index: 10;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        color: #333;
    }

    .dropdown-options.show {
        max-height: 300px;
    }

    .dropdown-options li {
        padding: 10px 15px;
        display: flex;
        align-items: center;
        cursor: pointer;
        border-bottom: 1px solid #eee;
    }

    .dropdown-options li:last-child {
        border-bottom: none;
    }

    .dropdown-options li:hover {
        background-color: #f5f5f5;
    }

    .dropdown-options li img {
        width: 24px;
        height: auto;
        margin-right: 10px;
        border-radius: 3px;
    }

    .social-icons {
        display: flex;
        justify-content: left; /* Align icons to the left */
        gap: 12px;
        margin-top: 10px; /* Reduce margin-top for better spacing */
    }

    .social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background-color: white;
        color: #45825D;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .social-icons a:hover {
        background-color: #66C18E;
        color: white;
        transform: scale(1.1);
    }

    /* Responsive design */
    @media (max-width: 770px) {
        .footer-container {
            flex-direction: column;
        }
        
        .footer-section {
            width: 100%;
            padding-right: 0;
        }
    }