/* =================== RESPONSIVE DESIGN =================== */
@media (max-width: 1030px) {
    /* NAVBAR ADJUSTMENTS */
    #navbar {
        padding: 10px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    body {
        padding: 70px 15px 80px 15px;
    }

    /* Show Hamburger Menu */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%) scale(0.7);
        z-index: 1002;
    }

    .hamburger-menu .bar {
        background-color: var(--paper-white);
        height: 2px;
        width: 20px;
        margin: 3px 0;
        transition: 0.3s;
    }

    /* HIDE NAVIGATION LINKS BY DEFAULT */
    .nav-list {
        display: flex;
        flex-direction: column;
        background: linear-gradient(180deg, #0d1b2e, #080f1a);
        width: 100%;
        position: absolute;
        top: 50px;
        left: 0;
        text-align: center;
        padding: 10px 0;
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
        z-index: 999;
        opacity: 0;
        transform: translateY(-10px);
        visibility: hidden;
        border-bottom: 1px solid var(--border-subtle);
    }

    /* SHOW MENU WHEN ACTIVE */
    .nav-list.active {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    .nav-list li {
        margin: 10px 0;
    }

    /* HAMBURGER ANIMATION */
    .hamburger-menu.open .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-4px, 5px);
    }

    .hamburger-menu.open .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.open .bar:nth-child(3) {
        transform: rotate(45deg) translate(-4px, -5px);
    }

    .auth-buttons {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        position: absolute;
        top: 50%;
        right: 60px;
        transform: translateY(-50%);
    }

    .auth-buttons button, .auth-buttons .dashboard-btn {
        padding: 3px 7px;
        font-size: 9px;
        border-radius: 4px;
        min-width: 65px;
        height: 22px;
        line-height: 1;
    }

    /* LEARNING PATH */
    .learning-path-section {
        padding: 20px 10px 16px;
    }

    /* BENEFITS GRID */
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    /* FEATURE HIGHLIGHTS */
    .feature-highlights {
        gap: 14px;
    }

    .highlight-item {
        min-width: 100px;
    }

    .wrapped-image, .certificate-img {
        max-width: 95%;
    }

    .counter-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 36px 15px;
    }

    .counter-container {
        display: flex;
        justify-content: center;
        align-items: stretch;
        gap: 14px;
        width: 100%;
        flex-wrap: wrap;
        max-width: 900px;
    }

    .counter-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px 15px;
        border-radius: 10px;
        text-align: center;
        flex: 1;
        min-width: 140px;
        max-width: 180px;
    }

    .counter-icon {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .counter {
        font-family: "Silkscreen", sans-serif;
        font-size: 30px;
        color: var(--scholar-gold);
        text-shadow: 0 0 8px var(--scholar-gold-glow);
        margin-bottom: 5px;
    }

    .label {
        font-size: 11px;
        color: var(--paper-white);
        opacity: 0.8;
        margin-top: 5px;
    }

    #welcome-section {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    .subtitle-tagline {
        font-size: 12px;
        letter-spacing: 1.2px;
        margin-bottom: 12px;
    }

    .banner {
        height: 280px;
        margin: 10px auto 12px auto;
    }

    .feature-highlights {
        gap: 18px;
        margin-top: 12px;
    }

    .highlight-item {
        min-width: 85px;
    }

    .highlight-item i {
        font-size: 22px;
    }

    .highlight-item span {
        font-size: 10px;
    }

    .slogan {
        font-size: 1.1rem;
    }

    #main-doc {
        font-size: 0.7rem;
    }

    footer {
        font-size: 9px;
        padding: 10px 15px;
    }

    .footer-tagline {
        display: none;
    }

    /* HOMEPAGE FIXED ANNOUNCEMENT STRIP — mobile footer is ~34px tall */
    .announcement-strip-fixed {
        bottom: 34px !important;
    }

    /* ANNOUNCEMENT STRIP */
    .announcement-track {
        animation-duration: 25s;
    }

    .announce-item {
        font-size: 10.5px;
        padding: 0 28px;
    }
}

@media (min-width: 836px) {
    .verification-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        justify-content: center;
    }

    .verification-description {
        width: 50%;
        padding-right: 20px;
    }

    .certificate-img {
        width: 50%;
        max-width: 450px;
        height: auto;
        margin-top: 0;
    }
}

