
.blink-border {
    border: 3px solid #E7EFFC;
    border-radius: 8px;
    padding: 15px;
    animation: borderBlink 1.5s infinite alternate;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
}



body{
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

p, span, li, a, input, textarea, button {
  font-family: 'Merriweather', serif;
}

@keyframes borderBlink {
    0% {
        border-color: #E7EFFC;
        box-shadow: 0 0 5px #E7EFFC;
    }
    100% {
        border-color: #E7EFFC;
        box-shadow: 0 0 20px #E7EFFC;
    }
}
.courses-slider-active {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; 
}

.courses-slider-active .col {
  display: flex;
}

.courses-slider-active .courses__item-two {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 354px;
}
.quick__action-item {
    transform: scale(1);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
    border-radius: 12px;
}

.quick__action-item:hover {
    transform: scale(1.06);
    border: 1px solid rgba(0, 0, 0, 0.1); 
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.08); 
}

.section__title .title {
    font-size: 26px;
    line-height: 1.32;
    margin: 0 0;
    letter-spacing: -1px;
    text-transform: capitalize;
}


600&display=swap');

   
    .teacher-section {
      max-width: 1200px;
      margin: auto;
    }

    .teacher-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
    }

    .teacher-card {
      background: #fff;
      border-radius: 20px;
      box-shadow: 0 8px 25px rgba(0,0,0,0.1);
      text-align: center;
      padding: 25px 20px;
      transition: all 0.3s ease;
      animation: fadeInUp 1s ease-in-out;
      height: 400px;
      display: flex; 
      flex-direction: column;
      justify-content: center; 
      align-items: center;
      position: relative;  
    }


    .teacher-card:hover {
      transform: translateY(-10px) scale(1.03);
      box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    }

    .teacher-card img {
      width: 90px;
      height: 90px;
      border-radius: 50%;
      margin-bottom: 30px;
      border: 3px solid #007bff;
    }

    .teacher-card h3 {
      font-size: 1.2rem;
      margin-bottom: 5px;
      color: #333;
    }

    .teacher-card p {
      font-size: 0.9rem;
      color: #777;
      margin-bottom: 15px;
    }

    .teacher-tags {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-bottom: 15px;
      flex-wrap: wrap;
    }

    .teacher-tag {
      background: #f1f1f1;
      padding: 5px 12px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 500;
      color: #444;
    }

    .teacher-rating {
      font-size: 0.95rem;
      margin-bottom: 15px;
    }
    
    .teacher-rating .star {
      color: #ff9800; 
    }
    
    .teacher-rating .score {
      color: #000;   
      font-weight: 700;
    }
    
    .teacher-rating .reviews {
      color: #777; 
      font-weight: 400;
    }

    .teacher-btn {
      display: inline-block;
      padding: 10px 20px;
      background: #003366;
      color: #fff !important; 
      font-weight: 500;
      border-radius: 25px;
      text-decoration: none;
      transition: all 0.3s ease;
      position: absolute; 
      /*margin-top:30px;*/
      height:45px;
      width: 80%;
      bottom: 12px;       
      left: 50%;           
      transform: translateX(-50%); 
    }

    .teacher-btn:hover {
      background: #0056b3;
      transform: translateX(-50%) scale(1.05);
    }

    @keyframes fadeInUp {
      0% {
        opacity: 0;
        transform: translateY(30px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeInDown {
      0% {
        opacity: 0;
        transform: translateY(-30px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }
    .modal-backdrop {
  display: none !important;
}

#teacherModal {
    z-index: 99999999 !important;
    background: rgba(0, 0, 0, 0.7);
    /* Charon taraf se padding */
    padding: 40px 20px !important; 
    /*margin-top: 2% !important;*/
}

#teacherModal .modal-dialog {
    margin: 30px auto !important;
}

.modal-content {
    border-radius: 20px;
    border: none;
    margin-top: 5% !important;
}

#modalImage {
    width: 200px !important;
    height: 200px !important;
    object-fit: cover;
    border-radius: 50% !important;
}

/* --- MOBILE SPECIFIC FIX (Sirf isko dekhein) --- */
@media (max-width: 767px) {
    #teacherModal .modal-dialog {
        margin-top: 120px !important; 
    }

    .btn-close {
        position: absolute !important;
        right: 15px !important;
        top: 15px !important;
        z-index: 99999999 !important;
        background-color: #ffffff !important;
        opacity: 1 !important;
        padding: 10px !important;
        border-radius: 50% !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
    }

    .modal-body {
        padding-top: 50px !important; /* X button ki jagah banane ke liye */
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .
}

/* Desktop Close Button */
@media (min-width: 768px) {
    .btn-close {
        position: absolute;
        right: 15px;
        top: 15px;
        z-index: 1070;
        background-color: #fff;
        border-radius: 50%;
        padding: 10px;
    }
    .modal-body {
        display: flex;
        gap: 30px;
    }
}
.btn.white-btn {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #007bff;
    border: none;
    outline: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    z-index: 1;
    box-sizing: border-box;
    transform: translateY(0) scale(1);
    height: 50px;
    padding: 0 25px;
}

.btn.white-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, #1e3c72, #2a5298, #4facfe);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn.white-btn:hover {
    color: #fff !important;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn.white-btn:hover::before {
    left: 0;
}

.fact__item-two {
  background: #f0f9ff;
  border-radius: 18px;
  padding: 25px 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 rgba(0,128,255,0.15); }
  50% { box-shadow: 0 0 20px rgba(0,128,255,0.35); }
  100% { box-shadow: 0 0 0 rgba(0,128,255,0.15); }
}

.elementor-section[data-id="34f69e0"] {
    background-color: #e8f6ff !important; 
    position: relative;
    z-index: 1;
}

