/* Header Section */
.header-section {
    background-image: url('../assets/backgrounds/who-we-are-bg.png'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    height: 400px; /* Adjust the height as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--red); /* Text color set to var(--red) */
    text-align: center;
     margin-top:-10px;
    z-index:-16;
}

/* Centered Heading */
.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Overlay */
.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: -1; /* Place the overlay behind the text */
}
/* Section Heading */
.section-heading {
    font-family: var(--font-main-heading); /* Font-family set to var(--font-main-heading) */
    font-size: 4rem; /* Adjust font size as needed */
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
}


/* Max-width: 2560px */
@media (max-width: 2560px) {
    .header-section {
        height: 500px; /* Adjust height for large screens */
    }

    .section-heading {
        font-size: 7rem; /* Larger font for bigger screens */
    }
}

/* Max-width: 1024px */
@media (max-width: 1024px) {
    .header-section {
        height: 360px; /* Adjust height for tablets and smaller screens */
    }

    .section-heading {
        font-size: 4rem; /* Slightly smaller font for tablets */
    }
}

/* Max-width: 768px */
@media (max-width: 768px) {
    .header-section {
        height: 300px; /* Adjust height for smaller tablets */
    }

    .section-heading {
        font-size: 4rem; /* Smaller font for tablets */
    }
}

/* Min-width: 425px and max-width: 690px */
@media (min-width: 425px) and (max-width: 690px) {
    .header-section {
        height: 250px; /* Adjust height for smaller devices */
    }

    .section-heading {
        font-size: 2.3rem; /* Font size for small devices */
    }
}

/* Min-width: 315px and max-width: 430px */
@media (min-width: 315px) and (max-width: 430px) {
    .header-section {
        height: 200px; /* Adjust height for smaller screens */
    }

    .section-heading {
        font-size: 2.2rem; /* Font size for very small devices */
    }
}

/*-----------------------------WHO ARE WE SECTION -------------------------------*/
  .container {
            width: 80%;
            margin: auto;
            margin-top:7vw;
        }
        .section {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            margin-bottom: 30px;
        }
        .image-container {
            position: relative;
            max-width: 40%;
        }
        .image-container img {
            width: 100%;
            height: auto;
            border-radius: 10px;
        }
        .image-container::before {
            content: "";
            position: absolute;
            left: -10px;
            top: -10px;
            width: 100%;
            height: 100%;
            background: red;
            border-radius: 10px;
            z-index: -1;
        }
        .text-container {
            max-width: 55%;
        }
        .text-container h2 {
            font-size: 4rem;
            font-weight: bold;
            font-family: var(--font-heading);
        }
        .text-container p, .full-width-text {
            font-size: 16px;
            line-height: 1.6;
        }
        .full-width-text {
            margin-top: 20px;
        }
        
          /* RESPONSIVE DESIGN */
        @media (max-width: 1024px) {
            .container {
                width: 90%;
            }
            .text-container h2 {
                font-size: 42px;
            }
            .text-container p, .full-width-text {
                font-size: 15px;
            }
        }

        @media (max-width: 768px) {
            .section {
                /*flex-direction: column;*/
                text-align:l;
            }
            .image-container {
                max-width: 80%;
            }
            .text-container {
                max-width: 100%;
            }
            .text-container h2 {
                font-size: 36px;
            }
            .text-container p, .full-width-text {
                font-size: 14px;
            }
        }

       @media (min-width: 425px) and (max-width: 690px) {
    .container {
        width: 95%;
    }
    .image-container {
        max-width: 50%; /* Reduced image size */
    }
    .text-container h2 {
        font-size: 32px;
    }
    .text-container p, .full-width-text {
        font-size: 13px;
    }
}

@media (min-width: 315px) and (max-width: 430px) {
    .container {
        width: 95%;
    }
    .section {
        flex-direction: column;
        text-align: center;
    }
    .image-container {
        max-width: 40%; /* Image size reduced further */
    }
    .text-container h2 {
        font-size: 28px;
    }
    .text-container p, .full-width-text {
        font-size: 12px;
    }
}

/*----------------------------Quote section---------------------------------*/

