:root {
    --primary: #2c3b67; 
    --accent: #2c3b67; 
    --accent-dark: #202b4a; 
    --accent-gradient: linear-gradient(to right, #2c3b67, #2c3b67); 

    --white: #fff;
    --light-grey: #F8F8F8; 
    --text-dark: #212529;
    --text-light: #555555;
    --text-body: #495057; 
    --border-color: #e0e0e0; 

    --shadow-light: rgba(0, 0, 0, 0.05); 
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.2);
    --transition-speed: 0.4s; 
    --border-radius-default: 12px; 

    --navbar-height-desktop: 90px;
    --navbar-height-mobile: 70px;
    --navbar-bg: rgba(255, 255, 255, 0.96);
    --menu-link-color: var(--text-dark);
    --menu-link-hover-color: var(--accent);
    --submenu-bg: var(--accent);
    --submenu-link-color: var(--white);
    --submenu-link-hover-color: var(--white);

    
    --bg-section: #eef1f6; 
    --card-shadow-initial: rgba(0, 0, 0, 0.05);
    --card-shadow-hover: rgba(0, 0, 0, 0.15);
    --glass-bg-initial: rgba(255, 255, 255, 0.7); 
    --glass-border-initial: rgba(255, 255, 255, 0.4); 
    --backdrop-blur-initial: 5px; 
    --backdrop-blur-hover: 0px; 
}

/*===================
===== Common =====
=====================*/
html,
body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-light);
    background-color: var(--white);
    scroll-behavior: smooth;
    overflow-x: hidden;
    position: relative;
}
.no-img{
    width: 100%;
    height:  50%;
}
p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif; 
    color: var(--text-dark);
    font-weight: 700;
}

/* Section */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--white);
}

.section:nth-of-type(even) {
    background-color: var(--white); 
}
/* Setion Title Style 1 */
.section .main-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 1.5px;
    color: var(--bs-primary);
}

.section .title,
.section .title-style-2{
    text-align: center;
    font-size: 3rem; 
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.section .lead {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Setion Title Style 2 */
.section .title-style-2{
    position: relative;
    display: inline-block;
}


.section .title-style-2::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--accent);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.section .title-header {
    margin-bottom: 5rem;
}

.btn-primary {
    background-image: var(--accent-gradient);
    padding: 15px 40px;
    border-radius: 10px; 
    border: none;
    color: var(--white);
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    text-transform: uppercase;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15); 
}

