/* ==========================================================================
   GLOBAL RESPONSIVE
   ========================================================================== */
@media (max-width: 1920px) {
    .why-image img {
        width: 100%;
        height: 380px;
    }
}
@media (max-width: 1200px) {
    .navbar,
    .footer-container {
        padding-left: 40px;
        padding-right: 40px;
    }
    .footer-container {
        gap: 50px;
    }
    .cta-section {
        padding: 0 40px;
    }
    .cta-section p {
        font-size: 18px;
    }
    .hero-section::after {
        right: -24px;
        bottom: -46px;
        width: 160px;
        height: 158px;
    }

    .hero-content::before {
        top: -92px;
        left: -58px;
        width: 170px;
        height: 168px;
    }

    .hero-content::after {
        left: -44px;
        bottom: -154px;
        width: 160px;
        height: 158px;
    }

    .hero-image::before {
        top: -50px;
        left: -58px;
        width: 160px;
        height: 158px;
    }

    .hero-image::after {
        content: none;
    }

    .hero-section,
    .why-section,
    .testimonials-section,
    .cta-section,
    .stats-section,
    .courses-section {
        padding-left: 60px;
        padding-right: 60px;
    }

    .hero-container {
        gap: 40px;
        padding-top: 80px;
        padding-bottom: 80px;
        padding-left: 0;
        padding-right: 0;
    }
    .why-container {
        padding: 0;
    }

    .hero-content h1 {
        font-size: 46px;
    }

    .hero-content p {
        width: 100%;
        max-width: 600px;
    }

    .stats-grid {
        gap: 40px;
    }

    .catalog-grid {
        padding-left: 40px;
        padding-right: 40px;
        gap: 32px;
    }
    .mv-grid {
        gap: 64px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .values-grid {
        padding-left: 40px;
        padding-right: 40px;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .journey-grid {
        padding-left: 40px;
        padding-right: 40px;
        gap: 32px;
    }

    .experts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .timeline-card {
        padding: 12px 18px;
    }

    .timeline-badge {
        width: 80px;
        height: 80px;
        font-size: 20px;
    }

    .experts-container {
        padding: 0 40px;
    }

    .timeline-card h3 {
        font-size: 18px;
    }

    .timeline-card p {
        font-size: 16px;
    }

    .timeline-container {
        padding: 0 40px;
    }
    .websites-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .dictionary-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section {
        padding: 80px 0;
    }
    .footer-bottom {
        max-width: 950px;
        margin: 0 auto;
    }
}

@media (max-width: 769px) {
    .navbar-wrapper {
        --mobile-navbar-height: 72px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: rgba(255, 255, 255, 0.96);
        border-bottom: 1px solid rgba(69, 116, 5, 0.14);
        box-shadow: 0 8px 24px rgba(16, 25, 4, 0.08);
        backdrop-filter: blur(14px);
    }

    .navbar {
        min-height: var(--mobile-navbar-height);
        padding: 10px 24px;
        flex-direction: row;
        justify-content: space-between;
    }

    .logo img {
        width: 160px;
        height: auto; /* Prevent distortion when scaling down */
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        border-radius: 8px;
        background: #ffffff;
    }
    .menu-toggle img {
        width: 30px;
    }

    .nav-links {
        position: fixed;
        top: calc(var(--mobile-navbar-height) + 1px);
        right: 16px;
        width: min(450px, calc(100vw - 32px));

        /* --- CHANGES HERE --- */
        max-height: none; /* Height ki limit hata di taaki scroll na bane */
        overflow-y: visible; /* Scrolling ko poori tarah band kar diya */
        /* -------------------- */

        background: #fff;
        z-index: 9998;
        display: flex;
        flex-direction: column;
        padding: 16px;
        gap: 8px;
        border: 1px solid rgba(69, 116, 5, 0.12);
        border-radius: 8px;
        box-shadow: 0 18px 42px rgba(16, 25, 4, 0.16);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transform-origin: top right;
        transition: all 0.25s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        width: 100%;
        padding: 12px 14px;
        border-radius: 6px;
        color: #17200b;
        font-weight: 590;
    }

    .nav-links a:hover {
        background: #deebcb;
        transform: translateX(4px);
    }

    .nav-links a.Active,
    .nav-links a.active {
        background: #f3f8ec;
        color: #457405;
    }

    .nav-btn {
        width: 100%;
        margin-top: 8px;
        padding: 14px;
        border-radius: 8px;
        justify-content: center;
    }

    /* Footer structural break into balanced 2 grid rows */
    .footer-section {
        padding-top: 60px;
    }

    .footer-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .footer-col:first-child {
        grid-column: 1 / -1;
        flex: none;
        max-width: 100%;
    }

    .footer-col h3 {
        margin-bottom: 24px;
    }
    .social-icons a {
        width: 43px;
        height: 43px;
    }
    .social-img {
        width: 16px;
        height: 16px;
    }
    .cta-section {
        padding: 60px 0;
    }
    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section p {
        font-size: 16px;
    }
    .footer-bottom {
        max-width: 700px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .navbar,
    .footer-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .navbar-wrapper {
        --mobile-navbar-height: 68px;
    }

    .nav-links {
        top: 100%;
        right: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    /* Linear stack single columns for small mobile screens */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-logo {
        width: 142px;
        margin-bottom: 16px;
    }

    .about-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .contact-info-list li {
        gap: 16px;
        align-items: flex-start;
        font-size: 13.5px;
    }

    .social-icons {
        gap: 16px;
    }

    .social-icons a {
        width: 44px;
        height: 44px;
    }
    .social-img {
        width: 16px;
        height: 16px;
    }
    .menu-toggle img {
        width: 25px;
    }
    .cta-section {
        padding: 60px 20px;
    }
    .cta-section h2 {
        font-size: 24px;
        margin-bottom: 14px;
    }

    .cta-section p {
        font-size: 15px;
        line-height: 1.5;
    }

    .menu-toggle img {
        width: 24px;
        height: 24px;
    }

    .footer-bottom {
        max-width: 530px;
        margin: 0 auto;
    }
    .stats-row {
        flex-direction: column;
    }
}

@media (max-width: 426px) {
    .footer-bottom {
        max-width: 380px;
        margin: 0 auto;
    }
}

@media (max-width: 376px) {
    .footer-bottom {
        max-width: 340px;
        margin: 0 auto;
    }
}

@media (max-width: 321px) {
    .footer-bottom {
        max-width: 290px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   HOME RESPONSIVE
   ========================================================================== */

@media (max-width: 902px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-section::after {
        top: auto;
        right: 12px;
        bottom: 28px;
        width: 130px;
        height: 128px;
    }

    .hero-content p {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        justify-content: center;
    }

    .hero-image::before {
        top: -34px;
        left: 8px;
        width: 132px;
        height: 130px;
    }

    .hero-image::after {
        top: -36px;
        right: 8px;
        left: auto;
        bottom: auto;
        width: 132px;
        height: 130px;
    }

    .hero-content::before {
        top: -50px;
        left: 50%;
        width: 168px;
        height: 166px;
        transform: translateX(-92%);
    }

    .hero-content::after {
        left: 50%;
        right: auto;
        bottom: -70px;
        transform: translateX(-96%);
        width: 136px;
        height: 134px;
    }

    .why-container {
        flex-direction: column;
        text-align: center;
    }

    .why-content ul li {
        text-align: left;
    }

    .features-grid {
        gap: 2rem;
    }
}

@media (max-width: 769px) {
    .hero-section {
        padding-top: 120px;
        padding-bottom: 80px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
        padding-bottom: 40px;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 38px;
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .primary-btn img {
        width: 16px;
    }

    .hero-content p {
        font-size: 16px;
        line-height: 1.5;
        margin: 0 auto 24px auto;
        width: 100%;
        max-width: 600px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
        justify-content: center;
    }

    .testimonials-section,
    .cta-section,
    .courses-section,
    .why-section,
    .stats-section {
        padding-left: 32px;
        padding-right: 32px;
    }

    .section-heading h2,
    .why-content h2,
    .section-header h2,
    .cta-section h2 {
        font-size: 28px;
    }

    .section-heading p,
    .why-content p,
    .section-header p,
    .cta-section p {
        font-size: 16px;
    }

    .courses-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px;
    }

    .courses-grid .course-card:nth-child(3),
    .testimonial-grid .testimonial-card:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - 24px) / 2);
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .stat-card .icon {
        width: 60px;
        height: 60px;
    }

    .stat-card .icon img {
        width: 28px;
    }

    .stat-card .stat-val {
        font-size: 22px;
    }

    .stats-section {
        padding: 30px 0;
    }

    .testimonials-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .courses-hero-content {
        padding-top: 70px;
    }

    .courses-hero-content h1 {
        font-size: 32px;
        margin: 0 auto 16px auto !important;
    }

    .courses-hero-content p {
        margin: 0 auto;
        max-width: 85%;
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem 1.5rem;
    }

    .catalog-grid {
        padding-left: 24px;
        padding-right: 24px;
        gap: 24px;
    }

    .catalog-card {
        flex: 0 0 calc(50% - 16px);
        max-width: 400px;
    }

    .counselor-cta {
        padding: 60px 20px;
    }

    .counselor-cta h2 {
        font-size: 28px;
    }

    .counselor-cta p {
        font-size: 17px;
    }

    .green-btn {
        padding: 14px 18px;
    }

    .price-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .current-price {
        font-size: 20px;
    }

    .enroll-btn {
        padding: 10px 30px;
        font-size: 14px;
    }

    .coming-soon-badge {
        font-size: 0.9rem;
        padding: 0.3rem 1.2rem;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
    }

    .feature-icon img {
        width: 22px;
        height: 22px;
    }

    .lock-icon-circle svg,
    .lock-icon-circle img {
        width: 35px;
        height: 35px;
    }

    .features-section {
        padding: 80px 0;
    }
}

@media (max-width: 576px) {
    .hero-container {
        padding-top: 50px;
        padding-bottom: 0;
        gap: 32px;
    }

    .hero-content h1 {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 20px;
        width: 100%;
    }

    /* FIXED: Mobile horizontal scaling logic for side-by-side buttons */
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap; /* Allows stacking on extremely small screens */
        justify-content: center;
        width: 100%;
        gap: 10px;
    }

    .hero-buttons .primary-btn,
    .hero-buttons .secondary-btn,
    .hero-buttons .explore-courses-btn {
        width: auto !important;
        flex: 1 1 140px !important; /* Distribute space evenly, wrap if < 140px each */
        max-width: none !important; /* Removes containment so they can span full width if wrapped */
        padding: 12px 14px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
    }

    .hero-image {
        max-width: 100%;
    }

    .hero-section,
    .courses-section,
    .why-section,
    .testimonials-section,
    .cta-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .stats-section {
        padding: 20px 0;
    }

    .courses-section,
    .why-section,
    .testimonials-section,
    .cta-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .section-heading h2,
    .why-content h2,
    .section-header h2,
    .cta-section h2 {
        font-size: 24px;
        margin-bottom: 14px;
    }

    .section-heading p,
    .why-content p,
    .section-header p,
    .cta-section p {
        font-size: 15px;
        line-height: 1.5;
    }

    .hero-section::after {
        right: 4px;
        bottom: 10px;
        width: 82px;
        height: 80px;
    }

    .hero-image::before {
        top: -38px;
        left: -4px;
        width: 86px;
        height: 84px;
    }

    .hero-content::before {
        top: -34px;
        width: 118px;
        height: 116px;
        transform: translateX(-50%);
        left: 50%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 16px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .stats-grid .stat-card:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .stat-box h2 {
        font-size: 22px;
    }

    .courses-grid,
    .testimonial-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .courses-grid .course-card:nth-child(3),
    .testimonial-grid .testimonial-card:nth-child(3) {
        grid-column: auto;
        width: 100%;
    }

    .course-content {
        padding: 20px 16px;
    }

    .course-content h3 {
        font-size: 17px;
    }

    .course-content p {
        font-size: 14px;
    }

    .testimonial-card {
        padding: 24px 20px;
    }

    .testimonial-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .course-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .why-content ul li {
        align-items: flex-start;
        font-size: 15px;
    }

    .stat-card .icon {
        width: 50px;
        height: 50px;
    }

    .stat-card .icon img {
        width: 22px;
    }

    .stat-card .stat-val {
        font-size: 22px;
    }

    .why-content ul li img {
        width: 20px;
    }

    .secondary-btn img,
    .explore-courses-btn img {
        width: 20px !important;
        height: 20px !important;
    }

    .courses-hero-content h1 {
        font-size: 26px;
        margin: 0 auto 12px auto !important;
    }

    .courses-hero-content p {
        font-size: 16px;
        line-height: 1.6;
    }

    .features-section {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .feature-item {
        padding: 0;
    }

    .catalog-section {
        padding: 3.5rem 0;
    }

    .catalog-grid {
        padding-left: 18px;
        padding-right: 18px;
        gap: 22px;
    }

    .catalog-card {
        flex: 0 1 100%;
        max-width: 100%;
    }

    .card-body {
        padding: 1.25rem;
    }

    .card-action-row {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .enroll-btn {
        width: 100%;
        padding: 14px 18px;
    }

    .feature-item p {
        margin: 0 auto;
        max-width: 80%;
    }

    .price-container {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    .current-price {
        font-size: 20px;
    }

    .coming-soon-badge {
        font-size: 0.9rem;
        padding: 0.3rem 1.2rem;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
    }

    .counselor-cta h2 {
        font-size: 25px;
    }

    .counselor-cta p {
        font-size: 16px;
    }

    .lock-icon-circle svg,
    .lock-icon-circle img {
        width: 35px;
        height: 35px;
    }

    .feature-item h3 {
        font-size: 16px;
    }
    .why-image img {
        width: 100%;
        height: 280px;
    }
}

@media (max-width: 320px) {
    .hero-section {
        padding-top: 105px;
        padding-bottom: 56px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero-container {
        padding-top: 36px;
        gap: 24px;
    }

    .hero-content h1 {
        font-size: 26px;
        line-height: 1.25;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.55;
    }

    .hero-buttons {
        gap: 8px;
    }

    .hero-buttons .primary-btn,
    .hero-buttons .secondary-btn,
    .hero-buttons .explore-courses-btn {
        max-width: 140px !important;
        padding: 11px 10px !important;
        font-size: 12px !important;
    }

    .hero-buttons .primary-btn img,
    .hero-buttons .secondary-btn img,
    .hero-buttons .explore-courses-btn img {
        width: 16px !important;
        height: 16px !important;
    }

    .hero-section::after {
        right: -8px;
        bottom: 6px;
        width: 64px;
        height: 62px;
    }

    .hero-image::before,
    .hero-content::before {
        width: 72px;
        height: 70px;
    }

    .courses-section,
    .why-section,
    .testimonials-section,
    .cta-section {
        padding: 50px 14px;
    }

    .section-heading h2,
    .why-content h2,
    .section-header h2,
    .cta-section h2 {
        font-size: 22px;
    }

    .section-heading p,
    .why-content p,
    .section-header p,
    .cta-section p {
        font-size: 14px;
    }

    .stats-grid {
        gap: 24px 12px;
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .stat-card .icon {
        width: 46px;
        height: 46px;
    }

    .stat-card .stat-val {
        font-size: 20px;
    }

    .course-content,
    .testimonial-card {
        padding: 20px 14px;
    }

    .course-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .why-content ul li {
        font-size: 14px;
        gap: 10px;
    }

    .cta-btn {
        justify-content: center;
        padding: 14px 18px;
        font-size: 14px;
    }
    .achievements-content {
        padding: 0 15px;
    }
    .section-header {
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   ABOUT RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .about-hero-content h1 {
        font-size: 42px;
    }

    .about-hero-content p {
        font-size: 20px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .experts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero-content {
        padding-top: 70px;
    }

    .about-hero-content h1 {
        font-size: 36px;
    }

    .about-hero-content p {
        font-size: 18px;
    }

    .mv-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .achievements-section {
        padding: 60px 0;
    }

    .achievements-section h2,
    .section-header h2,
    .journey-text h2 {
        font-size: 30px;
    }

    .achievements-section .subtitle,
    .section-header p {
        font-size: 17px;
        margin-bottom: 18px;
    }

    .values-grid {
        padding-left: 24px;
        padding-right: 24px;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .journey-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding-left: 24px;
        padding-right: 24px;
    }

    .journey-grid .journey-image {
        order: -1;
        /* Image hamesha text se upar dikhegi */
    }

    .journey-text p {
        font-size: 17px;
    }

    .experts-section {
        padding: 60px 0;
    }

    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .success-cta-section {
        padding: 60px 20px;
    }

    .success-cta-container h2,
    .timeline-header h2 {
        font-size: 28px;
    }

    .timeline-header p {
        font-size: 17px;
    }

    .success-cta-container p {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .mv-header h3 {
        font-size: 24px;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-label {
        font-size: 16px;
    }

    .value-icon-box img {
        width: 30px;
        height: 30px;
    }

    .value-card h4 {
        font-size: 20px;
    }

    .value-card p {
        font-size: 16px;
    }

    .experts-container,
    .timeline-container {
        padding: 0 30px;
    }

    .timeline-header p {
        font-size: 17px;
    }

    .timeline-badge {
        width: 70px;
        height: 70px;
        font-size: 17px;
    }

    .timeline-card h3 {
        font-size: 16px;
    }

    .timeline-card p {
        font-size: 14px;
    }

    .timeline-section {
        padding: 60px 0;
    }

    .timeline-item {
        column-gap: 30px;
    }
}

@media (max-width: 576px) {
    .about-hero-content h1 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .about-hero-content p {
        font-size: 16px;
        line-height: 1.5;
    }

    .mission-vision-section {
        padding: 60px 0;
    }

    .mv-grid {
        padding-left: 18px;
        padding-right: 18px;
    }

    .mv-header {
        gap: 16px;
        margin-bottom: 16px;
    }

    .mv-header img,
    .value-icon-box img {
        width: 30px;
        height: 30px;
    }

    .mv-header h3 {
        font-size: 20px;
    }

    .mv-content p {
        font-size: 16px;
    }

    .stat-number {
        font-size: 38px;
    }

    .stat-label {
        font-size: 14px;
    }

    .core-values-section {
        padding: 50px 0;
    }

    .values-grid {
        padding-left: 18px;
        padding-right: 18px;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .value-card {
        padding: 24px;
    }

    .value-card h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .value-card p,
    .journey-text p {
        font-size: 16px;
    }

    .journey-section {
        padding: 50px 0;
    }

    .journey-grid {
        padding-left: 20px;
        padding-right: 20px;
        gap: 28px;
    }

    .experts-container {
        padding: 0 20px;
    }

    .experts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .expert-img {
        height: 230px;
    }

    .success-cta-container p,
    .timeline-header P {
        font-size: 16px;
    }

    .achievements-section h2,
    .section-header h2,
    .journey-text h2,
    .success-cta-container h2,
    .timeline-header h2 {
        font-size: 26px;
    }

    .achievements-section .subtitle,
    .section-header p {
        font-size: 16px;
        max-width: 350px;
        margin: 0 auto;
    }

    .stat-number {
        font-size: 35px;
    }

    .value-icon-box {
        width: 50px;
        height: 50px;
    }

    .timeline-wrapper {
        gap: 30px;
    }

    .timeline-item {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .card-left {
        text-align: left;
    }

    .timeline-badge {
        display: none;
    }
}

/* ==========================================================================
   COURSES RESPONSIVE
   ========================================================================== */

@media (min-width: 1024px) and (max-width: 1440px) {
    .catalog-card {
        flex: 0 0 calc(33.333% - 22px);
        max-width: none;
    }
    .price-container {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .courses-hero-content h1 {
        font-size: 42px;
    }

    .courses-hero-content p {
        width: 90%;
        font-size: 20px;
    }

    .catalog-grid {
        gap: 20px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .catalog-card {
        flex: 0 0 calc(33.333% - 22px);
        max-width: none;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-icon img {
        width: 25px;
        height: 25px;
    }

    .current-price {
        font-size: 20px;
    }

    .enroll-btn {
        padding: 10px 30px;
        font-size: 14px;
    }

    .price-container {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .counselor-cta h2 {
        font-size: 30px;
    }

    .counselor-cta p {
        font-size: 20px;
    }

    .features-section {
        padding: 80px 0;
    }

    .lock-icon-circle svg,
    .lock-icon-circle img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 992px) {
    .features-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .courses-hero-content {
        padding-top: 70px;
    }

    .courses-hero-content h1 {
        font-size: 32px;
        margin: 0 auto 16px auto !important;
    }

    .courses-hero-content p {
        margin: 0 auto;
        max-width: 85%;
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem 1.5rem;
    }

    .catalog-grid {
        padding-left: 24px;
        padding-right: 24px;
        gap: 24px;
    }

    .catalog-card {
        flex: 0 0 calc(50% - 16px);
        max-width: 400px;
    }

    .counselor-cta {
        padding: 60px 20px;
    }

    .counselor-cta h2 {
        font-size: 28px;
    }

    .counselor-cta p {
        font-size: 17px;
    }

    .green-btn {
        padding: 14px 18px;
    }

    .price-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .current-price {
        font-size: 20px;
    }

    .enroll-btn {
        padding: 10px 30px;
        font-size: 14px;
    }

    .coming-soon-badge {
        font-size: 0.9rem;
        padding: 0.3rem 1.2rem;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
    }

    .feature-icon img {
        width: 22px;
        height: 22px;
    }

    .lock-icon-circle svg,
    .lock-icon-circle img {
        width: 35px;
        height: 35px;
    }

    .features-section {
        padding: 80px 0;
    }
}

@media (max-width: 576px) {
    .courses-hero-content h1 {
        font-size: 26px;
        margin: 0 auto 12px auto !important;
    }

    .courses-hero-content p {
        font-size: 16px;
        line-height: 1.6;
    }

    .features-section {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .feature-item {
        padding: 0;
    }

    .catalog-section {
        padding: 60px 0px;
    }

    .catalog-grid {
        padding-left: 18px;
        padding-right: 18px;
        gap: 22px;
    }

    .catalog-card {
        flex: 0 1 100%;
        max-width: 100%;
    }
    .stats-row {
        margin-bottom: 35px;
    }
    .card-body {
        padding: 1.25rem;
    }

    .card-action-row {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .enroll-btn {
        width: 100%;
        padding: 14px 18px;
    }

    .feature-item p {
        margin: 0 auto;
        max-width: 80%;
    }

    .price-container {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    .current-price {
        font-size: 20px;
    }

    .coming-soon-badge {
        font-size: 18px;
        padding: 10px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
    }

    .counselor-cta h2 {
        font-size: 25px;
    }

    .counselor-cta p {
        font-size: 16px;
    }

    .lock-icon-circle svg,
    .lock-icon-circle img {
        width: 35px;
        height: 35px;
    }

    .feature-item h3 {
        font-size: 16px;
    }
    .experts-container,
    .timeline-container {
        padding: 0 20px;
    }
    .success-cta-container {
        padding: 0;
    }
    .section-header {
        margin-bottom: 35px;
    }
}

/* ==========================================================================
   CONTACT RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .workspace-split {
        flex-direction: column;
        gap: 40px;
        padding: 80px 40px;
    }

    .form-wrapper-block,
    .sidebar-wrapper-block {
        width: 100%;
        flex: unset;
    }
}

@media (max-width: 768px) {
    .contact-hero-content {
        padding-top: 70px;
    }

    .contact-hero-content h1 {
        font-size: 38px;
    }

    .contact-hero-content p {
        font-size: 18px;
    }

    .info-cards-section,
    .workspace-split,
    .map-frame-section,
    .faq-accordion-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .cards-grid,
    .workspace-split,
    .map-frame-section,
    .faq-accordion-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .form-wrapper-block h2,
    .map-container h2,
    .faq-accordion-section h2 {
        font-size: 28px;
    }

    .form-helper-desc,
    .map-address-text,
    .faq-accordion-section p {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .map-image-wrapper {
        height: 350px;
        border-radius: 24px;
    }

    .faq-node {
        padding: 20px 24px;
    }

    .faq-node h4 {
        font-size: 16px;
    }

    .faq-node p {
        font-size: 15px;
    }

    .map-marker-pin {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 600px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-row-split {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .contact-hero-content h1 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .contact-hero-content p {
        font-size: 16px;
        line-height: 1.5;
    }

    .cards-grid,
    .workspace-split,
    .map-frame-section,
    .faq-accordion-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .info-card {
        padding: 20px;
    }

    .info-card h3 {
        font-size: 20px;
    }

    .info-card p {
        font-size: 15px;
    }

    .control-group label {
        font-size: 14px;
    }

    .control-group input,
    .control-group select,
    .control-group textarea {
        padding: 10px 18px;
        font-size: 16px;
    }

    .green-btn {
        padding: 14px 32px;
    }

    .sidebar-image-holder {
        max-height: 250px;
    }

    .sidebar-notice-card {
        padding: 20px;
    }

    .card-blue-tint h3,
    .card-yellow-tint h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .sidebar-bullets li,
    .card-yellow-tint p {
        font-size: 15px;
    }

    .map-image-wrapper {
        height: 280px;
    }

    .map-interaction-overlay h3 {
        font-size: 20px;
    }

    .map-interaction-overlay p {
        font-size: 14px;
    }

    .map-marker-pin img {
        width: 34px;
        height: 34px;
    }
}

/* ==========================================================================
   LIBRARY RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .library-hero-content h1 {
        font-size: 42px;
    }

    .library-hero-content p {
        font-size: 20px;
    }

    .websites-grid,
    .dictionary-section .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .library-disclaimer-wrapper p {
        font-size: 18px;
    }

    .hub-column-card h3 {
        font-size: 20px;
    }

    .demat-banner-card {
        width: calc(100% - 60px);
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .websites-hub-section {
        padding-top: 60px;
        padding-bottom: 30px;
    }
    .dictionary-section {
        padding-top: 30px;
        padding-bottom: 60px;
    }

    .library-hero-content {
        padding-top: 70px;
    }

    .library-hero-content h1 {
        font-size: 34px;
    }

    .library-hero-content p {
        font-size: 17px;
    }

    .section-title-wrapper {
        margin-bottom: 32px;
    }

    .section-title-wrapper h2 {
        font-size: 28px;
    }

    .section-title-wrapper p {
        font-size: 17px;
    }

    .websites-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .dictionary-section .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .dictionary-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .candle-card .pattern-name {
        font-size: 14px;
        min-height: 44px;
    }

    .candle-icon-wrapper {
        height: 135px;
        padding: 15px;
    }

    .library-disclaimer-wrapper p {
        font-size: 16px;
    }

    .hub-column-card h3 {
        font-size: 20px;
    }

    .external-icon img {
        width: 16px;
        height: 16px;
    }

    .demat-banner-card {
        width: calc(100% - 48px);
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .library-hero-content h1 {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .library-hero-content p {
        max-width: 350px;
        margin: 0 auto;
        font-size: 16px;
        line-height: 1.6;
    }

    .section-title-wrapper h2 {
        font-size: 24px;
    }

    .section-title-wrapper p {
        font-size: 16px;
    }

    .websites-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .dictionary-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .dictionary-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 50px;
    }

    .candle-card .pattern-name {
        font-size: 13px;
        min-height: 40px;
        padding: 8px 4px;
    }

    .candle-icon-wrapper {
        padding: 15px;
        height: 100px;
        gap: 20px;
    }

    .candle-icon-wrapper img:nth-child(1) {
        top: 4px;
    }

    .candle-icon-wrapper.invert-pattern-vertical img:nth-child(1) {
        bottom: 12px !important;
    }

    /* Responsive overrides for 2 icons on mobile */
    .candle-icon-wrapper.two-icons img:nth-child(1) {
        top: auto !important;
    }

    .hub-column-card h3 {
        font-size: 18px;
    }

    .external-icon img {
        width: 14px;
        height: 14px;
    }

    .hub-links-list li a {
        font-size: 14px;
    }
    .library-hero-content {
        padding-top: 90px;
    }

    .demat-banner-card {
        width: calc(100% - 32px);
        margin-left: auto;
        margin-right: auto;
    }
}
