@charset "utf-8";

/******* Fonts Import Start **********/
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
/********* Fonts Face CSS End **********/

/******* Common Element CSS Start ******/

/* -------- title style ------- */
/* Mobile (full height, no cut) */
@media (max-width: 768px) {
  .responsive-img {
    object-fit: contain;
    max-height: 400px;
  }
}

/* Desktop (cover nicely without cutting too much) */
@media (min-width: 769px) {
  .responsive-img {
    object-fit: cover;
    max-height: 80vh;
  }
}
body {
      font-family: 'Segoe UI', sans-serif;
      font-size: 16px;    }

    h2 {
      text-align: center;
      font-size: 9.5em;
      margin-bottom: 40px;
      font-weight: bold;
    }

    .learning-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 25px;
      max-width: 1000px;
      margin: 0 auto;
    }

    .card {
      background-color: #ffffff;
      border-radius: 15px;
      padding: 25px;
      text-align: center;
      font-weight: bold;
      color: #71721e;
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      font-size: 1.1em;
    }

    .card:hover {
      transform: translateY(-8px);
      background-color: #eaf2ff;
      color: #0b23fc;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    @media (max-width: 600px) {
      .card {
        padding: 18px;
        font-size: 1em;
      }
    }
.line-title {
  position: relative;
  width: 400px;
}
.line-title::before,
.line-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  border-radius: 2px;
}
/* Mobile Fix for Blog Layout */
@media (max-width: 768px) {
  .container-fluid.flex {
    display: block !important; /* Break the flex row */
  }

  .row.col-3 {
    width: 100% !important;
    margin-bottom: 20px;
  }

  .col-12.mx-auto {
    width: 100% !important;
  }

  /* Move Related Blogs BELOW main content */
  .row.col-3 {
    order: 2;
  }

  .col-12.mx-auto {
    order: 1;
  }
}

* { box-sizing: border-box; font-family: Arial, sans-serif; }

    body { margin: 0; padding: 0; background: #f4f4f4; }

    .section {
      background: linear-gradient(to right, #f4f6f9, #42a5f5);
      padding: 40px 20px;
      position: relative;
    }

    .section h2 {
      color: white;
      text-align: center;
      margin-bottom: 40px;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
      max-width: 900px;
      margin: 0 auto;
    }

    .grid div {
      background: white;
      padding: 15px;
      text-align: center;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      font-weight: bold;
    }

    .form-card {
      position: absolute;
      bottom: 222px;
      right: 60px;
      width: 320px;
      background: white;
      border-radius: 7px;
      overflow: hidden;
      box-shadow: 0 0 20px rgba(0,0,0,0.15);
    }

    .form-header {
      background: #1a237e;
      color: white;
      padding: 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .form-header img {
      height: 64px;
      border-radius: 50%;
    }

    .form-header div {
      font-size: 14px;
    }

    form {
      padding: 30px;
    }

    input, textarea {
      width: 100%;
      padding: 10px 12px;
      margin-bottom: 15px;
      border: 1px solid #ccc;
      font-size: 14px;
    }
select{
  
      padding: 10px 12px;
      margin-bottom: 15px;
      border: 1px solid #ccc;
      font-size: 14px;
}
    .phone-row {
      display: flex;
      gap: 10px;
    }

    textarea {
      resize: vertical;
    }


    button {
      width: 100%;
      color: rgb(255, 255, 255);
      font-weight: bold;
      border: none;
      border-radius: 25px;
      padding: 15px;
      cursor: pointer;
    }

    @media (max-width: 900px) {
      .form-card {
        position: static;
        margin: 30px auto 0;
      }
    }
  
  


.blog-section {
  padding: 80px 60px;
}
.card-text{
  font-size: 15px;
  color: slategrey;
  font-weight: lighter;
}