body{
    margin: 0px;
}

/* ==========================
   TMS HEADER
========================== */

.tms-header {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    z-index: 999;
}

/* TOP BAR */

.tms-topbar {
    background: #005579;
    color: #ffffff;
    font-size: 12px;
}

.tms-topbar-inner {
    max-width: 1440px;
    margin: auto;
    padding: 9px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-info,
.top-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.top-info span {
    white-space: nowrap;
}

.top-links a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.top-links a:hover {
    color: #F3D719;
}

/* NAVBAR */

.tms-navbar {
    background: #ffffff;
    border-bottom: 3px solid #20A8D5;
    box-shadow: 0 3px 12px rgba(0, 85, 121, 0.08);
}

.tms-navbar-inner {
    max-width: 1440px;
    margin: auto;
    padding: 12px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* LOGO */

.tms-logo {
    flex-shrink: 0;
}

.tms-logo img {
    width: 265px;
    height: auto;
    display: block;
}

/* NAVIGATION */
/* 
.tms-navigation ul {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
} */

/* .tms-navigation li a {
    color: #005579;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    position: relative;
    transition: 0.3s;
    white-space: nowrap;
} */

/* .tms-navigation li a:hover,
.tms-navigation li a.active {
    color: #20A8D5;
} */

/* .tms-navigation li a.active::after,
.tms-navigation li a:hover::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #F3D719;
} */

/* .tms-navigation li a span {
    font-size: 11px;
    margin-left: 3px;
} */

/* ENQUIRE BUTTON */

/* .tms-navigation li a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.tms-navigation li a span {
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    display: inline-block;
    flex-shrink: 0;
} */


/* ==========================
   NAVIGATION
========================== */

.tms-navbar-inner {
    width: 100%;
    max-width: 1800px;
    margin: auto;
    padding: 18px 60px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.tms-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.tms-navigation ul {
    display: flex;
    /* align-items: center; */
    gap: 30px;

    list-style: none;
    padding: 0;
    margin: 0;
}

/* MENU LINK */

.tms-navigation li a {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #005579;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.2px;

    white-space: nowrap;
    position: relative;
    transition: all 0.3s ease;
}

/* HOVER */

.tms-navigation li a:hover,
.tms-navigation li a.active {
    color: #20A8D5;
}

/* YELLOW ACTIVE LINE */

.tms-navigation li a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 100%;
    height: 3px;
    background: #F3D719;
}

/* DROPDOWN ARROW */

.tms-navigation li a span {
    width: 6px;
    height: 6px;

    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;

    transform: rotate(45deg);
    margin-top: -4px;

    display: inline-block;
    flex-shrink: 0;
}




/* .enquire-btn {
    background: #005579;
    color: #ffffff;
    padding: 13px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.3s;
}

.enquire-btn:hover {
    background: #20A8D5;
    color: #ffffff;
}


.search-btn {
    background: transparent;
    border: none;
    color: #005579;
    font-size: 25px;
    cursor: pointer;
}

.tms-nav-action {
    display: flex;
    align-items: center;
    gap: 15px;
} */


.tms-nav-action {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.enquire-btn {
    background: #005579;
    color: #ffffff;
    padding: 16px 26px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.3s ease;
}

.enquire-btn:hover {
    background: #20A8D5;
}

.search-btn {
    background: transparent;
    border: none;
    color: #005579;
    font-size: 22px;
    cursor: pointer;
    padding: 5px;
}

/* MOBILE BUTTON */

.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 25px;
    color: #005579;
    cursor: pointer;
}

/* ==========================
   RESPONSIVE
========================== */

/* @media (max-width: 1200px) {

    .tms-navigation ul {
        gap: 15px;
    }

    .tms-navigation li a {
        font-size: 11px;
    }

    .tms-logo img {
        width: 175px;
    }

    .tms-navbar-inner {
        padding: 12px 20px;
    }
}

@media (max-width: 991px) {

    .top-info span:last-child {
        display: none;
    }

    .top-links {
        gap: 12px;
    }

    .tms-navigation {
        display: none;
    }

    .tms-nav-action {
        margin-left: auto;
    }

    .mobile-menu {
        display: block;
    }
}

@media (max-width: 600px) {

    .tms-topbar-inner {
        padding: 8px 15px;
    }

    .top-info {
        gap: 10px;
    }

    .top-info span:nth-child(2) {
        display: none;
    }

    .top-links {
        display: none;
    }

    .tms-navbar-inner {
        padding: 12px 15px;
    }

    .tms-logo img {
        width: 150px;
    }

    .enquire-btn {
        padding: 10px 13px;
        font-size: 10px;
    }

    .search-btn {
        display: none;
    }
} */
 @media (max-width: 1400px) {
    .tms-navbar-inner {
        padding: 16px 30px;
        gap: 20px;
    }

    .tms-logo img {
        width: 220px;
    }

    .tms-navigation ul {
        gap: 20px;
    }

    .tms-navigation li a {
        font-size: 13px;
    }

    .tms-nav-action {
        gap: 15px;
    }
}

@media (max-width: 1100px) {
    .tms-navigation {
        display: none;
    }

    .tms-nav-action {
        margin-left: auto;
    }

    .mobile-menu {
        display: block;
    }
}

@media (max-width: 600px) {
    .tms-navbar-inner {
        padding: 12px 15px;
    }

    .tms-logo img {
        width: 155px;
    }

    .enquire-btn {
        padding: 11px 14px;
        font-size: 11px;
    }

    .search-btn {
        display: none;
    }
}


/* ==========================
   MOBILE MENU
========================== */

.tms-navbar-inner {
    position: relative;
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: #005579;
    cursor: pointer;
}

/* Mobile Navigation Open */

@media (max-width: 1100px) {

    .mobile-menu {
        display: block;
    }

    .tms-navigation {
        display: none;
    }

    .tms-navigation.mobile-active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        z-index: 9999;
        box-shadow: 0 8px 20px rgba(0, 85, 121, 0.12);
    }

    .tms-navigation.mobile-active ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px;
        margin: 0;
    }

    .tms-navigation.mobile-active ul li {
        width: 100%;
    }

    .tms-navigation.mobile-active ul li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 15px 5px;
        box-sizing: border-box;
        color: #005579;
        text-decoration: none;
        border-bottom: 1px solid #e6f1f5;
        font-size: 14px;
    }

    .tms-navigation.mobile-active ul li a:hover {
        color: #20A8D5;
    }

    .tms-navigation.mobile-active ul li a::after {
        display: none;
    }

    .tms-navigation.mobile-active ul li a span {
        margin-right: 8px;
    }
}

