/* =========================================================
   PHARMASKILLCRAFT
   RESPONSIVE CSS
========================================================= */


@media (max-width: 1199px) {

    .container {
        max-width: 94%;
    }

    .desktop-nav {
        gap: 17px;
    }

    .hero-grid {
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 55px;
    }

    .categories-grid {
        grid-template-columns:
            repeat(3,1fr);
    }

    .courses-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .course-card-large {
        grid-column:
            span 2;
    }

    .why-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .footer-main {
        grid-template-columns:
            1.3fr 1fr 1fr;
    }

    .footer-brand {
        grid-column:
            span 3;
    }

}


@media (max-width: 991px) {

    .nav-container {
        min-height: 76px;
    }

    .desktop-nav,
    .nav-actions .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-nav {

        display: none;

        padding:
            14px 20px 22px;

        background:
            var(--surface);

        border-top:
            1px solid var(--border);
    }

    .mobile-nav.active {
        display: block;
    }

    .mobile-nav > a {

        display: block;

        padding: 12px 0;

        color: var(--text);

        font-size: 13px;

        font-weight: 600;

        border-bottom:
            1px solid var(--border);
    }

    .mobile-nav-cta {

        background: var(--primary);

        color: white !important;

        padding:
            12px 15px !important;

        border-radius: 10px;

        margin-top: 9px;

        text-align: center;
    }

    body.dark-mode
    .mobile-nav-cta {

        background:
            var(--secondary);
    }


    .hero-section {
        padding-top: 65px;
    }

    .hero-grid {

        grid-template-columns:
            1fr;
    }

    .hero-content {

        text-align: center;
    }

    .hero-content h1,
    .hero-description {

        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-trust {

        justify-content: center;
    }

    .hero-visual {

        min-height: 500px;
    }

    .hero-image-wrap {

        width: 100%;
    }


    .categories-grid {

        grid-template-columns:
            1fr 1fr;
    }


    .about-grid,
    .video-layout,
    .journey-grid {

        grid-template-columns:
            1fr;

        gap: 55px;
    }

    .about-content {
        max-width: 800px;
    }


    .stats-wrapper {

        grid-template-columns:
            1fr;
    }

    .stats-intro {

        text-align: center;
    }


    .section-heading-row {

        align-items:
            flex-start;

        flex-direction:
            column;

        gap: 20px;
    }

    .section-heading-row > div:last-child {

        max-width: 100%;
    }


    .cta-inner {

        flex-direction:
            column;

        align-items:
            flex-start;
    }

}


@media (max-width: 767px) {

    .section-space {

        padding:
            75px 0;
    }

    .container {

        max-width: 92%;
    }

    .brand-text small {

        display: none;
    }

    .hero-content h1 {

        font-size: 43px;

        letter-spacing:
            -1.8px;
    }

    .hero-description {

        font-size: 14px;
    }

    .hero-visual {

        min-height: 420px;
    }

    .hero-image-wrap {

        height: 400px;

        border-radius:
            25px;
    }

    .floating-card-one {

        left: 10px;

        top: 40px;
    }

    .floating-card-two {

        right: 10px;

        bottom: 35px;
    }


    .hero-bottom-grid {

        grid-template-columns:
            1fr 1fr;
    }

    .hero-bottom-grid > div {

        border-bottom:
            1px solid
            rgba(255,255,255,.10);
    }


    .categories-grid {

        grid-template-columns:
            1fr;
    }

    .category-card {

        min-height:
            230px;
    }


    .about-main-image {

        height: 400px;
    }


    .courses-grid,
    .why-grid,
    .reviews-grid {

        grid-template-columns:
            1fr;
    }

    .course-card-large {

        grid-column:
            auto;
    }

    .course-card-large
    .course-image,
    .course-image {

        height: 240px;
    }


    .stats-grid {

        grid-template-columns:
            1fr 1fr;

        gap:
            30px 0;
    }

    .stat-item {

        border-left: 0;

        border-right:
            1px solid
            rgba(255,255,255,.15);

        padding:
            0 15px;
    }


    .video-image {

        height: 350px;
    }


    .cta-inner h2 {

        font-size: 38px;
    }

    .cta-actions {

        width: 100%;

        flex-wrap: wrap;
    }


    .footer-main {

        grid-template-columns:
            1fr 1fr;

        gap: 35px;
    }

    .footer-brand {

        grid-column:
            span 2;
    }

    .footer-bottom {

        flex-direction:
            column;

        align-items:
            flex-start;

        gap: 14px;
    }

}


@media (max-width: 480px) {

    .nav-container {

        padding:
            0 15px;
    }

    .brand-icon {

        width: 39px;
        height: 39px;
    }

    .brand-text strong {

        font-size: 15px;
    }

    .theme-toggle {

        width: 37px;
        height: 37px;
    }


    .hero-section {

        padding-top: 45px;
    }

    .hero-content h1 {

        font-size: 36px;
    }

    .hero-buttons {

        flex-direction:
            column;

        align-items:
            stretch;
    }

    .btn-primary-custom,
    .btn-outline-custom {

        justify-content:
            center;
    }

    .hero-trust {

        flex-direction:
            column;

        align-items:
            center;

        gap: 9px;
    }

    .hero-visual {

        min-height: 370px;
    }

    .hero-image-wrap {

        height: 350px;
    }

    .floating-card-one {

        left: 5px;
        top: 20px;
    }

    .floating-card-two {

        right: 5px;
        bottom: 20px;
    }


    .hero-bottom-grid {

        grid-template-columns:
            1fr;
    }

    .hero-bottom-grid > div {

        border-right: 0;
    }


    .about-main-image {

        height: 350px;
    }


    .section-heading-row h2,
    .section-heading-center h2,
    .about-content h2,
    .video-content h2,
    .journey-grid h2 {

        font-size: 34px;
    }


    .stats-grid {

        grid-template-columns:
            1fr 1fr;
    }

    .stat-item strong {

        font-size: 30px;
    }


    .video-image {

        height: 300px;
    }

    .video-play {

        width: 62px;
        height: 62px;
    }


    .cta-inner h2 {

        font-size: 34px;
    }

    .cta-actions {

        flex-direction:
            column;
    }

    .cta-white-btn,
    .cta-outline-btn {

        width: 100%;

        text-align: center;
    }


    .footer-main {

        grid-template-columns:
            1fr;
    }

    .footer-brand {

        grid-column:
            auto;
    }

    .footer-bottom div {

        flex-direction:
            column;

        gap: 7px;
    }

}

/* Start categories page css */
/* =========================================================
   CATEGORIES PAGE - RESPONSIVE
========================================================= */

@media (max-width: 1199px) {

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-journey-wrapper {
        gap: 50px;
    }

}


@media (max-width: 991px) {

    .categories-hero {
        padding: 125px 0 80px;
    }

    .categories-hero h1 {
        font-size: clamp(40px, 7vw, 60px);
    }

    .categories-hero-stats {
        gap: 20px;
    }

    .category-journey-wrapper {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .category-journey-content {
        max-width: 700px;
    }

    .categories-cta {
        grid-template-columns: auto 1fr;
    }

    .categories-cta-button {
        grid-column: 2;
        justify-self: start;
    }

}


@media (max-width: 767px) {

    .categories-hero {
        padding: 110px 0 65px;
    }

    .categories-hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .categories-hero-content > p {
        font-size: 15px;
    }

    .categories-hero-stats {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px;
    }

    .category-hero-stat {
        justify-content: center;
        text-align: center;
    }

    .category-stat-divider {
        width: 70px;
        height: 1px;
        margin: 0 auto;
    }

    .categories-hero-visual {
        margin-top: 50px;
        min-height: 210px;
    }

    .category-orbit-one {
        width: 280px;
        height: 150px;
    }

    .category-orbit-two {
        width: 350px;
        height: 190px;
    }

    .category-visual-card {
        padding: 26px 22px;
    }

    .category-visual-card h3 {
        font-size: 26px;
    }

    .categories-main-section {
        padding: 75px 0;
    }

    .categories-heading {
        margin-bottom: 40px;
    }

    .categories-heading h2 {
        font-size: 36px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .category-card {
        min-height: 360px;
        padding: 25px;
    }

    .category-journey-section {
        padding: 75px 0;
    }

    .category-journey-content h2 {
        font-size: 36px;
    }

    .category-journey-steps {
        padding: 22px;
    }

    .categories-cta-section {
        padding: 65px 0;
    }

    .categories-cta {
        grid-template-columns: 1fr;
        padding: 30px 24px;
        text-align: center;
    }

    .categories-cta-icon {
        margin: 0 auto;
    }

    .categories-cta-button {
        grid-column: auto;
        justify-self: center;
    }

}


@media (max-width: 480px) {

    .categories-hero {
        padding-top: 100px;
    }

    .categories-breadcrumb {
        font-size: 12px;
    }

    .categories-badge {
        font-size: 10px;
        padding: 8px 13px;
    }

    .categories-hero h1 {
        font-size: 36px;
    }

    .categories-hero-content > p {
        font-size: 14px;
    }

    .category-visual-card {
        width: 92%;
    }

    .category-visual-card h3 {
        font-size: 23px;
    }

    .categories-heading h2 {
        font-size: 31px;
    }

    .categories-heading p {
        font-size: 14px;
    }

    .category-card h3 {
        font-size: 22px;
    }

    .category-card p {
        font-size: 13px;
    }

    .category-journey-content h2 {
        font-size: 31px;
    }

    .category-journey-content p {
        font-size: 14px;
    }

    .categories-cta-content h2 {
        font-size: 23px;
    }

}

/* end categories page css */
/* start why us page css */
/* =========================================================
   WHY US PAGE - RESPONSIVE
========================================================= */

@media (max-width: 1199px) {

    .why-hero-grid {
        gap: 40px;
    }

    .why-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-learners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-main-visual {
        min-height: 500px;
    }

    .circle-one {
        width: 430px;
        height: 430px;
    }

    .circle-two {
        width: 340px;
        height: 340px;
    }
}


@media (max-width: 991px) {

    .why-hero {
        padding: 70px 0 80px;
    }

    .why-hero-grid {
        grid-template-columns: 1fr;
    }

    .why-hero-content {
        text-align: center;
    }

    .why-breadcrumb,
    .why-hero-buttons,
    .why-trust-points {
        justify-content: center;
    }

    .why-hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .why-hero-visual {
        max-width: 650px;
        width: 100%;
        margin: auto;
    }

    .why-approach-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .why-quality-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .why-quality-icon {
        margin: auto;
    }

    .why-quality-points {
        justify-content: center;
    }

    .why-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-value-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 767px) {

    .section-space {
        padding: 70px 0;
    }

    .why-hero {
        padding: 55px 0 65px;
    }

    .why-hero-content h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .why-hero-text {
        font-size: 15px;
    }

    .why-trust-points {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .why-main-visual {
        min-height: 440px;
    }

    .why-learning-card {
        width: 92%;
        padding: 24px;
    }

    .circle-one {
        width: 340px;
        height: 340px;
    }

    .circle-two {
        width: 270px;
        height: 270px;
    }

    .why-floating-card {
        padding: 10px;
    }

    .why-floating-one {
        left: -5px;
        top: 45px;
    }

    .why-floating-two {
        right: -5px;
        bottom: 40px;
    }

    .why-floating-card > i {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .why-floating-card strong {
        font-size: 10px;
    }

    .why-floating-card span {
        font-size: 8px;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2,
    .why-approach-content h2,
    .why-quality-content h2 {
        font-size: 34px;
    }

    .why-benefits-grid,
    .why-learners-grid {
        grid-template-columns: 1fr;
    }

    .why-benefit-card {
        min-height: auto;
    }

    .why-quality-box {
        padding: 35px 24px;
    }

    .why-cta-box {
        padding: 55px 25px;
        border-radius: 24px;
    }

    .why-cta-content h2 {
        font-size: 35px;
    }

    .why-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .why-cta-buttons .btn {
        justify-content: center;
    }
}


@media (max-width: 480px) {

    .why-hero-content h1 {
        font-size: 36px;
    }

    .why-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .why-hero-buttons .btn {
        justify-content: center;
    }

    .why-main-visual {
        min-height: 390px;
    }

    .why-learning-card {
        padding: 20px;
        border-radius: 20px;
    }

    .why-card-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .why-card-top strong {
        font-size: 13px;
    }

    .why-floating-one {
        left: -10px;
        top: 25px;
    }

    .why-floating-two {
        right: -10px;
        bottom: 20px;
    }

    .why-process-card {
        padding: 22px 16px;
    }

    .why-quality-points {
        flex-direction: column;
        align-items: flex-start;
    }

    .why-cta-content h2 {
        font-size: 30px;
    }
}
/* end why us page css */
/* start review page css */
/* =========================================================
   REVIEWS PAGE - RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-summary {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .review-summary-divider {
        width: 100%;
        height: 1px;
    }

    .review-highlight {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .review-highlight-icon {
        margin: auto;
    }
}


@media (max-width: 767px) {

    .reviews-hero {
        padding: 60px 0 60px;
    }

    .reviews-hero-content h1 {
        font-size: 40px;
        letter-spacing: -1.3px;
    }

    .reviews-hero-content > p {
        font-size: 15px;
    }

    .reviews-summary {
        margin-top: 40px;
        padding: 22px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        padding: 25px;
    }

    .review-highlight {
        padding: 35px 25px;
    }

    .review-highlight-content h2 {
        font-size: 32px;
    }

    .reviews-cta {
        padding: 55px 22px;
        border-radius: 24px;
    }

    .reviews-cta-content h2 {
        font-size: 34px;
    }

    .reviews-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .reviews-cta-buttons .btn {
        justify-content: center;
    }
}


@media (max-width: 480px) {

    .reviews-hero-content h1 {
        font-size: 34px;
    }

    .review-summary-item {
        gap: 10px;
    }

    .review-summary-icon {
        width: 40px;
        height: 40px;
    }

    .review-highlight-content h2 {
        font-size: 29px;
    }

    .reviews-cta-content h2 {
        font-size: 30px;
    }
}
/* end review page css */
/* start Contact page css */
/* =========================================================
   CONTACT PAGE - RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-info-column {
        max-width: 750px;
    }

    .contact-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 767px) {

    .contact-hero {
        padding: 60px 0 65px;
    }

    .contact-hero-content h1 {
        font-size: 40px;
        letter-spacing: -1.3px;
    }

    .contact-hero-content > p {
        font-size: 15px;
    }

    .contact-form-wrapper {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-form-bottom .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-benefits-grid {
        grid-template-columns: 1fr;
    }

    .contact-cta {
        padding: 55px 22px;
        border-radius: 24px;
    }

    .contact-cta-content h2 {
        font-size: 34px;
    }

    .contact-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-cta-buttons .btn {
        justify-content: center;
    }

}


@media (max-width: 480px) {

    .contact-hero-content h1 {
        font-size: 34px;
    }

    .contact-info-card {
        padding: 16px;
    }

    .contact-info-icon {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
    }

    .contact-form-wrapper {
        padding: 24px 17px;
    }

    .contact-form-header h2 {
        font-size: 30px;
    }

    .contact-cta-content h2 {
        font-size: 30px;
    }

}

/* End Contact page css */


/* dark light mode css */
/* =========================================================
   DARK / LIGHT MODE TOGGLE - FINAL FIX
========================================================= */

.nav-actions {
    position: relative;
    z-index: 20;
}

.theme-toggle {
    position: relative;
    z-index: 30;
    pointer-events: auto !important;

    width: 41px;
    height: 41px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--primary);

    border-radius: 11px;
    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        border-color .3s ease,
        transform .3s ease;
}

.theme-toggle i {
    pointer-events: none;
}

.theme-toggle:hover {
    color: var(--accent);
    transform: rotate(12deg) scale(1.05);
}

body.dark-mode .theme-toggle {
    background: #142a3b;
    border-color: rgba(255,255,255,.12);
    color: #ff9b5c;
}

body.dark-mode .theme-toggle:hover {
    color: #ffffff;
}

/* start course page css */
/* =========================================================
   PHARMASKILLCRAFT COURSES - RESPONSIVE
========================================================= */


/* =========================================================
   LARGE TABLET / SMALL DESKTOP
========================================================= */

@media (max-width: 1100px) {

    .courses-layout {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 25px;
    }

    .courses-grid {
        gap: 20px;
    }

    .course-details-hero-grid {
        grid-template-columns: minmax(0, 1fr) 350px;
        gap: 35px;
    }

    .course-details-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 25px;
    }

    .course-details-hero h1 {
        font-size: 46px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .courses-page-hero {
        padding: 75px 0 65px;
    }

    .courses-page-hero h1 {
        font-size: 48px;
    }

    .courses-layout {
        grid-template-columns: 1fr;
    }

    .courses-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .course-filter-box {
        margin-bottom: 0;
    }

    .course-sidebar-cta {
        grid-column: 1 / -1;
    }

    .course-details-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .course-details-hero-content {
        max-width: 100%;
    }

    .course-details-purchase-card {
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
    }

    .course-details-layout {
        grid-template-columns: 1fr;
    }

    .course-details-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .course-sidebar-card,
    .course-related-box,
    .course-support-box {
        margin-bottom: 0;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .courses-page-hero {
        padding: 60px 0 55px;
    }

    .courses-page-hero h1 {
        font-size: 40px;
        letter-spacing: -1.3px;
    }

    .courses-page-hero p {
        font-size: 15px;
        line-height: 1.7;
    }

    .courses-hero-badge {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .courses-main-section,
    .course-details-main {
        padding: 55px 0 70px;
    }

    .courses-sidebar {
        grid-template-columns: 1fr;
    }

    .course-sidebar-cta {
        grid-column: auto;
    }

    .courses-content-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .course-card-image {
        height: 230px;
    }

    .course-card-body {
        padding: 22px;
    }

    .course-card h2 {
        min-height: auto;
        font-size: 19px;
    }

    .course-card-body > p {
        min-height: auto;
    }

    .course-details-hero {
        padding: 35px 0 55px;
    }

    .course-details-breadcrumb {
        margin-bottom: 32px;
    }

    .course-details-hero h1 {
        font-size: 39px;
        letter-spacing: -1px;
    }

    .course-details-hero-content > p {
        font-size: 14px;
    }

    .course-details-meta {
        gap: 15px;
    }

    .course-details-meta > div {
        width: calc(50% - 8px);
    }

    .course-details-section {
        padding: 25px;
    }

    .course-details-section h2 {
        font-size: 24px;
    }

    .course-highlights {
        grid-template-columns: 1fr;
    }

    .course-information-grid {
        grid-template-columns: 1fr;
    }

    .course-information-grid > div,
    .course-information-grid > div:nth-child(2n) {
        border-right: 0;
    }

    .course-information-grid > div:nth-last-child(-n+2) {
        border-bottom: 1px solid #e9edf1;
    }

    .course-information-grid > div:last-child {
        border-bottom: 0;
    }

    .course-details-sidebar {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .courses-page-hero {
        padding: 50px 0 45px;
    }

    .courses-page-hero h1 {
        font-size: 34px;
    }

    .courses-page-hero p {
        font-size: 14px;
    }

    .courses-breadcrumb {
        font-size: 11px;
    }

    .courses-hero-count {
        width: 100%;
        justify-content: center;
    }

    .course-filter-box {
        padding: 20px;
    }

    .course-card-image {
        height: 205px;
    }

    .course-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .course-view-btn {
        width: 100%;
    }

    .course-price {
        font-size: 19px;
    }

    .course-details-hero h1 {
        font-size: 32px;
    }

    .course-details-meta {
        flex-direction: column;
    }

    .course-details-meta > div {
        width: 100%;
    }

    .course-details-purchase-card {
        border-radius: 17px;
    }

    .course-details-thumbnail {
        height: 200px;
    }

    .course-details-section {
        padding: 21px;
        border-radius: 16px;
    }

    .course-details-section h2 {
        font-size: 22px;
    }

    .coming-soon-course-content {
        padding: 28px 18px;
    }

}
/* end course page css */