.courses__item-two {
    opacity: 0;
    transform: translateY(50px);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.courses__item-two:hover {
    transform: scale(1.05) translateY(-10px); 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 5; 
}

.courses-slider-active.animate .col:nth-child(1) .courses__item-two {
    animation: slideInLeft 1s ease forwards;
}
.courses-slider-active.animate .col:nth-child(2) .courses__item-two {
    animation: slideInLeft 1s ease forwards;
    animation-delay: 0.8s;
}
.courses-slider-active.animate .col:nth-child(3) .courses__item-two {
    animation: slideInRight 1s ease forwards;
}
.courses-slider-active.animate .col:nth-child(4) .courses__item-two {
    animation: slideInRight 1s ease forwards;
    animation-delay: 0.8s;
}

/* Keyframes */
@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-120px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(120px); }
    100% { opacity: 1; transform: translateX(0); }
}

.fact__item-two {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.fact__item-two:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.elementor-element-ced6936 {
    background: linear-gradient(270deg, rgba(19, 99, 223, 0.05), rgba(57, 85, 126, 0.05));
    background-size: 400% 400%;
    animation: gradientBG 18s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.quick__action-item {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.quick__action-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.15); 
    z-index: 1;
}

.quick__action-content {
    position: relative;
    z-index: 2; 
}

.title-wrapper {
  text-align: center;
  margin: 15px auto;
  display: inline-block;
  position: relative;
}

.titles {
  font-size: 20px; 
  font-weight: 700;
  margin: 10px 0;
}

.titles .about-text {
  color: #082a5e;
  margin-right: 2px;
}

.titles .us-text {
  color: #1363df;
  margin-left: 2px;
}

.title-line {
  width: 0;              
  height: 3px;
  background: #1363df;
  margin: 8px auto;
  border-radius: 3px;
}

.top-line {
  animation: line-left 2s ease forwards;
}

.bottom-line {
  animation: line-right 2s ease forwards;
  animation-delay: 0.3s; /* thoda delay for effect */
}

/* Animations */
@keyframes line-left {
  from { width: 0; margin-left: 0; margin-right: auto; }
  to   { width: 180px; margin: 8px auto; }
}

@keyframes line-right {
  from { width: 0; margin-left: auto; margin-right: 0; }
  to   { width: 180px; margin: 8px auto; }
}



.zoom-link {
  display: inline-block; 
  padding: 8px 15px;
  text-decoration: none;
  color: #fff; 
  background-color: transparent; 
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.zoom-link:hover {
  transform: scale(1.1); /* zoom in */
 
}
a[rel="tag"]:hover {
  background-color: #757db8;
  color: #fff;
}


/* ================= SLIDER AREA ================= */

.slider-area{
    position:relative;
    overflow:hidden;
}

.slider-area::before,
.slider-area::after{
    content:"";
    position:absolute;
    pointer-events:none;
    z-index:0;
    border-radius:50%;
    filter:blur(50px);
}

.slider-area::before{
    width:870px;
    height:850px;
    top:-550px;
    left:-500px;
    background:radial-gradient(circle,
        rgba(0,51,115,1) 0%,
        rgba(0,51,102,0.65) 40%,
        rgba(0,51,102,0) 100%);
}

.slider-area::after{
    width:400px;
    height:400px;
    bottom:-300px;
    right:-300px;
    background:radial-gradient(circle,
        rgba(0,51,105,0.95) 0%,
        rgba(0,51,105,0.55) 45%,
        rgba(0,51,102,0) 100%);
}

.slider__item{
    position:relative;
    z-index:1;
}

/* ================= RATING BAR (TAB STYLE) ================= */

.slider-rating-bar {
    position: absolute;
    top: 16px;
    left: 0;
    width: 100%;
    padding: 0 20px;
    z-index: 5;
}

.rating-headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #003366; 
    padding: 0px 40px; 
    border-radius: 999px; 
    color: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.rating-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 15px;
}

.google-brand {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 18px;
    /*font-weight: 300;*/
    /*margin-bottom: 5px;*/
    margin-top: 10px;
    background: none;
}

.google-logo {
    width: 50px;
    height: 50px;
    background: transparent;
}

.stars-wrapper {
    display: inline-flex;
    color: #fbbf24;
    font-size: 20px;
    margin-right: 8px;
    margin-bottom:5px;
}

.star.half-filled {
    position: relative;
    color: rgba(251, 191, 36, 0.3);
}

.star.half-filled::after {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #fbbf24;
}

.stars-row p {
    font-size: 13px;
    opacity: 0.9;
    display: inline-block;
    margin: 0;
    color:#fff;
}

.matches-text {
    font-size: 18px;
    /*font-weight: 800;*/
    line-height: 1.2;
    margin: 0;
    text-align: center;
    color:#fff;
}

.trusted-text {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-align: right;
    color:#fff;
}

/* ================= RESPONSIVE (SLIM MOBILE VIEW) ================= */

@media (max-width: 991px) {
    @media (max-width: 991px) {

    .slider-area {
        position: relative;
    }

    .slider-rating-bar {
        position: absolute;  
        top: 12px;
        left: 0;
        width: 100%;
        z-index: 20;
    }

    .slider__item {
        min-height: 520px;  
    }

    .slider__item::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.25); 
        z-index: 0;
    }

    .slider__item > * {
        position: relative;
        z-index: 1;
    }
}

    .slider__content {
        margin-top: 140px !important;
    }
        
     .rating-headline {
        flex-direction: column; 
        border-radius: 12px; 
        padding: 10px 15px;
        width: 100%; 
        gap: 8px; 
        height: auto;
    }

    .rating-column {
        width: 100%;
        padding: 5px 0;
        align-items: center;
        text-align: center;
        border-right: none !important; 
    }

    .rating-column:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
        padding-bottom: 8px; 
    }

    .google-brand {
        justify-content: center;
        margin-top: 0;
        gap: 5px;
    }

    .google-logo {
        width: 50px; 
        height: 50px;
    }

    .stars-wrapper {
        font-size: 16px; 
    }

    .matches-text {
        font-size: 16px;
        margin: 0;
    }

    .trusted-text {
        font-size: 14px;
        margin: 0;
    }
}