.btn-primary:hover {
    color: var(--white);
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

/* Page Header */
.page-header{
    background:linear-gradient(90deg,#2c3b6759 0%, #2c3b6756), url('../img/service-bg.avif');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 50px 0;
    display: flex;
    justify-content: center;
    height: 300px;
    text-align: center;
}
.page-header-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.page-header .page-title{
    color: var(--white);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-family: var(--font-primary, 'Montserrat', sans-serif);
}
.page-header .page-subtitle{
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.page-header .page-actions-btn{
    margin-top: 30px;
    transform: scale(0.9);
}

/*===================
===== Navbar =====
=====================*/
.maintenance-msg{
    padding: 3px 0;
    top: 0;
    background-color: var(--white);
}

.main-header {
    background-color: var(--navbar-bg);
    height: var(--navbar-height-desktop);
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px var(--shadow-light);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 12;
}

.main-header .logo img {
    width: 110px; 
    transition: all 0.3s ease;
}

/* Desktop Navigation */
.desktop-nav .menu-item {
    position: relative;
    margin: 0 3px;
}

.desktop-nav .menu-link {
    color: var(--menu-link-color);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 6px 8px; 
    display: block;
    transition: color 0.3s ease;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.desktop-nav .menu-item:hover .menu-link,
.desktop-nav .menu-item .menu-link.active {
    background-color: var(--menu-link-hover-color);
    color: var(--white);
    cursor: pointer;
}

.desktop-nav .menu-item.has-submenu .dropdown-arrow {
    transition: transform 0.3s ease;
}

.desktop-nav .menu-item.has-submenu:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Submenu Styling */
.desktop-nav .submenu {
    position: absolute;
    top: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(15px); 
    background-color: var(--submenu-bg);
    box-shadow: 0 8px 30px var(--shadow-medium);
    border-radius: var(--border-radius-default);
    min-width: 250px;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
    z-index: 1050; 
    display: block; 
    border: 1px solid var(--accent);
    white-space: wrap;
}
.desktop-nav .submenu a{
    font-size: 0.9rem;
}

/* hover */
.desktop-nav .menu-item.has-submenu:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Wide menu link */
.desktop-nav .wide-menu{
    width: 950px;
    left: 200%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 10px;
}

.desktop-nav .wide-menu .flex-item{
    flex: 0 0 33.33%;
    flex-wrap: wrap;
}
.desktop-nav .wide-menu .main-link,
.desktop-nav .wide-menu .wide-link{
    display: inline-block;
    text-decoration: none;
}
.desktop-nav .wide-menu .main-link{
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 700;
    padding: 2px 10px;
    background-color: #ffffff0d;
    border: 1px solid #ffffff14;
    border-radius: 5px;
    transition: all 0.2s ease;
}
.desktop-nav .wide-menu .wide-link {
    color: var(--white);
    padding: 3px 10px;
    margin: 2px 0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* hover */
.desktop-nav .wide-menu .wide-link:hover{
    background-color: var(--white);
    color: var(--accent);
    transform: translateX(10px);

}

/* Dropdown link */
.desktop-nav .submenu-link {
    display: block;
    color: var(--submenu-link-color);
    padding: 8px 0;
    font-size: 1rem;
    transition: all 0.2s ease;
    text-decoration: none;
    padding: 10px;
}

/* hover */
.desktop-nav .submenu-link:hover {
    color: var(--submenu-link-hover-color);
    transform: translateX(5px);
    background-color: #ffffff1c;
    border-radius: 5px;
    padding: 10px;
}



/* Header Actions (Contact Button) */
.header-actions .btn-primary {
    padding: 10px 28px;
    font-size: 0.95rem;
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001; 
}

.mobile-menu-toggle .toggle-icon {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}



/* Mobile Offcanvas Menu */
.offcanvas {
    background-color: var(--white);
    width: 300px;
    box-shadow: -8px 0 20px var(--shadow-medium);
}

.offcanvas-header {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 25px;
}

.offcanvas-header .offcanvas-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.6rem;
}

.offcanvas-header .btn-close {
    background-color: transparent; 
    opacity: 0.8;
}
.offcanvas-header .btn-close:focus {
    box-shadow: none;
}

.offcanvas-body {
    padding: 20px 25px;
}

.mobile-menu-list .mobile-menu-link {
    display: block;
    padding: 12px 0;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.05rem;
    border-bottom: 1px dashed var(--border-color);
    transition: all 0.2s ease;
    text-decoration: none;
}

.mobile-menu-list li:last-child .mobile-menu-link {
    border-bottom: none;
}

.mobile-menu-list .mobile-menu-link:hover {
    color: var(--accent);
    padding-left: 5px;
}

.mobile-menu-list .mobile-has-dropdown .mobile-dropdown-arrow {
    transition: transform 0.3s ease;
}

.mobile-menu-list .mobile-has-dropdown .mobile-menu-link[aria-expanded="true"] .mobile-dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-submenu-list,
.mobile-sub-submenu-list {
    background-color: var(--light-grey);
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
}


.mobile-submenu-list .mobile-submenu-link,
.mobile-sub-submenu-list .mobile-sub-submenu-link {
    font-size: 1rem;
    padding: 10px 0;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: inline-block;
    color: var(--text-dark);
}

.mobile-submenu-list li:last-child .mobile-submenu-link,
.mobile-sub-submenu-list li:last-child .mobile-sub-submenu-link {
    border-bottom: none;
}


/*===================
===== Main Carousel =====
=====================*/
.main-carosusel{
    height: 85vh;
}
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text-wrapper{
    background-color: rgba(0, 0, 0, 0.615);
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper .slide-text h1, p{
    color: white;
}
.swiper .slide-text .slide-title{
    font-size: 4rem;
    margin-bottom: 0;
}
.swiper .slide-text .slide-subtitle{
    font-size: 2rem;
    margin-bottom: 0;
    padding: 10px 0;
}
.swiper .slide-text .slide-desc{
    font-size: 1.2rem;
}

.swiper-pagination{
    margin-bottom: 40px;
}
.swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  background: white;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--bs-primary);
  opacity: 1;
}

.slide-zoom{
    animation-name: zoom;
    animation-duration: 3s;
}

@keyframes zoom {
    0%{
        transform: scale(1.1);
    }100%{
        transform: scale(1);
    }
    
}

/*===================
===== About =====
=====================*/
.about {
    background-color: #f0f4f7; 
    position: relative;
    overflow: hidden; 
}
.about-icon-wrapper li{
    border-bottom: 1px dashed var(--border-color);
    padding: 2px;
}

.about .container {
    position: relative;
    z-index: 1; 
}

/* left */
.about-left {
    background-color: #ffffff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); 
    border: 1px solid rgba(0, 0, 0, 0.05); 
    display: flex; 
    flex-direction: column;
    justify-content: center;
}

.about-left p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

/* right */
.about-right img {
    border-radius: 16px; 
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); 
    width: 100%; 
    object-fit: cover; 
    height: 380px;
}

/*===================
===== Services =====
=====================*/
/* Section Styling */
.services {
    background-color: var(--bg-section);
}

/* Feature Card Styling */
.services-card {
    background: var(--glass-bg-initial); 
    border: 1px solid var(--glass-border-initial); 
    border-radius: 0.75rem;
    box-shadow: 0 5px 18px var(--card-shadow-initial);
    backdrop-filter: blur(var(--backdrop-blur-initial));
    -webkit-backdrop-filter: blur(var(--backdrop-blur-initial)); 
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    height: 100%; 
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.services-card:hover {
    transform: translateY(-12px); 
    box-shadow: 0 18px 45px var(--card-shadow-hover); 
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(var(--backdrop-blur-hover));
    -webkit-backdrop-filter: blur(var(--backdrop-blur-hover));
    z-index: 10;
}

/* Content styling */
.icon-glass {
    font-size: 3.5rem;
    color: var(--accent); 
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.services-card:hover .icon-glass {
    transform: scale(1.05); 
}

.services-card h5 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.services-card:hover h5 {
    color: var(--accent); 
}

.services-card p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Accent Line (at the bottom, revealed on hover) */
.services-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0); 
    width: calc(100% - 6rem); 
    height: 4px; 
    background-color: var(--accent);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0; 
    z-index: 2; 
}

.services-card:hover::after {
    transform: translateX(-50%) scaleX(1); 
    opacity: 1; 
}



/*===================
===== Why =====
=====================*/
.why-choose-us {
    background-color: var(--light-grey);
    position: relative;
    z-index: 1;
    overflow: hidden;
}


/* Diagonal Reveal Grid Container */
.diagonal-reveal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    max-width: 1200px; 
    margin: 60px auto 0 auto;
    padding: 0 15px; 
}

/* Individual Diagonal Reveal Item */
.diagonal-reveal-item {
    position: relative;
    height: 250px; 
    border-radius: var(--border-radius-default);
    overflow: hidden; 
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background-size: cover; 
    background-position: center; 
    display: flex; 
    align-items: center;
    justify-content: center;
    text-align: center;
}

.diagonal-reveal-item:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-8px);
}


