@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap');

h1,
h2,
h3 {
    font-family: "Lora", Georgia, serif;
}

p,
span {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* UPDATED LAYOUT 70 / 30 */


/* --- about.css --- */



.tca-about-section .container {
    max-width: 1400px !important;
    /* Increased from 1180px to pull content to the sides */
    width: 95%;
    margin: 0 auto;
    height: 400px;

}

/* --- about.css --- */

.custom-layout {
    display: flex;
    gap: 40px;
    /* Increased gap for better separation of left and right sides */
    justify-content: space-between;
}

.left-panel {
    flex: 0 0 72%;
    /* Slightly wider to utilize the new space */
    max-width: 72%;
}

.right-panel {
    flex: 0 0 25%;
    /* Slightly narrower for a cleaner look */
    max-width: 25%;
}



.new-badge {
    background: red;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    margin-left: 8px;
    border-radius: 4px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}


/* ============================= */
/* ACCORDION */
/* ============================= */

.accordion-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.acc-item {
    border-bottom: 1px solid #eee;
}

.acc-header {
    display: flex;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    background: #f7f7f7;
    font-weight: 600;
    transition: 0.3s;
}

.acc-item.active .acc-header {
    background: #452c2f;
    color: #fff;
}

/* ACCORDION CONTENT */

.acc-content {
    height: 0;
    overflow: hidden;
    transition: height .4s ease;
    background: #fafafa;
}

/* PARAGRAPH JUSTIFIED */

.content-inner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    text-align: justify;
}

.acc-item.active .acc-content {
    max-height: 1000px;
}

.content-inner {
    display: flex;
    gap: 15px;
    padding: 20px;
    align-items: center;
}

.content-inner img {
    width: 120px;
    border-radius: 4px;
}


/* ============================= */
/* NOTICE / UPDATE BOX */
/* ============================= */

.updates-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 20px;
    height: 350px;
}

.sub-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}


/* ============================= */
/* TAB BUTTONS */
/* ============================= */

.updates-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: linear-gradient(135deg, #DFBC7C 0%, #E8CD94 40%, #C49C51 100%);
    cursor: pointer;
    font-weight: 600;
    transition: .3s;
}

.tab-btn.active {
    background: #452c2f;
    color: #fff;
}


/* ============================= */
/* TAB CONTENT */
/* ============================= */

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}


/* ============================= */
/* SCROLL AREA */
/* ============================= */

.scroll-wrapper {
    position: relative;
}

.scroll-box {
    height: 230px;
    overflow-y: auto;
    scroll-behavior: smooth;
}


/* ============================= */
/* SCROLLBAR */
/* ============================= */

.scroll-box::-webkit-scrollbar {
    width: 5px;
}

.scroll-box::-webkit-scrollbar-thumb {
    background: #452c2f;
    border-radius: 4px;
}

.scroll-box::-webkit-scrollbar-track {
    background: #eee;
}


/* ============================= */
/* PROGRESS BAR */
/* ============================= */

.scroll-progress {
    position: absolute;
    right: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #eee;
}

.scroll-progress .bar {
    width: 100%;
    height: 0%;
    background: #452c2f;
}


/* ============================= */
/* LIST */
/* ============================= */

.scroll-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.scroll-box li {
    padding: 10px 5px;
    border-bottom: 1px solid #eee;
}

.scroll-box a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}


/* ============================= */
/* ICONS */
/* ============================= */

.icon {
    color: #452c2f;
    font-size: 14px;
}


/* ============================= */
/* DATE BADGE */
/* ============================= */

.date {
    background: #452c2f;
    color: #fff;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 4px;
    min-width: 45px;
    text-align: center;
}


/* ============================= */
/* VIEW MORE */
/* ============================= */

.view-more {
    text-align: right;
    margin-top: 10px;
}

.view-more a {
    font-size: 13px;
    font-weight: 600;
    color: #452c2f;
    text-decoration: none;
}

.view-more a:hover {
    text-decoration: underline;
}


/* ============================= */
/* MOBILE RESPONSIVE */
/* ============================= */