/* ================= REVIEW CARD ================= */

.review-card{
    position:absolute;
    right:6%;
    top:50%;
    transform:translateY(-50%);
    z-index:10;
    background:#fff;
    padding:30px 40px 40px;
    border-radius:20px;
    max-width:510px;
    width:100%;
    text-align:center;
    box-shadow:0 18px 45px rgba(0,0,0,0.45);
}

.quote{
    font-size:18px;
    font-style:italic;
    line-height:1.6;
    margin-bottom:15px;
}

.author{
    font-weight:700;
    color:#475569;
    margin-bottom:25px;
}

/* dots */
.dots{
    display:flex;
    justify-content:center;
    gap:10px;
}

.dot{
    width:10px;
    height:10px;
    background:#cbd5e1;
    border-radius:50%;
}

.dot.active{
    width:30px;
    background:#64748b;
    border-radius:10px;
}

/* ================= RESPONSIVE ================= */

@media (max-width:991px){
    .review-card{
        position:relative;
        right:auto;
        top:auto;
        transform:none;
        margin:40px auto 0;
    }
}

@media (max-width:575px){
    .quote{
        font-size:16px;
    }
}
    
    
/*HOW IT WORKS START*/
    
    .how-it-works {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: #f8faff;
        padding: 50px 60px;
        border-radius: 20px;
        max-width: 1100px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        gap: 30px;
        opacity: 0;
        transform: translateX(-80px);
        transition: all 1s ease;
        /*margin-left: 10%;*/
    }
    
    .how-it-works.show {
        opacity: 1;
        transform: translateX(0);
    }
    
    .how-content {
        flex: 1;
    }
    
    .how-content h2 {
        color: #1a1a1a;
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 8px;
        text-align: center;
    }
    
    .how-content p.subtitle {
        color: #555;
        margin-bottom: 25px;
        font-size: 16px;
        text-align: center;
    }
    
    .step {
        display: flex;
        align-items: flex-start;
        margin-bottom: 20px;
    }
    
    .step-icon {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background-color: #ddedff;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        margin-right: 15px;
    }
    
    .step-content h4 {
        color: #1a1a1a;
        font-size: 17px;
        margin-bottom: 4px;
    }
    
    .step-content p {
        color: #555;
        font-size: 14px;
        line-height: 1.5;
    }
    
    .find-btn {
        margin-top: 25px;
        display: inline-block;
        background-color: #007bff;
        color: white;
        padding: 12px 28px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        transition: 0.3s;
    }
    
    .find-btn:hover {
        background-color: #0056d2;
    }
    
    .graphics-container {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
    
    .graphic-laptop-container img,
    .graphic-mobile-container img {
        max-width: 130%;
        height: auto;
        display: block;
    }
    
    .graphic-laptop-container {
        width: 70%;
    }
    
    .graphic-mobile-container {
        width: 40%;
    }
    
    @media (max-width: 900px) {
    .how-it-works {
      flex-direction: column;
      text-align: center;
      padding: 40px 25px;
    }
    
    .graphics-container {
      margin-top: 30px;
      flex-direction: column;
      align-items: center;
      width: 100%;
    }
    
    .graphic-laptop-container {
      width: 80%;
    }
    
    .graphic-mobile-container {
      width: 50%;
    }
    }
    
/*HOW IT WORKS END*/
    
    
.edu-about-section {
    padding: 60px 20px;
    background: transparent;
    font-family: 'Merriweather', serif;
}

/* ===============================
   CONTAINER
================================ */
.edu-about-section .edu-container {
    max-width: 950px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* ===============================
   TITLES
================================ */
.edu-about-section .main-title {
    color: #1e3a8a;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.edu-about-section .sub-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 40px;
    /*font-family: 'Merriweather', serif !important;*/
}

/* ===============================
   FEATURE GRID (3D)
================================ */
.edu-about-section .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

.edu-about-section .feature-card {
    background: rgba(255,255,255,0.85);
    border-radius: 22px;
    padding: 30px 15px;

    display: flex;
    flex-direction: column;
    align-items: center;

    box-shadow:
        0 12px 30px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #dbdbdb;
}

.edu-about-section .feature-card:hover {
    transform: translateY(-6px);
}

.edu-about-section .feature-card img {
    width: 166%;
    height: 134px;
    object-fit: contain; 
    margin-bottom: 16px;
    display: block;
}

.edu-about-section .feature-card p {
    font-weight: 700;
    color: #334155;
    font-size: 20px;
    margin: 0;
    text-align: center;
}

/*feature card animation*/
/* ===============================
   INNER WAVE BACKGROUND EFFECT
   (PROFESSIONAL & SUBTLE)
================================ */

.edu-about-section .feature-card {
    position: relative;
    overflow: hidden;
}

.edu-about-section .feature-card::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(0,0,0,0.04) 20%,
        rgba(0,0,0,0.02) 40%,
        transparent 60%
    );
    animation: waveMove 10s linear infinite;
    z-index: 0;
}

.edu-about-section .feature-card * {
    position: relative;
    z-index: 1;
}

/* KEYFRAMES */
@keyframes waveMove {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    50% {
        transform: translateX(8%) translateY(-4%) rotate(3deg);
    }
    100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
}

/* ===============================
   STATS BAR (3D)
================================ */