.diagonal-reveal-item .icon-why{
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 30px;
}

/* Content Wrapper to help with positioning and overlay */
.diagonal-reveal-item .content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Front Content (Icon and Title) */
.diagonal-reveal-item .front-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2c3b67d6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    z-index: 2;
}

.diagonal-reveal-item:hover .front-content {
    transform: translateX(-100%) translateY(100%); 
    opacity: 0;
}

.diagonal-reveal-item .front-content i {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.diagonal-reveal-item .front-content h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0;
}

/* Back Content (Detailed Description) */
.diagonal-reveal-item .back-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2c3b67ec; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 25px;
    transform: translateX(100%) translateY(-100%); 
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    z-index: 1; 
}

.diagonal-reveal-item:hover .back-content {
    transform: translateX(0) translateY(0); 
    opacity: 1;
}

.diagonal-reveal-item .back-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 0;
}


/*=======================
===== News And Event =====
==========================*/
.event-news{
    background-color: var(--light-grey);
}

/* Card Specifics (Events & News) */
.event-card {
    background-color: var(--white);
    border-radius: var(--border-radius-default, 8px);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 10px #0000001f;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.event-card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.event-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.3;
    font-family: var(--font-primary, 'Montserrat', sans-serif);
}

.event-card-text {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    font-family: var(--font-secondary, 'Open Sans', sans-serif);
}

.event-card-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
    font-family: var(--font-secondary, 'Open Sans', sans-serif);
}

.event-card-meta i {
    margin-right: 5px;
    color: var(--accent);
}

.event-card-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: var(--font-primary, 'Montserrat', sans-serif);
}

.event-card-link:hover {
    color: var(--secondary);
}


/*==============================
===== Accreditation Section=====
================================*/
.accreditation-section .slider-wrapper{
    overflow: hidden;
    box-shadow: 0px 0px 10px var(--shadow-light);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #2c3b6757;
    margin-right: 10px;
    margin-left: 10px;
}
.accreditation-section .slider-wrapper img{
    width: 100%;
    height: 100px;
}
.accreditation-carousel{
    padding-left: 100px;
    padding-right: 100px;
}



/*===================
===== Event Details=====
=====================*/
.event-details-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; 
    padding: 40px 20px; 
}

.event-details-container {
    max-width: 800px; 
    width: 100%;
    background-color: var(--white);
    border-radius: var(--border-radius-default, 12px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); 
    overflow: hidden; 
}

/* --- Header Section --- */
.event-details-header {
    background-color: var(--primary); 
    color: var(--white);
    padding: 30px 40px;
    text-align: center;
    border-top-left-radius: var(--border-radius-default, 12px);
    border-top-right-radius: var(--border-radius-default, 12px);
}

.event-details-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    line-height: 1.2;
    color: var(--white);
}

/* --- Content Area --- */
.event-details-content-area {
    padding: 40px; 
}

.event-details-image-wrapper {
    margin-bottom: 30px;
    border-radius: var(--border-radius-default, 8px);
    overflow: hidden;
}

.event-details-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; 
    border-radius: var(--border-radius-default, 8px); 
}

.event-details-block {
    display: flex;
    flex-wrap: wrap; 
    gap: 25px; 
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--background-light); 
}

.event-details-meta-item {
    margin: 0; 
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 500;
    display: flex; 
    align-items: center;
}

.event-details-meta-item i {
    color: var(--secondary); 
    margin-right: 10px;
    font-size: 1.15rem;
}

.event-details-description p {
    margin-bottom: 15px; 
    color: var(--text-medium);
    text-align: justify;
}

.event-details-description ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 15px;
    color: var(--text-medium);
}

.event-details-description ul li {
    margin-bottom: 8px;
}

.event-details-action {
    text-align: center;
    margin-top: 40px;
}

.event-details-register-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent);
    color: var(--white);
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius-default, 50px); 
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.event-details-register-btn:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}


