/* =========================================
   SCPM AYURVEDA ABOUT PAGE - PREMIUM CSS
   ========================================= */

:root{
    --primary:#ff671f;
    --secondary:#d4af37;
    --dark:#1f1f1f;
    --text:#555;
    --light:#faf8f5;
    --white:#ffffff;
}

/* =========================================
   HERO SECTION
========================================= */

.page-hero{
    min-height:75vh;
    background:
    linear-gradient(
    rgba(0,0,0,.55),
    rgba(0,0,0,.55)),
    url('../images/about-banner.jpg');

    background-size:cover;
    background-position:center;
    background-attachment:fixed;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;
    color:#fff;
}

.page-hero-inner{
    max-width:900px;
    padding:20px;
}

.page-hero h1{
    font-size:4rem;
    margin-bottom:15px;
    font-weight:800;
}

.page-hero p{
    font-size:1.2rem;
    opacity:.95;
}

.breadcrumb{
    margin-bottom:20px;
    font-size:14px;
}

.breadcrumb a{
    color:#fff;
    text-decoration:none;
}

/* =========================================
   COMMON
========================================= */

.section{
    padding:90px 0;
}

.container{
    max-width:1300px;
    margin:auto;
    padding:0 20px;
}

.eyebrow{
    color:var(--primary);
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:2px;
    margin-bottom:12px;
}

.section-title{
    font-size:2.8rem;
    color:#222;
    margin-bottom:20px;
}

/* =========================================
   FOUNDER + PRINCIPAL
========================================= */

.msg-grid{
    display:grid;
    grid-template-columns:420px 1fr;
    gap:50px;
    align-items:center;

    background:#fff;
    padding:40px;
    border-radius:30px;

    box-shadow:
    0 20px 60px rgba(0,0,0,.08);
}

.msg-photo img{
    width:100%;
    border-radius:25px;
    display:block;
}

.msg-quote-mark{
    font-size:100px;
    line-height:1;
    color:var(--primary);
    margin-bottom:-25px;
}

.msg-text{
    line-height:2;
    color:#666;
    font-size:16px;
}

.msg-name{
    margin-top:20px;
    font-size:28px;
    font-weight:700;
    color:#222;
}

.msg-role{
    color:var(--primary);
    font-weight:600;
    margin-top:8px;
}

/* PRINCIPAL CARD */

.msg-card{

    margin-top:40px;

    background:
    linear-gradient(
    135deg,
    #fff7ef,
    #ffffff);

    border-radius:30px;

    padding:40px;

    text-align:center;

    border:2px solid rgba(255,103,31,.15);

    box-shadow:
    0 20px 60px rgba(255,103,31,.10);
}
.principal-photo{
    width:140px;
    height:140px;

    margin:0 0 20px 0;

    border-radius:50%;
    overflow:hidden;

    border:5px solid #fff;

    box-shadow:
    0 15px 40px rgba(0,0,0,.15);
}

.principal-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
}

