*{
    font-family: poppins;
}
/* Banner */

.course-banner{
    display: flex;
    justify-content: center;
    font-family: "Open Sans", serif;
    margin-top: 50px;
    background-color: #008080;
    height: 420px;  
}

.course-banner .banner-flex{
    display: flex;
    height: fit-content;
}

.course-banner .banner-content{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.yellow{
    color: #ff7f50;
}

.course-banner .banner-content p{
    font-size: 18px;
    margin-top: 20px;
    line-height: 32px;
    color: #fff;
}
#project-typing-text {
    font-size: 58px;
    color: #ff7f50;
    line-height: 68px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    margin-top: -5px;
    border-right: 4px solid #ff7f50;
    width: 0;
    animation: typing2 2.2s steps(8, end) forwards,
               hideCursor 0s 1.7s forwards;
}

@keyframes typing2 {
    from {
        width: 0;
    }
    to {
        width: 8ch;
    }
}

@keyframes hideCursor {
    to {
        border-right-color: transparent;
    }
}

.course-banner .banner-flex .banner-img{
    margin-top: 20px;
}
.services-section {
    width: 100%;
    padding: 70px 0;
    background: #fff;
    overflow: hidden;
}

.services-container {
    width: 85%;
    max-width: 1500px;
    margin: 0 auto;
}

/* Section Heading */
.services-heading {
    max-width: 850px;
    margin: 0 auto 50px;
    text-align: center;
}

.services-heading h2 {
    color: #ff7f50;
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.services-heading p {
    font-size: 17px;
    line-height: 1.8;
}

/* 9 Cards - Desktop */
.services-grid {
    width: 95%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px 40px;
}

/* Service Card */
.service-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Card Image */
.service-image {
    width: 100%;
    height: 235px;
    overflow: hidden;
    background: #f7f1e9;
    border-radius: 18px;
}

.service-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover Animation */
.service-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
    z-index: 1;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

/* Card Content */
.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 22px;
    text-align: center;
}

.service-content h3 {
    color: #292929;
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.service-content p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
    padding: 0 13px;
}

/* Button */
.service-btn {
    display: inline-block;
    margin-top: auto;
    padding: 13px 24px;
    border-radius: 10px;
    background: #008b8b;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
}

.service-btn:hover {
    background: #006f6f;
    transform: translateY(-2px);
}

/* Service Popup Overlay */
.service-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: rgba(12, 22, 30, 0.72);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    overflow-y: auto;
}

.service-modal.show {
    display: flex;
    animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Popup Box */
.service-modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    max-height: 94vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 24px !important;
    background: #fff;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 13px;
    right: 15px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid #00bcd4;
    border-radius: 50%;
    background: #fff;
    color: #008b9a;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: 0.25s;
}

.modal-close:hover {
    color: #fff;
    background: #008b9a;
}

/* Two-column layout */
.modal-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.4fr;
    gap: 28px;
}

.modal-image-wrap {
    width: 100%;
    height: 590px;
    overflow: hidden;
    border-radius: 20px;
    background: #fdf9e9;
}

.modal-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
}

.modal-details {
    min-width: 0;
    padding-top: 4px;
}

.modal-details h2 {
    color: #063c46;
    font-size: 30px;
    line-height: 1.3;
    margin: 0 35px 12px 0;
}

.modal-description {
    color: #5d737b;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* Features */
.modal-features {
    padding: 20px;
    border-radius: 18px;
    background: #effafa;
}

.modal-features h3,
.pricing-heading {
    color: #123c46;
    font-size: 20px;
    margin: 0 0 16px;
}

#modalFeatures {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

#modalFeatures li {
    display: flex;
    align-items: center;
    gap: 12px;
}

#modalFeatures li::before {
    content: none;
    display: none;
}

.feature-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 21px;
}

.feature-icon-0 {
    background: #d9f5f4;
    color: #009b9b;
}

.feature-icon-1 {
    background: #d9f3e9;
    color: #39a889;
}

.feature-icon-2 {
    background: #ffe7d8;
    color: #ff783f;
}

.feature-icon-3 {
    background: #dcecff;
    color: #3288dc;
}

.feature-icon-4 {
    background: #eee2ff;
    color: #9060dc;
}

