@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
    font-size: 14px;
    font-family: "Roboto", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-sactive_pageerif;
    font-weight: 900;
}

blockquote {
    font-family: "EB Garamond", serif;
    font-style: italic;
    font-size: 18px;
    position: relative;
    padding-left: 27px;
}

blockquote::before {
    position: absolute;
    content: '\f10d';
    left: 0;
    top: -6px;
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    font-size: 17px;
}

#logo_img {
    width: 110px;
    margin-right: 6px;
}

#header_school_name {
    display: inline-block;
    vertical-align: middle;
}

a {
    text-decoration: none;
    color: black;
}

#top_header_section div.col-12 {
    align-self: center;
}

a:hover {
    text-decoration: underline;
    color: black;
}

#current_page_content {
    min-height: 500px;
}

#current_page_content a {
    color: #2980b9;
}

#current_page_content a:hover {
    color: #1c618e;
}

#current_page_content img {
    max-width: 100% !important;
    height: auto !important;
}

#current_page_content tbody, 
#current_page_content td, 
#current_page_content tfoot, 
#current_page_content th, 
#current_page_content thead, 
#current_page_content tr {
    border-style: solid;
    border-width: inherit;
}

#header_school_name > * {
    margin: 0;
}

#quick_links_content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

#quick_links_content ul li {
    display: inline-block;
    padding: 0 7px;
    border-right: 1px solid #ccc;
}

#quick_links_content ul li:last-child {
    border: 0 !important;
}


#logo_container {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    text-decoration: none;
}

#school_tagLine > * {
    margin: 0;
}

#top_header_section {
    background-color: #f2f2f2;
    color: #a3a3a3;
}


#nav_section {
    background-color: white;
    color: black;
    box-shadow: 0px 4px 5px -3px #ccc;
}

#respMenu {
    background: white;
    color: black;
    float: right;
}

#nav_section #respMenu > li > a i {
    color: black;
}

#nav_section #respMenu > li > a {
    padding: 15px;
    color: black;
    font-weight: 500;
    font-size: 14px;
    position: relative;
}

#nav_section #respMenu > li.has_child > a::after {
    position: absolute;
    content: '\f0dd';
    top: 44%;
    right: 10px;
    font-size: 12px;
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    transform: translateY(-50%);
}

#nav_section #respMenu > li.has_child a {
    position: relative;
    padding-right: 24px;
}

#nav_section #respMenu > li > a:hover,
#nav_section #respMenu > li.menu-active > a {
    background: white;
    color: black;
}

#nav_section #respMenu > li {
    position: relative;
}

#nav_section #respMenu > li:not(.home)::after {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0px;
    content: '';
    background-color: #FF5737;
    transition: width 0.3s linear;
}

#nav_section #respMenu > li:not(.home):hover::after,
#nav_section #respMenu > li.active_page::after {
    width: 100%;
}

#nav_section #respMenu > li:nth-last-child(2) ul.sub-menu,
#nav_section #respMenu > li:nth-last-child(3) ul.sub-menu {
    right: 0;
}

#nav_section #respMenu > li ul.sub-menu {
    background: white;
    color: black;
    box-shadow: 0px 2px 9px 2px #ccc;
    border: 1px solid #eaeaea;
    z-index: 2; /* overriding the z-index 1 of slidershow_main_container*/
    max-height: 350px;
    overflow-y: overlay;
}

#nav_section #respMenu > li ul.sub-menu > li {
    min-width: 250px;
}

#nav_section #respMenu > li ul.sub-menu li a {
    color: black;
}
    
#nav_section #respMenu > li ul.sub-menu li a:hover,
#nav_section #respMenu > li.active_page ul.sub-menu li.active_page a {
    background: #e8e8e8;
    color: black;
}


/* ---------- TOP HEADER ---------- */
#top_header_section {
    background-color: #fff9d9; /* light yellow */
    color: #a3a3a3;
    padding: 6px 0;
}