.signature{
    font-size:34px;
    font-family:cursive;

    background:
    linear-gradient(
    45deg,
    #d4af37,
    #ffd700,
    #b8860b);

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* =========================================
   ABOUT SECTION
========================================= */

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about-img{

    height:550px;

    border-radius:30px;

    background:
    url('../images/about-campus.jpg');

    background-size:cover;
    background-position:center;

    box-shadow:
    0 15px 40px rgba(0,0,0,.10);
}

.about-list{
    list-style:none;
    margin-top:25px;
}

.about-list li{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-bottom:15px;
    line-height:1.8;
    color:#666;
}

.dot{
    width:10px;
    height:10px;
    background:var(--primary);
    border-radius:50%;
    margin-top:9px;
}

/* =========================================
   COUNTERS
========================================= */

.stats-section{
    padding:80px 0;
    background:#fffaf5;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.stat-card{
    background:#fff;

    padding:35px;

    text-align:center;

    border-radius:24px;

    box-shadow:
    0 15px 40px rgba(0,0,0,.08);
}

.stat-card h3{
    font-size:3rem;
    color:var(--primary);
    margin-bottom:10px;
}

.stat-card p{
    color:#666;
}

/* =========================================
   TIMELINE
========================================= */

.timeline-mini{
    margin-top:40px;

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.timeline-mini div{
    background:#fff;

    padding:20px;

    border-radius:20px;

    text-align:center;

    box-shadow:
    0 10px 25px rgba(0,0,0,.06);
}

.yr{
    color:var(--primary);
    font-size:1.5rem;
    font-weight:700;
}

.lbl{
    margin-top:8px;
    color:#666;
}

/* =========================================
   RECOGNITION STRIP
========================================= */

.recognition-strip{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    background:linear-gradient(
    90deg,
    #ff671f,
    #ff8a3d);

    color:#fff;

    text-align:center;
}

.recognition-strip div{
    padding:18px;
    font-weight:700;
    border-right:1px solid rgba(255,255,255,.2);
}

/* =========================================
   WHY SCPM
========================================= */

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.why-card{

    background:#fff;

    padding:35px;

    border-radius:24px;

    text-align:center;

    transition:.4s;

    box-shadow:
    0 12px 35px rgba(0,0,0,.08);
}

.why-card:hover{
    transform:translateY(-10px);
}

.why-icon{
    font-size:45px;
    margin-bottom:15px;
}

.why-title{
    font-size:22px;
    font-weight:700;
    margin-bottom:10px;
}

.why-desc{
    line-height:1.8;
    color:#666;
}

/* =========================================
   BUTTON
========================================= */

.btn{
    display:inline-block;
    padding:14px 30px;
    border-radius:50px;
    text-decoration:none;
    transition:.3s;
    font-weight:600;
}

.btn-outline-dark{
    border:2px solid #222;
    color:#222;
}

.btn-outline-dark:hover{
    background:#222;
    color:#fff;
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:992px){

    .msg-grid{
        grid-template-columns:1fr;
    }

    .about-grid{
        grid-template-columns:1fr;
    }

    .stats-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .timeline-mini{
        grid-template-columns:repeat(2,1fr);
    }

    .recognition-strip{
        grid-template-columns:repeat(2,1fr);
    }

    .page-hero h1{
        font-size:3rem;
    }
}

@media(max-width:768px){

    .section{
        padding:60px 0;
    }

    .page-hero{
        min-height:60vh;
        background-attachment:scroll;
    }

    .page-hero h1{
        font-size:2.2rem;
    }

    .page-hero p{
        font-size:1rem;
    }

    .msg-grid,
    .msg-card{
        padding:25px;
    }

    .principal-photo{
        width:180px;
        height:180px;
    }

    .stats-grid{
        grid-template-columns:1fr;
    }

    .timeline-mini{
        grid-template-columns:1fr;
    }

    .recognition-strip{
        grid-template-columns:1fr;
    }

    .about-img{
        height:320px;
    }

    .section-title{
        font-size:2rem;
    }
}
.principal-photo{
    margin-left:0 !important;
    margin-right:auto !important;
}
/* =========================
   ABOUT IMAGE - FINAL
========================= */

.about-img{
    position:relative;
    overflow:hidden;
    border-radius:28px;
    box-shadow:0 20px 60px rgba(0,0,0,.12);
    background:#fff;
}

.about-img img{
    width:100%;
    height:500px;
    display:block;
    object-fit:cover;
    object-position:center;
    transition:transform .8s ease;
}

.about-img:hover img{
    transform:scale(1.05);
}

/* Premium Overlay */

.about-img::after{
    content:'';
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        to top,
        rgba(0,0,0,.28),
        rgba(0,0,0,.05),
        transparent
    );

    pointer-events:none;
}

/* Badge */

.campus-badge{
    position:absolute;
    bottom:20px;
    left:20px;

    background:#ff671f;
    color:#fff;

    padding:12px 20px;
    border-radius:50px;

    font-size:14px;
    font-weight:600;

    z-index:5;

    box-shadow:
    0 10px 25px rgba(255,103,31,.35);
}

/* Tablet */

@media (max-width:992px){

    .about-img img{
        height:400px;
    }

}

/* Mobile */

@media (max-width:768px){

    .about-img{
        border-radius:20px;
    }

    .about-img img{
        height:260px;
        object-position:center;
    }

    .campus-badge{
        left:15px;
        bottom:15px;
        padding:10px 16px;
        font-size:12px;
    }

}


.about-img{
    position:relative;
    border-radius:25px;
    overflow:hidden;
    background:#f5f5f5;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
}

.about-img img{
    width:100%;
    height:auto !important;
    max-height:none !important;
    display:block;

    object-fit:contain !important;
    object-position:center center !important;
}

/* Desktop */
@media(min-width:769px){

    .about-img{
        min-height:420px;
        display:flex;
        align-items:center;
        justify-content:center;
    }

    .about-img img{
        width:100%;
        height:auto !important;
    }
}

/* Mobile */
@media(max-width:768px){

    .about-img{
        min-height:auto;
        border-radius:18px;
    }

    .about-img img{
        width:100%;
        height:auto !important;
        object-fit:contain !important;
    }
}


/* ==============================
   CONTACT GOOGLE MAP
================================ */

.contact-map {
    width: 100%;
    min-height: 320px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.18),
            rgba(0, 0, 0, 0.45)
        ),
        url("images/campus.jpg") center/cover no-repeat;
}

.map-link {
    display: flex;
    width: 100%;
    min-height: 320px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.map-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 25px 35px;
    border-radius: 16px;
    background: rgba(255,255,255,0.94);
    color: #241608;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0,0,0,0.20);
    transition: transform .3s ease, box-shadow .3s ease;
}

.map-overlay:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.28);
}