.quote-section {
    position: relative;
    width: 100%;
    height: 300px; /* Adjust as needed */
    background: url('../assets/backgrounds/quote-bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    margin-top:30px;
}

.quote-overlay {
    max-width: 80%;
    font-size: 20px;
    font-weight: 600;
    color: #192b87; /* Adjust text color */
    line-height: 1.6;
}

/* ✅ For max-width 2560px (Large screens) */
@media (max-width: 2560px) {
    .quote-section {
        height: 450px;
    }
    .quote-overlay {
        font-size: 24px;
        max-width: 70%;
    }
}

/* ✅ For max-width 1024px (Laptops/Tablets) */
@media (max-width: 1024px) {
    .quote-section {
        height: 350px;
    }
    .quote-overlay {
        font-size: 20px;
        max-width: 75%;
    }
}

/* ✅ For max-width 768px (Tablets) */
@media (max-width: 768px) {
    .quote-section {
        height: 300px;
    }
    .quote-overlay {
        font-size: 18px;
        max-width: 85%;
    }
}

/* ✅ For min-width 425px and max-width 690px (Small Tablets) */
@media (min-width: 425px) and (max-width: 690px) {
    .quote-section {
        height: 280px;
    }
    .quote-overlay {
        font-size: 16px;
        max-width: 90%;
    }
}

/* ✅ For min-width 315px and max-width 430px (Mobile Devices) */
@media (min-width: 315px) and (max-width: 430px) {
    .quote-section {
        height: 250px;
        padding: 10px;
    }
    .quote-overlay {
        font-size: 14px;
        max-width: 95%;
    }
}


/*-----------------------------Mission Vission Section-----------------------------*/
.ukeb-values-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 15px;
  font-family: var(--font-primary, 'Arial, sans-serif');
  text-align: center;
}

.ukeb-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap; /* Keeps it responsive */
  margin: 15px 0;
}

.ukeb-value-box {
  background: #e9e9e9;
  padding: 20px 15px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  max-width: 330px; /* Compact and consistent */
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.ukeb-icon {
  width: 90px;
  height: auto;
  margin-bottom: 12px;
}

.ukeb-value-box h3 {
  font-size: 1.4rem;
  margin: 12px 0 8px;
  color: #000;
  font-weight: bold;
}

.ukeb-value-box p {
  color: #333;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

/* ---------------------- Large Tablets (<= 1024px) ---------------------- */
@media (max-width: 1024px) {
  .ukeb-values-section {
    max-width: 100%;
    padding: 30px 15px;
  }

  .ukeb-row {
    gap: 15px;
  }

  .ukeb-value-box {
    max-width: 300px;
    padding: 18px 12px;
  }

  .ukeb-icon {
    width: 85px;
  }

  .ukeb-value-box h3 {
    font-size: 1.3rem;
  }

  .ukeb-value-box p {
    font-size: 0.85rem;
  }
}

/* ---------------------- Tablets and Below (<= 768px) ---------------------- */
@media (max-width: 768px) {
  .ukeb-row {
    flex-direction: column;
    align-items: center;
  }

  .ukeb-value-box {
    max-width: 100%;
    padding: 18px 12px;
  }

  .ukeb-icon {
    width: 80px;
  }

  .ukeb-value-box h3 {
    font-size: 1.3rem;
  }

  .ukeb-value-box p {
    font-size: 0.85rem;
  }
}

/* ---------------------- Small Mobiles (315px to 430px) ---------------------- */
@media (min-width: 315px) and (max-width: 430px) {
  .ukeb-values-section {
    padding: 15px 8px;
  }

  .ukeb-value-box {
    max-width: 100%;
    padding: 15px 10px;
  }

  .ukeb-icon {
    width: 75px;
  }

  .ukeb-value-box h3 {
    font-size: 1.2rem;
  }

  .ukeb-value-box p {
    font-size: 0.8rem;
  }
}


/*-----------------------------------------WHY CHOOSE US SECTION--------------------------------------------------*/

.qualifications-why-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  
  position: relative;
}

.qualifications-column {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: left;
}

.qualifications-column h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.qualifications-column ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.qualifications-column li {
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.6;
  font-family: var(--font-primary);
}

.qualifications-column .highlight {
  color: var(--purple);
  font-weight: 500;
}

/* Center dividing line */
.qualifications-why-section::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 90%;
  background: #ccc;
  left: 50%;
  top: 5%;
  transform: translateX(-50%);
}
/* ---------- Responsive Breakpoints ---------- */

/* Large Screens: Ultra wide (max-width: 2560px) */
@media (max-width: 2560px) {
  .qualifications-why-section {
    max-width: 1400px;
    gap: 60px;
    padding: 60px 40px;
  }

  .qualifications-column h2 {
    font-size: 2.5rem;
  }

  .qualifications-column li {
    font-size: 1.125rem;
  }
}

/* Tablets and Medium Screens (max-width: 1024px) */
@media (max-width: 1024px) {
  .qualifications-why-section {
    gap: 30px;
    padding: 30px 20px;
  }

  .qualifications-column h2 {
    font-size: 2rem;
  }

  .qualifications-column li {
    font-size: 1rem;
  }
  
/* Center dividing line */
.qualifications-why-section::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 90%;
  background: #ccc;
  left: 50%;
  top: 5%;
  transform: translateX(-50%);
}
}