@media (max-width: 835px) {
    .verification-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .certificate-img {
        max-width: 90%;
        height: auto;
        margin-top: 10px;
    }

    /* LEARNING PATH */
    .learning-path-section {
        padding: 22px 10px 18px;
    }

    .section-title, .stats-title {
        font-size: 19px;
    }

    /* BENEFITS GRID */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* WHAT MAKES US DIFFERENT IMAGE — stop floating on tablet, stack above text */
    .wrapped-image {
        float: none;
        display: block;
        width: 100%;
        max-width: 480px;
        margin: 0 auto 22px auto;
        border-radius: 12px;
    }
}

@media (max-width: 700px) {
    body {
        padding: 70px 10px 80px 10px;
    }

    #welcome-section {
        padding: 20px 10px;
        display: flex !important;
        background: linear-gradient(160deg, #0f1e30 0%, #182d44 50%, #0d1b2e 100%);
        margin-bottom: 20px;
    }

    .banner {
        margin: 10px auto;
        height: 250px;
    }

    .subtitle-tagline {
        font-size: 11px;
        letter-spacing: 1px;
        margin-top: 10px;
        margin-bottom: 14px;
    }

    .feature-highlights {
        gap: 9px;
        max-width: 100%;
        margin-top: 10px;
    }

    .highlight-item {
        padding: 5px 11px;
        font-size: 10px;
    }

    .highlight-item i {
        font-size: 11px;
    }

    .highlight-item span {
        font-size: 10px;
    }

    .responsive-slogan {
        display: none;
    }

    .responsive-banner {
        display: none;
    }

    .responsive-description {
        display: none;
    }

    /* TESTIMONIALS */
    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-footer {
        flex-direction: column;
        gap: 10px;
    }

    /* ANNOUNCEMENT STRIP */
    .announcement-track {
        animation-duration: 35s;
    }

    .announce-item {
        font-size: 10px;
        padding: 0 22px;
    }

    /* WHAT MAKES US DIFFERENT IMAGE — full width on mobile */
    .wrapped-image {
        float: none;
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0 auto 18px auto;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 70px 10px 85px 10px;
    }

    .logo-title {
        display: none;
    }

    .short-title {
        display: block;
        color: var(--scholar-gold);
        text-shadow: 0 0 5px var(--scholar-gold-glow), 0 0 10px var(--scholar-gold-glow);
        font-size: 16px;
        font-weight: bold;
        text-decoration: none;
        font-family: 'Courier New', monospace;
    }

    #welcome-section {
        padding: 15px 10px;
    }

    .subtitle-tagline {
        font-size: 10.5px;
        letter-spacing: 0.8px;
        margin-top: 10px;
    }

    .banner {
        height: 220px;
        margin: 8px auto 10px auto;
    }

    /* FEATURE HIGHLIGHTS */
    .feature-highlights {
        flex-direction: row;
        gap: 7px;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }

    .highlight-item {
        padding: 5px 10px;
        font-size: 9px;
        min-width: auto;
    }

    /* ANNOUNCEMENT STRIP */
    .announcement-track {
        animation-duration: 45s;
    }

    .announce-item {
        font-size: 9.5px;
        padding: 0 18px;
    }
}