.map-icon {
    font-size: 34px;
}

.map-overlay strong {
    font-size: 18px;
}

.map-overlay span:last-child {
    font-size: 13px;
    opacity: .7;
}

.contact-map-btn {
    margin-top: 18px;
}


/* CONTACT LINKS */

.contact-info a {
    color: inherit;
    text-decoration: none;
}

.contact-info a:hover {
    color: #CC6600;
}


/* MOBILE */

@media (max-width: 768px) {

    .contact-map,
    .map-link {
        min-height: 260px;
    }

    .map-overlay {
        padding: 20px;
    }

    .map-overlay strong {
        font-size: 16px;
    }

}


/* =====================================================
   MOBILE NAVBAR + NCISM DROPDOWN FIX
===================================================== */

@media (max-width: 992px) {

    .navbar {
        position: sticky;
        top: 0;
        z-index: 9999;
    }

    .navbar-inner {
        position: relative;
    }

    /* Mobile menu */
    .nav-links {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;

        display: none !important;
        flex-direction: column !important;
        align-items: stretch !important;

        background: #241608 !important;

        padding: 15px 20px 20px !important;

        max-height: calc(100vh - 70px);
        overflow-y: auto;

        z-index: 99999 !important;
    }

    .nav-links.active {
        display: flex !important;
    }


    /* Normal links */

    .nav-links > a {
        display: block !important;
        width: 100% !important;

        padding: 13px 10px !important;

        color: #fff !important;

        text-decoration: none !important;
    }


    /* =================================================
       NCISM DROPDOWN
    ================================================= */

    .nav-links .dropdown {
        display: block !important;

        width: 100% !important;

        position: relative !important;
    }


    .nav-links .dropdown-toggle {
        display: flex !important;

        align-items: center !important;
        justify-content: space-between !important;

        width: 100% !important;

        padding: 13px 10px !important;

        color: #fff !important;

        cursor: pointer !important;

        text-decoration: none !important;
    }


    /* Arrow */

    .nav-links .dropdown-toggle::after {
        content: "▼";

        font-size: 9px;

        margin-left: 10px;

        transition: transform .3s ease;
    }


    /* Dropdown hidden */

    .nav-links .dropdown-menu {
        display: none !important;

        position: static !important;

        width: 100% !important;
        min-width: 100% !important;

        padding: 6px 0 8px 12px !important;

        margin: 0 !important;

        background: rgba(255,255,255,.06) !important;

        border: 0 !important;

        box-shadow: none !important;

        opacity: 1 !important;

        visibility: visible !important;

        transform: none !important;

        overflow: visible !important;
    }


    /* Dropdown OPEN */

    .nav-links .dropdown-menu.show {
        display: block !important;
    }


    /* Dropdown links */

    .nav-links .dropdown-menu a {
        display: block !important;

        width: 100% !important;

        padding: 11px 12px !important;

        color: #fff !important;

        font-size: 14px !important;

        line-height: 1.4 !important;

        text-decoration: none !important;

        white-space: normal !important;
    }


    .nav-links .dropdown-menu a:hover {
        background: rgba(255,193,7,.15);
    }

}