.feature-icon-5 {
    background: #ffdee4;
    color: #ee526a;
}

.feature-icon i {
    line-height: 1;
}

/* Pricing */
.pricing-heading {
    margin: 14px 0 10px;
    color: #172b3a;
    font-size: 17px;
    line-height: 1.4;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
}

.price-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 10px;
    border: 1px solid #e0e5e8;
    border-radius: 15px;
    background: #fff;
    text-align: center;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Plan Name Badge */
.price-card .plan-name {
    align-self: center;
    margin: 0 0 9px;
    padding: 5px 14px;
    border-radius: 20px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.basic-plan {
    border-color: #56dce5;
    background: #f0fbfc;
}

.basic-plan .plan-name {
    background: #08b8c2;
}

.standard-plan .plan-name {
    background: #ffb84d;
}

.premium-plan .plan-name {
    background: #8660f6;
}

.price-card.popular {
    border: 2px solid #ff7f50;
    background: #fffaf6;
}

.price-card.popular::before {
    content: "POPULAR CHOICE";
    display: block;
    margin: -22px -14px 16px;
    padding: 10px 4px;
    background: #ff7b4d;
    color: white;
    font-size: 11px;
    font-weight: 700;
}

.price-card .popular-label {
    margin: -18px -12px 12px;
    padding: 6px 3px;
    border-radius: 11px 11px 0 0;
    background: #ff7f50;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.price-card h4 {
    margin: 0 0 8px;
    color: #123c46;
    font-size: 16px;
}

.price-card .price {
    margin: 0 0 10px;
    color: #172b3a;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.price-card .plan-subtitle {
    margin: 0 0 6px;
    color: #60717b;
    font-size: 11px;
    line-height: 1.4;
}
.price-card ul {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: left;
}

.price-card li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.5;
}

.price-card li::before {
    content: "✓";
    flex-shrink: 0;
    color: #009b9b;
    font-size: 16px;
    font-weight: 700;
}
/* Feature List */
.price-card .plan-features {
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: left;
}

.price-card .plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0 0 7px;
    color: #344b5a;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}

.price-card .plan-features li:last-child {
    margin-bottom: 0;
}

.price-card .feature-tick {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #08a9a7;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

.price-card .plan-features li::before {
    content: none;
    display: none;
}
/* CTA */
.modal-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: fit-content;
    margin: 22px auto 12px;
    padding: 13px 28px;
    border-radius: 10px;border: none;
    background: #008b8b;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: 0.25s;
}

.modal-cta:hover {
    background: #006f6f;
    transform: translateY(-2px);
}

.custom-note {
    text-align: center;
    color: #657980;
    font-size: 13px;
}

.custom-note a {
    color: #008b8b;
    font-weight: 700;
    text-decoration: none;
}

/* ================= ENQUIRY FORM POPUP ================= */
.enquiry-modal,
.enquiry-modal * {
    box-sizing: border-box;
}

.enquiry-modal {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(9, 24, 30, 0.76);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    overflow-y: auto;
}

.enquiry-modal.show {
    display: flex;
    animation: enquiryFadeIn 0.25s ease;
}

@keyframes enquiryFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.enquiry-modal-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    max-height: 94vh;
    max-height: 94dvh;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 24px 75px rgba(0, 0, 0, 0.28);
    animation: enquirySlideIn 0.3s ease;
    scrollbar-width: none;
}

.enquiry-modal-content::-webkit-scrollbar {
    display: none;
}

@keyframes enquirySlideIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.enquiry-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 23px 30px;
}

.enquiry-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 105px;
    height: auto;
}

.enquiry-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.enquiry-header-text h2 {
    margin: 0 0 5px;
    color: #063c46;
    font-size: 23px;
    line-height: 1.35;
    font-weight: 700;
    text-align: center;
}

.enquiry-header-text p {
    margin: 0;
    color: #657780;
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
}

.enquiry-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #dce5e8;
    border-radius: 50%;
    background: #fff;
    color: #24454d;
    font-size: 19px;
    cursor: pointer;
    transition: 0.25s ease;
}

.enquiry-close:hover {
    color: #fff;
    background: #008b8b;
    border-color: #008b8b;
    transform: rotate(90deg);
}

/* Form body */
.enquiry-body {
    padding: 25px 34px 30px;
    margin-top: 60px;
}

