/* -------------------------------------------------------------
   ADMAR Education - Responsive Overrides (responsive.css)
   ------------------------------------------------------------- */

/* Extra Large Screens */
@media (max-width: 1399.98px) {
    .hero-title {
        font-size: 64px;
    }

    .floating-mission-card {
        left: -40px;
        bottom: 90px;
    }

    .testimonial-wide-card {
        min-height: 250px;
    }

    .testimonial-content {
        flex: 1;
        padding: 22px 18px !important;
    }

    .testimonial-image-col {
        flex: 1.15;
        min-width: 230px;
    }

    .testimonial-img {
        object-position: 76% 25%;
    }
}

/* Large Screens (Laptops/Tablets) */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 56px;
    }

    .floating-mission-card {
        left: 0;
        bottom: 80px;
        width: 210px;
        padding: 22px 18px 16px 18px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .about-title {
        font-size: 44px;
    }

    .about-detailed-title {
        font-size: 44px;
    }

    .testimonial-wide-card {
        min-height: 240px;
    }

    .testimonial-content {
        flex: 1;
        padding: 20px 16px !important;
    }

    .testimonial-text {
        font-size: 13px;
        line-height: 1.5;
    }

    .testimonial-image-col {
        flex: 1.15;
        min-width: 210px;
    }

    .testimonial-img {
        object-position: 76% 25%;
    }
}

