/* Banner Styles */
.banner {
    position: relative;
    background-color: #f8f9fa; /* Light background color for the banner */
    padding: 40px 200px; /* Top and bottom padding */
}
.banner-text {
}
.banner-text h1 {
    font-size: 2.5rem; /* Large heading font size */
    margin-bottom: 20px; /* Margin below the heading */
}
.banner-text p {
    font-size: 1.2rem; /* Paragraph font size */
    margin-bottom: 30px; /* Margin below the paragraph */
}
.banner-image {
    position: absolute;
    right: 20px;
    bottom: 0;
    display: flex;
    justify-content: center;
    overflow: hidden; /* Prevent overflow */
}
.banner-image img {
    max-width: 100%;
    height: 100%;
}
@media (min-width: 1075px) {
    .banner-image img {
       max-width: 80%;
    }
}
@media (min-width: 1075px) {
    .banner-image img {
       max-width: 80%;
    }
}
@media (min-width: 1200px) {
    .banner-image img {
       max-width: 70%;
    }
}
@media (min-width: 1282px) {
    .banner-image img {
       max-width: 60%;
    }
}
@media (min-width: 1318px) {
    .banner-image img {
       max-width: 50%;
    }
}
@media (min-width: 1568px) {
    .banner {
      padding: 100px 200px; /* Adjust padding for large devices */
    }
}
@media (min-width: 1872px) {
    .banner {
      padding: 200px; /* Adjust padding for large devices */
    }
    .banner-image img {
        max-width: 60%;
     }
}
@media (min-width: 2170px) {
    .banner {
      padding:300px 200px; /* Adjust padding for large devices */
    }
}

.btn-dark {
    background-color: #343a40; /* Dark button background */
    color: #fff; /* White text color */
    padding: 10px 20px; /* Button padding */
    text-transform: uppercase; /* Uppercase text */
    border: none; /* No border */
}

@media (max-width: 1200px) {
    .banner {
        padding: 80px 100px; /* Adjust padding for large devices */
    }
}

@media (max-width: 992px) {
    .banner {
        padding: 100px 50px; /* Adjust padding for medium devices */
    }
}
@media (max-width: 768px) {
    .banner {
        padding: 60px 30px; /* Adjust padding for small devices */
    }
}
@media (max-width: 767px) {
    .banner {
        position: static;
    }
    .banner-image {
        position: relative;
        right: 0;
        top: 60px;
    }
}

@media (max-width: 576px) {
    .banner-text h1 {
        font-size: 1.8rem; /* Smaller heading font size for mobile */
    }
    .banner-text p {
        font-size: 1rem; /* Smaller paragraph font size for mobile */
    }
    .banner-image img {
        max-width: 100%; /* Full width for mobile */
    }
    .banner-image {
        position: relative;
        right: 0;
    }
}

/* Services Styles */
.details-service-section {
    padding: 60px 120px !important;
}
@media (max-width: 1212px) {
    .details-service-section {
        padding: 60px !important;
    }
}
@media (max-width: 550px) {
    .details-service-section {
        padding: 60px 40px !important;
    }
}
@media (max-width: 425px) {
    .details-service-section {
        padding: 60px 20px !important;
    }
} 

.list-group-item {
    cursor: pointer;
    border: none;
    border-radius: 0.8rem;
    margin-bottom: 10px;
}

.list-group-item:hover {
    background-color: #f0f0f0;
}

.list-group-item.active {
    background-color: #0a2568;
    color: #fff;
    font-weight: bold;
}

.details-container {
    background-color: #a1b9f8;
    min-height: 300px;
    padding: 40px !important;
}
.details-container p {
    text-align: justify;
}
@media (max-width: 375px) {
    .details-container {
        padding: 30px !important;
    }
} 
@media (max-width: 348px) {
    .details-container {
        padding: 20px !important;
    }
} 
@media (max-width: 328px) {
    .details-container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
} 

.details {
    display: none;
}

.details.active {
    display: block;
}
.formation-btn {
    background-color: #000000;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.formation-btn {
    color: #ffffff !important;
    text-decoration: none !important;
}


/* Why Choose Us Styles */
.why-container {
    padding: 3rem 1.5rem;
}

