/*==================================================================
   SUNWORLD PUBLIC SCHOOL - RESPONSIVE STYLES (MEDIA.CSS)
   Target Devices: Laptop (<1200px), Tablet (<992px), Mobile Landscape (<768px), Mobile Portrait (<576px)
==================================================================*/

/* =================================================================
   1. LAPTOP & SMALL DESKTOP RESPONSIVE (max-width: 1199px)
================================================================== */
@media (max-width: 1199px) {

    /* Hero Section */
    .hero-content {
        width: 65%;
        padding: 40px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-stats {
        right: 3%;
    }

    .stat-box {
        width: 150px;
        padding: 20px;
    }

    .stat-box h2 {
        font-size: 32px;
    }

    /* Why Choose floating cards */
    .feature-card {
        padding: 30px 20px;
        min-height: 280px;
    }

    .feature-card h4 {
        font-size: 22px;
    }

    .feature-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* About Section */
    .about-content h2 {
        font-size: 38px;
    }

    /* About Navigation Buttons */
    .about-btn {
        width: 260px;
    }
}


/* =================================================================
   2. TABLET RESPONSIVE (max-width: 991px)
================================================================== */
@media (max-width: 991px) {

    /* Top Header & Navbar */
    .top-header {
        display: none;
    }

    .navbar-brand {
        width: 80%;
    }

    .school-name h2 {
        font-size: 22px;
    }

    .school-name p {
        font-size: 15px;
    }

    /* Collapsed Nav Container & Mobile Navbar */
    .navbar-collapse {
        background: #ffffff;
        margin-top: 14px;
        padding: 16px 20px;
        border-radius: 16px;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
        border: 1px solid #e2e8f0;
        width: 100%;
    }

    /* Remove background color from nav items */
    .navbar-nav .nav-item,
    .navbar-nav .nav-link,
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link:focus,
    .navbar-nav .dropdown-item,
    .navbar-nav .dropdown-item:hover,
    .navbar-nav .dropdown-item:focus {
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
    }

    .navbar-nav .nav-link {
        padding: 12px 0 !important;
        font-weight: 600;
        font-size: 15px;
        color: var(--primary-color) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        width: 100%;
    }

    /* Caret arrow placed immediately after item name */
    .navbar-nav .dropdown-toggle::after {
        margin-left: 6px !important;
        vertical-align: middle;
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--secondary-color) !important;
    }

    /* Hide desktop active indicator bar on mobile */
    .navbar-nav .nav-link:not(.dropdown-toggle).active::after,
    .navbar-nav .dropdown-toggle.active::before {
        display: none;
    }

    /* Mobile Dropdown Styling */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 4px 0 8px 16px !important;
        margin: 0;
    }

    .navbar-nav .dropdown-item {
        padding: 8px 0 !important;
        font-size: 14px;
        color: var(--primary-color) !important;
        font-weight: 500;
        transition: var(--transition-smooth);
    }

    .navbar-nav .dropdown-item:hover,
    .navbar-nav .dropdown-item:focus {
        color: var(--secondary-color) !important;
        padding-left: 6px !important;
    }

    .navbar-nav .dropdown-item.active {
        background: transparent !important;
        color: var(--secondary-color) !important;
        font-weight: 700 !important;
        padding-left: 6px !important;
    }

    /* Mobile Dark Mode Navbar */
    body.dark-mode .navbar-collapse {
        background-color: #0d1b2a !important;
        border-color: #1e293b !important;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    }

    body.dark-mode .navbar-nav .nav-link,
    body.dark-mode .navbar-nav .dropdown-item {
        color: #e2e8f0 !important;
        border-bottom-color: rgba(255, 255, 255, 0.06);
    }

    body.dark-mode .navbar-nav .nav-link:hover,
    body.dark-mode .navbar-nav .nav-link.active,
    body.dark-mode .navbar-nav .dropdown-item:hover {
        color: var(--accent-color) !important;
    }

    /* Hero Section */
    .carousel-item {
        height: 540px;
        min-height: 540px;
    }

    .hero-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 92%;
        max-width: 650px;
        padding: 32px 28px;
        border-radius: 20px;
        background: rgba(0, 0, 0, 0.48);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        text-align: center;
    }

    .carousel-item.active .hero-content {
        transform: translate(-50%, -50%);
    }

    .hero-content h1 {
        font-size: 34px;
        line-height: 1.25;
        margin-bottom: 14px;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 22px;
    }

    .hero-badge {
        display: inline-block;
        font-size: 12px;
        padding: 6px 14px;
        margin-bottom: 14px;
    }

    .hero-btn {
        justify-content: center;
    }

    .hero-stats {
        display: none !important;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 44px;
        height: 44px;
    }

    /* Why Choose floating section */
    .why-school {
        padding: 40px 0 20px;
    }

    .why-school .container {
        margin-top: 0 !important;
        position: static !important;
    }

    .feature-card {
        min-height: auto;
        padding: 18px 16px !important;
        text-align: center;
        margin-bottom: 10px;
    }

    .feature-icon {
        margin: 0 auto 10px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .feature-card h4 {
        font-size: 16.5px;
        margin-bottom: 4px;
    }

    .feature-card p {
        font-size: 13px;
        line-height: 1.45;
    }

    /* CBSE Affiliation / Approval Section - Mobile & Tablet */
    .approval-section {
        padding: 60px 0;
    }

    .approval-subtitle {
        font-size: 13px;
        text-align: center;
        display: block;
    }

    .approval-title {
        font-size: 28px;
        text-align: center;
    }

    .approval-line {
        margin: 15px auto 20px;
    }

    .approval-text {
        text-align: center;
        font-size: 15px;
    }

    /* Apply desktop hover styling in normal view on mobile/tablet */
    .approval-feature {
        justify-content: center;
        text-align: left;
        max-width: 450px;
        margin: 16px auto 0;
        box-shadow: 0 15px 35px rgba(10, 92, 54, 0.12) !important;
        border-color: rgba(10, 92, 54, 0.15) !important;
        border-left-color: var(--secondary-color) !important;
        transform: none !important;
    }

    .approval-feature .feature-circle {
        transform: scale(1.08) rotate(6deg) !important;
        background: linear-gradient(135deg, var(--accent-color), var(--secondary-color)) !important;
    }

    .approval-card {
        border-top-color: var(--accent-color) !important;
        box-shadow: 0 18px 35px rgba(10, 92, 54, 0.12) !important;
        transform: none !important;
        margin-top: 20px;
    }

    .approval-feature:hover,
    .approval-card:hover {
        transform: none !important;
    }

    /* About Section & Page */
    .about-school {
        padding: 60px 0;
    }

    .about-content {
        text-align: center;
    }

    .section-subtitle {
        font-size: 13px;
        letter-spacing: 2px;
        text-align: center;
        display: block;
    }

    .about-content h2 {
        font-size: 32px;
        text-align: center;
    }

    .title-line {
        margin: 15px auto 20px;
    }

    .about-content p {
        font-size: 15px;
        line-height: 1.75;
    }

    .about-btn {
        justify-content: center;
        gap: 14px;
        flex-wrap: wrap;
    }

    .btn-read,
    .btn-enquiry {
        padding: 14px 28px;
        font-size: 15.5px;
    }

    .about-image {
        margin-top: 30px;
        position: relative;
    }

    .about-image img {
        width: 100%;
        max-height: 420px;
        object-fit: cover;
    }

    .experience-box {
        display: flex !important;
        align-items: center;
        gap: 14px;
        position: absolute !important;
        bottom: 15px !important;
        left: 15px !important;
        right: 15px !important;
        width: auto !important;
        margin: 0 !important;
        padding: 12px 20px !important;
        background: linear-gradient(135deg, rgba(10, 92, 54, 0.95), rgba(6, 60, 35, 0.95)) !important;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 0px 16px !important;
        border: 2px solid var(--accent-color) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
        z-index: 5;
    }

    .experience-box h3 {
        font-size: 30px !important;
        color: var(--accent-color) !important;
        margin: 0 !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    .experience-box span {
        font-size: 12px !important;
        color: #ffffff !important;
        font-weight: 600 !important;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1.35;
    }

    /* Principal Section & Page */
    .principal-section,
    .principal-message {
        padding: 60px 0;
    }

    .principal-card {
        padding: 32px 24px;
        text-align: center;
        border-radius: 14px;
    }

    .principal-img {
        width: 170px;
        height: 170px;
        border-radius: 50%;
        object-fit: cover;
        margin: 0 auto 20px;
        border: 4px solid var(--yellow, #D8A021);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .principal-content {
        text-align: center;
        margin-top: 15px;
    }

    .principal-title,
    .principal-content h2 {
        font-size: 30px;
        text-align: center;
    }

    .principal-name {
        font-size: 26px;
    }

    .principal-designation {
        font-size: 15px;
    }

    .principal-message,
    .principal-content p {
        font-size: 15px;
        line-height: 1.75;
    }

    .principal-sign {
        margin-top: 30px;
        text-align: center;
    }

    /* Stats Section */
    .stats {
        padding: 50px 0;
    }

    .stats i {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .stats h5 {
        font-size: 32px;
    }

    .stats p {
        font-size: 15px;
    }

    /* Why Choose Grid Section - Tablet & Mobile Responsiveness */
    .choose-school {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .choose-card {
        padding: 18px 16px;
        text-align: center;
        border: 1px solid rgba(10, 92, 54, 0.12);
        box-shadow: 0 4px 15px rgba(10, 92, 54, 0.04) !important;
        transform: none !important;
    }

    .choose-card .icon-box {
        margin: 0 auto 10px;
        transform: none !important;
    }

    /* Active theme border & light shadow in normal view on mobile */
    .choose-card:has(.icon-box.green) {
        border-color: #00A86B !important;
        box-shadow: 0 4px 15px rgba(0, 168, 107, 0.1) !important;
    }

    .choose-card:has(.icon-box.blue) {
        border-color: #3B82F6 !important;
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1) !important;
    }

    .choose-card:has(.icon-box.yellow) {
        border-color: #FFAA00 !important;
        box-shadow: 0 4px 15px rgba(255, 170, 0, 0.1) !important;
    }

    .choose-card:has(.icon-box.red) {
        border-color: #EF4444 !important;
        box-shadow: 0 4px 15px rgba(239, 68, 68, 0.1) !important;
    }

    .choose-card:has(.icon-box.purple) {
        border-color: #8E44AD !important;
        box-shadow: 0 4px 15px rgba(142, 68, 173, 0.1) !important;
    }

    .choose-card:has(.icon-box.cyan) {
        border-color: #06B6D4 !important;
        box-shadow: 0 4px 15px rgba(6, 182, 212, 0.1) !important;
    }

    .choose-card:hover {
        transform: none !important;
    }

    .choose-card h4 {
        font-size: 16.5px;
        margin-bottom: 4px;
    }

    .choose-card p {
        font-size: 13px;
        line-height: 1.45;
    }

    /* Contact Page - Mobile & Tablet */
    .contact-card {
        border: 1.5px solid var(--primary-color) !important;
        box-shadow: 0 8px 25px rgba(10, 92, 54, 0.12) !important;
        transform: none !important;
        padding: 24px 14px !important;
    }

    .contact-card .contact-icon-box {
        background: linear-gradient(135deg, var(--primary-color), #074729) !important;
        color: var(--accent-color) !important;
        box-shadow: 0 6px 18px rgba(10, 92, 54, 0.25) !important;
    }

    .contact-card:hover {
        transform: none !important;
    }

    /* FAQ Section */
    .faq-section {
        padding: 60px 0;
    }

    .faq-heading h2 {
        font-size: 28px;
        text-align: center;
    }

    .faq-heading .title-line {
        margin: 15px auto 25px;
    }

    .callback-box {
        margin-top: 40px;
        padding: 32px 24px;
        border-radius: 14px;
    }

    .callback-box h3 {
        font-size: 24px;
        text-align: center;
    }

    .callback-box p {
        font-size: 14.5px;
        text-align: center;
    }

    /* Testimonial Section */
    .testimonial-section {
        padding: 60px 0;
    }

    .testimonial-card {
        padding: 28px 22px;
        border-radius: 14px;
    }

    .testimonial-card p {
        font-size: 15px;
        line-height: 1.7;
    }

    /* Achievements & Notice */
    .achievement-section {
        padding: 60px 0;
    }

    .achievement-section .section-title {
        font-size: 28px;
        text-align: center;
    }

    .achievement-text {
        text-align: center;
        font-size: 15px;
    }

    .student-card {
        padding: 16px;
        border-radius: 12px;
    }

    .student-img {
        width: 75px;
        height: 75px;
    }

    .student-info h4 {
        font-size: 17px;
    }

    .notice-box {
        margin-top: 40px;
        padding: 28px 20px;
        border-radius: 14px;
    }

    .notice-header h3 {
        font-size: 20px;
    }

    /* Gallery Section */
    .school-gallery {
        padding: 60px 0;
    }

    .gallery-card {
        border-radius: 12px;
    }

    .gallery-content h5 {
        font-size: 16px;
    }

    /* CTA Section */
    .cta-section {
        padding: 60px 0;
    }

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

    .cta-content p {
        font-size: 17px;
        line-height: 1.7;
    }

    /* Page Banner (About & Principal Msg) */
    .page-banner {
        height: 210px;
    }

    .banner-content h1 {
        font-size: 30px;
        letter-spacing: 0.5px;
        margin-bottom: 8px;
    }

    .banner-content nav a,
    .banner-content nav span {
        font-size: 15px;
    }

    /* About Wrapper & Cards matching Privacy Policy */
    .about-wrapper {
        padding: 40px 0 60px 0;
    }

    .about-card,
    .vm-card {
        padding: 24px 20px;
        border-radius: 14px;
        margin-bottom: 20px;
    }

    .card-header-custom h3 {
        font-size: 20px;
    }

    .profile-img-box {
        margin-top: 15px;
        border-radius: 14px;
    }

    .profile-img-box img {
        height: auto;
        max-height: 360px;
        border-radius: 14px;
    }

    /* About Navigation Links */
    .about-nav {
        padding: 45px 0;
    }

    .about-nav-wrapper {
        gap: 14px;
        justify-content: center;
    }

    .about-btn {
        width: calc(50% - 14px);
        max-width: 320px;
        justify-content: center;
        padding: 12px 20px;
        font-size: 14px;
    }

    /* Footer Responsive */
    .footer {
        padding-top: 60px;
        text-align: center;
    }

    .footer-top {
        padding-bottom: 40px;
    }

    .footer-logo {
        justify-content: center;
        margin-bottom: 20px;
    }

    .footer-logo h3 {
        font-size: 22px;
    }

    .footer-line {
        margin: 0 auto 20px;
    }

    .social-links {
        justify-content: center;
        margin-top: 20px;
    }

    .contact-info li {
        justify-content: center;
    }

    .footer-bottom .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
        padding: 20px 15px;
    }

    .footer-policy {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px !important;
        margin: 0;
    }

    .developer {
        margin: 0;
    }
}


/* =================================================================
   3. MOBILE LANDSCAPE & SMALL TABLETS RESPONSIVE (max-width: 768px)
================================================================== */
@media (max-width: 768px) {

    /* Hero Carousel */
    .carousel-item {
        height: 480px;
        min-height: 480px;
    }

    .hero-content {
        padding: 26px 20px;
        width: 94%;
    }

    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.55;
        margin-bottom: 18px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 5px 12px;
    }

    .hero-btn {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .btn-admission,
    .btn-tour {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 15px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }

    /* Why Choose Floating Cards */
    .feature-card {
        padding: 24px 18px;
    }

    .feature-card h4 {
        font-size: 20px;
    }

    .feature-card p {
        font-size: 14px;
    }

    /* About Section Buttons */
    .about-btn {
        flex-direction: column;
        width: 100%;
    }

    .btn-read,
    .btn-enquiry {
        width: 100%;
        text-align: center;
        font-size: 15px;
        padding: 12px 20px;
    }

    /* CTA Section */
    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 15.5px;
        line-height: 1.65;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        width: 100%;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        max-width: 340px;
        text-align: center;
        padding: 13px 24px;
        font-size: 15px;
    }

    /* Page Banner */
    .page-banner {
        height: 210px;
    }

    .banner-content h1 {
        font-size: 32px;
    }

    .banner-content nav a,
    .banner-content nav span {
        font-size: 15px;
    }

    /* Principal Section */
    .principal-card {
        padding: 26px 18px;
    }

    .principal-img {
        width: 140px;
        height: 140px;
    }

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

    .principal-designation {
        font-size: 14px;
    }

    /* About Nav Buttons */
    .about-btn {
        width: 100%;
        max-width: 100%;
        font-size: 14.5px;
        padding: 12px 20px;
    }
}


/* =================================================================
   4. MOBILE PORTRAIT RESPONSIVE (max-width: 576px)
================================================================== */
@media (max-width: 576px) {

    /* Navbar Brand */
    .navbar-brand {
        width: 80%;
    }

    /* Hero Carousel */
    .carousel-item {
        height: 440px;
        min-height: 440px;
    }

    .hero-content {
        width: 95%;
        padding: 20px 16px;
        border-radius: 16px;
    }

    .hero-content h1 {
        font-size: 22px;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 16px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-badge {
        font-size: 10.5px;
        padding: 4px 10px;
        margin-bottom: 10px;
    }

    /* Feature Cards */
    .feature-card {
        padding: 20px 15px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 14px;
    }

    .feature-card h4 {
        font-size: 19px;
    }

    .feature-card p {
        font-size: 13.5px;
    }

    /* CBSE Approval Section */
    .approval-section {
        padding: 45px 0;
    }

    .approval-title {
        font-size: 22px;
    }

    .approval-card {
        padding: 22px 16px;
        text-align: center;
    }

    .approval-card h3 {
        font-size: 20px;
    }

    /* About Section */
    .about-school {
        padding: 45px 0;
    }

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

    .about-content p {
        font-size: 14px;
        line-height: 1.65;
    }

    .experience-box {
        position: absolute !important;
        bottom: 12px !important;
        left: 12px !important;
        right: 12px !important;
        padding: 10px 16px !important;
        gap: 10px !important;
    }

    .experience-box h3 {
        font-size: 26px !important;
    }

    .experience-box span {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    /* Principal Section & Page */
    .principal-section,
    .principal-message {
        padding: 45px 0;
    }

    .principal-title,
    .principal-content h2 {
        font-size: 22px;
    }

    .principal-card {
        padding: 22px 16px;
    }

    .principal-img {
        width: 120px;
        height: 120px;
    }

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

    .principal-designation {
        font-size: 13.5px;
    }

    .principal-message,
    .principal-content p {
        font-size: 14px;
        line-height: 1.65;
    }

    .principal-content h5 {
        font-size: 16px;
    }

    /* Stats Section */
    .stats {
        padding: 40px 0;
    }

    .stats .row>div {
        margin-bottom: 22px;
    }

    .stats .row>div:last-child {
        margin-bottom: 0;
    }

    .stats h5 {
        font-size: 26px;
    }

    .stats p {
        font-size: 13.5px;
    }

    /* Choose School Grid */
    .choose-school {
        padding: 45px 0;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .choose-card {
        padding: 22px 16px;
    }

    .choose-card h4 {
        font-size: 18px;
    }

    .choose-card p {
        font-size: 13.5px;
    }

    /* FAQ Section */
    .faq-section {
        padding: 45px 0;
    }

    .faq-heading h2 {
        font-size: 22px;
    }

    .accordion-button {
        font-size: 14.5px;
        padding: 14px 16px;
    }

    .accordion-body {
        font-size: 13.5px;
        padding: 14px 16px;
    }

    .callback-box {
        padding: 24px 16px;
    }

    .callback-box h3 {
        font-size: 20px;
    }

    /* Testimonials */
    .testimonial-section {
        padding: 45px 0;
    }

    .testimonial-card {
        padding: 20px 16px;
    }

    .testimonial-card p {
        font-size: 13.5px;
    }

    /* Achievements & Notice */
    .achievement-section {
        padding: 45px 0;
    }

    .achievement-section .section-title {
        font-size: 22px;
    }

    .student-card {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .student-img {
        margin: 0 auto 10px;
    }

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

    .notice-box {
        padding: 22px 16px;
    }

    .notice-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    /* School Gallery */
    .school-gallery {
        padding: 45px 0;
    }

    /* CTA Section */
    .cta-section {
        padding: 50px 0;
    }

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

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

    .cta-btn-primary,
    .cta-btn-secondary {
        max-width: 100%;
    }

    /* Page Banner */
    .page-banner {
        height: 170px;
    }

    .banner-content h1 {
        font-size: 22px;
        letter-spacing: 0px;
        margin-bottom: 6px;
    }

    .banner-content nav a,
    .banner-content nav span {
        font-size: 13.5px;
    }

    /* About Wrapper & Cards matching Privacy Policy */
    .about-wrapper {
        padding: 30px 0 50px 0;
    }

    .about-card,
    .vm-card {
        padding: 20px 16px;
        border-radius: 12px;
        margin-bottom: 16px;
    }

    .card-header-custom {
        gap: 12px;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .icon-badge {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .card-header-custom h3 {
        font-size: 18px;
    }

    .about-card p,
    .vm-card p,
    .custom-bullet-list li {
        font-size: 13.5px;
        line-height: 1.65;
    }

    .profile-img-box img {
        max-height: 240px;
        border-radius: 12px;
    }

    .btn-green {
        width: 100%;
        justify-content: center;
        padding: 11px 20px;
        font-size: 14.5px;
    }

    /* Footer Tablet Responsive */
    .footer {
        box-shadow: none;
    }

    .footer-top {
        padding: 45px 0 25px;
    }

    .footer-logo {
        gap: 12px;
        margin-bottom: 18px;
    }

    .footer-logo img {
        width: 50px;
        height: 50px;
    }

    .footer-logo h3 {
        font-size: 18px;
    }

    .footer-logo span {
        font-size: 13.5px;
    }

    .footer p {
        font-size: 13.5px;
        line-height: 1.6;
    }

    .footer h4 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .footer-line {
        margin-bottom: 18px;
    }

    .footer ul li {
        margin-bottom: 12px;
    }

    .footer ul li a,
    .contact-info li {
        font-size: 13.5px;
    }

    .social-links {
        margin-top: 20px;
        gap: 12px;
    }

    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .footer-bottom {
        padding: 18px 0;
    }

    .footer-bottom .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .footer-bottom p {
        font-size: 13px;
        text-align: center;
        margin: 0;
    }

    .footer-policy {
        flex-direction: row;
        justify-content: center;
        gap: 16px !important;
        margin: 4px 0;
    }

    .footer-policy a,
    .developer {
        font-size: 12.5px;
    }
}


/* =================================================================
   4. MOBILE PORTRAIT RESPONSIVE (max-width: 576px)
================================================================== */
@media (max-width: 576px) {

    /* Footer Mobile Portrait */
    .footer-top {
        padding: 35px 0 15px;
    }

    .footer-top .row>div {
        margin-bottom: 24px;
    }

    .footer-top .row>div:last-child {
        margin-bottom: 0;
    }

    .footer-logo img {
        width: 44px;
        height: 44px;
    }

    .footer-logo h3 {
        font-size: 17px;
    }

    .footer-logo span {
        font-size: 12.5px;
    }

    .footer p {
        font-size: 13px;
        line-height: 1.55;
    }

    .footer h4 {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .footer-line {
        margin-bottom: 14px;
    }

    .footer ul li {
        margin-bottom: 10px;
    }

    .footer ul li a,
    .contact-info li {
        font-size: 13px;
    }

    .social-links {
        margin-top: 16px;
        gap: 10px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .footer-bottom {
        padding: 16px 0;
    }

    .footer-policy {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px !important;
    }

    .footer-policy a,
    .developer {
        font-size: 12px;
    }
}