/* Medium Screens (Tablets in landscape / small laptops) */
@media (max-width: 991.98px) {
    .navbar-header {
        background-color: rgba(246, 244, 238, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        position: fixed;
    }

    .navbar-toggler {
        border-color: var(--primary-color);
        background-color: var(--primary-color);
    }

    .navbar-nav {
        padding: 20px 0;
        text-align: center;
        gap: 10px;
    }

    .navbar-nav .nav-link.active::after {
        bottom: 4px;
    }

    .hero-section {
        padding-top: 120px;
        /* space for fixed header */
        padding-bottom: 60px;
        min-height: auto;
        background-position: 75% center;
        /* Shift background right to keep student visible */
        background-size: cover;
    }

    .hero-text-col {
        text-align: center;
        margin-bottom: 40px;
        margin-top: 0;
    }

    .welcome-badge {
        justify-content: center;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .min-h-card {
        min-height: auto;
    }

    /* Stack floating card statically */
    .floating-mission-card {
        position: relative;
        left: 0;
        bottom: 0;
        margin: 20px auto 40px auto;
        width: 100%;
        max-width: 340px;
        box-shadow: 0 15px 30px rgba(8, 50, 43, 0.15);
    }

    /* Adjust Services Board container positioning */
    .services-board-container {
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
        margin-top: 40px;
        padding: 0 15px;
    }

    /* Hide vertical dividers on stacked grid */
    .service-item::after {
        display: none !important;
    }

    .services-board {
        border-radius: 20px;
    }

    .service-item-inner {
        min-height: auto;
        padding: 30px 24px;
        border-bottom: 1px solid rgba(197, 168, 128, 0.15);
    }

    .stat-item-inner {
        padding: 30px 24px;
    }

    /* About Us responsive adjustments */
    .about-title {
        font-size: 38px;
        text-align: center;
    }

    .about-title-underline {
        margin: 0 auto 24px auto !important;
    }

    .about-desc {
        text-align: center;
    }

    .about-text-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-left: 15px !important;
        margin-top: 40px;
    }

    .about-features {
        align-self: flex-start;
        width: 100%;
    }

    /* Detailed About Us Section responsive adjustments */
    .about-detailed-title {
        font-size: 38px;
        text-align: center;
    }

    .about-detailed-desc {
        text-align: center;
    }

    .about-badge {
        justify-content: center;
    }

    .about-detailed-features {
        align-self: flex-start;
        width: 100%;
    }

    .about-stats-card {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    .about-visual-card .visual-img {
        height: 280px;
    }

    .testimonial-wide-card {
        min-height: 240px;
        flex-direction: row;
    }

    .testimonial-content {
        flex: 1;
        padding: 22px 20px !important;
    }

    .testimonial-image-col {
        flex: 1.15;
        min-width: 230px;
        height: auto;
    }

    .testimonial-img {
        object-position: 76% 25%;
    }

    /* Detailed Services Section responsive adjustments */
    .services-section-title {
        font-size: 36px;
        text-align: center;
    }

    .services-section-desc {
        text-align: center;
    }

    .services-left-header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .services-left-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 40px !important;
        margin-bottom: 50px;
    }

    .services-highlight-box {
        align-self: center;
        width: 100%;
        max-width: 480px;
    }

    .services-dot-grid {
        left: 50%;
        transform: translateX(-50%);
        bottom: -40px;
    }
}

/* Small Screens (Mobile landscape/portrait) */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 42px;
        margin-bottom: 12px !important;
    }

    .hero-desc {
        font-size: 15px;
        margin-bottom: 20px !important;
    }

    .welcome-text {
        white-space: nowrap;
        font-size: 12px !important;
        font-weight: 700 !important;
        letter-spacing: 1px !important;
        color: var(--primary-color) !important;
        display: inline-block !important;
    }

    .hero-text-col .welcome-badge {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin-bottom: 10px !important;
        position: relative !important;
        z-index: 5 !important;
    }

    .hero-text-col .welcome-badge .badge-line {
        display: none !important;
    }

    .hero-text-col {
        text-align: left !important;
        margin-top: 25px !important;
    }

    .hero-cta-group {
        justify-content: flex-start !important;
    }

    .hero-title {
        font-size: 38px !important;
        line-height: 1.15 !important;
        margin-bottom: 12px !important;
    }

    .hero-desc {
        font-size: 14px !important;
        line-height: 1.45 !important;
        margin-bottom: 16px !important;
    }

    .hero-section {
        padding-top: 95px !important;
        padding-bottom: 0px !important;
        background-image: url('../images/mobile-hero.png') !important;
        background-size: cover !important;
        background-position: center 40px !important;
    }

    .hero-section .min-vh-100 {
        min-height: auto !important;
        padding-top: 5px !important;
        padding-bottom: 0px !important;
    }

    .floating-mission-card {
        width: 100% !important;
        max-width: 320px !important;
        padding: 12px 16px 8px 16px !important;
        margin: 205px auto 10px auto !important;
        border-radius: 14px !important;
    }

    .floating-mission-card .card-icon-wrapper {
        margin-bottom: 4px !important;
    }

    .floating-mission-card .card-icon-circle {
        width: 30px !important;
        height: 30px !important;
        font-size: 13px !important;
    }

    .floating-mission-card .card-title {
        font-size: 16px !important;
        line-height: 1.15 !important;
        margin-bottom: 2px !important;
    }

    .floating-mission-card .card-desc,
    .floating-mission-card .card-desc p {
        font-size: 11.5px !important;
        line-height: 1.35 !important;
        margin-bottom: 4px !important;
    }

    .floating-mission-card .card-footer-tag {
        font-size: 7.5px !important;
        padding-top: 5px !important;
        margin-top: 6px !important;
    }

    .service-item-inner {
        padding: 20px 20px !important;
    }

    .service-desc {
        margin-bottom: 12px !important;
    }

    .stat-item-inner {
        padding: 20px 20px !important;
    }

    .btn-teal-primary,
    .btn-gold-outline {
        width: auto !important;
        justify-content: center;
        padding: 10px 14px !important;
        font-size: 13px !important;
        white-space: nowrap;
    }

    .hero-cta-group {
        flex-wrap: nowrap !important;
        gap: 10px !important;
    }

    .stat-number {
        font-size: 38px;
    }

    .about-section .about-badge,
    .about-badge {
        justify-content: center !important;
        text-align: center !important;
        margin: 0 auto 12px auto !important;
    }

    .about-title {
        font-size: 32px;
        text-align: center !important;
    }

    .about-title-underline {
        margin: 0 auto 24px auto !important;
    }

    .about-desc {
        text-align: center !important;
    }

    .about-text-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding-left: 15px !important;
        margin-top: 5px !important;
    }

    .about-section {
        padding-top: 15px !important;
        padding-bottom: 35px !important;
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }

    .about-section .col-lg-6.mb-5,
    .about-section .about-image-wrapper {
        margin-bottom: 12px !important;
    }

    .services-board-container {
        margin-top: 25px !important;
        margin-bottom: 0px !important;
    }

    .services-section {
        padding-top: 40px !important;
        padding-bottom: 10px !important;
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }

    .services-section .services-laurel-divider {
        margin-top: 20px !important;
        margin-bottom: 0px !important;
        padding-top: 10px !important;
        padding-bottom: 0px !important;
    }

    .about-detailed-section,
    .process-section,
    .success-stories-section,
    .news-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }

    .about-detailed-title {
        font-size: 32px;
    }

    .testimonial-wide-card {
        flex-direction: column;
        min-height: auto;
    }

    .testimonial-content {
        padding: 24px 20px 24px 20px !important;
    }

    .testimonial-image-col {
        height: 250px;
        width: 100%;
        min-width: 100%;
    }

    .testimonial-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 76% 25%;
    }

    .overlapping-grad-badge {
        position: absolute;
        bottom: 16px;
        left: 16px;
        right: auto;
        top: auto;
    }

    .services-section-title {
        font-size: 30px;
    }

    .service-detail-card {
        min-height: auto;
        max-width: 100% !important;
    }

    .card-body-content {
        height: auto !important;
        min-height: auto !important;
        padding: 20px !important;
    }

    .services-grid-section .service-detail-card {
        max-width: 100% !important;
        height: 100%;
    }

    .services-section .service-detail-card {
        margin: 0 auto;
    }

    .service-item-inner {
        align-items: center;
        text-align: center;
    }
}