/*===================
===== Accreditation Page=====
=====================*/

.accreditation p{
    color: var(--text-dark);
}
.accreditation .card{
    border: 1px solid #2c3b672b;
    background-color: #f4f8fc;
    transition: all 0.3s ease;
}
.accreditation .card:hover {
    transform: translateY(-3px);
}

/*===================
===== Training Form =====
=====================*/
.training-form-section {
    font-family: var(--font-secondary, 'Open Sans', sans-serif);
    padding-bottom: 50px;
}

.training-form-header {
    margin-top: 40px;
    margin-bottom: 40px;
}

.training-form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: var(--font-primary, 'Montserrat', sans-serif);
}

.training-form-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.training-form-card {
    background-color: var(--white);
    border-radius: var(--border-radius-default, 10px);
    /* box-shadow: 0px 0px 10px var(--shadow-medium); */
    padding: 40px;
    margin-bottom: 30px;
}

/* Form Elements */
.training-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block; 
    font-size: 0.95rem;
}

.training-input {
    border-radius: var(--border-radius-default, 5px);
    border: 1px solid var(--border-color-medium, #ccc);
    padding: 12px 15px;
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.training-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb, 0, 64, 128), 0.25); 
    outline: none;
}

.training-input::placeholder {
    color: var(--text-light);
}

textarea.training-input {
    resize: vertical;
}

/* Checkbox specific styling */
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}
.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb, 0, 64, 128), 0.25);
}

.training-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.training-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Submit Button */
.training-submit-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 14px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius-default, 5px);
    transition: all 0.3s ease;
    min-width: 200px; 
}

.training-submit-btn:hover {
    background-color: var(--secondary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}


/* Training Details Card */
.training-detail-card-wrapper {
    position: relative;
    padding: 20px; 
    margin: 0 auto;
    max-width: 800px; 
}

/* Training banner */
.training-banner {
    background-color: white;
    margin-bottom: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.training-banner img{
    width: 100%;
    object-fit: cover;
}

/* The main card container */
.training-detail-card {
    background-color: var(--white);
    border-radius: var(--border-radius-default, 12px);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    position: relative;
    z-index: 2; 
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.training-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

/* Angled accent layer */
.training-detail-angled-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent); 
    border-radius: var(--border-radius-default, 12px);
    transform: rotate(1deg); 
    transform-origin: top left;
    z-index: 1; 
    box-shadow: var(--shadow-medium);
}

/* Header Section */
.training-detail-card-header {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 30px 40px;
    text-align: center;
    border-top-left-radius: var(--border-radius-default, 12px);
    border-top-right-radius: var(--border-radius-default, 12px);
}

.training-detail-card-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: var(--font-primary, 'Montserrat', sans-serif);
}

.training-detail-card-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Body Section */
.training-detail-card-body {
    padding: 30px 40px;
    flex-grow: 1; 
}

.training-detail-meta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--background-light);
}

.training-detail-meta-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.training-detail-icon {
    color: var(--accent);
    font-size: 1.2rem;
    margin-right: 8px;
}

.training-detail-meta-text {
    line-height: 1.4;
}
.training-detail-meta-text strong {
    font-weight: 700;
    color: var(--primary);
}


.training-detail-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 25px;
    text-align: justify;
}

.training-detail-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.training-detail-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.training-feature-icon {
    color: var(--secondary);
    margin-right: 10px;
    font-size: 1.1rem;
}


.training-detail-card-footer {
    background-color: var(--background-light);
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom-left-radius: var(--border-radius-default, 12px);
    border-bottom-right-radius: var(--border-radius-default, 12px);
}

.training-detail-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-primary, 'Montserrat', sans-serif);
}

.training-detail-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius-default, 5px);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.training-detail-btn:hover {
    background-color: var(--secondary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}



/*======================
===== Contact Page =====
=======================*/
.contact-page-header .page-header{
    background:linear-gradient(90deg,#2c3b6759 0%, #2c3b6756), url('../img/contact-header-bg.avif');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* Main Contact Content Section */
.contact-content-section {
    background-color: var(--background-light);
    padding-bottom: var(--section-padding-y, 100px);
}

/* Card Styling for Form and Info */
.contact-form-card{
    background-color: var(--white);
    border-radius: var(--border-radius-default, 10px);
    box-shadow: 0px 0px 10px var(--shadow-medium);
    height: 100%; 
    display: flex; 
    padding: 30px;
    flex-direction: column;
}


/* company Information */
.company-info-wrapper,
.contact-map{
    box-shadow: 0px 0px 10px var(--shadow-medium);
    padding: 30px;
    border-radius: 10px;
}
@media (max-width:768px){
    .company-info-wrapper{
        margin-top: 30px;
    }
}
.contact-map{
    margin-top: 30px;
}
.company-info-wrapper .contact-row{
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    
}

.company-info-wrapper .icon{
    background-color: var(--accent);
    width: 60px;
    padding: 10px 20px;
    color: var(--white);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}
.company-info-wrapper .info h4{
    font-size: 1.3rem;
}
.company-info-wrapper .info p{
    color: var(--accent-dark);
    margin-bottom: 0;
}


/* Contact Form Specifics */
.contact-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: var(--font-primary, 'Montserrat', sans-serif);
}

.contact-form-subtitle {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 30px;
}

.contact-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

.contact-input {
    border-radius: var(--border-radius-default, 5px);
    border: 1px solid var(--border-color-medium, #ccc);
    padding: 12px 15px;
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb, 0, 64, 128), 0.25);
    outline: none;
}

.contact-input::placeholder {
    color: var(--text-light);
}

textarea.contact-input {
    resize: vertical;
}

.contact-submit-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 14px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius-default, 5px);
    transition: all 0.3s ease;
    min-width: 200px;
}