/* =====================================================
   FINAL MOBILE NAVBAR + NCISM DROPDOWN
===================================================== */

@media (max-width: 992px) {

    /* NAVBAR */
    .navbar {
        position: sticky;
        top: 0;
        z-index: 99999;
    }

    .navbar-inner {
        position: relative;
    }


    /* ================================================
       MOBILE MENU
    ================================================ */

    .nav-links {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;

        display: none !important;
        flex-direction: column !important;
        align-items: stretch !important;

        background: #241608 !important;

        padding: 12px 20px 25px !important;

        max-height: calc(100vh - 70px) !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;

        z-index: 999999 !important;
    }


    /* OPEN MOBILE MENU */

    .nav-links.active {
        display: flex !important;
    }


    /* ================================================
       NORMAL NAV LINKS
    ================================================ */

    .nav-links > a {
        display: block !important;

        width: 100% !important;

        padding: 14px 10px !important;

        color: #fff !important;

        text-decoration: none !important;

        font-size: 15px !important;

        line-height: 1.4 !important;
    }


    .nav-links > a:hover,
    .nav-links > a.active-link {
        color: #ffc107 !important;
    }


    /* ================================================
       NCISM DROPDOWN
    ================================================ */

    .nav-links .dropdown {
        display: block !important;

        width: 100% !important;

        position: relative !important;

        margin: 0 !important;
    }


    /* NCISM BUTTON */

    .nav-links .dropdown-toggle {
        display: flex !important;

        align-items: center !important;
        justify-content: space-between !important;

        width: 100% !important;

        padding: 14px 10px !important;

        margin: 0 !important;

        border: 0 !important;
        outline: 0 !important;

        background: transparent !important;

        color: #fff !important;

        font-family: inherit !important;
        font-size: 15px !important;

        text-align: left !important;

        cursor: pointer !important;
    }


    .nav-links .dropdown-toggle:hover {
        color: #ffc107 !important;
    }


    /* ================================================
       ARROW
    ================================================ */

    .nav-links .dropdown-arrow {
        display: inline-block !important;

        margin-left: auto !important;

        font-size: 16px !important;

        color: #ffc107 !important;

        transition: transform .3s ease !important;
    }


 

    /* ================================================
       DROPDOWN MENU CLOSED
    ================================================ */

    .nav-links .dropdown-menu {
        display: none !important;

        position: static !important;

        width: 100% !important;
        min-width: 100% !important;

        max-height: none !important;

        margin: 0 !important;
        padding: 5px 0 8px 12px !important;

        background: rgba(255,255,255,.06) !important;

        border: 0 !important;

        border-left: 2px solid rgba(255,193,7,.45) !important;

        border-radius: 0 !important;

        box-shadow: none !important;

        opacity: 1 !important;
        visibility: visible !important;

        transform: none !important;

        overflow: visible !important;
    }


    /* ================================================
       DROPDOWN MENU OPEN
    ================================================ */

    .nav-links .dropdown-menu.show {
        display: block !important;
    }


    /* ================================================
       NCISM ITEMS
    ================================================ */

    .nav-links .dropdown-menu a {
        display: block !important;

        width: 100% !important;

        padding: 11px 14px !important;

        color: #fff !important;

        font-size: 14px !important;

        line-height: 1.45 !important;

        text-decoration: none !important;

        white-space: normal !important;
    }


    .nav-links .dropdown-menu a:hover {
        background: rgba(255,193,7,.12) !important;

        color: #ffc107 !important;
    }


    /* ================================================
       APPLY BUTTON
    ================================================ */

    .nav-cta {
        display: none !important;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .nav-links {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .nav-links > a,
    .nav-links .dropdown-toggle {
        padding: 13px 8px !important;
        font-size: 14px !important;
    }

    .nav-links .dropdown-menu {
        padding-left: 10px !important;
    }

    .nav-links .dropdown-menu a {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }

}
/* =========================================
   ABOUT PAGE - RESPONSIVE FORCE FIT
   ========================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Main page wrapper */
.about-page,
.about-container,
.about-wrapper,
.about-section {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Main content automatically fits large screens */
.about-container,
.about-wrapper {
    max-width: 1440px;
    width: min(100% - 40px, 1440px);
    margin-inline: auto;
}

/* All sections */
section {
    width: 100%;
    max-width: 100%;
}

/* Images never overflow */
img,
svg,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* Text protection */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a {
    overflow-wrap: break-word;
}

/* Prevent fixed-width elements from breaking layout */
.about-page [style*="width"],
.about-container [style*="width"],
.about-wrapper [style*="width"] {
    max-width: 100%;
}

/* Responsive grids */
.about-grid,
.about-content-grid,
.about-cards,
.about-features {
    width: 100%;
    max-width: 100%;
}

/* Large screens */
@media (min-width: 1600px) {

    .about-container,
    .about-wrapper {
        max-width: 1440px;
        width: min(100% - 80px, 1440px);
    }
}

/* 4K and ultra-wide screens */
@media (min-width: 2000px) {

    .about-container,
    .about-wrapper {
        max-width: 1500px;
        width: 1500px;
    }
}

/* Laptop */
@media (max-width: 1199px) {

    .about-container,
    .about-wrapper {
        width: calc(100% - 32px);
    }
}

/* Tablet */
@media (max-width: 991px) {

    .about-container,
    .about-wrapper {
        width: calc(100% - 28px);
    }

    .about-grid,
    .about-content-grid,
    .about-cards,
    .about-features {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile */
@media (max-width: 767px) {

    .about-container,
    .about-wrapper {
        width: calc(100% - 24px);
        max-width: 100%;
    }

    .about-page {
        overflow-x: hidden;
    }

    h1 {
        font-size: clamp(28px, 8vw, 42px);
    }

    h2 {
        font-size: clamp(24px, 6vw, 34px);
    }

    h3 {
        font-size: clamp(20px, 5vw, 28px);
    }

    p {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* Small mobile */
@media (max-width: 480px) {

    .about-container,
    .about-wrapper {
        width: calc(100% - 20px);
    }

    h1,
    h2,
    h3 {
        max-width: 100%;
    }

    img {
        max-width: 100%;
    }
}

/* =========================================
   FORCE FLEX / GRID CHILDREN TO FIT
   ========================================= */

.about-page .row,
.about-page .grid,
.about-page [class*="grid"] {
    min-width: 0;
    max-width: 100%;
}

.about-page .row > *,
.about-page .grid > *,
.about-page [class*="grid"] > * {
    min-width: 0;
    max-width: 100%;
}

/* Long text / links */
.about-page a,
.about-page p,
.about-page li {
    overflow-wrap: anywhere;
}

/* Tables */
.about-page table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

.about-page .table-wrapper,
.about-page .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

/* Cards */
.about-page .card {
    width: 100%;
    max-width: 100%;
}

/* No horizontal overflow */
.about-page {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}
/* =========================================
   ABOUT PAGE - ALL SCREEN FORCE RESPONSIVE
   Desktop + Laptop + Tablet + Mobile
   ========================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    max-width: 100%;
}

/* Main wrappers */
.about-page,
.about-wrapper,
.about-container,
.about-section,
main {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Content container */
.about-container,
.about-wrapper {
    width: min(100% - 40px, 1440px);
}

/* Images / media */
img,
picture,
video,
iframe,
svg,
canvas {
    max-width: 100% !important;
    height: auto;
}

/* Prevent flex/grid overflow */
.row,
[class*="row"],
[class*="grid"],
[class*="flex"] {
    min-width: 0;
    max-width: 100%;
}

.row > *,
[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
    max-width: 100%;
}

/* Text automatically adjusts */
h1,
h2,
h3,
h4,
h5,
h6 {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

p,
span,
a,
li {
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* =========================================
   LARGE SCREEN
   ========================================= */

@media (min-width: 1600px) {

    .about-container,
    .about-wrapper {
        width: min(100% - 80px, 1440px);
    }
}

/* =========================================
   LAPTOP
   ========================================= */

@media (max-width: 1199px) {

    .about-container,
    .about-wrapper {
        width: calc(100% - 32px);
    }
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 991px) {

    .about-container,
    .about-wrapper {
        width: calc(100% - 28px);
    }

    .about-grid,
    .about-content-grid,
    .about-cards,
    .about-features {
        grid-template-columns: 1fr !important;
    }

    .about-flex {
        flex-direction: column !important;
    }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .about-container,
    .about-wrapper {
        width: calc(100% - 24px) !important;
        max-width: 100% !important;
    }

    .about-page {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    /* Any desktop fixed width becomes fluid */
    .about-page [style*="width"],
    .about-page [style*="min-width"] {
        max-width: 100% !important;
    }

    /* Sections */
    section {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Cards */
    .card,
    .about-card,
    .feature-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Grid */
    .about-grid,
    .about-content-grid,
    .about-cards,
    .about-features {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    /* Flex */
    .about-flex,
    .about-content,
    .about-row {
        flex-direction: column !important;
    }

    /* Headings */
    h1 {
        font-size: clamp(28px, 8vw, 42px) !important;
        line-height: 1.15;
    }

    h2 {
        font-size: clamp(24px, 7vw, 34px) !important;
        line-height: 1.2;
    }

    h3 {
        font-size: clamp(20px, 6vw, 28px) !important;
    }

    /* Paragraph */
    p {
        font-size: 15px;
        line-height: 1.7;
    }

    /* Buttons */
    .btn,
    button,
    .about-btn {
        max-width: 100%;
        white-space: normal;
    }
}

/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 480px) {

    .about-container,
    .about-wrapper {
        width: calc(100% - 20px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .about-page {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    h1 {
        font-size: clamp(26px, 9vw, 36px) !important;
    }

    h2 {
        font-size: clamp(22px, 7vw, 30px) !important;
    }

    p {
        font-size: 14px;
    }

    img {
        width: 100%;
        height: auto;
    }
}

/* =========================================
   VERY SMALL DEVICES
   ========================================= */

@media (max-width: 360px) {

    .about-container,
    .about-wrapper {
        width: calc(100% - 16px) !important;
    }

    h1 {
        font-size: 25px !important;
    }

    h2 {
        font-size: 21px !important;
    }

    p {
        font-size: 14px;
    }
}

/* =========================================
   TABLE RESPONSIVE
   ========================================= */

.about-page table {
    width: 100% !important;
    max-width: 100% !important;
}

.table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* =========================================
   REMOVE COMMON OVERFLOW PROBLEMS
   ========================================= */

.about-page pre,
.about-page code {
    max-width: 100%;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.about-page iframe {
    width: 100% !important;
    max-width: 100% !important;
}

.about-page input,
.about-page textarea,
.about-page select {
    width: 100%;
    max-width: 100%;
}

/* FINAL SAFETY */
.about-page *,
.about-wrapper *,
.about-container * {
    max-width: 100%;
}
/* =========================================
   ABOUT SECTION - MOBILE FIX
   ========================================= */

.about-list {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    margin: 20px 0;
    list-style: none;
}

.about-list li {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.about-list .dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-top: 8px;
}

/* Timeline */
.timeline-mini {
    width: 100%;
    max-width: 100%;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px;
    margin-top: 28px;
}

.timeline-mini > div {
    min-width: 0 !important;
    width: 100%;
    text-align: center;
}

.timeline-mini .yr {
    font-size: clamp(18px, 5vw, 24px);
    font-weight: 700;
    white-space: nowrap;
}

.timeline-mini .lbl {
    font-size: clamp(10px, 2.5vw, 13px);
    line-height: 1.3;
    overflow-wrap: anywhere;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .about-page > div,
    .about-page section > div,
    .about-container > div {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .section-title {
        width: 100%;
        max-width: 100%;
        font-size: clamp(25px, 7vw, 34px) !important;
        line-height: 1.2;
        overflow-wrap: break-word;
    }

    .about-page p {
        width: 100%;
        max-width: 100%;
        font-size: 15px !important;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

    .btn {
        max-width: 100%;
        white-space: normal;
    }

    /* Timeline mobile */
    .timeline-mini {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 15px;
        width: 100% !important;
    }

    .timeline-mini > div {
        min-width: 0 !important;
    }
}

/* =========================================
   VERY SMALL MOBILE
   ========================================= */

@media (max-width: 400px) {

    .timeline-mini {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px;
    }

    .timeline-mini .yr {
        font-size: 18px;
    }

    .timeline-mini .lbl {
        font-size: 10px;
    }

    .about-list li {
        font-size: 14px;
        gap: 8px;
    }
}
.library-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f5f5f5;
}