/* Tablets and Large Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .qualifications-why-section {
    /*flex-direction: column;*/
    align-items: center;
    gap: 40px;
    padding: 30px 15px;
  }

  .qualifications-why-section::before {
    display: none; /* Remove center line on smaller screens */
  }

  .qualifications-column {
    max-width: 100%;
  }

  .qualifications-column h2 {
    text-align: center;
    font-size: 1.5rem;
  }

  .qualifications-column ul {
    padding-left: 25px;
  }
  .qualifications-column li{
      font-size:0.8;
}

/* Center dividing line */
.qualifications-why-section::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 90%;
  background: #ccc;
  left: 50%;
  top: 5%;
  transform: translateX(-50%);
}
}
/* Small Tablets & Phablets (min-width: 425px and max-width: 690px) */
@media (min-width: 425px) and (max-width: 690px) {
  .qualifications-why-section {
    padding: 25px 10px;
    gap: 25px;
    flex-direction: column;
  }

  .qualifications-column h2 {
    font-size: 1.5rem;
  }

  .qualifications-column li {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* Small Phones (min-width: 315px and max-width: 430px) */
@media (min-width: 315px) and (max-width: 430px) {
  .qualifications-why-section {
    padding: 20px 10px;
    gap: 20px;
    flex-direction: column;
  }

  .qualifications-column h2 {
    font-size: 1.35rem;
  }

  .qualifications-column li {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .qualifications-column ul {
    padding-left: 20px;
  }
}

/*---------------------------------Qualifiction Donut section---------------------------------------*/
      section.qualifications-section {
      padding: 60px 20px;
      text-align: center;
    }

    .qualifications-title {
      font-size: 3rem;
      margin-bottom: 40px;
      font-family: var(--font-heading);
    }

    .chart-wrapper {
      position: relative;
      width: 400px; /* Increased size */
      height: 400px;
      margin: 0 auto;
    }

    canvas {
      width: 100% !important;
      height: 100% !important;
    }

    /* Labels styled and positioned exactly like the image */
    .chart-label {
      position: absolute;
      font-size: 1rem;
      font-weight: bold;
      color: #000;
      text-align: center;
      line-height: 1.2;
    }

    .label-level-3 { top: 5px; left: 5px; } /* Top Left */
    .label-level-5 { top: 5px; right: 5px; } /* Top Right */
    .label-level-4 { bottom: 5px; left: 5px; } /* Bottom Left */
    .label-level-2 { bottom: 5px; right: 5px; } /* Bottom Right */
    
    /* 1. Very Large Screens (max-width: 2560px) */
    @media (max-width: 2560px) {
      .chart-wrapper {
        width: 450px;
        height: 450px;
      }
      .qualifications-title {
        font-size: 3.5rem;
      }
    }

    /* 2. Tablets & Small Desktops (max-width: 1024px) */
    @media (max-width: 1024px) {
      .chart-wrapper {
        width: 350px;
        height: 350px;
      }
      .qualifications-title {
        font-size: 3rem;
      }
      .chart-label {
        font-size: 0.95rem;
        width: 70px;
      }
    }

    /* 3. Tablets & Large Mobiles (max-width: 768px) */
    @media (max-width: 768px) {
      .chart-wrapper {
        width: 300px;
        height: 300px;
      }
      .qualifications-title {
        font-size: 2.5rem;
      }
      .chart-label {
        font-size: 0.9rem;
        width: 65px;
      }
    }

    /* 4. Small Tablets / Phablets (425px - 690px) */
    @media (min-width: 425px) and (max-width: 690px) {
      .chart-wrapper {
        width: 260px;
        height: 260px;
      }
      .qualifications-title {
        font-size: 2rem;
      }
      .chart-label {
        font-size: 0.85rem;
        width: 60px;
      }
    }

    /* 5. Small Phones (315px - 430px) */
    @media (min-width: 315px) and (max-width: 430px) {
      .chart-wrapper {
        width: 220px;
        height: 220px;
      }
      .qualifications-title {
        font-size: 1.75rem;
      }
      .chart-label {
        font-size: 0.8rem;
        width: 55px;
      }
    }
/*-----------------------------------Subscribe Newsletter---------------------------------------*/

.newsletter-section {
    text-align: center;
    padding: 50px 20px;
}

.newsletter-section h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #222278;
    margin-bottom: 10px;
}

.newsletter-section p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #222278;
    border-radius: 50px;
    max-width: 600px;
    margin: auto;
    padding: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 50px;
    background: transparent;
    color: white;
    font-size: 1rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: white;
    opacity: 0.7;
}

.newsletter-form button {
    background-color: white;
    color: #222278;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

.newsletter-form button:hover {
    background-color: #e6e6e6;
}


/* Responsive styles */

@media (max-width: 1024px) {
    .newsletter-section {
        padding: 40px 15px;
    }
    .newsletter-section h2 {
        font-size: 1.6rem;
    }
    .newsletter-form {
        max-width: 500px;
        padding: 8px;
    }
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: 30px 10px;
    }
    .newsletter-section h2 {
        font-size: 1.4rem;
    }
    .newsletter-form {
        /*flex-direction: column;*/
        border-radius: 30px;
        padding: 12px;
    }
    .newsletter-form input {
        width: 100%;
        border-radius: 30px;
        margin-bottom: 10px;
    }
    .newsletter-form button {
        width: 30%;
        border-radius: 30px;
    }
}

@media (min-width: 425px) and (max-width: 690px) {
    .newsletter-section h2 {
        font-size: 1.3rem;
    }
    .newsletter-form {
        max-width: 400px;
    }
    .newsletter-form input,
    .newsletter-form button {
        padding: 12px;
        font-size: 0.9rem;
    }
}

@media (min-width: 315px) and (max-width: 430px) {
    .newsletter-section {
        padding: 20px 10px;
    }
    .newsletter-section h2 {
        font-size: 1.2rem;
    }
    .newsletter-form {
        flex-direction: column;
        max-width: 350px;
        padding: 8px;
    }
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        padding: 10px;
        font-size: 0.85rem;
    }
}