/* Extra Small Mobile Screens */
@media (max-width: 575.98px) {
    .logo-img {
        height: 58px;
    }

    .logo-title {
        font-size: 20px;
    }

    .logo-subtitle {
        font-size: 12px;
    }

    .logo-tagline {
        font-size: 6px;
    }

    .hero-section {
        padding-top: 85px !important;
        padding-bottom: 0px !important;
    }

    .welcome-text {
        font-size: 11px !important;
    }

    .hero-text-col {
        margin-top: 18px !important;
    }

    .hero-title {
        font-size: 32px !important;
        line-height: 1.15 !important;
        margin-bottom: 10px !important;
    }

    .hero-desc {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin-bottom: 14px !important;
    }

    .floating-mission-card {
        max-width: 290px !important;
        padding: 10px 14px 8px 14px !important;
        margin: 185px auto 10px auto !important;
    }

    .floating-mission-card .card-title {
        font-size: 15px !important;
    }

    .floating-mission-card .card-desc,
    .floating-mission-card .card-desc p {
        font-size: 11px !important;
    }

    .about-section {
        padding-top: 10px !important;
    }

    .about-text-col {
        margin-top: 0px !important;
    }

    .about-section .col-lg-6.mb-5,
    .about-section .about-image-wrapper {
        margin-bottom: 8px !important;
    }

    .services-section {
        padding-bottom: 10px !important;
    }

    .services-section .services-laurel-divider {
        margin-bottom: 0px !important;
        padding-bottom: 0px !important;
    }

    .about-stats-card {
        flex-direction: column;
        gap: 20px;
        padding: 24px 16px !important;
    }

    .stat-box-divider {
        width: 80%;
        height: 1.5px;
        margin: 5px auto;
    }
}