.top-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-links,
.right-links {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* ---------- NAV SECTION ---------- */
#nav_section {
    background-color: #fff9d9; /* same light yellow */
    color: black;
    box-shadow: 0px 4px 5px -3px #ccc;
    padding: 8px 0;
}

/* Desktop alignment fix */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo area */
#logo_container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

#logo_img {
    height: 65px;        /* consistent height */
    width: auto;
    object-fit: contain;
}

#header_school_name {
    font-size: 24px;
    font-weight: 700;
    color: black;
}

/* Menu area */
.menu-area {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

/* Prevent menu items from wrapping */
#respMenu {
    display: flex;
    flex-wrap: nowrap; /* KEY FIX */
    gap: 18px;         /* spacing between items */
    background: transparent;
}

/* General menu styling */
#respMenu > li > a {
    padding: 12px 10px;
    color: black;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap; /* another key fix */
}

/* Hover underline */
#respMenu > li:not(.home)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: #FF5737;
    transition: width 0.3s linear;
}

#respMenu > li:not(.home):hover::after {
    width: 100%;
}

/* Fix dropdown */
#respMenu > li ul.sub-menu {
    background: white;
    border: 1px solid #eaeaea;
    box-shadow: 0px 2px 9px 2px #ccc;
    max-height: 350px;
    overflow-y: auto;
    z-index: 9;
}

#respMenu > li ul.sub-menu li a {
    color: black;
}

/* Menu toggle initially hidden (desktop) */
#nav_menu_toggle {
    display: none;
}


#slideshow_wrapper {
}

#slidershow_main_container {
    width: 100%;
}

#thumb_swiper_wrapper {
    max-height: 200px;
    width: 100%;
    margin-top: 10px;
}

#thumb_sliders_container div.swiper-slide.swiper-slide-thumb-active img {
    opacity: 1;
}

#thumb_sliders_container div.swiper-slide {
    background: black;
}

#thumb_sliders_container div.swiper-slide img {
    opacity: 0.4;
}

#thumb_sliders_container {
    height: 100%;
}

#thumb_sliders_container div.swiper-slide img {
    object-fit: cover;
}

#slidershow_main_container div.swiper-button-next::after, 
#slidershow_main_container div.swiper-button-prev::after {
    color: white;
    background: #00000091;
    font-size: 16px;
    padding: 19px 10px;
}

#slidershow_main_container .swiper-pagination-bullet-active {
    background: #f7e8d4;
}
/*
#slidershow_main_container div.swiper-slide img {
    width: unset !important;
    max-height: 500px;
    max-width: 95%;
}

#slidershow_main_container div.swiper-slide {
    text-align: center;
}
*/
#welcome_section {
    padding: 40PX 0;
}

#welcome_content {
    padding: 10px;
}

#welcome_img_wrapper,
#our_objective_img_wrapper {
    position: relative;
    /*overflow: hidden;*/
}

#welcome_img_wrapper::after,
#our_objective_img_wrapper::after {
    bottom: -7px;
    right: 0;
}

#welcome_img_wrapper::before,
#our_objective_img_wrapper::before {
    top: -7px;
    left: 0;
}

#welcome_img_wrapper::after,
#welcome_img_wrapper::before,
#our_objective_img_wrapper::after,
#our_objective_img_wrapper::before {
    position: absolute;
    height: 6px;
    width: 0px;
    content: '';
    background: linear-gradient(to right, #fb2330, #9fc0d4, #bdcb5b);
    transition: width 0.4s linear;
}

#welcome_img_wrapper div.img_container,
#our_objective_img_wrapper div.img_container {
    overflow: hidden;
}

#welcome_img_wrapper div.img_container img,
#our_objective_img_wrapper div.img_container img {
    transition: 0.4s transform ease-in;
}

#welcome_img_wrapper:hover img,
#our_objective_img_wrapper:hover img {
    transform: scale(1.2);
}

#welcome_img_wrapper:hover::after,
#welcome_img_wrapper:hover::before,
#our_objective_img_wrapper:hover::after,
#our_objective_img_wrapper:hover::before {
    width: 100%;
}