@media (max-width: 400px) {
    body {
        padding: 70px 8px 85px 8px;
    }

    .banner {
        height: 200px;
        max-width: 95%;
        margin: 8px auto;
    }

    .feature-highlights {
        gap: 6px;
        margin-top: 8px;
    }

    .highlight-item {
        padding: 4px 8px;
        font-size: 8px;
    }

    .highlight-item i {
        font-size: 9px;
    }

    .highlight-item span {
        font-size: 8px;
    }

    /* Navbar Adjustments */
    #navbar {
        padding: 8px 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo-title {
        display: none;
    }

    .short-title {
        display: block;
        color: var(--scholar-gold);
        text-shadow: 0 0 5px var(--scholar-gold-glow), 0 0 10px var(--scholar-gold-glow);
        font-size: 15px;
        font-weight: bold;
        text-decoration: none;
        font-family: 'Courier New', monospace;
    }

    /* Show Hamburger Menu */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%) scale(0.7);
        z-index: 1002;
    }

    .hamburger-menu .bar {
        background-color: var(--paper-white);
        height: 2px;
        width: 18px;
        margin: 3px 0;
        transition: 0.3s;
    }

    .auth-buttons {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        position: absolute;
        top: 50%;
        right: 30px;
        transform: translateY(-50%);
    }

    .auth-buttons button, .auth-buttons .dashboard-btn {
        padding: 3px 7px;
        font-size: 9px;
        border-radius: 3px;
        min-width: 60px;
        height: 20px;
        line-height: 1;
    }

    .wrapped-image {
        max-width: 100%;
    }

    .counter-container {
        gap: 9px;
    }

    .counter-item {
        min-width: 125px;
        max-width: 155px;
        padding: 18px 10px;
    }

    .counter-icon {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .counter {
        font-size: 26px;
        margin-bottom: 5px;
    }

    .label {
        font-size: 10px;
        margin-top: 5px;
    }

    .contact-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* TESTIMONIAL ADJUSTMENTS */
    .student-avatar {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .testimonial h3 {
        font-size: 14px;
    }

    .testimonial p {
        font-size: 13px;
    }

    .star-rating i {
        font-size: 13px;
    }

    .section-title, .stats-title {
        font-size: 15px;
    }

    .benefit-card {
        padding: 14px;
    }

    .benefit-card i {
        font-size: 22px;
    }

    .benefit-card h4 {
        font-size: 14px;
    }

    .benefit-card p {
        font-size: 12px;
    }
}

/* =================== ABOUT US PAGE RESPONSIVE =================== */

@media (max-width: 1030px) {
    .page-header {
        padding: 50px 15px 35px 15px;
    }

    .header-icon {
        font-size: 40px;
    }

    .page-header h1 {
        font-size: 34px;
    }

    .founder-container {
        gap: 28px;
    }

    .founder-image-wrapper {
        flex: 0 0 240px;
    }

    .founder-image-placeholder {
        width: 240px;
        height: 240px;
    }

    .founder-image-placeholder i {
        font-size: 100px;
    }

    .founder-name {
        font-size: 27px;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 22px;
    }

    .cta-content h2 {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 15px 30px 15px;
    }

    .header-icon {
        font-size: 34px;
    }

    .page-header h1 {
        font-size: 30px;
    }

    .header-subtitle {
        font-size: 13.5px;
    }

    .founder-container {
        flex-direction: column;
        align-items: center;
        gap: 22px;
    }

    .founder-image-wrapper {
        flex: none;
    }

    .founder-image-placeholder {
        width: 200px;
        height: 200px;
    }

    .founder-image-placeholder i {
        font-size: 80px;
    }

    .founder-info {
        text-align: center;
    }

    .founder-name {
        font-size: 24px;
    }

    .founder-title {
        font-size: 15px;
    }

    .founder-bio p {
        text-align: center;
    }

    .founder-highlights {
        justify-content: center;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 18px;
    }

    .team-card {
        padding: 22px;
    }

    .team-name {
        text-align: center;
    }

    .team-role {
        text-align: center;
    }

    .team-description {
        text-align: justify;
        hyphens: auto;
    }

    .cta-section {
        padding: 46px 15px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-content p {
        font-size: 14px;
    }

    .cta-button-large {
        padding: 11px 26px;
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    .page-header {
        padding: 34px 10px 24px 10px;
    }

    .header-icon {
        font-size: 30px;
    }

    .page-header h1 {
        font-size: 26px;
    }

    .header-subtitle {
        font-size: 12.5px;
    }

    .founder-image-placeholder {
        width: 180px;
        height: 180px;
    }

    .founder-image-placeholder i {
        font-size: 70px;
    }

    .founder-name {
        font-size: 22px;
    }

    .founder-title {
        font-size: 14px;
    }

    .founder-location {
        font-size: 12.5px;
    }

    .founder-bio p {
        font-size: 13.5px;
    }

    .highlight-box {
        padding: 9px 14px;
    }

    .highlight-box span {
        font-size: 12px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .team-card {
        padding: 18px;
    }

    .team-image-placeholder {
        width: 95px;
        height: 95px;
        min-width: 95px;
        min-height: 95px;
        background-size: cover;
        background-position: center top;
    }

    .team-image-placeholder i {
        font-size: 38px;
    }

    .team-name {
        font-size: 17px;
        text-align: center;
    }

    .team-role {
        font-size: 12.5px;
        text-align: center;
    }

    .team-description {
        font-size: 11.5px;
        text-align: justify;
        hyphens: auto;
    }

    .cta-section {
        padding: 38px 10px;
    }

    .cta-content h2 {
        font-size: 21px;
    }

    .cta-content p {
        font-size: 13.5px;
    }

    .cta-button-large {
        padding: 11px 22px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 22px;
    }

    .founder-image-placeholder {
        width: 160px;
        height: 160px;
    }

    .founder-image-placeholder i {
        font-size: 60px;
    }

    .founder-name {
        font-size: 20px;
    }

    .cta-content h2 {
        font-size: 19px;
    }
}