.selected-service {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    padding: 12px 15px;
    margin-bottom: 22px;
    border: 1px solid #d9eeee;
    border-radius: 10px;
    background: #f1fafa;
    color: #31545b;
    font-size: 15px;
}

.selected-service > i {
    color: #008b8b;
}

.selected-service strong {
    color: #063c46;
    overflow-wrap: anywhere;
    /* font-size: 15px; */
}

.enquiry-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
}

.enquiry-field {
    min-width: 0;
}

.enquiry-field[hidden] {
    display: none !important;
}

.enquiry-field label {
    display: block;
    margin-bottom: 8px;
    color: #263d45;
    font-size: 14px;
    font-weight: 600;
}

.enquiry-field label > span {
    color: #e53935;
}

.enquiry-field label > small {
    color: #78878c;
    font-size: 11px;
    font-weight: 400;
}

.enquiry-field input,
.enquiry-field select {
    display: block;
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 13px;
    border: 1px solid #d8e0e3;
    border-radius: 7px;
    outline: none;
    background: #fff;
    color: #263d45;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.enquiry-field input::placeholder {
    color: #929da2;
}

.enquiry-field input:focus,
.enquiry-field select:focus {
    border-color: #008b8b;
    box-shadow: 0 0 0 3px rgba(0, 139, 139, 0.11);
}

.enquiry-field select:disabled {
    background: #f2f4f5;
    color: #899398;
    cursor: not-allowed;
}

.enquiry-field.has-error input,
.enquiry-field.has-error select {
    border-color: #dc3545;
    background-color: #fffafa;
}

.field-error {
    display: none;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    color: #dc3545;
    font-size: 12px;
    line-height: 1.5;
}

.field-error:not(:empty) {
    display: flex;
}

.field-error:not(:empty)::before {
    content: "\f06a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    flex-shrink: 0;
}

.enquiry-form-message {
    margin: 14px 0 0;
    color: #dc3545;
    font-size: 13px;
    text-align: center;
}

.enquiry-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(100%, 250px);
    min-height: 48px;
    margin: 22px auto 0;
    padding: 13px 22px;
    border: none;
    border-radius: 8px;
    background: #008b8b;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
}

.enquiry-submit:hover {
    background: #006f6f;
    transform: translateY(-2px);
}