#promotion_setion {
    padding: 60px 0;
    background: url('/t/401/images/golden_bg.jpg');
    background-repeat: repeat;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#promotion_setion div.flex_wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
}

#promotion_setion div.flex_wrapper div.flex_item {
    padding: 10px 25px;
}

#promotion_section2 {
    background-repeat: no-repeat;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#promotion_section2 div.container_wrapper {
    padding: 60px 0;
    background: rgba(0, 100, 112, 0.8);
    color: white;
}

#marquee_section {
    background-color: #f2f2f2;
    color: black;
    padding: 8px;
    border-bottom: 1px solid #eeeeee;
}

#marquee_parent marquee > * {
    margin: 0;
}

#legacy_section {
    background-repeat: no-repeat;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#legacy_section div.legacy_container {
    padding: 80px 0;
    background: rgba(0, 100, 112, 0.9);
    color: white;
}

#about_us_section {
    padding: 60px 0 40px 0;
}

#about_us_section div.note_block p {
    margin-bottom: 8px;
}

#about_us_section div.note_block {
    padding: 42px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    min-height: 250px;
    height: 100%;
}

#about_us_section div.note_block_1 {
    background: rgb(0, 100, 112);
    color: white;
}

#about_us_section div.note_block_2 {
    background: rgb(255, 160, 38);
    color: white;
}

#why_us_content ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: grid;
    grid-template-columns: auto auto auto auto;
    width: 100%;
}


#why_us_content ul li {
    text-align: center;
    padding: 20px 20px 20px 30px;
    margin-bottom: 15px;
    margin: 15px 10px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    transition: all 0.2s linear;
    position: relative;
}

#why_us_content ul li:nth-child(odd) {
    background: #006470;
    color: white;
}

#why_us_content ul li:nth-child(2n) {
    background: #ffa026;
    color: white;
}

#about_us_section div.out_objective_wrapper {
    padding: 20px;
}

#about_us_section div.out_objective_wrapper div.flex_wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    width: 100%;
}

#about_us_section div.out_objective_wrapper div.flex_item {
    padding: 10px 25px;
}

#recent_event_section {
    background-image: url('/t/401/images/bg.png');
    background-repeat: no-repeat;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#recent_event_section div.container_wrapper {
    padding: 70px 0;
    background: rgba(255, 160, 38, 0.5);
    color: white;
}

#recent_event_section div.card_wrapper {
    margin: 15px 15px 25px 15px;
    border: 1px solid #ffcf92;
    background: white;
    color: black;
    overflow: hidden;
    border-radius: 10px;
}

#recent_event_section div.card_wrapper:hover div.card_img img {
    transform: scale(1.1);
}

#recent_event_section div.card_wrapper div.card_img {
    overflow: hidden;
}

#recent_event_section div.card_wrapper div.card_img img {
    transition: transform 0.3s linear;
}

#recent_event_section div.card_wrapper div.card_content {
    padding: 15px 12px;
}

#photo_gallery_section {
    padding: 40px 0;
}

#photo_gallery_images {
    margin-top: 20px;
    display: grid;
    width: 100%;
    grid-template-columns: auto auto auto;
}


#photo_gallery_images > div.grid_item {
    width: 100%;
    padding: 15px;
}

#photo_gallery_images > div.grid_item img {
    width: 100%;
}

#photo_gallery_images > div.grid_item div.img_container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

#photo_gallery_images > div.grid_item:nth-child(2n+1) div.img_container div.img_caption {
    transform: translateY(100%);
}

#photo_gallery_images > div.grid_item div.img_container div.img_caption a {
    color: white;
}

#photo_gallery_images > div.grid_item div.img_container div.img_caption {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-100%);
    color: white;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

#photo_gallery_images > div.grid_item div.img_container:hover div.img_caption {
    opacity: 1;
    transform: translateY(0) !important;
}

#footer_section {
    padding: 40px 0 20px 0;
    background: rgb(0, 100, 112);
    color: white;
}