/*--------------------------------------Contact Us Section----------------------------*/
       section.contact-section {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 60px 40px;
      gap: 40px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .contact-left {
      flex: 1;
    }

    .contact-left img {
      width: 100%;
      height: auto;
      max-width: 500px;
    }

    .contact-right {
      flex: 1;
      text-align: left;
    }

    .contact-right h2 {
      font-size: 3rem;
      font-family: var(--font-heading);
      margin-bottom: 30px;
    }

    .contact-item {
      display: flex;
      align-items: flex-start;
      gap: 15px;
      margin-bottom: 20px;
    }

    .contact-item i {
      font-size: 1.3rem;
      color: var(--red); /* Red color from your design system */
      margin-top: 4px;
    }

    .contact-item p {
      margin: 0;
      font-size: 1rem;
      line-height: 1.5;
    }

   
   
/* -------------------------------- */
    /* ---------- Responsive Styles ---------- */
    /* -------------------------------- */

    /* 1. Large Screens (max-width: 2560px) */
    @media (max-width: 2560px) {
      section.contact-section {
        max-width: 1400px;
        padding: 80px 60px;
      }

      .contact-left img {
        max-width: 600px;
      }

      .contact-right h2 {
        font-size: 3.5rem;
      }

      .contact-item p {
        font-size: 1.1rem;
      }
    }

    /* 2. Tablets and Small Desktops (max-width: 1024px) */
    @media (max-width: 1024px) {
      section.contact-section {
     
        text-align: left;
        padding: 50px 30px;
      }

      .contact-left, .contact-right {
      
        width: 100%;
      }

      .contact-right {
        text-align: left;
        margin-top: 30px;
      }

      .contact-item {
        justify-content:left;
      }

      .contact-right h2 {
        font-size: 3rem;
      }
    }

    /* 3. Tablets and Large Mobiles (max-width: 768px) */
    @media (max-width: 768px) {
      section.contact-section {
        padding: 40px 20px;
        margin-bottom:10px;
      }

      .contact-right h2 {
        font-size: 2.5rem;
      }

      .contact-item p {
        font-size: 1rem;
      }

      .contact-item i {
        font-size: 1.2rem;
      }
    }

    /* 4. Small Tablets & Phablets (min-width: 425px and max-width: 690px) */
    @media (min-width: 425px) and (max-width: 690px) {
       section.contact-section {
    flex-direction: column;
    padding: 30px 15px;
    margin-bottom: 20px;
  }
      .contact-right h2 {
        font-size: 2rem;
      }

      .contact-item p {
        font-size: 0.95rem;
      }

      .contact-item i {
        font-size: 1.1rem;
      }

      .contact-left img {
        max-width: 350px;
      }
    }

    /* 5. Small Mobiles (min-width: 315px and max-width: 430px) */
    @media (min-width: 315px) and (max-width: 430px) {
     section.contact-section {
    flex-direction: column;
    padding: 20px 10px;
    margin-bottom: 30px;
  }

      .contact-right h2 {
        font-size: 1.8rem;
      }

      .contact-item p {
        font-size: 0.85rem;
      }

      .contact-item i {
        font-size: 1rem;
      }

      .contact-left img {
        max-width: 300px;
      }
    }