.enquiry-privacy {
    margin: 12px 0 0;
    color: #78878c;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

/* Footer: three sections */
.enquiry-footer {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 1fr;
    gap: 25px;
    padding: 22px 30px 26px;
    margin: 0 25px;
    border-top: 1px solid #dce3e5;
}

.enquiry-footer h3 {
    margin: 0 0 14px;
    color: #063c46;
    font-size: 20px;
    line-height: 1.4;
}

.enquiry-footer-links {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 10px 25px;
}

.enquiry-footer a {
    color: #5d6b70;
    font-size: 13px;
    line-height: 1.6;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.enquiry-footer a:hover {
    color: #008b8b;
}

.enquiry-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.enquiry-footer .enquiry-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #063c46;
    color: #fff;
    font-size: 15px;
    transition: background 0.2s, transform 0.2s;
}

.enquiry-footer .enquiry-social-icons a:hover {
    background: #008b8b;
    color: #fff;
    transform: translateY(-2px);
}

.enquiry-footer-contact i{
    color: #063c46;
    font-size: 14px;
}

.enquiry-footer-contact > a {
    display: inline-flex;
    align-items: flex-start;
    margin-left: 2px;
    font-size: 14px;
}

/* ================= TABLET ================= */
@media screen and (min-width: 769px) and (max-width: 1170px) {

    
    .course-banner {
        min-height: 300px !important;
        margin-top: 35px;
        padding: 20px 0;
    }

    .course-banner .banner-flex {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 30px;
    }

    .course-banner .banner-content,
    .banner-img {
        width: 50% !important;
    }

    .course-banner .banner-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        text-align: left !important;
        order: 1;
    }

    .course-banner .banner-content h1{
        font-size: 42px !important;
        line-height: 1.2 !important;
        margin: 10px 0 20px !important;
        color: #ff7f50 !important;
        text-align: left !important;
    }

    .course-banner .banner-content p {
        width: 100% !important;
        font-size: 15px !important;
        line-height: 1.7 !important;
        padding: 0 !important;
        margin: 0 0 10px !important;
        text-align: left !important;
    }

    .banner-img {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        order: 2;
        margin: 0 !important;
    }

    .banner-img img {
        width: 100% !important;
        max-width: 400px !important;
        height: auto !important;
        display: block !important;
        margin: 0 !important;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 13px;
    }

    .services-section {
        padding: 55px 0;
    }

    .services-heading h2 {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }

    .service-image {
        height: 220px;
    }

    .service-content h3 {
        font-size: 21px;
    }
     .service-modal {
        padding: 18px;
        align-items: center;
    }

    .service-modal-content {
        width: 100%;
        max-width: 900px;
        max-height: 94vh;
        padding: 24px;
        border-radius: 22px;
        box-sizing: border-box;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .modal-layout {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        gap: 22px;
        align-items: start;
    }

    .modal-image-wrap {
        width: 100%;
        height: clamp(300px, 48vh, 430px);
        border-radius: 16px;
    }

    .modal-image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .modal-details {
        min-width: 0;
        padding-top: 5px;
    }

    .modal-details h2 {
        font-size: 25px;
        line-height: 1.35;
        margin: 0 32px 12px 0;
        overflow-wrap: anywhere;
    }

    .modal-description {
        font-size: 13px;
        line-height: 1.75;
        margin-bottom: 16px;
    }

    .modal-features {
        padding: 16px;
        border-radius: 15px;
    }

    .modal-features h3,
    .pricing-heading {
        font-size: 17px;
        line-height: 1.4;
        margin-bottom: 13px;
    }

    #modalFeatures {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 12px;
    }

    #modalFeatures li {
        min-width: 0;
        gap: 9px;
        font-size: 12px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        font-size: 17px;
    }

    .pricing-heading {
        margin: 20px 0 12px;
    }

    .pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
        align-items: stretch;
    }

    .price-card {
        min-width: 0;
        padding: 17px 10px;
        border-radius: 14px;
        overflow-wrap: anywhere;
    }

    .price-card .plan-name {
        font-size: 13px;
        line-height: 1.4;
    }

    .price-card .price {
        font-size: 17px;
        line-height: 1.45;
        margin: 8px 0 15px;
        overflow-wrap: anywhere;
    }

    .price-card .plan-features li {
        gap: 5px;
        font-size: 11px;
        line-height: 1.55;
        margin-bottom: 9px;
    }

    .price-card .feature-tick {
        flex-shrink: 0;
    }

    .price-card.popular::before {
        margin: -17px -10px 13px;
        padding: 8px 3px;
        font-size: 9px;
    }

    .price-card .popular-label {
        font-size: 9px;
    }

    .modal-cta {
        margin: 20px auto 12px;
        padding: 13px 24px;
    }

    .custom-note {
        line-height: 1.7;
    }

    /* Enquiry Form  */

    .enquiry-modal {
        padding: 18px;
    }

    .enquiry-modal-content {
        max-width: 850px;
    }

    .enquiry-header {
        gap: 16px;
        padding: 20px 24px;
    }

    .enquiry-logo {
        width: 85px;
    }

    .enquiry-header-text h2 {
        font-size: 21px;
    }

    .enquiry-body {
        padding: 23px 26px;
    }

    .enquiry-fields {
        gap: 18px;
    }

    .enquiry-footer {
        gap: 18px;
        padding: 20px 10px 24px;
        margin: 0 18px;
    }

    .enquiry-footer h3 {
        font-size: 17px;
    }
}


/* ================= TABLET: 769px - 940px ================= */