.contact-submit-btn:hover {
    background-color: var(--secondary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}


/*==============================
===== Company Profile Page =====
================================*/

/* --- Hero Section --- */
.profile-hero-section {
    position: relative;
    width: 100%;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.profile-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:  url('../img/company-profile-bg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    z-index: 1;
}

.profile-hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}


.profile-section-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 40px;
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    line-height: 1.2;
}

.profile-sub-heading {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: var(--font-primary, 'Montserrat', sans-serif);
}

.profile-description-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 20px;
    text-align: justify;
}

.profile-lead-text {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-dark);
}

.profile-text-white {
    color: var(--white) !important;
}


.profile-title-main {
    color: var(--accent);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-family: var(--font-primary, 'Montserrat', sans-serif);
}

.profile-tagline {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.profile-hero-actions {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.profile-btn-primary,
.profile-btn-secondary {
    padding: 18px 40px;
    font-size: 1.25rem;
    font-weight: 700;
    border: none;
    border-radius: var(--border-radius-default, 50px);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.profile-btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.profile-btn-primary:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.profile-btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.profile-btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* --- About Us & Mission/Vision Section --- */
.profile-mission-vision-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius-default, 12px);
    padding: 30px;
    box-shadow: var(--shadow-medium);
    border-left: 5px solid var(--secondary); /* Accent border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-mission-vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.profile-mission-vision-card .profile-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.profile-mission-vision-card .profile-icon-primary {
    font-size: 2.5rem;
    color: var(--primary);
    margin-right: 15px;
}

.profile-mission-vision-card .profile-sub-heading {
    margin-bottom: 0;
    font-size: 1.6rem;
}

.profile-mission-vision-card p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* --- Core Values Section --- */
.profile-value-card {
    background-color: var(--white);
    border-radius: var(--border-radius-default, 12px);
    box-shadow: var(--shadow-medium);
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent; /* For hover effect */
}

.profile-value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-bottom-color: var(--accent);
}

.profile-strength-card { /* Slightly different style for strengths */
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.profile-strength-card .profile-value-icon {
    color: var(--white); /* White icons on primary background */
}

.profile-strength-card .profile-value-title {
    color: var(--white); /* White text on primary background */
}

.profile-strength-card:hover {
    border-bottom-color: var(--secondary); /* Secondary accent on hover */
    background-color: var(--accent-dark);
}


.profile-value-icon {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.profile-value-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    margin-bottom: 0;
}


/* --- Services Overview Section --- */
.profile-service-category-card {
    background-color: var(--white);
    border-radius: var(--border-radius-default, 12px);
    box-shadow: 0px 0px 10px var(--shadow-medium);
    padding: 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 5px solid transparent; /* For hover accent */
}

.profile-service-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-bottom-color: var(--accent);
}

.profile-service-icon-bg {
    width: 70px;
    height: 70px;
    background-color:var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.profile-service-icon-bg .icon {
    font-size: 2.2rem;
    color: var(--white);
}

.profile-service-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    font-family: var(--font-primary, 'Montserrat', sans-serif);
}

.profile-service-description {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1; /* Makes card extend uniformly */
}

.profile-service-items {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.profile-service-items li {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.profile-service-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    margin-top: auto;
}

.profile-service-link:hover {
    color: var(--primary);
}

/* --- Contact Section --- */
.profile-contact-section {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    padding: var(--section-padding-y, 100px) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-contact-section::before { /* Subtle background pattern */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/company-profile-bg');
    opacity: 0.1;
    z-index: 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}


.profile-contact-section .profile-section-heading {
    margin-bottom: 25px;
}

.profile-contact-btn-solid,
.profile-contact-btn-outline {
    padding: 18px 35px;
    font-size: 1.15rem;
    font-weight: 600;
    border: 2px solid;
    border-radius: var(--border-radius-default, 50px);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.profile-contact-btn-solid {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.profile-contact-btn-solid:hover {
    background-color: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.profile-contact-btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.profile-contact-btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.profile-address {
    font-size: 1.05rem;
    margin-top: 30px;
    opacity: 0.9;
}


/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
    .profile-hero-section {
        height: 450px;
    }
    .profile-title-main {
        font-size: 3.5rem;
    }
    .profile-tagline {
        font-size: 1.5rem;
    }
    .profile-btn-primary, .profile-btn-secondary {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    .profile-section-heading {
        font-size: 2.2rem;
    }
    .profile-sub-heading {
        font-size: 1.5rem;
    }
    .profile-description-text {
        font-size: 0.98rem;
    }
    .profile-mission-vision-card {
        margin-top: 30px; /* Adjust spacing when stacked */
    }
    .profile-value-icon {
        font-size: 3rem;
    }
    .profile-value-title {
        font-size: 1.1rem;
    }
    .profile-service-title {
        font-size: 1.4rem;
    }
    .profile-service-description {
        font-size: 0.95rem;
    }
    .profile-lead-text {
        font-size: 1.2rem;
    }
    .profile-contact-btn-solid, .profile-contact-btn-outline {
        padding: 15px 25px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px; /* Constrain width when stacked */
    }
    .profile-contact-section .d-flex {
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .profile-hero-section {
        height: 400px;
    }
    .profile-title-main {
        font-size: 2.8rem;
    }
    .profile-tagline {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    .profile-hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .profile-btn-primary, .profile-btn-secondary {
        width: 80%; /* Make buttons wider on small screens */
        max-width: 300px;
        font-size: 1rem;
        padding: 12px 25px;
    }
    .profile-section-heading {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    .profile-sub-heading {
        font-size: 1.3rem;
    }
    .profile-section-light, .profile-section-white, .profile-contact-section {
        padding: 70px 0;
    }
    .profile-value-icon {
        font-size: 2.5rem;
    }
    .profile-value-title {
        font-size: 1rem;
    }
    .profile-service-icon-bg {
        width: 60px;
        height: 60px;
    }
    .profile-service-icon-bg i {
        font-size: 1.8rem;
    }
    .profile-service-title {
        font-size: 1.25rem;
    }
    .profile-service-description {
        font-size: 0.88rem;
    }
    .profile-service-items li {
        font-size: 0.85rem;
    }
    .profile-lead-text {
        font-size: 1.05rem;
    }
    .profile-contact-btn-solid, .profile-contact-btn-outline {
        font-size: 0.95rem;
        padding: 12px 20px;
    }
    .profile-address {
        font-size: 0.9rem;
    }
}




/*===================
===== Services Page =====
=====================*/

/* Page Header */
.services-page-header .services-header{
    background:linear-gradient(90deg,#2c3b6759 0%, #2c3b6756), url('../img/service-bg.avif');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* Content */
.cert-wrapper{
    background-color: var(--white);
}
.cert-section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    line-height: 1.2;
}

.cert-description-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 20px;
    text-align: justify;
}

.cert-img{
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 0px 10px var(--shadow-strong);
}

/* Services list Card */
.services-list-wrapper {
    background-color: var(--bg-section);
    overflow: hidden;
}

.cert-card {
    background-color: var(--white);
    border-radius: var(--border-radius-default, 12px);
    box-shadow: var(--shadow-medium);
    padding: 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-left 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-top: 40px;
}

/* hover */
.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.cert-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 0%;
    width:  4px;
    background-color: var(--accent);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 1;
    z-index: 2;
}
.cert-card:hover::after {
    content: '';
    height: 100%;
}

.cert-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.cert-icon-box {
    width: 65px;
    height: 65px;
    background-color:var(--accent);
    border-radius: 10px; 
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    box-shadow: inset 0 0 10px rgba(var(--primary-rgb), 0.1);
    color: var(--white);
    font-size: 2.5rem;
}

.cert-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0;
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    line-height: 1.3;
}

.cert-card-description {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1; 
    text-align: justify;
}

.cert-learn-more-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    margin-top: auto; 
}

.cert-learn-more-link:hover {
    color: var(--primary);
}



/*===============================
===== Services Single Page =====
================================*/
.services-details-page-header .page-header{
    background:linear-gradient(90deg,#2c3b6759 0%, #2c3b6756), url('../img/service-details-bg.avif');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/*===================
===== Footer =====
=====================*/

.footer {
    background-color: var(--accent); 
    color: var(--white); 
    font-family: var(--font-primary);
}


/* Lower Footer Section */
.footer .footer-lower {
    background-color: var(--dark-navy); 
    padding: 80px 0 40px 0; 
    position: relative;
    z-index: 1;
}

.footer .footer-logo {
    display: inline-block;
    margin-bottom: 15px;
    background-color: var(--white);
    border-radius: 20px;
    width: 100px;
    padding: 10px 20px;
}

.footer .footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light-alt); 
    max-width: 350px; 
    margin-right: auto; 
}

/* Social Icons */
.footer .footer-socials .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1); 
    color: var(--white);
    font-size: 1.2rem;
    margin-right: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer .footer-socials .social-icon:hover {
    background-color: var(--primary); 
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

/* Headings for columns */
.footer .footer-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer .footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px; 
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Center the underline for centered columns on small screens */
.footer .col-md-4 .footer-heading::after,
.footer .col-sm-12 .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
}
@media (min-width: 768px) {
    .footer .col-md-4 .footer-heading::after {
        left: 0;
        transform: translateX(0);
    }
}


/* Quick Links and Resources Lists */
.footer .footer-links li {
    margin-bottom: 12px;
}

.footer .footer-links a {
    color: var(--text-light-alt);
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block; 
    text-decoration: none;
    transition: transform all 0.3s !important;
}

.footer .footer-links a:hover {
    color: var(--white);
    transform: translateX(10px) !important;
}

/* Contact Info List */
.footer .footer-contact-info li {
    margin-bottom: 15px;
    color: var(--text-light-alt);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer .footer-contact-info li i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 25px; 
}

/* Bottom Footer Section (Copyright & Legal) */
.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
    padding-top: 25px;
    margin-top: 50px;
}

.footer .footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-light-alt);
}

.footer .footer-legal-links a {
    color: var(--text-light-alt);
    font-size: 0.85rem;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.footer .footer-legal-links a:hover {
    color: var(--primary);
}


/*===================
===== Responsive =====
=====================*/

@media (max-width:1200px) {
    /* Common */
    .section .title,
    .section .title-style-2{
        font-size: 2.5rem;
    }

    /* Navbar Section */
    .main-header {
        height: var(--navbar-height-mobile);
    }
    .main-header .logo img {
        width:  70px;
    }

    /* Why Choose Section */
    .diagonal-reveal-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    .diagonal-reveal-item {
        height: 280px;
    }
    .diagonal-reveal-item .front-content i {
        font-size: 3rem;
    }
    .diagonal-reveal-item .front-content h4 {
        font-size: 1.6rem;
    }
    .diagonal-reveal-item .back-content p {
        font-size: 0.95rem;
    }

    
}

@media (max-width:992px){
    /* Common Section */
    .section {
        padding: 80px 0;
    }

    .section .title,
    .section .title-style-2 {
        font-size: 2.2rem;
    }

    /* About Section */
    .about-left {
        margin-bottom: 30px;
    }

    /* Services Section */
    .services-card {
        padding: 2.5rem;
    }
    .icon-glass {
        font-size: 3rem;
    }
    .services-card h5 {
        font-size: 1.6rem;
    }
    .services-card p {
        font-size: 0.95rem;
    }
     .services-card::after {
        width: calc(100% - 5rem); 
    }

    /* Why Choose Section */
    .diagonal-reveal-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .diagonal-reveal-item {
        height: 260px;
    }
    /* Training */
    .training-detail-card-wrapper {
        padding: 15px;
        margin-bottom: 50px;
    }

    /* Event Section */
    .event-card-img-top {
        height: 200px;
    }
    .event-card-title {
        font-size: 1.25rem;
    }
    .event-card-body {
        padding: 20px;
    }

    /* Contact Page */
    .contact-form-card{
        padding: 30px;
    }
    .contact-form-card {
        margin-bottom: 30px; 
    }
    .contact-form-title {
        font-size: 2rem;
    }

    /* Footer Section */
    .footer .footer-upper {
        padding: 50px 0;
    }
    .footer .footer-upper-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    .footer .footer-upper .col-lg-6 {
        text-align: center !important;
    }
    .footer .footer-lower {
        padding: 60px 0 30px 0;
    }
    .footer .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    .footer .footer-description {
        margin-left: auto;
        margin-right: auto;
    }
    .footer .footer-socials {
        text-align: center;
    }
    .footer .footer-heading {
        margin-top: 30px; 
    }
    .footer .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer .col-lg-4.col-md-12 + .col-lg-2 .footer-heading {
        margin-top: 0;
    }


}

@media (max-width:768px){
    /* Common Section */
    p {
        font-size: 0.95rem;
    }

    .btn-primary {
        font-size: 0.95rem;
        padding: 13px 32px;
    }

    .section {
        padding: 60px 0;
    }

    .section .title,
    .section .title-style-2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .section .title-style-2::after{
        width: 50px;
        height: 3px;
    }

    .section .lead{
        font-size: 1rem;
    }

    .page-header .page-title{
        font-size: 2rem;
    }
    .page-header{
        height: 200px;
        background-position: center top;
    }
    .page-header .page-actions-btn {
        margin-top: 0px;
    }
    
    .page-header .page-subtitle{
        font-size: 1.1rem;
    }


    /* Navbar */
    .maintenance-msg{
        font-size: 0.8rem;
    }

    /* Main Carousel Section */
    .swiper{
        height: 100%;
    }
   .swiper .slide-text .slide-title{
        font-size: 2rem;
    }
    .swiper .slide-text .slide-subtitle{
        font-size: 1.2rem;
    }
    .swiper .slide-text .slide-desc{
        font-size: 1rem;
    }

    .swiper-pagination-bullet {
        width: 15px;
        height: 15px;
    }

    /* About Section */
    .about-left {
        padding: 30px;
    }


    /* Services */
    .services-card {
        padding: 2rem;
    }
    .icon-glass {
        font-size: 2.5rem;
    }
    .services-card h5 {
        font-size: 1.4rem;
    }
    .services-card p {
        font-size: 0.9rem;
    }
    .services-card::after {
        width: calc(100% - 4rem); 
    }

    /* Event Section */
    .event-card {
        margin-bottom: 30px; 
    }
    .event-card-img-top {
        height: 180px;
    }
    .event-card-title {
        font-size: 1.1rem;
    }
    .event-card-body {
        padding: 15px;
    }
    .event-card-text {
        font-size: 0.9rem;
    }

    /* Why Choose Section */
    .diagonal-reveal-grid {
        grid-template-columns: 1fr; 
        gap: 20px;
        max-width: 380px; 
    }
    .diagonal-reveal-item {
        height: auto; 
        min-height: 250px; 
        padding: 15px;
    }
    .diagonal-reveal-item .front-content i {
        font-size: 2.5rem;
    }
    .diagonal-reveal-item .front-content h4 {
        font-size: 1.2rem;
    }
    .diagonal-reveal-item .back-content p {
        font-size: 0.85rem;
    }

    /* Accreditation Section */
    .accreditation-carousel{
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Event Detail Page  */
    .event-details-title {
        font-size: 2rem;
    }
    .event-details-header {
        padding: 25px 30px;
    }
    .event-details-content-area {
        padding: 30px;
    }
    .event-details-block {
        flex-direction: column; 
        gap: 15px;
        font-size: 1rem;
        padding-bottom: 20px;
    }
    .event-details-description p, .event-details-description ul li {
        font-size: 0.95rem;
    }
    .event-details-register-btn {
        width: 100%;
        padding: 12px 25px;
        font-size: 1rem;
    }
    .event-details-action {
        margin-top: 30px;
    }

    /* Training Form */
    .training-form-card {
        padding: 25px;
    }
    .training-form-title {
        font-size: 2rem;
    }
    .training-form-subtitle {
        font-size: 1rem;
    }
    .training-submit-btn {
        width: 100%; 
        padding: 12px 25px;
        font-size: 1rem;
    }

    /* Training Details Card */
    .training-detail-card-wrapper {
        padding: 15px;
        margin-bottom: 50px;
    }
    .training-detail-card {
        padding: 0; 
    }
    .training-detail-card-header {
        padding: 25px 25px;
    }
    .training-detail-card-title {
        font-size: 1.8rem;
    }
    .training-detail-card-subtitle {
        font-size: 1rem;
    }
    .training-detail-card-body {
        padding: 25px 25px;
    }
    .training-detail-meta-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    .training-detail-description {
        font-size: 0.95rem;
    }
    .training-detail-features li {
        font-size: 0.9rem;
    }
    .training-detail-card-footer {
        flex-direction: column;
        gap: 15px;
        padding: 20px 25px;
        align-items: center;
    }
    .training-detail-price {
        font-size: 1.5rem;
    }
    .training-detail-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    /* Contact Page */
    .contact-form-title {
        font-size: 1.8rem;
    }
    .contact-submit-btn {
        width: 100%;
        padding: 12px 25px;
        font-size: 1rem;
    }

    /* Services Page */
    .cert-section-heading {
        font-size: 1.8rem;
    }
    .cert-card-title {
        font-size: 1.5rem;
    }
    .cert-icon-box {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    .cert-card-header {
        margin-bottom: 0px;
    }
    .cert-description-text {
        font-size: 0.9rem;
    }
    .cert-card-description{
        font-size: 0.9rem;
        margin-bottom: 0;
        margin-top: 10px;
    }
        

    /* Footer Section */
    .footer .footer-logo {
        padding: 5px 10px;
    }

    .footer .footer-upper {
        padding: 40px 0;
    }
    .footer .footer-upper-title {
        font-size: 1.8rem;
    }
    .footer .footer-upper-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .footer .footer-lower {
        padding: 50px 0 25px 0;
    }
    .footer .footer-heading {
        font-size: 1.2rem;
        margin-bottom: 20px;
        text-align: center;
    }
    .footer .footer-links,
    .footer .footer-contact-info {
        text-align: center; 
    }

    
}

@media (max-width:576px){
    /* Why Choose Section */
    .diagonal-reveal-item .front-content i {
        font-size: 2.2rem;
    }
    .diagonal-reveal-item .front-content h4 {
        font-size: 1.1rem;
    }

    /* Event Details Page */
    .event-details-title {
        font-size: 1.8rem;
    }
    .event-details-header {
        padding: 20px 25px;
    }
    .event-details-content-area {
        padding: 25px;
    }
    .event-details-meta-item {
        font-size: 0.95rem;
    }
    .event-details-description p, .event-details-description ul li {
        font-size: 0.9rem;
    }

    /* Training Form */
    .training-form-card {
        padding: 20px;
    }
    .training-form-title {
        font-size: 1.8rem;
    }
    .training-form-subtitle {
        font-size: 0.95rem;
    }

    /* Training Details Card */
    .training-detail-card-header {
        padding: 20px 15px;
    }
    .training-detail-card-title {
        font-size: 1.5rem;
    }
    .training-detail-card-subtitle {
        font-size: 0.9rem;
    }
    .training-detail-card-body {
        padding: 20px 15px;
    }
    .training-detail-meta-item {
        font-size: 0.9rem;
    }
    .training-detail-description {
        font-size: 0.85rem;
    }
    .training-detail-features li {
        font-size: 0.85rem;
    }
    .training-detail-card-footer {
        padding: 15px 15px;
    }

    /* Footer Section */
    .footer .footer-upper-title {
        font-size: 1.6rem;
    }
    .footer .footer-upper-btn {
        width: 100%; 
    }
    .footer .footer-lower {
        padding: 40px 0 20px 0;
    }

}