.edu-about-section .stats-bar {
    background: linear-gradient(145deg, #003366, #003366);
    color: white;
    border-radius: 50px;
    padding: 16px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 50px;
    margin-top: 5%;
    box-shadow: 0 10px 25px rgba(30,58,138,0.45);
}

.edu-about-section .divider { opacity: 0.4; }

/* ===============================
   COMMUNITY
================================ */

.edu-about-section .community-heading {
    color: #1e3a8a;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* ===============================
   TESTIMONIALS (3D)
================================ */

.edu-about-section .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    text-align: left;
}

.edu-about-section .testimonial-card {
    background: rgba(255,255,255,0.9);
    border-radius: 22px;
    padding: 9px;

    box-shadow:
        0 14px 35px rgba(0,0,0,0.14),
        inset 0 1px 0 rgba(255,255,255,0.7);
    transition: transform 0.3s ease;
    border: 1px solid #dbdbdb;
}

.edu-about-section .testimonial-card:hover {
    transform: translateY(-5px);
}

/* HEADER */

.edu-about-section .testimonial-header {
    display: flex;           
    align-items: flex-start; 
    gap: 12px;
    font-weight: 700;
    color: #1e3a8a;
    font-size: 16px;
    margin-bottom: 6px;
    background: none;
}

.edu-about-section .testimonial-header img {
    width: 76px;  
    height: 85px;
    object-fit: contain;
    flex-shrink: 0; 
}

.edu-about-section .testimonial-header span {
    display: inline-block;
}

.edu-about-section .testimonial-card p {
    margin-left: 81px;
    font-size: 13px !important;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}


/*For About*/

.edu-about-section .testimonial-grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    text-align: left;
}

/* ============================================================
   FLIP CARD LOGIC 
============================================================ */

.edu-about-section .testimonial-card2 {
    perspective: 1000px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    height: 220px; 
    cursor: pointer;
    margin-bottom: 10px;
}