@media (max-width: 600px) {

    .tms-navbar-inner {
        padding: 12px 15px;
    }

    .tms-logo img {
        width: 150px;
    }

    .enquire-btn {
        padding: 10px 13px;
        font-size: 10px;
    }

    .search-btn {
        display: none;
    }
}

/* =========================================
   TMS WELCOME / ABOUT SECTION
========================================= */

.tms-welcome-section {
    width: 100%;
    padding: 75px 30px;
    background: #ffffff;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.tms-welcome-container {
    max-width: 1450px;
    margin: auto;

    display: grid;
    grid-template-columns: 0.95fr 1fr 1.65fr;
    align-items: center;
    gap: 35px;
}

/* SCHOOL IMAGE */

.tms-welcome-image {
    width: 100%;
    height: 290px;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.tms-welcome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.tms-welcome-image:hover img {
    transform: scale(1.05);
}

/* WELCOME CONTENT */

.tms-welcome-content {
    padding: 5px 0;
}

.tms-section-tag {
    display: inline-block;
    color: #20A8D5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.tms-welcome-content h2 {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    color: #005579;
    margin: 0 0 18px;
}

.tms-welcome-content h2 span {
    display: block;
    color: #20A8D5;
}

.tms-welcome-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #647783;
    margin: 0 0 22px;
}

/* KNOW MORE BUTTON */

.tms-about-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    padding: 12px 18px;
    border: 1px solid #005579;
    border-radius: 5px;

    color: #005579;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;

    transition: all 0.3s ease;
}

.tms-about-btn span {
    font-size: 18px;
    line-height: 1;
}

.tms-about-btn:hover {
    background: #005579;
    color: #ffffff;
    transform: translateY(-2px);
}

/* STATISTICS PANEL */

.tms-statistics {
    background: #F4FAFC;
    border: 1px solid #DCEBF1;
    border-radius: 18px;
    padding: 30px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
}

/* STAT ITEM */

.tms-stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

/* ICON */

.tms-stat-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
}

.tms-stat-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #20A8D5;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* STAT TEXT */

.tms-stat-text h3 {
    color: #005579;
    font-size: 25px;
    font-weight: 700;
    margin: 0 0 5px;
}

.tms-stat-text p {
    color: #617783;
    font-size: 11px;
    line-height: 1.5;
    margin: 0;
}

/* =========================================
   RESPONSIVE
========================================= */