.why-title {
    font-size: 2.5rem;
    color: #333;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Responsive row with equal column heights */
.why-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem; /* Adds space between columns */
}

/* Ensure equal height and width for each column */
.why-col {
    flex: 1 1 calc(33.333% - 1rem); /* Three columns per row with gap accounted for */
    max-width: calc(33.333% - 1rem);
    display: flex; /* For equal height boxes */
    justify-content: center;
}

@media (max-width: 992px) {
    .why-col {
        flex: 1 1 calc(50% - 1rem); /* Two columns per row for tablets */
        max-width: calc(50% - 1rem);
    }
}

@media (max-width: 576px) {
    .why-col {
        flex: 1 1 100%; /* Single column per row for small screens */
        max-width: 100%;
    }
}
.why-box {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* For consistent padding inside */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; /* Ensures equal height */
    padding: 2rem 1.5rem;
}

.why-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}
.why-box-content i {
    font-size: 2.5rem;
    color: #2f77ed; /* Customize as per theme */
    margin-bottom: 1rem;
}
.why-box-content h4 {
    font-size: 1.5rem;
    color: #444;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.why-box-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}
.learn-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.8rem 2rem;
    background: #2f77ed;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease;
}

.learn-btn:hover {
    background: #145dd1;
    text-decoration: none;
}
@media (max-width: 768px) {
    .why-box-content {
        padding: 1.5rem 1rem;
    }

    .why-box-content i {
        font-size: 2rem;
    }

    .why-box-content h4 {
        font-size: 1.25rem;
    }

    .why-box-content p {
        font-size: 0.95rem;
    }

    .why-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .why-title {
        font-size: 1.75rem;
    }

    .learn-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
        margin-bottom: 40px;
    }
}

/* Elements Styles */
.hero-section {
    padding: 5rem 10%;
    background: linear-gradient(135deg, #00adef 0%, #0a2568 100%);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    align-items: center;
    text-align: left;
}

.text-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.btn-primary {
    background-color: #4CAF50;
    color: #ffffff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #45a049 ;
    transform: translateY(-3px);
}
.hero-image {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
}
@media (min-width : 993px) {
    .hero-image {
        position: relative;
        top: 80px;
    }
}
@media (max-width: 992px) {
    .hero-section {
        padding: 4rem 5%;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .text-content {
        margin-top: 2rem;
    }

    .text-content h2 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-image {
        position: relative;
        top: 64px;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .text-content h2 {
        font-size: 1.8rem;
    }

    .btn-primary {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .text-content h2 {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .btn-primary {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    .hero-image {
        max-width: 250px;
    }
}

/* How it Works Styles */
.custom-box {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 40px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .custom-content {
    gap: 20px !important; /* Adds space between the icon and text */
  }

  .icon-container {
    background-color: #343a40;
    color: white;
    padding: 15px;
    width: 50px;
    border-radius: 1rem;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Responsive Behavior */
  @media (max-width: 768px) {
    .custom-box {
      padding: 15px;
    }
    .icon-container {
      font-size: 1.2rem;
      padding: 10px;
    }
  }
@media (max-width: 575px) {
    .last-how {
        margin-bottom: 20px;
    }
}

/* contact.css */
.contact-section {
    background-color: #f8f8f8;
    padding: 50px 0 !important;
  }
  .container {
    padding-bottom: 40px;
  }

  .contact-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 30px;
    transition: all 0.3s ease-in-out;
    height: 100%;
  }

  .contact-card:hover {
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2);
  }

  .contact-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2f77ed;
  }

  .contact-card h5 {
    color: #2f77ed;
    font-weight: 600;
  }

  .contact-card p {
    color: #333;
    margin-bottom: 0;
  }

  /* Bottom contact section */
  .bottom-contact {
    text-align: center;
    padding: 20px 0;
  }

  .bottom-contact div {
    margin-bottom: 15px;
  }

  .bottom-contact i {
    font-size: 1.2rem;
    margin-right: 10px;
    color: #333;
  }

  .bottom-contact .highlight {
    color: #0000FF;
    font-weight: 700;
    font-size: 1.5rem;
  }

  @media (max-width: 768px) {
    .contact-card {
      padding: 20px;
    }
  }