.card-inner2 {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.testimonial-card2.is-flipped2 .card-inner2 {
    transform: rotateY(180deg);
}

.card-front2, .card-back2 {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 22px;
}

.card-front2 {
    background: #edf5ff;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #1e3a8a;
    z-index: 2;
}

.card-back2 {
    background: #000;
    transform: rotateY(180deg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-back2 iframe {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    border: none;
}

/* Header & Text Restoration */
.edu-about-section .testimonial-header2 { display: flex; align-items: flex-start; }
.edu-about-section .testimonial-header2 img { width: 114px; height: 90px; margin-left: -35px; object-fit: contain; }
.edu-about-section .testimonial-card2 h3 { color: #1e3a8a; font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif !important; margin-bottom: 8px; }
.edu-about-section .testimonial-card2 p { margin-left: 80px; font-size: 15px; color: #475569; font-family: 'Plus Jakarta Sans', sans-serif !important; line-height: 1.5; }
.edu-about-section .author2 { margin-left: 80px; font-weight: 900 !important; color: #1e3a8a; font-size: 14px; margin-top: 5px; font-family: 'Plus Jakarta Sans', sans-serif !important; text-decoration: underline; text-underline-offset: 4px; }

/* --- ICONS & BUTTONS STYLES --- */

.play-btn-center2 {
    position: absolute;
    bottom: 10px; 
    left: 50%;
    transform: translateX(-50%);
    width: 50px; /* Icon ka container size */
    height: 16%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: auto;
    background: transparent !important; /* Background hatane ke liye */
    box-shadow: none !important;      /* Shadow hatane ke liye */
    border: none !important;
}

.close-btn-center2 {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: auto; /* Click enable kiya */
}

/*.play-icon2 {*/
/*    width: 0; height: 0;*/
/*    border-top: 5px solid transparent;*/
/*    border-bottom: 5px solid transparent;*/
/*    border-left: 8px solid #1e3a8a;*/
/*    margin-left: 2px;*/
/*    z-index: 2;*/
/*}*/

.cross-icon2 {
    position: relative;
    width: 12px; height: 12px;
    z-index: 2;
}
.cross-icon2::before, .cross-icon2::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 2px; height: 100%;
    background-color: #fff;
    transform: translate(-50%, -50%) rotate(45deg);
}
.cross-icon2::after { transform: translate(-50%, -50%) rotate(-45deg); }

.glow-pulse2 {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    animation: blinkGlowCenter 2s infinite ease-in-out;
}

/* Purani triangle wali CSS ki ab zaroorat nahi */
.play-icon2 {
    display: none;
}

.glow-pulse-red2 {
    position: absolute; width: 100%; height: 100%;
    border-radius: 50%; background: rgba(220, 38, 38, 0.2);
    border: 1.5px solid #dc2626;
    animation: blinkGlowCenter 2s infinite ease-in-out;
}

@keyframes blinkGlowCenter {
    0% { transform: scale(1); box-shadow: 0 0 3px rgba(30, 58, 138, 0.3); opacity: 0.9; box-shadow: none; }
    50% { transform: scale(1.5); box-shadow: 0 0 10px rgba(30, 58, 138, 0.5); opacity: 0.6; box-shadow: none; }
    100% { transform: scale(1); box-shadow: 0 0 3px rgba(30, 58, 138, 0.3); opacity: 0.9; box-shadow: none; }
}

/* Responsive Fixes */
/* ============================================================
   RESPONSIVE FIXES - HAR MOBILE SIZE KE LIYE
   ============================================================ */

@media (max-width: 991px) {
    .edu-about-section .testimonial-grid2 { 
        grid-template-columns: 1fr !important; 
        gap: 25px; 
    }
}

@media (max-width: 767px) {
    /* Card ki height aur spacing fix */
    .edu-about-section .testimonial-card2 { 
        height: auto !important; 
        min-height: 250px; 
    }

.edu-about-section {
    padding: 13px 20px !important;
    font-family: 'Merriweather', serif;
    position: relative;
    overflow: hidden;
    background: linear-gradient(-45deg, #f8fafc, #eff6ff, #ffffff, #e0e7ff);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
}
    /* Front Card padding adjust taake button space rahe */
    .card-front2 {
        padding: 15px 15px 50px 15px !important; /* Bottom padding di hai button ke liye */
        display: flex;
        flex-direction: column;
    }

    /* Header Layout Fix - No more negative margins */
    .edu-about-section .testimonial-header2 {
        display: flex;
        align-items: center; /* Image aur Name ko line mein rakha */
        margin-bottom: 10px;
    }

    .edu-about-section .testimonial-header2 img { 
        width: 80px !important; 
        height: 60px !important; 
        margin-left: -10px !important; /* Negative margin kam kar di */
        object-fit: contain;
        flex-shrink: 0;
    }

    /* Name / Heading Fix */
    .edu-about-section .testimonial-card2 h3 { 
        font-size: 17px !important; 
        margin: 0 0 0 10px !important; /* Simple left margin */
        line-height: 1.2;
    }

    /* Text Content Fix - No overlap with Icon */
    .edu-about-section .testimonial-card2 p { 
        margin-left: 0 !important; /* Margin khatam karke text ko width di */
        font-size: 15px !important; 
        line-height: 1.4;
        margin-top: 5px;
        text-align: left;
    }

    /* Author Name Fix */
    .edu-about-section .author2 {
        margin-left: 0 !important;
        margin-top: 8px;
        font-size: 13px;
    }

    /* --- PLAY & CLOSE BUTTONS POSITIONING --- */
    /* Inko bottom pe fix rakha taake text ke upar na charhein */
    .play-btn-center2, .close-btn-center2 {
        bottom: 10px !important; 
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 35px !important; /* Thora bara for easy touch */
        height: 35px !important;
    }
}

/* Bohat chote mobiles (iPhone SE etc.) ke liye */
@media (max-width: 380px) {
    .edu-about-section .testimonial-header2 img { width: 104% !important; height: 85px !important; margin-top: -7% !important; }
    .edu-about-section .testimonial-card2 h3 { font-size: 15px !important; margin-top: -5% !important; }
    .edu-about-section .testimonial-card2 p { font-size: 14px !important; }
}
/* AUTHOR */
.edu-about-section .author {
    margin-left: 82px;   
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
}


/* ===============================
   CTA + BUTTONS (RESPONSIVE FIX)
================================ */

.edu-about-section .cta-wrapper {
    position: relative;
    margin-top: 60px;
    text-align: center;
}

.edu-about-section .rating-box {
    position: absolute;
    /*top: -90px;*/
    margin-top:117%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 16px;
    padding: 14px 28px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    z-index: 5;
    border: 1px solid #dbdbdb;
}

/* BUTTONS */
.edu-about-section .action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 60px;
    margin-left: 8%; 
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .edu-about-section .feature-grid,
    .edu-about-section .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .edu-about-section .stats-bar {
        flex-direction: column;
        gap: 12px;
        border-radius: 24px;
    }
}

@media (max-width: 768px) {
.edu-about-section .action-buttons a {
        flex: 1 1 100%;
        text-align: center;
        margin-left: -1%;
        /*margin-top: 14%;*/

    }
    .edu-about-section .rating-box {
        top: -35px;
    }

    .edu-about-section .testimonial-card p,
    .edu-about-section .author {
        margin-left: 85px;
    }

    .edu-about-section .testimonial-header {
        grid-template-columns: 42px 1fr;
    }
}

/* ===============================
   ELEMENTOR FIX
================================ */

.elementor-section .edu-about-section {
    width: 100% !important;
    max-width: 100% !important;
}

.elementor-section .edu-about-section .edu-container {
    max-width: 950px !important;
    margin: 0 auto !important;
}

/* ===== DIVIDER LINE ISSUE FIX ===== */

.edu-about-section .stats-bar hr {
    display: none !important;
}

.edu-about-section .divider {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.edu-about-section .divider::before,
.edu-about-section .divider::after {
    content: none !important;
}

.edu-about-section .stats-bar * {
    border-top: none !important;
}

/* ============================================================
   ADVANCED ANIMATED BACKGROUND & SECTION SETTINGS
============================================================ */

.edu-about-section {
    padding: 80px 20px;
    font-family: 'Merriweather', serif;
    position: relative;
    overflow: hidden;
    background: linear-gradient(-45deg, #f8fafc, #eff6ff, #ffffff, #e0e7ff);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.edu-about-section::before, .edu-about-section::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.05) 0%, transparent 70%);
    z-index: 0;
    animation: floatAround 20s infinite linear;
}

.edu-about-section::before { top: -10%; left: -10%; }
.edu-about-section::after { bottom: -10%; right: -10%; animation-delay: -5s; }

@keyframes floatAround {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(50px, 100px) rotate(180deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* ===============================
   CONTAINER & TITLES
================================ */

.edu-about-section .edu-container {
    max-width: 950px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.edu-about-section .main-title {
    color: #1e3a8a;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.edu-about-section .sub-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 50px;
    font-size: 18px;
}

/* ===============================
   FEATURE GRID (ADVANCED HOVER)
================================ */

.edu-about-section .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.edu-about-section .feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 35px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(30, 58, 138, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.edu-about-section .feature-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.15);
    border-color: #1e3a8a;
    background: #ffffff;
}

.edu-about-section .feature-card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
}

.edu-about-section .feature-card:hover img {
    transform: scale(1.1) rotate(3deg);
}

.edu-about-section .feature-card p {
    font-weight: 700;
    color: #1e3a8a;
    font-size: 19px;
    margin: 0;
}

/* ===============================
   STATS BAR (SHINE ANIMATION)
================================ */

.edu-about-section .stats-bar {
    background: linear-gradient(135deg, #003366, #003366);
    color: white;
    border-radius: 100px;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 60px;
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.3);
    position: relative;
    overflow: hidden;
}

.edu-about-section .stats-bar::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-30deg);
    animation: shineEffect 6s infinite;
}

@keyframes shineEffect {
    0% { left: -100%; }
    20% { left: 120%; }
    100% { left: 120%; }
}

/* ===============================
   TESTIMONIALS (SIDE GLOW HOVER)
================================ */

.edu-about-section .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: left;
}

.edu-about-section .testimonial-card {
    background: #edf5ff;
    border-radius: 22px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    position: relative;
    border-left: 5px solid transparent;
}

.edu-about-section .testimonial-card:hover {
    transform: translateX(12px);
    border-left-color: #1e3a8a;
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.08);
}

.edu-about-section .testimonial-header img {
    width: 114px;
    margin-left: -4%;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: -2%;
    /*background: #f1f5f9;*/
}

.edu-about-section .testimonial-card p {
    margin-left: 85px;
    font-size: 15px;
    color: #475569;
    /*font-style: italic;*/
}

.edu-about-section .author {
    margin-left: 85px;
    font-weight: 800;
    color: #1e3a8a;
    font-size: 14px;
    margin-top: 5px;
}

/* ===============================
   CTA & RATING (PULSE EFFECT)
================================ */

.edu-about-section .rating-box {
    position: absolute;
    top: -64.5%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 15px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid #eee;
    animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); box-shadow: 0 15px 40px rgba(30,58,138,0.2); }
}

.edu-about-section .action-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding-top: 0px;
    margin-left: 7%;
}

.edu-about-section .btn {
    text-decoration: none;
    color: white !important;
    padding: 16px 35px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(35, 63, 163, 0.3);
}

.edu-about-section .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(35, 63, 163, 0.5);
    filter: brightness(1.2);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
    .edu-about-section .feature-grid,
    .edu-about-section .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .edu-about-section .stats-bar {
        flex-direction: column;
        gap: 15px;
        border-radius: 30px;
        text-align: center;
    }
    .edu-about-section .divider { display: none; }
}