/* LAPTOP */

@media (max-width: 1200px) {

    .tms-welcome-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .tms-statistics {
        grid-column: 1 / -1;
    }

    .tms-welcome-image {
        height: 320px;
    }

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

/* TABLET */

@media (max-width: 768px) {

    .tms-welcome-section {
        padding: 55px 20px;
    }

    .tms-welcome-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tms-welcome-image {
        height: 350px;
    }

    .tms-welcome-content h2 {
        font-size: 34px;
    }

    .tms-statistics {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 15px;
        padding: 25px 20px;
    }
}

/* MOBILE */

@media (max-width: 480px) {

    .tms-welcome-section {
        padding: 40px 16px;
    }

    .tms-welcome-image {
        height: 230px;
        border-radius: 12px;
    }

    .tms-welcome-content h2 {
        font-size: 29px;
    }

    .tms-welcome-content p {
        font-size: 13px;
    }

    .tms-statistics {
        grid-template-columns: 1fr 1fr;
        gap: 22px 12px;
        padding: 22px 15px;
        border-radius: 14px;
    }

    .tms-stat-item {
        gap: 10px;
    }

    .tms-stat-icon {
        width: 35px;
        height: 35px;
    }

    .tms-stat-text h3 {
        font-size: 21px;
    }

    .tms-stat-text p {
        font-size: 10px;
    }
}


/* =========================================
   ACADEMIC PROGRAMS SECTION
========================================= */

.tms-programs-section {
    width: 100%;
    padding: 80px 30px;
    background: #F4FAFC;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.tms-programs-container {
    max-width: 1450px;
    margin: auto;
}

/* SECTION HEADING */

.tms-programs-heading {
    text-align: center;
    margin-bottom: 45px;
}

.tms-programs-tag {
    display: inline-block;
    color: #20A8D5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.tms-programs-heading h2 {
    font-size: 38px;
    color: #005579;
    font-weight: 700;
    margin: 0 0 14px;
}

.tms-programs-heading h2 span {
    color: #20A8D5;
}

.tms-programs-heading p {
    max-width: 650px;
    margin: auto;
    color: #6b7e89;
    font-size: 14px;
    line-height: 1.7;
}


/* PROGRAM GRID */

.tms-programs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}


/* CARD */

.tms-program-card {
    background: #ffffff;
    border: 1px solid #e2edf2;
    border-radius: 13px;
    overflow: hidden;
    transition: all 0.35s ease;
    position: relative;
}

.tms-program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 35px rgba(0, 85, 121, 0.12);
    border-color: #20A8D5;
}


/* IMAGE */

.tms-program-image {
    height: 272px;
    position: relative;
    overflow: hidden;
}

.tms-program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.tms-program-card:hover .tms-program-image img {
    transform: scale(1.07);
}


/* IMAGE OVERLAY */

.tms-program-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 85, 121, 0.12),
        transparent 45%
    );
}


/* ICON BADGE */

.tms-program-icon {
    width: 48px;
    height: 48px;
    background: #005579;
    color: #ffffff;

    border: 4px solid #F4FAFC;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    left: 18px;
    top: 18px;
    z-index: 2;

    box-shadow: 0 4px 12px rgba(0, 85, 121, 0.18);
}

.tms-program-icon span {
    font-size: 21px;
    font-weight: 600;
    line-height: 1;
    color: #F3D719;
}


/* CARD CONTENT */

.tms-program-content {
    padding: 22px 20px 24px;
}

.tms-program-content h3 {
    color: #005579;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
}

.tms-program-content h4 {
    color: #20A8D5;
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 10px;
}

.tms-program-content p {
    color: #6b7e89;
    font-size: 13px;
    line-height: 1.8;
    margin: 0 0 22px;
    min-height: 70px;
}


/* READ MORE */

.tms-program-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #005579;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;

    transition: all 0.3s ease;
}

.tms-program-link span {
    color: #20A8D5;
    font-size: 17px;
    transition: transform 0.3s ease;
}

.tms-program-link:hover {
    color: #20A8D5;
}

.tms-program-link:hover span {
    transform: translateX(5px);
}


/* =========================================
   RESPONSIVE
========================================= */

/* LAPTOP */