@media screen and (min-width: 769px) and (max-width: 940px) {

    .service-modal-content {
        width: 95%;
        max-width: 800px;
        max-height: 94vh;
        padding: 20px;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .modal-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .modal-image-wrap {
        width: 100%;
        height: 260px;
        max-width: 100%;
        overflow: hidden;
    }

    .modal-image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    .modal-details h2 {
        font-size: 24px;
    }

    .modal-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .modal-features {
        padding: 18px;
    }

    #modalFeatures {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    #modalFeatures li {
        align-items: center;
        gap: 10px;
        font-size: 13px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        font-size: 18px;
    }

    .pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .price-card {
        min-width: 0;
        padding: 17px 10px;
        box-sizing: border-box;
    }

    .plan-name {
        min-width: 0;
        max-width: 100%;
        padding: 8px 10px;
        font-size: 15px;
        overflow-wrap: anywhere;
    }

    .plan-subtitle {
        font-size: 12px;
    }

    .price-card .price {
        flex-wrap: wrap;
        gap: 4px;
        font-size: 16px;
        overflow-wrap: anywhere;
    }

    .currency-icon {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
        font-size: 16px;
    }

    .plan-features li {
        align-items: flex-start;
        gap: 6px;
        font-size: 12px;
    }

    .feature-tick {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
        font-size: 11px;
    }

    .modal-cta {
        max-width: 100%;
        box-sizing: border-box;
    }
}