/* -------------------------------------------------------------
   Responsive Process Section Styles
   ------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .process-title {
        font-size: 40px;
    }
}

@media (max-width: 991.98px) {
    .process-title {
        font-size: 34px;
    }

    .process-steps-container {
        gap: 20px;
    }

    .process-step-column {
        flex: 1 1 calc(33.333% - 15px);
        max-width: 240px;
    }

    .process-step-card {
        min-height: 220px;
        padding: 22px 18px 18px 18px;
    }
}

@media (max-width: 767.98px) {
    .process-title {
        font-size: 30px;
    }

    .process-step-column {
        flex: 1 1 calc(50% - 15px);
    }

    .process-step-card {
        min-height: auto;
        padding: 20px 16px 16px 16px;
    }

    .process-card-title {
        font-size: 16px;
    }

    .process-card-text {
        font-size: 12.5px;
    }
}

@media (max-width: 575.98px) {
    .process-step-column {
        flex: 1 1 100%;
        max-width: 280px;
    }

    .process-step-card {
        padding: 18px 16px 14px 16px;
    }
}

/* -------------------------------------------------------------
   Responsive Success Stories Styles
   ------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .success-stories-container {
        gap: 20px;
    }

    .success-story-column {
        flex: 0 0 calc(50% - 10px);
        /* 2 cards per view on tablet */
    }
}

@media (max-width: 767.98px) {
    .success-story-column {
        flex: 0 0 100%;
        /* 1 card per view on mobile */
    }

    .success-story-card {
        padding: 35px 24px;
        max-width: 290px;
    }
}

/* -------------------------------------------------------------
   Responsive News & Updates Styles
   ------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .news-main-title {
        font-size: 34px;
    }
}

@media (max-width: 767.98px) {
    .news-main-title {
        font-size: 30px;
    }

    .news-header-line {
        margin-left: 15px !important;
        margin-right: 15px !important;
    }

    .news-list-item {
        flex-direction: column;
        gap: 15px !important;
    }

    .news-thumb-wrapper {
        width: 100%;
        height: 180px;
    }
}

@media (max-width: 575.98px) {
    .news-featured-img-wrapper {
        height: 220px;
    }

    .news-card-title {
        font-size: 19px;
    }
}

/* -------------------------------------------------------------
   Responsive FAQ Styles
   ------------------------------------------------------------- */
@media (max-width: 575.98px) {
    .faq-trigger {
        padding: 20px;
    }

    .faq-icon-circle {
        width: 32px;
        height: 32px;
        font-size: 16px;
        margin-right: 15px;
    }

    .faq-question {
        font-size: 15px;
    }

    .faq-content {
        padding: 0 20px 20px 67px;
        /* 20px left + 32px circle + 15px gap = 67px */
        font-size: 13.5px;
    }
}