@media (max-width: 1300px) {

    .tms-programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* TABLET */

@media (max-width: 768px) {

    .tms-programs-section {
        padding: 60px 20px;
    }

    .tms-programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .tms-programs-heading h2 {
        font-size: 32px;
    }

    .tms-program-image {
        height: 200px;
    }
}


/* MOBILE */

@media (max-width: 520px) {

    .tms-programs-section {
        padding: 45px 16px;
    }

    .tms-programs-heading {
        margin-bottom: 30px;
    }

    .tms-programs-heading h2 {
        font-size: 27px;
        line-height: 1.35;
    }

    .tms-programs-heading p {
        font-size: 13px;
    }

    .tms-programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tms-program-image {
        height: 230px;
    }

    .tms-program-content {
        padding: 20px;
    }

    .tms-program-content h3 {
        font-size: 19px;
    }

    .tms-program-content p {
        min-height: auto;
    }
}

/* =====================================
   TMS CAMPUS HIGHLIGHTS
===================================== */

.tms-campus-highlights {
    width: 100%;
    padding: 30px 25px;
    background: #005579;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Subtle background accent */

.tms-campus-highlights::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(32, 168, 213, 0.08);
    top: -180px;
    left: -100px;
}

.tms-campus-highlights::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(243, 215, 25, 0.05);
    bottom: -180px;
    right: -80px;
}


/* MAIN CONTAINER */

.tms-campus-container {
    max-width: 1450px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
}


/* EACH ITEM */

.tms-campus-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    padding: 12px 20px;
    position: relative;
    z-index: 1;
}

/* DIVIDER */

.tms-campus-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.18);
}


/* ICON */

.tms-campus-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
}

.tms-campus-icon svg {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: #20A8D5;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: all 0.3s ease;
}

.tms-campus-item:hover .tms-campus-icon svg {
    stroke: #F3D719;
    transform: translateY(-4px);
}


/* TEXT */

.tms-campus-info h3 {
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 5px;
    line-height: 1;
}

.tms-campus-info p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
    white-space: nowrap;
}


/* =====================================
   RESPONSIVE
===================================== */


/* LAPTOP */

@media (max-width: 1200px) {

    .tms-campus-item {
        gap: 12px;
        padding: 12px;
    }

    .tms-campus-icon {
        width: 45px;
        height: 45px;
    }

    .tms-campus-info h3 {
        font-size: 25px;
    }

    .tms-campus-info p {
        font-size: 11px;
    }
}


/* TABLET */

@media (max-width: 900px) {

    .tms-campus-container {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 20px;
    }

    .tms-campus-item:nth-child(3)::after {
        display: none;
    }

    .tms-campus-item {
        padding: 15px;
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .tms-campus-highlights {
        padding: 30px 15px;
    }

    .tms-campus-container {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 15px;
    }

    .tms-campus-item {
        justify-content: flex-start;
        padding: 15px 10px;
        gap: 12px;
    }

    .tms-campus-item:nth-child(2)::after,
    .tms-campus-item:nth-child(4)::after {
        display: none;
    }

    .tms-campus-icon {
        width: 40px;
        height: 40px;
    }

    .tms-campus-info h3 {
        font-size: 23px;
    }

    .tms-campus-info p {
        font-size: 10px;
        white-space: normal;
    }
}


/* SMALL MOBILE */

@media (max-width: 380px) {

    .tms-campus-container {
        grid-template-columns: 1fr;
    }

    .tms-campus-item {
        justify-content: center;
    }

    .tms-campus-item::after {
        display: none;
    }
}

/* =========================================
   TMS FOOTER
========================================= */

.tms-footer {
    width: 100%;
    background: #005579;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
}

/* FOOTER CONTAINER */

.tms-footer-container {
    max-width: 1500px;
    margin: auto;
    padding: 65px 40px 50px;

    display: grid;
    grid-template-columns: 1.35fr 0.8fr 0.9fr 0.9fr 1.35fr 1.2fr;
    gap: 30px;
    box-sizing: border-box;
}


/* BRAND COLUMN */

.tms-footer-brand {
    padding-right: 20px;
}

.tms-footer-logo img {
    width: 220px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    margin-bottom: 22px;
}

.tms-footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 1.8;
    margin: 0 0 22px;
    max-width: 270px;
}


/* SOCIAL ICONS */

.tms-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tms-social-links a {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;

    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;

    transition: all 0.3s ease;
}

.tms-social-links a:hover {
    background: #F3D719;
    color: #005579;
    border-color: #F3D719;
    transform: translateY(-3px);
}


/* FOOTER COLUMNS */

.tms-footer-column {
    padding-left: 25px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.tms-footer-column h3 {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 22px;
    position: relative;
}


/* YELLOW HEADING ACCENT */

.tms-footer-column h3::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    background: #F3D719;
    margin-top: 10px;
}