@media (max-width: 768px) {
    .edu-about-section .action-buttons {
        flex-direction: column;
        margin-top: 57%;
        margin-left: 3%;
        align-items: center;
    }
    .edu-about-section .rating-box { margin-top: 861%; }
    .edu-about-section .divider { display: none; }
}


@media (max-width: 767px) {
    .divider-pipe {
        display: none;
    }
}

/* ===============================
   FEATURE CARDS – FINAL TOUCH
================================ */

.svc-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 20px;
}

.svc-feature-card {
    background: #fff;
    border-radius: 24px;
    padding: 25px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 240px; 
    
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeUp 0.6s ease forwards;
}

/* RACING LINE ANIMATION (Fast & Thin) */
.svc-feature-card::before {
    content: "";
    position: absolute;
    width: 250%; 
    height: 250%;
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        #1363DF
    );
    animation: spinLine 2.5s linear infinite;
    z-index: 0;
}

.svc-feature-card::after {
    content: "";
    position: absolute;
    inset: 2px; 
    background: linear-gradient(180deg, #c8d9eb 0%, #ffffff 100%);
    border-radius: 22px;
    z-index: 0;
}

.svc-feature-card img {
    width: 100%;  
    height: 126px; 
    object-fit: contain;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.svc-feature-card p {
    position: relative;
    z-index: 2;
    font-size: 18px;
    font-weight: 500;
    color: #0f172a;
    margin: 0;
    padding: 0 10px;
    line-height: 1.3;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.svc-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(19, 99, 223, 0.15);
}

.svc-feature-card:hover img {
    transform: scale(1.15) rotate(-3deg);
}

.svc-feature-card:hover::before {
    animation-duration: 2.5s;
    background: conic-gradient(transparent, transparent, #22d3ee, #1363DF);
}

/* ===============================
   KEYFRAMES & RESPONSIVE
================================ */

@keyframes spinLine {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes cardFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
    .svc-feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .svc-feature-grid { grid-template-columns: 1fr; gap: 15px; }
    .svc-feature-card { min-height: 220px; }
    .svc-feature-card img { width: 100%; height: 139px; }
}

/* ================= SIDE BAR LEFT ================= */
.side-bar-container-left {
    position: fixed;
    left: 0;
    top: 200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.side-bar-item-left {
    position: relative;
    display: flex;
    align-items: center;
    background: #003366;
    color: #fff;
    width: 50px; /* icon only width */
    padding: 12px;
    border-radius: 0 8px 8px 0;
    text-decoration: none;
    overflow: hidden;
    transition: width 0.3s ease;
}

.side-bar-item-left i {
    font-size: 20px;
    min-width: 20px;
    text-align: center;
}

.side-bar-item-left span {
    margin-left: 10px;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-10px);
}

.side-bar-item-left:hover {
    width: auto; 
    color: white;
}

.side-bar-item-left:hover span {
    opacity: 1;
    transform: translateX(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .side-bar-container-left {
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        z-index: 40;
        display: none;
    }
    .side-bar-item-left {
        width: 50px;
        border-radius: 50%;
        padding: 12px;
    }
    .side-bar-item-left span {
        display: none;
    }
    .side-bar-item-left:hover {
        width: 50px;
    }
}
/* =====================================
   UNIVERSAL FIX
   RATING-BOX + ACTION-BUTTONS + TESTIMONIAL ICONS
===================================== */

/* ----- TABLET + MOBILE (up to 991px) ----- */
@media (max-width: 991px) {
  /* ===== RATING BOX CENTER FIX ===== */
  .rating-box {
    position: relative !important;
    /* Manual left/top hatane se center asaan ho jayega */
    left: 0 !important; 
    top: 0 !important;
    transform: none !important;
    
    /* Margin auto is the best way for horizontal centering */
    margin: 30px auto !important; 
    padding: 15px 28px !important;
    width: fit-content !important; /* Content ke mutabiq width */
    max-width: 90% !important;
    text-align: center;
    display: block !important;
    box-sizing: border-box;
  }

  .rating-box .rating-val {
    margin-bottom: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
}

/* Tablets (iPad/Android Tablets) */
@media (min-width: 768px) and (max-width: 1024px) {
  .rating-box {
    margin: 40px auto !important; /* Tablet par thodi zyada space */
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .rating-box {
    max-width: 280px !important;
    padding: 12px 20px !important;
  }
}

  /* ===== ACTION BUTTONS ===== */
  .action-buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 20px auto 0 !important;
    padding: 0 12px !important;
  }

  .action-buttons a {
    width: 100% !important;
    max-width: 320px;
    text-align: center;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* ===== TESTIMONIAL ICONS ===== */
  .testimonial-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin-bottom: 8px !important;
  }

  .testimonial-header img {
    width: 25% !important;
    height: auto !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }

  /* Remove negative heading margins inside testimonial cards */
  .testimonial-card h4,
  .testimonial-card h3 {
    margin-left: 0 !important;
    margin-top: 12px !important;
    text-align: center;
  }

  /* Testimonial card paragraph */
  .testimonial-card p,
  .testimonial-card .author {
    margin-left: 0 !important;
    text-align: center;
  }
}

/* =====================================
   RATING BOX — PERFECT CENTER
===================================== */

/*@media (max-width: 991px) {*/
/*  .rating-box {*/
/*    position: relative !important;*/
/*    top: 16px !important;*/
/*    left: 42% !important;*/
/*    transform: translateX(-50%) !important;*/
/*    margin: 20px auto !important;*/
/*  }*/
/*}*/

/* SMALL PHONES */
/*@media (max-width: 480px) {*/
/*  .rating-box {*/
/*    max-width: 280px;*/
/*    padding: 12px 20px !important;*/
/*  }*/
/*}*/

/* VERY SMALL DEVICES */
/*@media (max-width: 360px) {*/
/*  .rating-box {*/
/*    max-width: 240px;*/
/*    padding: 10px 16px !important;*/
/*  }*/
/*}*/

/* Container */
/* Container - Space added to top and bottom */
.info-card-styled {
    width: 100%;
    padding: 60px 0; 
    margin-top: 10px;
    margin-bottom: 50px; /* Bottom se space di hai */
    background: #f8fafc;
    display: flex;
    justify-content: center; 
    align-items: center;
    box-sizing: border-box;
    clear: both;
}

/* Unique Card Wrapper */
.academy-info-card {
    max-width: 1100px;
    width: 95%; 
    margin: 60px auto !important; 
    
    background: #ffffff;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(19, 99, 223, 0.1);
    animation: 
        academyFadeUp 0.8s ease forwards, 
        borderBlink 3s ease-in-out infinite; 
}

/* Inner Content with your requested shades */
.academy-inner-content {
    position: relative;
    background: linear-gradient(135deg, rgba(191, 191, 255, 0.2) 0%, rgba(214, 214, 235, 0.2) 100%);
    padding: 60px 50px;
    z-index: 1;
}

/* BLINKING KEYFRAME (Jal-Bujh Effect) */
@keyframes borderBlink {
    0% {
        border-color: rgba(19, 99, 223, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }
    50% {
        border-color: #1363DF; 
        box-shadow: 0 0 20px rgba(19, 99, 223, 0.3), inset 0 0 15px rgba(19, 99, 223, 0.1);
    }
    100% {
        border-color: rgba(19, 99, 223, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }
}

/* Typography - Responsive */
.academy-inner-content h2 {
    font-size: clamp(22px, 5vw, 30px);
    font-weight: 800;
    color: #1e293b;
    margin: 40px 0 20px 0;
    line-height: 1.3;
    border-left: 6px solid #1363DF;
    padding-left: 20px;
}

.academy-inner-content h2:first-child { margin-top: 0; }

.academy-inner-content p {
    font-size: clamp(15px, 2.5vw, 17px);
    line-height: 1.9;
    color: #475569;
    margin-bottom: 22px;
    text-align: justify;
}

@keyframes academyFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .academy-info-card {
        width: 92%; 
    }
    .info-card-styled {
        margin-top: 0px;    /* Mobile par space thodi kam */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .info-card-styled { padding: 30px 0; }
    .academy-inner-content { padding: 35px 20px; }
    .academy-inner-content p { text-align: left; }
    .academy-inner-content h2 { font-size: 24px; padding-left: 15px; }
}

@media (max-width: 480px) {
    .academy-inner-content { padding: 25px 15px; }
    .academy-inner-content h2 { font-size: 20px; }
}

/*modal popup*/

:root {
    --brand-dark: #082A5E;
    --brand-medium: #123a8c;
}

.custom-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 99999;

    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content-wrapper {
    background: #fff;
    border-radius: 35px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: modalSlideIn 0.4s ease-out;
    padding: 20px;

    /* IMPORTANT */
    max-height: 129vh;
    overflow: hidden;
}
@keyframes modalSlideIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
    position: absolute;
    top: 7px;
    right: 14px;
    width: 35px;
    height: 35px;
    background: var(--brand-dark);
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;    
    justify-content: center; 
    font-size: 22px; 
    font-family: Arial, sans-serif; 
    line-height: 0;         
    padding-bottom: 8px;  
    padding-left: 2px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 10001;
    transition: 0.3s;
}

.modal-close-btn:hover {
    background: #cc0000;
    transform: scale(1.1);
}

.toggleWrap { display: flex; justify-content: center; margin-bottom: 12px; }
.toggle { 
    width: 100%; 
    background: #f0f4ff; 
    border: 1px solid #dce4f2; 
    border-radius: 999px; 
    padding: 4px; 
    display: flex; 
    gap: 5px; 
}
.tbtn { 
    flex: 1; 
    border: 0; 
    border-radius: 999px; 
    padding: 8px; 
    font-weight: 600; 
    font-size: 13px; 
    color: #7a89a6; 
    background: transparent; 
    cursor: pointer; 
    transition: all 0.3s ease; 
}
.tbtn.active { 
    color: #fff; 
    background: linear-gradient(135deg, var(--brand-dark), var(--brand-medium)); 
    box-shadow: 0 4px 12px rgba(8, 42, 94, 0.3); 
}

.title { text-align: center; margin-bottom: 10px; font-size: 20px; font-weight: 700; color: var(--brand-dark); }
label { display: block; margin: 8px 0 3px; font-size: 11px; font-weight: 700; color: #2a3554; }
.field { 
    width: 100%; 
    border: 1px solid #d2dcf5; 
    border-radius: 8px; 
    padding: 8px 12px; 
    font-size: 13px; 
    box-sizing: border-box; 
    outline: none;
}
.phoneRow { display: flex; gap: 8px; }
.codeSel { width: 75px !important; padding: 8px 5px !important; }
.submit { 
        margin-top: 15px; 
        width: 100%; 
        border: 0; 
        border-radius: 12px; 
        padding: 12px; 
        font-size: 15px; 
        font-weight: 700; 
        color: #fff; 
        background: linear-gradient(135deg, var(--brand-dark), #041a3d); 
        cursor: pointer; 
        transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
        
        /* Zaroori Fixes: */
        position: relative; 
        overflow: hidden; 
        z-index: 1;
    }
    
    .submit::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(120deg, #1e3c72, #2a5298, #4facfe);
        transition: all 0.5s ease;
        z-index: -1; 
    }
    
    .submit:hover {
        color: #fff !important;
        transform: translateY(-5px) scale(1.02); 
        box-shadow: 0 10px 20px rgba(18, 58, 140, 0.3);
    }
    
    .submit:hover::before {
        left: 0;
    }
    
    .submit:active {
        transform: translateY(-2px) scale(0.98);
    }

.hint { font-size: 10px; font-weight: normal; color: #7a89a6; }

.cta__shapes img:first-child,
.cta__shapes img:last-child {
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.custom-select {
    position: relative;
    width: 100px;
    cursor: pointer;
  }

  .selected {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 8px;
  }

  .selected img {
    width: 20px;
    height: 14px;
  }

  .options {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    width: 100%;
    z-index: 10;
    border-radius: 8px;
  }

  .options div {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
  }

  .options div:hover {
    background: #f0f0f0;
  }

  .options img {
    width: 20px;
    height: 14px;
  }

/*recaptcha style*/
  .recaptcha-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .g-recaptcha {
      transform-origin: left top;
  }

  /* Mobile scaling */
  @media (max-width: 400px) {
    .g-recaptcha {
        transform: scale(0.85);
    }
  }

  @media (max-width: 350px) {
    .g-recaptcha {
        transform: scale(0.75);
    }
  }

  @media (max-width: 991px) {
    .elementor-section.elementor-element-052df4d {
        padding-top: 50px !important;
        padding-bottom: 5px !important;
    }
}
@media (max-height: 800px) {
    .modal-content-wrapper {
        transform: scale(0.9);
    }
}

@media (max-height: 700px) {
    .modal-content-wrapper {
        transform: scale(0.85);
    }
}

@media (max-height: 600px) {
    .modal-content-wrapper {
        transform: scale(0.8);
    }
}


.swal2-container {
    z-index: 200000 !important;
}
.modal {
    z-index: 1050;
}


              @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
              
/* Performance and accessibility: all content is visible without animation libraries. */
.slider__active_two > .slider__item {display:flex;opacity:1;visibility:visible}
.testimonial-active > .testimonial__item:not(:first-child) {display:none}
.testimonial-active > .testimonial__item {min-height:280px}
.teacher-container {overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin}
.teacher-container .swiper-wrapper {display:flex;width:100%;gap:25px;transform:none!important}
.teacher-container .swiper-slide {flex:0 0 calc((100% - 50px)/3);width:auto;scroll-snap-align:start}
.fta-teacher-controls {display:flex;justify-content:center;gap:12px;margin:12px 0}
.fta-teacher-controls button {border:1px solid #003366;background:white;color:#003366;border-radius:8px;padding:8px 18px}
.fta-video-slot {width:100%;height:100%}.fta-video-slot iframe{width:100%;height:100%;border:0}
.play-btn-center2,.close-btn-center2,.modal-close-btn {border:0;background:transparent;padding:0;cursor:pointer}
.play-btn-center2 {z-index:3}.close-btn-center2 {z-index:4}
.testimonial-card2:focus-visible,button:focus-visible,a:focus-visible {outline:3px solid #1363df;outline-offset:4px}
.custom-modal-overlay {overflow-y:auto}.modal-content-wrapper {max-height:calc(100dvh - 24px);overflow-y:auto}
.fta-form-error {color:#b91c1c;margin:10px 0;font-size:14px}
.edu-about-section [data-aos],.elementor-invisible,.wow {opacity:1;visibility:visible;transform:none}
.info-card-styled {content-visibility:auto;contain-intrinsic-size:auto 1400px}
@media(max-width:1023px){.teacher-container .swiper-slide{flex-basis:calc((100% - 25px)/2)}}
@media(max-width:767px){.teacher-container .swiper-slide{flex-basis:100%}.modal-content-wrapper{margin:12px auto;max-width:calc(100% - 24px)}.slider__content .tg-button-wrap{flex-wrap:wrap;gap:10px}.edu-about-section .testimonial-card2 h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.blink-border,.glow-pulse2,.glow-pulse-red2,.floating-icon-btn::before,.edu-wave,.edu-about-section::before{animation:none!important}