/* -------------------------------------------------------------
   Responsive Footer Styles
   ------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .footer-top {
        padding: 60px 0 40px;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .footer-title {
        font-size: 16px;
        margin-top: 20px;
    }

    .contact-widget-col {
        border-right: none !important;
        padding-right: 0 !important;
    }

    .contact-widget {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 20px;
    }

    .contact-widget-col:last-child .contact-widget {
        border-bottom: none;
        padding-bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .footer-bottom-bar {
        padding: 20px 0;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
}

@media (max-width: 575.98px) {
    .footer-top {
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
    }
}

/* -------------------------------------------------------------
   Services Page Responsive Overrides
   ------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .subpage-banner {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .subpage-title {
        font-size: 38px;
    }

    .cta-banner-title {
        font-size: 32px;
    }
}

@media (max-width: 575.98px) {
    .subpage-banner {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .subpage-title {
        font-size: 32px;
    }

    .cta-banner-title {
        font-size: 26px;
    }
}

/* -------------------------------------------------------------
   Contact Page Responsive Overrides
   ------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .contact-info-card {
        padding: 30px 24px;
    }

    .contact-form-card {
        padding: 35px 24px;
        clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%, 0 24px);
    }

    .contact-form-card .card-title-main {
        font-size: 26px;
    }
}

@media (max-width: 575.98px) {
    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .contact-info-icon-circle {
        margin: 0 auto;
    }
}

/* -------------------------------------------------------------
   Blog Page Responsive Overrides
   ------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .blog-sidebar {
        position: static;
        margin-top: 50px;
    }
}

/* -------------------------------------------------------------
   Blog Detail Page Responsive Overrides
   ------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .blog-post-title {
        font-size: 30px;
    }

    .blog-post-article {
        padding: 30px 20px !important;
    }

    .sticky-sidebar {
        position: static;
        margin-top: 20px;
    }

    .in-article-cta .text-md-end {
        text-align: left !important;
    }
}

@media (max-width: 767.98px) {
    .blog-post-hero {
        padding: 40px 0 30px 0;
    }

    .blog-post-hero-image-wrapper img {
        height: 240px !important;
    }
}

@media (max-width: 575.98px) {
    .blog-post-title {
        font-size: 24px;
    }

    .blog-post-hero-image-wrapper img {
        height: 180px !important;
    }

    .blog-detail-quote-text {
        font-size: 16px;
    }

    .blog-share-widget {
        flex-wrap: wrap;
    }
}

/* -------------------------------------------------------------
   About Page Responsive Overrides
   ------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .team-img-wrapper {
        aspect-ratio: 1 / 1;
    }

    .stats-grid-wrapper {
        padding-left: 0;
        margin-top: 50px;
    }

    .about-intro-section {
        padding: 70px 0 35px 0;
    }

    .about-skills-section {
        padding: 35px 0 70px 0;
    }
}

@media (max-width: 767.98px) {
    .about-intro-section {
        padding-top: 50px !important;
        padding-bottom: 20px !important;
    }

    .about-skills-section {
        padding-top: 30px !important;
        padding-bottom: 50px !important;
    }

    .about-cta-parallax {
        padding: 70px 0;
    }

    .about-cta-parallax-title {
        font-size: 28px;
    }
}

@media (max-width: 575.98px) {
    .about-intro-section {
        padding-top: 40px !important;
        padding-bottom: 15px !important;
    }

    .about-skills-section {
        padding-top: 25px !important;
        padding-bottom: 40px !important;
    }

    .stats-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-grid-number {
        font-size: 38px;
    }
}

/* -------------------------------------------------------------
   Footer Responsive Overrides
   ------------------------------------------------------------- */
@media (max-width: 767.98px) {
    /* Footer Top Area */
    .footer-top {
        text-align: center;
        padding: 60px 0 40px;
    }

    .footer-brand-container {
        display: flex;
        justify-content: center;
    }

    .footer-description {
        text-align: center;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-gold-line {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social-links {
        justify-content: center;
    }

    .footer-title {
        text-align: center;
    }

    .footer-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .footer-links-list {
        text-align: center;
        padding-left: 0;
    }

    .footer-links-list a:hover {
        transform: translateY(-2px);
    }

    .footer-newsletter-text {
        text-align: center;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-newsletter-form {
        align-items: center;
    }

    .footer-newsletter-form .input-group-wrapper {
        width: 100%;
    }

    .footer-email-input {
        text-align: center;
    }

    /* Footer Contact Bar */
    .footer-contact-bar {
        text-align: center;
        padding: 35px 0;
    }

    .contact-widget {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .contact-widget-content {
        text-align: center;
    }

    .contact-widget-title {
        text-align: center;
    }

    .contact-widget-text {
        text-align: center;
    }

    /* Footer Bottom Bar */
    .footer-bottom-bar {
        text-align: center;
    }

    .copyright-text {
        text-align: center;
    }

    .footer-bottom-links {
        text-align: center;
    }
}