/* LINKS */

.tms-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.tms-footer-column ul li a {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
    font-size: 12px;
    line-height: 1.7;
    transition: all 0.3s ease;
}

.tms-footer-column ul li a:hover {
    color: #F3D719;
    padding-left: 4px;
}


/* CONTACT COLUMN */

.tms-footer-contact ul li {
    margin-bottom: 15px;
}

.tms-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tms-contact-icon {
    width: 18px;
    flex-shrink: 0;
    color: #20A8D5;
    font-size: 16px;
}

.tms-contact-item > span:last-child,
.tms-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    line-height: 1.8;
    text-decoration: none;
    word-break: break-word;
}

.tms-contact-item a:hover {
    color: #F3D719;
}


/* NEWSLETTER */

.tms-footer-newsletter p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    line-height: 1.8;
    margin: 0 0 20px;
}


/* NEWSLETTER FORM */

.tms-newsletter-form {
    display: flex;
    width: 100%;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
}

.tms-newsletter-form input {
    flex: 1;
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    padding: 0 14px;
    font-size: 12px;
    color: #005579;
    background: #ffffff;
}

.tms-newsletter-form input::placeholder {
    color: #8b9ba5;
}

.tms-newsletter-form button {
    width: 48px;
    flex-shrink: 0;
    border: none;
    background: #20A8D5;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.tms-newsletter-form button:hover {
    background: #F3D719;
    color: #005579;
}


/* FOOTER BOTTOM */

.tms-footer-bottom {
    background: #004665;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tms-footer-bottom-inner {
    max-width: 1500px;
    margin: auto;
    padding: 20px 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.tms-footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin: 0;
}

.tms-footer-legal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tms-footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-decoration: none;
    transition: 0.3s;
}

.tms-footer-legal a:hover {
    color: #F3D719;
}

.tms-footer-legal span {
    width: 1px;
    height: 13px;
    background: rgba(255, 255, 255, 0.3);
}


/* =========================================
   RESPONSIVE FOOTER
========================================= */

/* LARGE LAPTOP */

@media (max-width: 1300px) {

    .tms-footer-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 25px;
    }

    .tms-footer-brand {
        padding-right: 20px;
    }
}


/* TABLET */

@media (max-width: 768px) {

    .tms-footer-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 50px 25px 40px;
        gap: 35px 20px;
    }

    .tms-footer-column {
        padding-left: 18px;
    }

    .tms-footer-brand {
        padding-right: 10px;
    }

    .tms-footer-bottom-inner {
        padding: 20px 25px;
    }
}


/* MOBILE */

@media (max-width: 520px) {

    .tms-footer-container {
        grid-template-columns: 1fr;
        padding: 40px 20px 30px;
        gap: 30px;
    }

    .tms-footer-brand {
        padding: 0;
    }

    .tms-footer-logo img {
        width: 200px;
    }

    .tms-footer-column {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding: 25px 0 0;
    }

    .tms-footer-column h3 {
        margin-bottom: 20px;
    }

    .tms-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 12px;
    }

    .tms-footer-bottom p {
        font-size: 11px;
        line-height: 1.7;
    }

    .tms-footer-legal {
        gap: 10px;
    }

    .tms-footer-legal a {
        font-size: 11px;
    }
}

/* =========================================
   BEYOND CLASSROOMS / ACTIVITIES
========================================= */

.tms-activities-section {
    width: 100%;
    padding: 85px 30px;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.tms-activities-container {
    max-width: 1450px;
    margin: auto;
}


/* HEADING */

.tms-activities-heading {
    text-align: center;
    margin-bottom: 45px;
}

.tms-activities-label {
    display: inline-block;
    color: #20A8D5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.tms-activities-heading h2 {
    color: #005579;
    font-size: 38px;
    font-weight: 700;
    margin: 0 0 15px;
}

.tms-activities-heading h2 span {
    color: #20A8D5;
}

.tms-activities-heading p {
    max-width: 650px;
    margin: auto;
    font-size: 14px;
    color: #6b7e89;
    line-height: 1.8;
}


/* GRID */

.tms-activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/* CARD */

.tms-activity-card {
    background: #ffffff;
    border: 1px solid #e5edf2;
    border-radius: 13px;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 5px 20px rgba(0, 85, 121, 0.04);
}

.tms-activity-card:hover {
    transform: translateY(-7px);
    border-color: #20A8D5;
    box-shadow: 0 15px 35px rgba(0, 85, 121, 0.12);
}


/* IMAGE */

.tms-activity-image {
    width: 100%;
    height: 230px;
    position: relative;
    overflow: hidden;
}

.tms-activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.tms-activity-card:hover .tms-activity-image img {
    transform: scale(1.07);
}


/* IMAGE OVERLAY */

.tms-activity-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 85, 121, 0.22),
        transparent 50%
    );
    pointer-events: none;
}