/* ================= MOBILE ================= */
@media screen and (max-width: 768px) {

    .course-banner {
        min-height: 620px !important;
        margin-top: 35px;
        padding: 10px 0;
    }

    .course-banner .banner-flex {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .course-banner .banner-content {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        order: 1;
    }

    .course-banner .banner-content h1:not(#project-typing-text) {
        width: 100% !important;
    }

     .course-banner .banner-content h1{
        font-size: 52px !important;
        line-height: 1.2 !important;
        margin: 5px 0 10px !important; 
        text-align: center !important;
        padding: 20px 0;
    }


    .course-banner .banner-content p {
        width: 100% !important;
        font-size: 15px !important;
        line-height: 1.7 !important;
        padding: 0 10px !important;
        margin: 0 0 10px !important;
        text-align: justify !important;
    }

    .banner-img {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        order: 2;
        margin: -25px 0 30px !important;
    }

    .banner-img img {
        width: 100% !important;
        max-width: 350px !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 13px;
    }

    .services-section {
        padding: 40px 0;
    }

    .services-container {
        width: 90%;
    }

    .services-heading {
        margin-bottom: 30px;
    }

    .services-heading h2 {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .services-heading p {
        font-size: 14px;
        line-height: 1.7;
        text-align: justify;
        padding: 0 10px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 430px;
        margin: 0 auto;
    }

    .service-image {
        height: 220px;
    }

    .service-content {
        padding: 22px 18px;
    }

    .service-content h3 {
        font-size: 21px;
    }

    .service-content p {
        font-size: 14px;
        line-height: 1.8;
    }

    .service-btn {
        font-size: 15px;
        padding: 12px 22px;
    }

    .service-card:hover {
        transform: scale(1.015);
    }

    .service-modal {
        padding: 10px;
        align-items: center;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .service-modal-content {
        width: 100%;
        max-width: 520px;
        max-height: 94vh;
        max-height: 94dvh;
        padding: 16px 25px;
        border-radius: 20px;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .modal-close {
        position: sticky;
        top: 0;
        float: right;
        margin: -5px -5px 0 10px;
        width: 34px;
        height: 34px;
        font-size: 25px;
        line-height: 1;
        background: #fff;
        z-index: 5;
    }

    .modal-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        clear: both;
    }

    .modal-image-wrap {
        width: 100%;
        height: clamp(180px, 30vh, 240px);
        border-radius: 14px;
    }

    .modal-image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .modal-details {
        min-width: 0;
        padding-top: 0;
    }

    .modal-details h2 {
        font-size: 22px;
        line-height: 1.35;
        margin: 0 0 10px;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .modal-description {
        font-size: 13px;
        line-height: 1.75;
        margin-bottom: 16px;
        text-align: justify;
        padding: 0 11px;
    }

    .modal-features {
        padding: 15px;
        border-radius: 14px;
    }

    .modal-features h3,
    .pricing-heading {
        font-size: 17px;
        line-height: 1.4;
        margin-bottom: 12px;
        text-align: center;
    }

    #modalFeatures {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 10px;
    }

    #modalFeatures li {
        min-width: 0;
        align-items: center;
        gap: 8px;
        font-size: 11px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .feature-icon {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
        font-size: 15px;
    }

    .pricing-heading {
        margin: 20px 0 12px;
    }

    .pricing-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        align-items: stretch;
    }

    .price-card {
        width: 100%;
        min-width: 0;
        padding: 18px 16px;
        border-radius: 14px;
        text-align: left;
        box-sizing: border-box;
    }

    .price-card h4 {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 5px;
    }

    .price-card .plan-name {
        align-self: flex-start;
        font-size: 13px;
        line-height: 1.4;
    }

    .price-card .plan-subtitle {
        font-size: 12px;
        line-height: 1.5;
    }

    .price-card .price {
        font-size: 21px;
        line-height: 1.4;
        margin: 8px 0 13px;
        overflow-wrap: anywhere;
    }

    .price-card ul {
        width: 100%;
    }

    .price-card .plan-features li {
        align-items: flex-start;
        gap: 8px;
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 8px;
    }

    .price-card .feature-tick {
        flex: 0 0 14px;
        width: 14px;
        height: 14px;
        font-size: 10px;
        margin-top: 2px;
    }

    .price-card.popular::before {
        margin: -18px -16px 14px;
        padding: 9px;
        font-size: 10px;
        text-align: center;
    }

    .price-card .popular-label {
        margin: -18px -16px 14px;
        padding: 8px;
        font-size: 10px;
        text-align: center;
    }

    .modal-cta {
        width: 100%;
        min-height: 46px;
        margin: 18px auto 12px;
        padding: 12px 18px;
        box-sizing: border-box;
        font-size: 14px;
    }

    .custom-note {
        font-size: 12px;
        line-height: 1.7;
        padding-bottom: 4px;
    }

    /* Enquiry Form  */

    .enquiry-modal {
        padding: 10px;
        align-items: center;
    }

    .enquiry-modal-content {
        width: 100%;
        max-width: 520px;
        max-height: 95vh;
        max-height: 95dvh;
        border-radius: 17px;
    }

    .enquiry-header {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 10px;
        padding: 16px;
    }

    .enquiry-logo {
        width: 55px;
    }

    .enquiry-logo img {
        max-height: 48px;
    }

    .enquiry-header-text h2 {
        font-size: 16px;
    }

    .enquiry-header-text p {
        font-size: 11px;
        line-height: 1.5;
    }

    .enquiry-close {
        width: 33px;
        height: 33px;
        font-size: 16px;
    }

    .enquiry-body {
        padding: 21px 18px 25px;
    }

    .enquiry-body > h3 {
        font-size: 23px;
    }

    .enquiry-intro {
        font-size: 12px;
    }

    .enquiry-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 17px;
    }

    .enquiry-field label {
        font-size: 13px;
    }

    .enquiry-field input,
    .enquiry-field select {
        height: 45px;
        font-size: 14px;
    }

    .enquiry-footer {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        padding: 22px 5px;
        margin: 0 17px;
    }

    .enquiry-footer h3 {
        margin-bottom: 10px;
        font-size: 18px;
    }

    .enquiry-footer-links {
        gap: 10px 28px;
    }

    .enquiry-footer a {
        font-size: 13px;
    }
}


/* ================= SMALL PHONES ================= */
@media screen and (max-width: 380px) {

    .service-modal {
        padding: 7px;
    }

    .service-modal-content {
        padding: 13px;
        border-radius: 17px;
    }

    .modal-image-wrap {
        height: 175px;
    }

    .modal-details h2 {
        font-size: 20px;
    }

    .modal-features {
        padding: 12px;
    }

    #modalFeatures {
        grid-template-columns: minmax(0, 1fr);
        gap: 11px;
    }

    #modalFeatures li {
        font-size: 12px;
    }

    .feature-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .price-card {
        padding: 16px 13px;
    }

    /* Enquiry Form  */

    .enquiry-modal {
        padding: 6px;
    }

    .enquiry-header {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .enquiry-logo {
        display: none;
    }

    .enquiry-header-text h2 {
        font-size: 15px;
    }

    .enquiry-body {
        padding: 18px 13px 22px;
    }

    .selected-service {
        padding: 10px;
        font-size: 12px;
    }

    .enquiry-footer {
        margin: 0 12px;
    }
}
body.modal-open {
    overflow: hidden;
}
body.enquiry-open {
    overflow: hidden;
}

/* Hide scrollbar only inside service popup */
.service-modal-content {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.service-modal-content::-webkit-scrollbar {
    display: none;
}

.service-modal::-webkit-scrollbar {
    display: none;
}

.service-modal {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