@media (max-width:992px) {

    .custom-layout {
        flex-direction: column;
    }

    .left-panel,
    .right-panel {
        flex: 0 0 100%;
        max-width: 100%;
    }

}

/* LEFT PANEL */
/* 
.left-panel {
    flex: 0 0 75%;
    max-width: 75%;
} */


/* ACCORDION BOX */

.accordion-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}


/* EACH TAB */

.acc-item {
    border-bottom: 1px solid #eee;
}


/* HEADER */

.acc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    background: #f7f7f7;
    font-weight: 600;
    transition: 0.3s;
}

.acc-header:hover {
    background: #eaeaea;
}


/* ACTIVE TAB */

.acc-item.active .acc-header {
    background: #452c2f;
    color: #fff;
}


/* ACCORDION CONTENT */

.acc-content {
    height: 0;
    overflow: hidden;
    transition: height .5s ease;
    background: #fafafa;
}

/* INNER CONTENT */

.content-inner {
    display: flex;
    gap: 20px;
    padding: 20px;
    align-items: flex-start;
}

/* IMAGE */

.content-inner img {
    width: 120px;
    border-radius: 5px;
    object-fit: cover;
}

/* PARAGRAPH */

.content-inner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    text-align: justify;
}




#about {
    position: relative;
    background-image: url('../images/background/about-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 740px;
    overflow: hidden;
}

#about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* 🔥 Chocolate dark overlay */
    background: rgba(30, 15, 10, 0.6);  /* adjust opacity here */

    z-index: 1;
}

/* Keep content above overlay */
#about > * {
    position: relative;
    z-index: 2;
}



/* ======================================= */
/* MOBILE RESPONSIVE EDIT (ONLY 992px & DOWN) */
/* ======================================= */

/* ============================================================ */
/* 🔥 UNIFIED MOBILE RESPONSIVE FIX (992px & DOWN)              */
/* ============================================================ */