/* ICON BADGE */

.tms-activity-icon {
    position: absolute;
    left: 20px;
    bottom: -2px;

    width: 50px;
    height: 50px;

    background: #005579;
    border: 4px solid #ffffff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 2;
    transition: all 0.3s ease;
}

.tms-activity-icon svg {
    width: 23px;
    height: 23px;

    fill: none;
    stroke: #20A8D5;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tms-activity-card:hover .tms-activity-icon {
    background: #20A8D5;
    transform: rotate(-8deg);
}

.tms-activity-card:hover .tms-activity-icon svg {
    stroke: #ffffff;
}


/* CONTENT */

.tms-activity-content {
    padding: 28px 22px 23px;
}

.tms-activity-content h3 {
    color: #005579;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
}

.tms-activity-content p {
    color: #6b7e89;
    font-size: 13px;
    line-height: 1.8;
    margin: 0 0 18px;
}


/* LINK */

.tms-activity-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #005579;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;

    transition: all 0.3s ease;
}

.tms-activity-link span {
    color: #20A8D5;
    font-size: 17px;
    transition: transform 0.3s ease;
}

.tms-activity-link:hover {
    color: #20A8D5;
}

.tms-activity-link:hover span {
    transform: translateX(5px);
}


/* =========================================
   RESPONSIVE
========================================= */


/* LARGE LAPTOP */

@media (max-width: 1200px) {

    .tms-activities-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .tms-activity-image {
        height: 200px;
    }
}


/* TABLET */

@media (max-width: 768px) {

    .tms-activities-section {
        padding: 65px 20px;
    }

    .tms-activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .tms-activities-heading h2 {
        font-size: 32px;
    }

    .tms-activity-image {
        height: 190px;
    }
}


/* MOBILE */

@media (max-width: 520px) {

    .tms-activities-section {
        padding: 50px 16px;
    }

    .tms-activities-heading {
        margin-bottom: 30px;
    }

    .tms-activities-heading h2 {
        font-size: 27px;
        line-height: 1.4;
    }

    .tms-activities-heading p {
        font-size: 13px;
    }

    .tms-activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 13px;
    }

    .tms-activity-image {
        height: 145px;
    }

    .tms-activity-icon {
        width: 40px;
        height: 40px;
        left: 12px;
    }

    .tms-activity-icon svg {
        width: 19px;
        height: 19px;
    }

    .tms-activity-content {
        padding: 22px 13px 17px;
    }

    .tms-activity-content h3 {
        font-size: 14px;
        line-height: 1.5;
    }

    .tms-activity-content p {
        font-size: 11px;
        line-height: 1.7;
    }

    .tms-activity-link {
        font-size: 10px;
    }
}


/* VERY SMALL MOBILE */

@media (max-width: 360px) {

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

    .tms-activity-image {
        height: 210px;
    }

    .tms-activity-content {
        padding: 25px 18px 20px;
    }

    .tms-activity-content h3 {
        font-size: 17px;
    }

    .tms-activity-content p {
        font-size: 12px;
    }
}

/* =========================================
   TMS HOME INFO SECTION
========================================= */

.tms-home-info-section {
    width: 100%;
    padding: 75px 30px;
    background: #F4FAFC;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.tms-home-info-container {
    max-width: 1450px;
    margin: auto;

    display: grid;
    grid-template-columns: 1.05fr 1.15fr 0.95fr;
    gap: 25px;
    align-items: stretch;
}


/* =========================================
   COMMON BOXES
========================================= */

.tms-testimonial-box,
.tms-announcement-box {
    background: #ffffff;
    border: 1px solid #E1EDF3;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 6px 24px rgba(0, 85, 121, 0.04);
    box-sizing: border-box;
}

.tms-box-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    color: #005579;
    margin-bottom: 25px;
}


/* =========================================
   TESTIMONIAL
========================================= */

.tms-testimonial-quote {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tms-quote-mark {
    color: #20A8D5;
    font-family: Georgia, serif;
    font-size: 55px;
    font-weight: bold;
    line-height: 0.9;
    flex-shrink: 0;
}

.tms-testimonial-text {
    color: #647C8A;
    font-size: 13px;
    line-height: 1.9;
    margin: 0;
}


/* REVIEW USER */

.tms-testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.tms-testimonial-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #EAF7FC;
}

