 body {
   font-family: 'Poppins', sans-serif;
    margin: 0;
   
    height: 1000px;
}
.head {
    background-color: #000000;
    padding: 1px 0; /* thinner strip */
}
.head1 {
    list-style: none;
    display: flex;
    justify-content: left;
    gap: 30px;
    margin: 0;
    padding: 6px 20px; }
.head1 a {
    text-decoration: none;
    color: white;
    font-size: smaller;
    font-weight: normal;
}
.head1 a:hover {
    color: black;
    background-color: white;
    transition: 0.3s ease-in-out;
    padding: 5px 10px;
    border-radius: 5px;
}
@media (max-width: 480px) {
    .head{
        display: none;
    }
    
}

       nav {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    position: sticky;  /* ✅ Make it sticky */
    top: 0;            /* ✅ Stick to the top */
    z-index: 1000;     /* ✅ Ensure it stays above all content */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


        .nav-left {
            font-size: 22px;
            font-weight: 700;
            color: #0406ae;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .nav-left i {
            color: #0c0058;
        }

        .nav-center {
            position: relative;
        }

        .nav-center button {
            background: none;
            border: none;
            color: rgb(0, 0, 0);
            font-size: 16px;
            cursor: pointer;
            font-weight: 500;
            padding: 8px 16px;
            border-radius: 4px;
            transition: background-color 0.3s;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .nav-center button:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

        .dropdown {
            display: none;
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            background-color: #fff;
            color: #000;
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
            padding: 25px;
            border-radius: 12px;
            width: 90vw;
            max-width: 1000px;
            z-index: 100;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
            border-top: 4px solid #0033ff;
        }

        .dropdown-column h4 {
            margin-bottom: 15px;
            font-size: 16px;
            color: #1a1a2e;
            border-bottom: 2px solid #c9d0ff;
            display: inline-block;
            padding-bottom: 5px;
        }

        .dropdown-column a {
            display: block;
            text-decoration: none;
            color: #555;
            font-size: 14px;
            margin: 8px 0;
            transition: 0.2s;
            padding: 4px 0;
        }

        .dropdown-column a:hover {
            color: #2563eb;
            transform: translateX(5px);
        }

        .nav-center:hover .dropdown {
            display: grid;
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .auth-buttons {
            display: flex;
            gap: 12px;
        }

        .login-btn, .signup-btn {
            padding: 8px 20px;
            border-radius: 4px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
        }

        .login-btn {
            background: transparent;
            border: 1px solid white;
            color: #0026ff;
            font-weight: normal;
        }

        .login-btn:hover {
            background-color:rgb(0, 0, 148);
            color: white;
            transition: 0.3s ease-in-out;
        }

        .signup-btn {
            background-color: white;
            border: 1px solid #0004ff;
            color: #1a1a2e;
            font-weight: normal;
        }

        .signup-btn:hover {
            background-color: #000d84;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
        }

        .free-courses:hover {
            background-color: rgba(255, 215, 0, 0.1);
        }

        /* Mobile Toggle Button */
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            color: rgb(0, 0, 0);
            font-size: 24px;
            cursor: pointer;
            padding: 8px;
            border-radius: 4px;
            transition: background-color 0.3s;
        }

        .mobile-toggle:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

        /* Left Side Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            left: -70%;
            width: 70%;
            height: 100vh;
            background: linear-gradient(to bottom, #ffffff, #f0f8ff);
            z-index: 1000;
            box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
            transition: left 0.3s ease;
            overflow-y: auto;
            padding: 20px 0;
        }

        .mobile-menu.active {
            left: 0;
        }

        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            border-bottom: 1px solid #e2e8f0;
            margin-bottom: 10px;
        }

        .mobile-menu-header .logo {
            font-size: 20px;
            font-weight: 700;
            color: #1a1a2e;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .mobile-menu-header .logo i {
            color: #2563eb;
        }

        .mobile-close {
            background: none;
            border: none;
            font-size: 22px;
            color: #64748b;
            cursor: pointer;
            transition: color 0.3s;
        }

        .mobile-close:hover {
            color: #2563eb;
        }

        .mobile-menu-item {
            border-bottom: 1px solid #e2e8f0;
        }

        .mobile-menu-header-item {
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            font-weight: 500;
            color: #1a1a2e;
            transition: background-color 0.2s;
        }

        .mobile-menu-header-item:hover {
            background-color: #f1f5f9;
        }

        .mobile-menu-header-item i {
            transition: transform 0.3s;
            color: #64748b;
        }

        .mobile-menu-header-item.active i {
            transform: rotate(180deg);
            color: #2563eb;
        }

        .mobile-dropdown {
            background-color: #f8fafc;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .mobile-dropdown.active {
            max-height: 500px;
        }

        .mobile-dropdown a {
            display: block;
            padding: 12px 35px;
            color: #475569;
            text-decoration: none;
            border-bottom: 1px solid #e2e8f0;
            transition: all 0.2s;
            font-size: 14px;
        }

        .mobile-dropdown a:hover {
            background-color: #e0f2fe;
            color: #2563eb;
            padding-left: 40px;
        }

        .mobile-dropdown a i {
            margin-right: 10px;
            width: 18px;
            text-align: center;
            color: #64748b;
        }

        .mobile-auth {
            display: flex;
            padding: 20px;
            gap: 10px;
            border-bottom: 1px solid #e2e8f0;
        }

        .mobile-auth button {
            flex: 1;
            padding: 12px;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
            border: none;
        }

        .mobile-login {
            background: transparent;
            border: 1px solid #2563eb !important;
            color: #2563eb;
        }

        .mobile-login:hover {
            background-color: #dbeafe;
        }

        .mobile-signup {
            background-color: #2563eb;
            color: white;
        }

        .mobile-signup:hover {
            background-color: #1d4ed8;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
        }

        .mobile-free {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #2563eb;
            font-weight: 600;
            padding: 15px 20px;
            cursor: pointer;
            transition: background-color 0.2s;
            border-bottom: 1px solid #e2e8f0;
        }

        .mobile-free:hover {
            background-color: #f1f5f9;
        }

        .mobile-free i {
            font-size: 18px;
        }

        /* Overlay when mobile menu is open */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 999;
            display: none;
        }

        .overlay.active {
            display: block;
        }

        /* ---- Responsive ---- */
        @media (max-width: 1024px) {
            nav {
                padding: 12px 3%;
            }
            
            .dropdown {
                width: 95vw;
                gap: 20px;
                padding: 20px;
            }
        }

        @media (max-width: 768px) {
            .mobile-toggle {
                display: block;
            }
            
            .nav-center, .nav-right {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .dropdown {
                grid-template-columns: 1fr;
            }
           
            .mobile-auth {
                flex-direction: column;
            }
        }
         #preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: #ffffff;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      transition: opacity 0.8s ease, visibility 0.8s ease;
    }

    #preloader.fade-out {
      opacity: 0;
      visibility: hidden;
    }

    #preloader h1 {
      color: #012250;
      letter-spacing: 2px;
      text-align: center;
      animation: fadeText 2s ease-in-out infinite alternate;
      font-size: clamp(1.8rem, 6vw, 3rem); /* responsive text size */
    }

    @keyframes fadeText {
      0% { opacity: 1; transform: scale(1); }
      100% { opacity: 0.6; transform: scale(1.05); }
    }

    /* Optional loader circle below text */
    .loader-circle {
      margin-top: 25px;
      width: 40px;
      height: 40px;
      border: 4px solid #142a9b;
      border-top: 4px solid transparent;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

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

    .school {
      background-color: #f8f9fb;
      color: #111;
      display: flex;
      justify-content: center;
      align-items: center;
      
      padding: 40px 20px;
    }

    .container {
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      overflow: hidden;
    }

    .content {
      display: flex;
      flex-wrap: wrap;
      padding: 40px;
      justify-content: space-between;
      align-items: center;
      gap: 30px;
    }

    .text-section {
      flex: 1 1 350px;
    }

    .text-section h1 {
      font-size: 2rem;
      font-weight: 600;
      margin-bottom: 10px;
      color: #111;
    }

    .text-section p {
      color: #555;
      line-height: 1.5;
      margin-bottom: 20px;
    }

    .buttons {
      display: flex;
      gap: 10px;
    }

    .buttons button {
      padding: 10px 18px;
      border-radius: 25px;
      border: none;
      cursor: pointer;
      font-size: 0.95rem;
      transition: 0.3s;
    }

    .buttons .primary {
      background: #2563eb;
      color: #fff;
    }

    .buttons .primary:hover {
      background: #1d4ed8;
    }

    .buttons .secondary {
      border: 1px solid #ccc;
      background: transparent;
    }

    .buttons .secondary:hover {
      background: #f2f2f2;
    }

    .image-section {
      flex: 1 1 400px;
      position: relative;
    }

    .image-section img {
      width: 100%;
      border-radius: 12px;
      object-fit: cover;
    }

    .play-btn {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.8);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .play-btn::before {
      content: '';
      display: block;
      width: 0;
      height: 0;
      border-left: 14px solid #2563eb;
      border-top: 8px solid transparent;
      border-bottom: 8px solid transparent;
    }

    .stats {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      background: #f9fafb;
      padding: 25px 20px;
      border-top: 1px solid #eee;
    }

    .stat {
      text-align: center;
      margin: 10px;
      flex: 1 1 150px;
    }

    .stat h2 {
      font-size: 1.5rem;
      color: #111;
      margin-bottom: 5px;
    }

    .stat p {
      color: #555;
      font-size: 0.95rem;
    }

    @media (max-width: 768px) {
      .content {
        flex-direction: column;
        text-align: center;
      }
      .text-section {
        flex: 0px;
      }
      .image-section {
        flex: 0;
      }
      .buttons {
        justify-content: center;
      }
    }

    .care-section {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 80px 8%;
      gap: 50px;
      flex-wrap: wrap;
      
      margin: 0 auto;
      background: #fff;
      border-radius: 20px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }

    .content-left {
      flex: 1;
      min-width: 320px;
    }

    .content-left h1 {
      font-size: 2.5rem;
      font-weight: 600;
      margin-bottom: 40px;
      line-height: 1.3;
      color: #1a1a1a;
    }

    .content-left h1 span {
      color: #4a6cf7;
    }

    .accordion-item {
      border-bottom: 1px solid #eaeaea;
      margin-bottom: 10px;
      border-radius: 8px;
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .accordion-item:hover {
      background: #f9f9f9;
    }

    .accordion-header {
      background: none;
      border: none;
      width: 100%;
      text-align: left;
      font-size: 1.1rem;
      font-weight: 600;
      padding: 18px 20px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: all 0.3s ease;
      color: #333;
    }

    .accordion-header:hover {
      color: #4a6cf7;
      background: #f5f8ff;
    }

    .accordion-header::after {
      content: '⌄';
      font-size: 1.5rem;
      transition: transform 0.3s ease;
      color: #888;
    }

    .accordion-item.active .accordion-header::after {
      transform: rotate(180deg);
      color: #4a6cf7;
    }

    .accordion-item.active .accordion-header {
      color: #4a6cf7;
      background: #f5f8ff;
    }

    .accordion-body {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
    }

    .accordion-item.active .accordion-body {
      max-height: 300px;
    }

    .accordion-body p {
      color: #555;
      font-size: 0.95rem;
      line-height: 1.6;
      padding: 0 20px 20px;
    }

    .content-right {
      flex: 1;
      min-width: 320px;
      position: relative;
      text-align: center;
    }

    .circle-bg {
      width: 350px;
      height: 350px;
      background: #e7f0ff;
      border-radius: 50%;
      margin: 0 auto;
      position: relative;
    }

    .main-img {
      position: absolute;
      top: 30px;
      left: 50%;
      transform: translateX(-50%);
      width: 220px;
    }

    .floating-card {
      position: absolute;
      display: flex;
      align-items: center;
      gap: 10px;
      background: #fff;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      padding: 12px 16px;
      border-radius: 12px;
      min-width: 230px;
      transition: transform 0.3s, box-shadow 0.3s;
      z-index: 2;
    }

    .floating-card:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    .floating-card .icon {
      font-size: 1.4rem;
    }

    .floating-card h4 {
      font-size: 0.95rem;
      font-weight: 600;
    }

    .floating-card span {
      font-size: 0.8rem;
      color: #777;
    }

    /* Card color accents */
    .green { top: 40px; right: 0; border-left: 5px solid #7cd992; }
    .purple { top: 120px; right: -40px; border-left: 5px solid #b893f6; }
    .orange { top: 200px; right: 20px; border-left: 5px solid #f8c07c; }

    /* Mobile-first responsive design */
    @media (max-width: 1200px) {
      .care-section {
        padding: 60px 5%;
      }
    }

    @media (max-width: 900px) {
      .care-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
        gap: 30px;
      }
      
      .content-left h1 {
        font-size: 2rem;
        margin-bottom: 30px;
      }
      
      .content-right {
        margin-top: 40px;
        width: 100%;
        display: none;
      }
      
      .circle-bg {
        width: 280px;
        height: 280px;
      }
      
      .main-img {
        width: 180px;
        top: 20px;
      }
      
      /* Floating cards become a horizontal scrollable carousel */
      .floating-cards-container {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding: 20px 0;
        margin-top: 20px;
        scrollbar-width: none; /* Firefox */
      }
      
      .floating-cards-container::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
      }
      
      .floating-card {
        position: static;
        flex: 0 0 auto;
        width: 220px;
        margin: 0;
      }
      
      .accordion-header {
        padding: 18px 0;
        font-size: 1rem;
      }
    }

    @media (max-width: 600px) {
      .content-left h1 {
        font-size: 1.75rem;
      }
      
      .circle-bg {
        width: 240px;
        height: 240px;
      }
      
      .main-img {
        width: 150px;
        top: 15px;
      }
      
      .floating-card {
        width: 200px;
        padding: 10px 14px;
      }
      
      .floating-card h4 {
        font-size: 0.9rem;
      }
      
      .accordion-header {
        font-size: 0.95rem;
      }
      
      .accordion-body p {
        font-size: 0.9rem;
      }
    }

    @media (max-width: 400px) {
      .content-left h1 {
        font-size: 1.5rem;
      }
      
      .circle-bg {
        width: 200px;
        height: 200px;
      }
      
      .main-img {
        width: 130px;
        top: 10px;
      }
    }


    .forms {
      background-color: #f6f9fc;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .form-container {
      display: flex;
      flex-wrap: wrap;
      background: #f6f9fc;
      max-width: 1000px;
      border-radius: 16px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      overflow: hidden;
    }

    .form-left {
      flex: 1 1 45%;
      padding: 60px 40px;
    }

    .form-left h2 {
      font-size: 2rem;
      font-weight: 700;
      color: #111827;
      margin-bottom: 10px;
    }

    .form-left p {
      font-size: 0.95rem;
      color: #6b7280;
      margin-bottom: 30px;
    }

    .form-contact-info {
      margin-top: 20px;
    }

    .form-contact-item {
      display: flex;
      align-items: center;
      margin-bottom: 15px;
    }

    .form-contact-item i {
      font-size: 24px;
      color: #2563eb;
      margin-right: 12px;
    }

    .form-contact-item div {
      font-size: 0.9rem;
      color: #374151;
    }

    .form-contact-item div span {
      display: block;
      font-size: 0.8rem;
      color: #6b7280;
    }

    .form-right {
      flex: 1 1 55%;
      background: white;
      border-radius: 24px 0 0 24px;
      padding: 40px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }

    .form-main {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .form-input, .form-select, .form-textarea {
      width: 100%;
      padding: 14px 16px;
      border: 1px solid #e5e7eb;
      border-radius: 10px;
      font-size: 0.95rem;
      background-color: #f9fafb;
      transition: border 0.2s;
    }

    .form-input:focus, .form-select:focus, .form-textarea:focus {
      border-color: #2563eb;
      outline: none;
      background-color: #fff;
    }

    .form-textarea {
      resize: none;
      height: 100px;
    }

    .form-button {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 14px 18px;
      border: none;
      border-radius: 30px;
      background-color: #2563eb;
      color: white;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s;
    }

    .form-button:hover {
      background-color: #1e40af;
    }

    .form-button i {
      background: white;
      color: #2563eb;
      border-radius: 50%;
      padding: 6px;
    }

    @media (max-width: 850px) {
      .form-container {
        flex-direction: column;
      }

      .form-left, .form-right {
        flex: 1 1 100%;
        border-radius: 0;
        padding: 40px 20px;
      }

      .form-right {
        border-radius: 16px;
        margin-top: 20px;
      }
    }