@media (max-width: 992px) {

    /* 1. RESET SECTION & CONTAINER */
    #about {
        height: auto !important; /* Forces background to grow with content */
        min-height: 100vh;
        padding: 40px 0 !important;
        background-attachment: scroll;
        display: block !important;
    }

    .tca-about-section .container {
        height: auto !important;
        width: 95% !important;
        max-width: 100%;
        display: block !important;
    }

    /* 2. STACK PANELS */
    .custom-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    .left-panel, 
    .right-panel {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* 3. HEADING (Top Center) */
    .section-header {
        order: 1 !important;
        text-align: center !important;
        margin: 0 0 20px 0 !important;
    }

    .section-header h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        color: #fff !important;
    }

    /* 4. VIDEO (Small & Centered) */
    .edu_intro_flex {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .edu_intro_video {
        order: 1 !important;
        width: auto !important;
        height: 80px !important;
        margin: 0 auto 15px auto !important;
        border-radius: 12px;
        overflow: hidden;
        border: 2px solid rgba(255,255,255,0.2);
    }

    /* 5. PARAGRAPH (Justified Below Video) */
    .edu_intro_text {
        order: 2 !important;
        width: 100% !important;
    }

    .edu_intro_text p {
        text-align: justify !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
        color: #ffffff !important;
        margin-bottom: 15px !important;
    }

    
    
    /* 7. NOTICE BOX (At the Bottom) */
    .right-panel {
        order: 4 !important;
        margin-top: 10px !important;
    }

    .updates-box {
        height: auto !important;
        min-height: 380px !important;
        background: #fff !important;
        border-radius: 10px !important;
        padding: 15px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .scroll-box {
        height: 240px !important;
        max-height: 240px !important;
        overflow-y: auto !important;
    }

    /* 8. VIEW MORE BUTTON */
    .view-more {
        text-align: center !important;
        margin-top: auto !important;
        padding: 10px 0 !important;
    }

    /* CLEANUP */
    .edu_intro_footer, 
    .content-inner img {
        display: none !important;
    }
}


/* ========================================= */
/* 🔥 MOBILE (0px - 575px) */
/* ========================================= */
@media (max-width: 575px) {

    .trust-badges {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin: 15px 0 !important;
    }

    .badge {
        min-height: 75px !important;
        padding: 0px !important;
        border-radius: 8px !important;
    }

    .badge strong {
        font-size: 14px !important;
    }

    .badge span {
        font-size: 9px !important;
        line-height: 1.2 !important;
    }
}


/* ========================================= */
/* 📱 SMALL DEVICES (576px - 767px) */
/* ========================================= */
@media (min-width: 576px) and (max-width: 767px) {

    .trust-badges {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .badge {
        min-height: 85px !important;
        padding: 10px !important;
    }

    .badge strong {
        font-size: 15px !important;
    }

    .badge span {
        font-size: 11px !important;
    }
}


/* ========================================= */
/* 📲 TABLETS (768px - 991px) */
/* ========================================= */
@media (min-width: 768px) and (max-width: 991px) {

    .trust-badges {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .badge {
        min-height: 90px !important;
        padding: 10px !important;
    }

    .badge strong {
        font-size: 16px !important;
    }

    .badge span {
        font-size: 12px !important;
    }
}


/* ========================================= */
/* 💻 LARGE DEVICES (992px - 1199px) */
/* ========================================= */
@media (min-width: 992px) and (max-width: 1199px) {

    .trust-badges {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 18px !important;
    }

    .badge {
        min-height: 95px !important;
    }

    .badge strong {
        font-size: 17px !important;
    }

    .badge span {
        font-size: 12.5px !important;
    }
}


/* ========================================= */
/* 🖥️ XL DEVICES (1200px - 1399px) */
/* ========================================= */
@media (min-width: 1200px) and (max-width: 1399px) {

    .trust-badges {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 20px !important;
    }

    .badge {
        min-height: 100px !important;
    }

    .badge strong {
        font-size: 18px !important;
    }

    .badge span {
        font-size: 13px !important;
    }
}


/* ========================================= */
/* 🖥️ XXL DEVICES (1400px+) */
/* ========================================= */
@media (min-width: 1400px) {

    .trust-badges {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 22px !important;
    }

    .badge {
        min-height: 110px !important;
    }

    .badge strong {
        font-size: 19px !important;
    }

    .badge span {
        font-size: 13.5px !important;
    }
}


/* ABOUT BUTTON WRAPPER */
.about-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 10px 0;
}

/* ABOUT BUTTON */
.about-orange-btn {
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);

    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, #DFBC7C 0%, #E8CD94 40%, #C49C51 100%);
    
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: #452c2f;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 16px;

    border: 3px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
}

/* ICON */
.about-btn-icon {
    width: 22px;
    height: 22px;
    transition: all 0.3s ease-in-out;
}

.about-btn-icon path {
    fill: #452c2f;
}

/* HOVER */
.about-orange-btn:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.6);
}

.about-orange-btn:hover .about-btn-icon {
    transform: translateX(4px);
}

/* SHINE EFFECT */
.about-orange-btn::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background: linear-gradient(135deg, #DFBC7C 0%, #E8CD94 40%, #C49C51 100%);
    top: 0;
    left: -100px;
    opacity: 0.6;
}

.about-orange-btn:hover::before {
    animation: about-shine 1.5s ease-out infinite;
}

@keyframes about-shine {
    0% { left: -100px; }
    60% { left: 100%; }
    100% { left: 100%; }
}


/* MOBILE */
@media (max-width: 575px) {

    .about-btn-wrapper {
        margin: 20px 0 10px;
        padding: 0 10px;
    }

    .about-orange-btn {
        width: 100%;
        max-width: 240px;
        padding: 10px 16px;
        font-size: 14px;
        gap: 8px;
    }

    .about-btn-icon {
        width: 18px;
        height: 18px;
    }
}


/* SMALL DEVICES */
@media (min-width: 576px) and (max-width: 767px) {

    .about-orange-btn {
        font-size: 15px;
        padding: 11px 18px;
    }
}


/* TABLETS */
@media (min-width: 768px) and (max-width: 991px) {

    .about-orange-btn {
        padding: 12px 22px;
    }
}