.tms-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tms-testimonial-details h4 {
    color: #005579;
    font-size: 14px;
    margin: 0 0 5px;
}

.tms-testimonial-details p {
    color: #7B8D98;
    font-size: 11px;
    margin: 0 0 7px;
}

.tms-testimonial-stars {
    color: #F3D719;
    letter-spacing: 2px;
    font-size: 15px;
}


/* DOTS */

.tms-testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.tms-testimonial-dots span {
    width: 7px;
    height: 7px;
    background: #D7E5EC;
    border-radius: 50%;
    transition: 0.3s;
}

.tms-testimonial-dots span.active {
    width: 20px;
    border-radius: 10px;
    background: #20A8D5;
}


/* =========================================
   ANNOUNCEMENTS
========================================= */

.tms-announcement-box {
    padding: 30px 28px;
}

.tms-announcement-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.tms-announcement-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}


/* DATE BOX */

.tms-announcement-date {
    width: 55px;
    min-width: 55px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #DDEBF2;
    background: #F4FAFC;
    text-align: center;
    flex-shrink: 0;
}

.tms-announcement-date span {
    display: block;
    background: #005579;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 0;
    letter-spacing: 0.8px;
}

.tms-announcement-date strong {
    display: block;
    color: #005579;
    font-size: 22px;
    padding: 5px 0 7px;
}


/* ANNOUNCEMENT CONTENT */

.tms-announcement-content h4 {
    color: #005579;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 5px;
}

.tms-announcement-content p {
    color: #7B8D98;
    font-size: 11px;
    line-height: 1.6;
    margin: 0 0 6px;
}

.tms-announcement-content a {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: #20A8D5;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.tms-announcement-content a span {
    transition: transform 0.3s;
}

.tms-announcement-content a:hover {
    color: #005579;
}

.tms-announcement-content a:hover span {
    transform: translateX(4px);
}


/* =========================================
   CAMPUS TOUR CTA
========================================= */

.tms-campus-tour-box {
    background: #005579;
    border-radius: 15px;
    padding: 38px 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 100%;
    box-sizing: border-box;
}


/* DECORATIVE PATTERN */

.tms-campus-tour-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% 15%,
        rgba(32, 168, 213, 0.15),
        transparent 40%),
        radial-gradient(circle at 10% 100%,
        rgba(243, 215, 25, 0.08),
        transparent 35%);
    pointer-events: none;
}


/* CONTENT */

.tms-campus-tour-content {
    position: relative;
    z-index: 2;
    max-width: 280px;
}

.tms-tour-label {
    display: block;
    color: #F3D719;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.tms-campus-tour-content h2 {
    color: #ffffff;
    font-size: 27px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 15px;
}

.tms-campus-tour-content p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    line-height: 1.9;
    margin: 0 0 25px;
}


/* BUTTON */

.tms-tour-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    background: #ffffff;
    color: #005579;
    padding: 14px 18px;
    border-radius: 6px;

    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;

    transition: all 0.3s ease;
}

.tms-tour-button span {
    color: #20A8D5;
    font-size: 17px;
    transition: transform 0.3s;
}

.tms-tour-button:hover {
    background: #F3D719;
    color: #005579;
    transform: translateY(-3px);
}

.tms-tour-button:hover span {
    transform: translateX(4px);
}


/* DECORATIVE SCHOOL SVG */

.tms-tour-decoration {
    position: absolute;
    width: 180px;
    right: -15px;
    bottom: -12px;
    opacity: 0.12;
    pointer-events: none;
}