#copyright_content {
    margin-top: 25px;
}

#quick_links_content2 {
    margin-top: 12px;
}

#footer_section a {
    color: white;
}

#footer_section div.contact_info_wrapper > div {
    margin-bottom: 9px;
}

#footer_section div.contact_info_wrapper > div i {
    font-size: 16px;
    margin-right: 7px;
}

#copyright_content * {
    margin: 0;
}



#footer_social_media_icons {
    margin-top: 20px;
}

#footer_social_media_icons a:hover i {
    transform: rotate(360deg);
}

#footer_social_media_icons a:hover {
    background: white;
    color: #00594c;
}

#footer_social_media_icons a i {
    transition: transform 0.3s linear;
}

#footer_social_media_icons a {
    text-align: center;
    font-size: 22px;
    width: 50px;
    height: 50px;
    border: 1px solid #ffffff45;
    display: inline-block;
    line-height: 50px;
    border-radius: 50%;
    margin-right: 5px;
}
    
#nav_menu_toggle {
    background: rgb(0, 100, 112);
    color: white;
}

#nav_menu_heading {
    line-height: 50px;
}

#menu-btn {
    padding: 6px;
}

#promotion_setion div.flex_wrapper div.flex_item.img_container {
    text-align: center;
}

@media (max-width: 992px) {
    #logo_container {
        display: inline-block;
    }
    
    #quick_links_content2 ul {
        list-style-type: none;
    }
    
    #promotion_setion div.flex_wrapper {
        flex-direction: column;
    }

    #about_us_section div.out_objective_wrapper div.flex_wrapper {
        flex-direction: column;
    }

    #photo_gallery_images,
    #why_us_content ul {
        grid-template-columns: auto auto;
    }
}

@media (max-width: 768px) {
    #school_tagLine {
        text-align: center;
    }
    
    #respMenu {
        overflow-y: overlay;
    }
    
    #quick_links_content ul {
        text-align: center;
    }
    
    #welcome_img_wrapper {
        max-width: 500px;
    }
    
    #promotion_setion div.flex_wrapper div.flex_item.img_container img {
        max-width: 500px;
    }
    
    #about_us_img {
        max-width: 200px;
    }
    
    #footer_school_logo {
        max-width: 300px;
    }
    
    #logo_container {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    #photo_gallery_images,
    #why_us_content ul {
        grid-template-columns: auto;
    }
}

@media (min-width: 769px) {
    #about_us_section div.out_objective_wrapper div.flex_item.img_wrapper {
        max-width: 50%;
        width: 100%;
    }
}

@media (min-width: 993px) {
    .container-lg {
        max-width: 1300px;
    }
}



/* ===========================
   CUSTOM FIXES FOR CLIENT ASK
   =========================== */

/* Center logo + name inside its column */
#logo_container {
    margin: 0 auto;
}

/* Helpline styling in top header */
#top_header_section .top-helpline {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

#top_header_section .top-helpline a {
    color: #000;
    text-decoration: none;
}

#top_header_section .top-helpline a:hover {
    text-decoration: underline;
}

/* Founder photo: neat crop, content left, image right already in HTML */
#welcome_img_wrapper .img_container {
    max-height: 340px;
}

#welcome_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Apply for Admission section styling */
#apply_admission_section {
    padding: 40px 0 30px;
    background-color: #fff9d9;
    text-align: center;
}

#apply_admission_section h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

#apply_admission_section p {
    max-width: 600px;
    margin: 0 auto 20px;
}

#apply_admission_section .apply-btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 30px;
    background-color: #FF5737;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

#apply_admission_section .apply-btn:hover {
    background-color: #e0472b;
    color: #fff;
    text-decoration: none;
}

/* Photo gallery – add rotation effect on hover for photos */
#photo_gallery_images > div.grid_item div.img_container img {
    transition: transform 0.4s ease-in-out;
}

#photo_gallery_images > div.grid_item div.img_container:hover img {
    transform: scale(1.05) rotate(1.5deg);
}