.tms-tour-decoration svg {
    width: 100%;
    height: auto;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================
   RESPONSIVE
========================================= */

/* LAPTOP */

@media (max-width: 1200px) {

    .tms-home-info-container {
        grid-template-columns: 1fr 1fr;
    }

    .tms-campus-tour-box {
        grid-column: 1 / -1;
        min-height: 260px;
    }

    .tms-campus-tour-content {
        max-width: 400px;
    }

    .tms-tour-decoration {
        width: 230px;
        right: 35px;
    }
}


/* TABLET */

@media (max-width: 768px) {

    .tms-home-info-section {
        padding: 60px 20px;
    }

    .tms-home-info-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tms-testimonial-box,
    .tms-announcement-box {
        padding: 25px;
    }

    .tms-campus-tour-box {
        min-height: 300px;
        padding: 35px;
    }

    .tms-campus-tour-content h2 {
        font-size: 30px;
    }

    .tms-tour-decoration {
        width: 220px;
        right: 20px;
    }
}


/* MOBILE */

@media (max-width: 520px) {

    .tms-home-info-section {
        padding: 45px 15px;
    }

    .tms-testimonial-box,
    .tms-announcement-box {
        padding: 22px 18px;
        border-radius: 12px;
    }

    .tms-box-label {
        font-size: 11px;
        margin-bottom: 20px;
    }

    .tms-testimonial-text {
        font-size: 12px;
    }

    .tms-testimonial-avatar {
        width: 55px;
        height: 55px;
    }

    .tms-announcement-list {
        gap: 20px;
    }

    .tms-announcement-item {
        gap: 12px;
    }

    .tms-announcement-content h4 {
        font-size: 12px;
    }

    .tms-announcement-content p {
        font-size: 10px;
    }

    .tms-campus-tour-box {
        min-height: 270px;
        padding: 28px 22px;
        border-radius: 12px;
    }

    .tms-campus-tour-content h2 {
        font-size: 26px;
    }

    .tms-campus-tour-content p {
        max-width: 230px;
        font-size: 11px;
    }

    .tms-tour-decoration {
        width: 165px;
        right: -10px;
        bottom: -5px;
    }
}

.tms-testimonial-slider {
    position: relative;
    overflow: hidden;
}

.tms-testimonial-slide {
    display: none;
    animation: tmsFadeSlide 0.5s ease;
}

.tms-testimonial-slide.active {
    display: block;
}

@keyframes tmsFadeSlide {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Clickable dots */
.tms-testimonial-dots span {
    cursor: pointer;
}

.tms-navigation .tms-nav-list > li {
    position: relative;
}

.tms-navigation .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #005579;
    font: inherit;
    cursor: pointer;
}

.tms-navigation .tms-submenu {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    min-width: 220px;
    flex-direction: column;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 85, 121, .14);
    z-index: 10000;
}

.tms-navigation .has-dropdown.dropdown-open > .tms-submenu {
    display: flex;
}

.tms-navigation .tms-submenu li a {
    display: block;
    padding: 12px 18px;
    color: #005579;
}

@media (min-width: 1101px) {
    .tms-navigation .has-dropdown:hover > .tms-submenu,
    .tms-navigation .has-dropdown:focus-within > .tms-submenu {
        display: flex;
    }
}



/* .tms-navigation .tms-submenu {
    display: none !important;
    flex-direction: column !important;
}

.tms-navigation .has-dropdown.dropdown-open > .tms-submenu {
    display: flex !important;
}

@media (min-width: 1101px) {
    .tms-navigation .has-dropdown:hover > .tms-submenu {
        display: flex !important;
    }
} */

/* NAV DROPDOWN ALIGNMENT + VISIBLE ARROW FIX */
.tms-navigation .tms-nav-list > li.has-dropdown {
    position: relative;
}
.tms-navigation .dropdown-toggle {
    color: #005579;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .2px;
    white-space: nowrap;
    line-height: inherit;
}
.tms-navigation .dropdown-arrow {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 2px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s ease;
    flex: 0 0 7px;
}
.tms-navigation .has-dropdown.dropdown-open > .dropdown-toggle .dropdown-arrow {
    transform: rotate(225deg) translateY(-2px);
}
.tms-navigation .tms-nav-list > li.has-dropdown > .tms-submenu {
    top: 100%;
    left: 0;
    margin-top: 0;
}
.tms-navigation .tms-submenu li a {
    white-space: nowrap;
}
@media (max-width: 1100px) {
    .tms-navigation.mobile-active .tms-nav-list > li.has-dropdown > .dropdown-toggle {
        display: flex;
        width: 100%;
        justify-content: space-between;
        padding: 15px 5px;
        box-sizing: border-box;
        border-bottom: 1px solid #e6f1f5;
    }
    .tms-navigation.mobile-active .tms-nav-list > li.has-dropdown > .tms-submenu {
        position: static;
        top: auto;
        left: auto;
        min-width: 0;
        width: 100%;
        box-shadow: none;
        background: #f7fbfd;
        padding: 0 0 5px 12px;
        margin: 0;
    }
    .tms-navigation.mobile-active .tms-submenu li a {
        padding: 11px 5px;
        border-bottom: 1px solid #eaf2f5;
        font-size: 13px;
    }
}

.tms-submenu{
    gap: 0px !important;
}
