/* ===================================
   TITA Main CSS - Global Layout Styles
   =================================== */

/* ===========================================
   COLOR SCHEMA REFERENCE
   =========================================== 
   Primary Colors:
   - Primary Teal: #29ab9f
   - Dark Blue: #004e6d
   - Light Blue: #31b0d5
   - Secondary Teal: #1a8f85
   
   Accent Colors:
   - Warning Red: #c62828, #d43f3a, #dc3545
   - Success Green: #28a745, #10b981
   - Yellow: #f0fd2b, #ffc107
   
   Neutral Colors:
   - White: #ffffff, #f3f3f3
   - Light Gray: #f8f9fa, #e9ecef, #e8e8e8
   - Medium Gray: #666, #555
   - Dark Gray: #333, #1a1a1a
   =========================================== */

/* ===================================
   TOP BAR
   =================================== */
.tita-topbar {
    background: linear-gradient(135deg, #003a52 0%, #004e6d 100%);
    padding: 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tita-topbar .topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
}

.tita-topbar .topbar-left,
.tita-topbar .topbar-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tita-topbar .topbar-item {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    padding: 8px 6px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.tita-topbar .topbar-item:hover {
    color: #29ab9f;
    text-decoration: none;
}

.tita-topbar .topbar-item i {
    margin-right: 5px;
    font-size: 12px;
}

.tita-topbar .topbar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
}

/* ===================================
   PROFESSIONAL HEADER
   =================================== */
.tita-header {
    background: #004b68;
    padding: 0;
}

.tita-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    gap: 20px;
}

/* Logo */
.tita-header .header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.tita-header .logo-img {
    height: 60px;
    width: auto;
    transition: opacity 0.3s ease;
}

.tita-header .logo-img:hover {
    opacity: 0.85;
}

/* Header Buttons */
.tita-header .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tita-header .header-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    border: 2px solid transparent;
}

.tita-header .header-btn i {
    font-size: 13px;
}

.tita-header .header-btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.tita-header .header-btn-outline:hover {
    background: #ffffff;
    color: #004e6d;
    border-color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.tita-header .header-btn-primary {
    background: #29ab9f;
    color: #ffffff;
    border-color: #29ab9f;
}

.tita-header .header-btn-primary:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #004e6d;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Hide old-style elements */
.tita-top-bar {
    display: none !important;
}

/* Override legacy header styles from style.css */
header,
header.tita-header {
    background-color: #004b68 !important;
    border-bottom: none !important;
    padding: 0 !important;
}

/* Override old text-based logo */
a#logo {
    display: none !important;
}

/* Override old button_top styles for header context */
.tita-header .header-btn.header-btn-outline,
.tita-header .header-btn.header-btn-primary {
    border-radius: 8px;
    font-size: 14px;
}

/* ===================================
   BOOTSTRAP 5 NAVBAR
   =================================== */
.tita-navbar {
    background: #004e6d;
    padding: 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1030;
    transition: box-shadow 0.3s ease;
}

.tita-navbar .navbar-brand {
    padding: 10px 0;
}

.tita-navbar .navbar-brand img {
    height: 55px;
    width: auto;
}

.tita-navbar .navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.tita-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(41, 171, 159, 0.4);
}

.tita-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.tita-navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 20px 14px !important;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.tita-navbar .nav-link::after {
    content: none;
}

.tita-navbar .nav-link:hover,
.tita-navbar .nav-link.active {
    color: #29ab9f !important;
}

.tita-navbar .nav-link.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 3px;
    background: #29ab9f;
    border-radius: 3px 3px 0 0;
}

/* Dropdown Toggle Arrow */
.tita-navbar .dropdown-toggle::after {
    border: none;
    content: '▾';
    font-size: 9px;
    vertical-align: middle;
    margin-left: 4px;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.tita-navbar .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.tita-navbar .dropdown-menu {
    background: #ffffff;
    border: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    margin-top: 0;
    border-top: 3px solid #29ab9f;
    min-width: 240px;
    animation: navDropdown 0.25s ease;
}

@keyframes navDropdown {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tita-navbar .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}

.tita-navbar .dropdown-item:hover,
.tita-navbar .dropdown-item:focus {
    background: rgba(41, 171, 159, 0.06);
    color: #29ab9f;
    border-left-color: #29ab9f;
    padding-left: 24px;
}

/* Mobile Navbar */
@media (max-width: 991.98px) {
    .tita-navbar {
        padding: 8px 0;
    }

    .tita-navbar .navbar-brand img {
        height: 45px;
    }

    .tita-navbar .navbar-collapse {
        background: #ffffff;
        margin: 12px -12px -8px;
        padding: 10px 0;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
        max-height: 80vh;
        overflow-y: auto;
    }

    .tita-navbar .nav-link {
        color: #004e6d !important;
        padding: 12px 20px !important;
        font-size: 14px;
        border-bottom: 1px solid #f0f0f0;
    }

    .tita-navbar .nav-link:hover {
        background: #f0fffe;
        color: #29ab9f !important;
    }

    .tita-navbar .nav-link.active::before {
        display: none;
    }

    .tita-navbar .dropdown-menu {
        border: none;
        box-shadow: none;
        border-top: none;
        background: #f8fffe;
        border-radius: 0;
        padding: 0;
        margin: 0;
    }

    .tita-navbar .dropdown-item {
        padding: 10px 20px 10px 36px;
        font-size: 13px;
        border-left: none;
        border-bottom: 1px solid #e8f5f4;
    }

    .tita-navbar .dropdown-item:hover {
        padding-left: 36px;
        background: #e0f5f3;
    }

    .tita-navbar .dropdown-toggle::after {
        float: right;
        margin-top: 4px;
    }
}

/* ===================================
   LEGACY OVERRIDES - REMOVE OLD HEADER/NAV
   =================================== */
/* Legacy overrides are no longer needed - old header/nav HTML has been replaced */

/* Override old nav styles from style.css - keep nav visible */
nav:not(.navbar):not(.tita-navbar) {
    display: block !important;
}

/* Professional Mobile Navigation Bar */
.mobile-navigation-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #004e6d 0%, #29ab9f 100%);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-navigation-bar .nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 0;
    max-width: 100%;
}

.mobile-navigation-bar .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-navigation-bar .nav-item:hover,
.mobile-navigation-bar .nav-item:focus {
    color: #f0fd2b;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transform: translateY(-2px);
}

.mobile-navigation-bar .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

.mobile-navigation-bar .nav-icon img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.mobile-navigation-bar .nav-item:hover .nav-icon img {
    transform: scale(1.1);
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(45deg);
}

.mobile-navigation-bar .nav-label {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    transition: all 0.3s ease;
}

@media only screen and (max-width: 767px) {
    .mobile-navigation-bar {
        display: block;
    }
    
    body {
        padding-bottom: 70px; /* Add space for fixed mobile nav */
    }
}
@media only screen and (min-width: 768px) {
    .hide-on-desktop {
        display: none !important;
    }
}

/* Homepage Carousel Optimization */
.homepage-carousel-img {
    width: 100%;
    height: auto;
    max-height: 639px;
    object-fit: cover;
    display: block;
}

.carousel-inner img {
    width: 100%;
    height: 100%;
}

/* E-book Download Button */
.ebook-download-bar .btn-lg {
    font-size: 20px;
    color: #c62828;
    font-weight: 700;
    padding: 12px 30px;
}

/* Course Images */
.course-image {
    height: 189.75px;
    border-radius: 10px;
    object-fit: cover;
    width: 100%;
}

/* Center alignment utility */
.text-center-important {
    text-align: center !important;
}

/* Header Strips */
.sticky-top.desktop-view.classForDesktop {
    background-color: #29ab9f;
    height: 50px;
    display: none;
}

.sticky-top.mobile-view.classForMobile {
    display: none;
    background-color: #29ab9f;
    height: 75px;
}

.sticky-top p {
    text-align: center;
    padding: 9px;
}

/* Header Button Styles */
.push-left.mobile-push-left.btns-r {
    float: right;
    margin-left: 20px;
}

.push-left p {
    color: #fff;
    font-weight: 700;
}

.button_top.phone-btn {
    color: #f3f3f3;
    background-color: #31b0d5 !important;
}

/* Navigation Dropdown */
.normal_drop_down {
    text-align: left;
}

/* Support Section */
.support-section {
    background: rgb(245, 243, 243);
    padding: 30px 0;
    text-align: center;
}

.support-section h3 {
    color: #29ab9f;
    margin-bottom: 10px;
    font-size: 35px;
}

.support-section p {
    font-size: 18px;
    margin-bottom: 15px;
}

.support-section .nt-chat-fab {
    background: #29ab9f;
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: none;
}

.support-section .nt-chat-fab:hover {
    background: #004e6d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 78, 109, 0.3);
}

/* Newsletter Section */
.newsletterss .col-md-6 {
    margin: auto;
}

.newsletterss h3 {
    font-size: 24px;
}

.newsletterss .form-inline {
    display: block;
}

.message-newsletter-div {
    font-size: 18px;
}

/* ========================================
   FOOTER STYLES - Professional Blue & Green
   ======================================== */

/* Main Footer */
footer {
    background: #004e6d;
    color: #ffffff;
    padding: 60px 0 0;
}

/* Newsletter Section */
footer .newsletterss {
    background: #29ab9f;
    padding: 40px 50px;
    border-radius: 12px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px rgba(41, 171, 159, 0.3);
}

footer .newsletterss .newsletter-text h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

footer .newsletterss .newsletter-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 0;
}

footer .newsletterss .newsletter-form {
    display: flex;
    flex-direction: column;
}

footer .newsletterss .form-inline {
    display: flex;
    gap: 12px;
    width: 100%;
}

footer .newsletterss input[type="email"] {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #333333;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

footer .newsletterss input[type="email"]:focus {
    outline: none;
    background: #ffffff;
    border-color: #004e6d;
    box-shadow: 0 0 0 3px rgba(0, 78, 109, 0.1);
}

footer .newsletterss input[type="email"]::placeholder {
    color: #999999;
}

footer .newsletterss input[type="submit"] {
    padding: 16px 40px;
    background: #004e6d;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

footer .newsletterss input[type="submit"]:hover {
    background: #003a52;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 58, 82, 0.4);
}

footer hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 50px 0 40px;
}

/* Footer Navigation */
#nav-footer h4 {
    color: #29ab9f;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#nav-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#nav-footer ul li {
    margin: 12px 0;
}

#nav-footer ul li a {
    color: #ffffff;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    opacity: 0.9;
}

#nav-footer ul li a:hover {
    color: #29ab9f;
    opacity: 1;
    padding-left: 5px;
}

/* Social Media */
#nav-footer p {
    color: #29ab9f;
    font-size: 16px;
    font-weight: 700;
    margin: 25px 0 15px;
}

#follow_us {
    display: flex;
    gap: 12px;
    padding: 0;
    margin: 0 0 15px 0;
    list-style: none;
}

#follow_us li {
    margin: 0 !important;
}

#follow_us li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #29ab9f;
    border-radius: 8px;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
}

#follow_us li a:hover {
    background: #ffffff;
    color: #004e6d;
    transform: translateY(-3px);
    padding-left: 0 !important;
}

/* Email Link */
#nav-footer ul li a[href^="mailto"] {
    color: #29ab9f;
    font-weight: 600;
}

#nav-footer ul li a[href^="mailto"]:hover {
    color: #ffffff;
}

/* Copyright */
#copy_right {
    background: #003a52;
    padding: 25px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 400;
    margin-top: 50px;
}

#copy_right a {
    color: #29ab9f;
    text-decoration: none;
    font-weight: 600;
}

#copy_right a:hover {
    color: #ffffff;
}

/* Back to Top Button */
#toTop {
    position: fixed;
    bottom: 30px;
    right: 90px;
    width: 50px;
    height: 50px;
    background: #29ab9f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(41, 171, 159, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

@media only screen and (max-width: 767px) {
    #toTop {
        bottom: 100px; /* Move above mobile navigation */
        right: 75px;   /* Adjust position to avoid chat button */
    }
}

#toTop.show {
    opacity: 1;
    visibility: visible;
}

#toTop:hover {
    background: #004e6d;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 78, 109, 0.5);
}

#toTop img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 991px) {
    footer {
        padding: 50px 0 0;
    }
    
    footer .newsletterss {
        padding: 35px 30px;
        margin-bottom: 40px;
    }
    
    footer .newsletterss .newsletter-text {
        text-align: center;
        margin-bottom: 25px;
    }
    
    footer .newsletterss .newsletter-text h3 {
        font-size: 24px;
    }
    
    footer .newsletterss .newsletter-text p {
        font-size: 15px;
    }
    
    footer .newsletterss .form-inline {
        flex-direction: column;
    }
    
    footer .newsletterss input[type="email"],
    footer .newsletterss input[type="submit"] {
        width: 100%;
    }
    
    #nav-footer .col-md-3,
    #nav-footer .col-sm-3 {
        margin-bottom: 35px;
    }
}

@media (max-width: 767px) {
    .tita-header .logo-img {
        height: 38px;
    }
    
    #mobnav-btn {
        width: 38px;
        height: 38px;
    }
    
    footer {
        padding: 40px 0 0;
    }
    
    footer .newsletterss {
        padding: 30px 20px;
    }
    
    footer .newsletterss .newsletter-text h3 {
        font-size: 22px;
    }
    
    footer .newsletterss .newsletter-text p {
        font-size: 14px;
    }
    
    footer .newsletterss input[type="email"],
    footer .newsletterss input[type="submit"] {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    #nav-footer h4 {
        font-size: 16px;
    }
    
    #nav-footer ul li a {
        font-size: 14px;
    }
    
    #copy_right {
        font-size: 13px;
        padding: 20px 15px;
    }
}

/* Loading Overlay */
#fullPageLoader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    text-align: center;
}

#fullPageLoader > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#fullPageLoader svg {
    margin: auto;
    background: none;
    display: block;
}

#fullPageLoader p {
    color: white;
    font-size: 18px;
    margin-top: 10px;
}

/* Responsive optimizations */
@media (max-width: 767.98px) {
    .homepage-carousel-img {
        height: auto;
    }
    
    .ebook-download-bar .btn-lg {
        padding: 8px 16px !important;
        font-size: 16px !important;
        line-height: 1.2 !important;
    }
    
    .course-image {
        height: auto;
        max-height: 200px;
    }
}

/* E-book section styles */
.ebook-bg {
    background-image: url('front/sliderimages/Ebook-Banner-2.webp');
    background-size: cover;
    background-position: center;
}

.ebook-mobile-img {
    float: left;
    width: 100%;
}

.ebook-desktop-img {
    margin-left: 80px;
    height: 594px;
    width: 480px;
}

/* FORCED REFLOW PREVENTION - Hover state optimizations */
.customImagesText {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    position: absolute;
    white-space: nowrap;
}

.cb-anchor:hover .customImagesText {
    opacity: 1;
    visibility: visible;
}

/* Prevent banner transitions from causing reflows */
.classForDesktop,
.classForMobile {
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    will-change: opacity, visibility;
}

.classForDesktop.show,
.classForMobile.show {
    visibility: visible !important;
}

/* Mobile navigation sticky footer */
.mobile-footer {
    display: none;
    position: relative;
    z-index: 9999;
}

.menu {
    box-sizing: border-box;
    height: 80px;
    width: 100%;
    color: #ffffff;
    background: #29ab9f;
    position: fixed;
    bottom: -40px;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 0;
    display: flex;
    justify-content: space-around;
}

.menu-item {
    position: relative;
    cursor: pointer;
    padding: 0 10px;
}

.menu-item__status {
    opacity: 0;
    position: absolute;
    top: -20px;
    left: 50%;
    background: #ffffff;
    width: 70px;
    height: 2px;
    transform: translateX(-50%);
    transition: opacity 500ms ease-out;
}

.menu-item--active .menu-item__status {
    opacity: 1;
}

.menu-item__icon {
    width: 24px;
    height: 24px;
    margin: auto;
}

.menu-item__icon svg path {
    fill: #ffffff;
}

.menu-item__text {
    margin-top: 4px;
    color: #000000;
    font-weight: bold;
    font-size: 16px;
    transition: color 500ms ease-out;
}

.menu-item--active .menu-item__text {
    color: #ffffff;
}

/* Sticky Navigation */
nav.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

#main-content img {
    max-width: 100%;
    display: block;
}

/* Mobile specific styles */
@media (max-width: 480px) {
    ul#top_nav {
        list-style: none;
        padding: 0;
        margin: -10px 0px 0 0;
        font-size: 12px;
        float: right;
    }
    
    .mobile-footer {
        display: block;
    }
}

/* ===================================
   LOGIN PAGE STYLES
   =================================== */

.login-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center; 
    padding: 40px 20px;
}

.login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
}

.login-header {
    background: linear-gradient(135deg, #004e6d 0%, #29ab9f 100%);
    padding: 30px;
    text-align: center;
    color: white;
}

.login-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.login-header p {
    margin: 10px 0 0;
    font-size: 14px;
    opacity: 0.9;
}

.login-body {
    padding: 40px;
}

.form-group-modern {
    margin-bottom: 25px;
    position: relative;
}

.form-group-modern label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.form-group-modern .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group-modern .form-control:focus {
    outline: none;
    border-color: #29ab9f;
    box-shadow: 0 0 0 3px rgba(41, 171, 159, 0.15);
}

.form-group-modern .form-control.is-invalid {
    border-color: #dc3545;
}

.form-group-modern .invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

.remember-forgot-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #29ab9f;
}

.custom-checkbox label {
    margin: 0;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.forgot-link {
    color: #004e6d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #29ab9f;
    text-decoration: none;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #004e6d 0%, #29ab9f 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 78, 109, 0.4);
    background: linear-gradient(135deg, #003d55 0%, #1a8f85 100%);
}

.btn-login:active {
    transform: translateY(0);
}

.login-footer {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #e1e8ed;
}

.login-footer p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.login-footer a {
    color: #29ab9f;
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover {
    color: #004e6d;
    text-decoration: none;
}

/* Registration Form - 2 Column Layout */
.login-body .form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.login-body .form-row .form-group-modern {
    flex: 1;
    min-width: calc(50% - 10px);
    max-width: calc(50% - 10px);
    margin-bottom: 0;
}

.login-body .form-group-modern.full-width {
    width: 100%;
    max-width: 100%;
}

.login-body .form-group-modern .form-control,
.login-body .form-group-modern input,
.login-body .form-group-modern textarea {
    width: 100%;
    box-sizing: border-box;
}

.login-body .form-group-modern textarea#note {
    min-height: 180px;
}

@media (max-width: 767px) {
    .login-body .form-row .form-group-modern {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
.alert-danger-modern {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Responsive Login */
@media (max-width: 576px) {
    .login-wrapper {
        padding: 20px 15px;
    }
    
    .login-header h2 {
        font-size: 24px;
    }
    
    .login-body {
        padding: 30px 20px;
    }
}

/* ===================================
   PASSWORD RESET PAGES STYLES
   =================================== */

.reset-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #29ab9f 0%, #1a8f85 100%);
    padding: 40px 20px;
}

.reset-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-width: 550px;
    width: 100%;
}

.reset-header {
    background: linear-gradient(135deg, #004e6d 0%, #29ab9f 100%);
    padding: 30px;
    text-align: center;
    color: white;
}

.reset-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.reset-header p {
    margin: 10px 0 0;
    font-size: 14px;
    opacity: 0.9;
}

.reset-body {
    padding: 40px;
}

.alert-success-modern {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.btn-reset {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #004e6d 0%, #29ab9f 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-reset:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 78, 109, 0.4);
    background: linear-gradient(135deg, #003d55 0%, #1a8f85 100%);
}

.btn-reset:active {
    transform: translateY(0);
}

.reset-footer {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #e1e8ed;
}

.reset-footer p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.reset-footer a {
    color: #004e6d;
    text-decoration: none;
    font-weight: 600;
}

.reset-footer a:hover {
    color: #29ab9f;
    text-decoration: underline;
}

.password-requirements {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #29ab9f;
}

.password-requirements h4 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.password-requirements ul {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    color: #666;
}

.password-requirements ul li {
    margin-bottom: 5px;
}

/* Responsive Password Reset */
@media (max-width: 576px) {
    .reset-wrapper {
        padding: 20px 15px;
    }
    
    .reset-header h2 {
        font-size: 24px;
    }
    
    .reset-body {
        padding: 30px 20px;
    }
}

/* ===================================
   ONLINE COURSES PAGE STYLES
   =================================== */

.online-courses-lead {
    margin-top: 15px;
}

.btn-details {
    text-align: center !important;
}

/* Course card styles are now in pages/home.css and page-specific CSS */

/* FAQ Section */
.faq-heading {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.faq-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #29ab9f 0%, #1a8f85 100%);
    border-radius: 2px;
}

#faqAccordion {
    margin-top: 30px;
}

#faqAccordion .card {
    border: none;
    border-radius: 0;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

#faqAccordion .card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.faq-card-header {
    background: #ffffff;
    border: none;
    padding: 20px 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-card-header:hover {
    background: #f8f9fa;
}

.faq-button {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    text-align: left;
    padding: 0;
    background: transparent;
    border: none;
    width: 100%;
}

.faq-button:hover,
.faq-button:focus {
    text-decoration: none;
    color: #29ab9f;
    background: transparent;
    box-shadow: none;
    outline: none;
}

.faq-button:not(.collapsed) {
    color: #29ab9f;
}

.btn-accordion-toggle {
    background: transparent;
    border: none;
    outline: none;
    padding: 5px;
    min-width: 30px;
    cursor: pointer;
}

.btn-accordion-toggle:focus {
    outline: none;
    box-shadow: none;
}

.accordion-icon {
    font-size: 20px;
    color: #29ab9f;
    display: inline-block;
    transition: transform 0.3s ease;
}

.accordion-icon i {
    transition: transform 0.3s ease;
    display: block;
}

.btn-accordion-toggle:not(.collapsed) .accordion-icon i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 25px 25px 30px;
    background: #f8f9fa;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    border-top: 2px solid #e8e8e8;
}

.faq-answer p {
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    margin: 12px 0;
    padding-left: 25px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer strong {
    color: #1a1a1a;
    font-weight: 600;
}

.faq-answer a {
    color: #29ab9f;
    text-decoration: none;
    font-weight: 600;
}

.faq-answer a:hover {
    color: #1a8f85;
    text-decoration: underline;
}

/* Responsive FAQ */
@media (max-width: 767px) {
    .faq-heading {
        font-size: 28px;
    }
    
    .faq-card-header {
        padding: 16px 18px;
    }
    
    .faq-button {
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 20px 18px;
        font-size: 14px;
    }
}

/* ===================================
   CLASSROOM COURSES PAGE STYLES
   =================================== */

/* Course Type Selector */
.course-type-selector {
    border-radius: 12px;
    border: none;
}

.course-selector-header {
    padding: 30px 20px;
}

.course-type-title {
    font-weight: 700;
    font-size: 2.2rem;
    margin: 0;
    color: #1a1a1a;
}

.course-type-subtitle {
    font-size: 16px !important;
    font-weight: 500;
    color: #666;
}

/* Classroom Cards */
.classroom-card {
    position: relative;
}

.class-schedule {
    margin: 18px 0;
    padding: 18px;
    background: #f5f8fa;
    border-radius: 8px;
    border: 1px solid #e0e7ed;
}

.schedule-heading {
    font-size: 15px;
    font-weight: 700;
    color: #004e6d;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule-item {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.schedule-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.schedule-date {
    font-size: 15px;
    font-weight: 700;
    color: #004e6d;
    line-height: 1.3;
}

.schedule-day {
    font-size: 14px;
    font-weight: 600;
    color: #29ab9f;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.schedule-time {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Sold Out Overlay */
.sold-out-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10;
    gap: 15px;
}

.sold-out-badge {
    background: #ffffff;
    color: #dc3545;
    padding: 15px 35px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sold-out-text {
    font-size: 22px;
    font-weight: 800;
}

.webinar-link-wrapper {
    background: rgba(255, 255, 255, 0.95);
    padding: 3px;
    border-radius: 8px;
}

.webinar-link-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #29ab9f;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.webinar-link-btn:hover {
    background: #1a8f85;
    color: #ffffff;
    text-decoration: none;
}

/* Limited Seats Badge */
.limited-seats-badge {
    background: #dc3545;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.5);
    animation: pulse 2s infinite;
    margin-top: 12px;
    display: inline-block;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* ===================================
   WEBINAR COURSES PAGE STYLES
   =================================== */

/* Webinar Cards - Same as classroom cards with additional styling */
.webinar-card {
    position: relative;
}

.webinar-schedule {
    margin: 18px 0;
    padding: 18px;
    background: #f0f7ff;
    border-radius: 8px;
    border: 1px solid #d0e4f7;
}

/* Responsive Webinar */
@media (max-width: 767px) {
    .webinar-schedule {
        padding: 15px;
    }
}

/* Responsive Classroom */
@media (max-width: 991px) {
    .course-type-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .course-type-title {
        font-size: 1.5rem;
    }
    
    .course-type-subtitle {
        font-size: 14px !important;
    }
    
    .sold-out-text {
        font-size: 16px;
    }
    
    .webinar-link-btn {
        font-size: 12px;
        padding: 8px 16px;
    }
}
/* ===================================
   CONTINUING EDUCATION PAGE STYLES
   =================================== */

/* Page Header */
.page-header-section {
    background: linear-gradient(135deg, #004e6d 0%, #29ab9f 100%);
    padding: 40px 0;
    margin-bottom: 30px;
}

.page-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Content Card */
.content-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.title-divider {
    border: 0;
    height: 3px;
    background: linear-gradient(90deg, #29ab9f 0%, #004e6d 100%);
    margin: 15px 0 25px;
    width: 100px;
}

.text-highlight {
    color: #004e6d;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 15px;
}

.lead-text {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* State Selector */
.state-selector {
    width: 50%;
    background: #fff url('front/img/dropdownarrow.png') no-repeat right 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 40px 12px 15px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.state-selector:focus {
    border-color: #29ab9f;
    box-shadow: 0 0 0 3px rgba(41, 171, 159, 0.1);
    outline: none;
}

/* CE Courses Table */
.ce-table-container {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.ce-courses-table {
    margin-bottom: 0;
}

.ce-courses-table thead {
    background: linear-gradient(135deg, #004e6d 0%, #29ab9f 100%);
}

.ce-courses-table thead th {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    padding: 18px 20px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ce-courses-table tbody tr {
    transition: all 0.3s ease;
}

.ce-courses-table tbody tr:hover {
    background: #f8f9fa;
    transform: translateX(3px);
}

.course-title-cell {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    padding: 20px;
    vertical-align: middle;
}

.course-title-cell span {
    color: #29ab9f;
    font-weight: 700;
}

.action-cell {
    text-align: right;
    padding: 20px;
    vertical-align: middle;
}

.btn-ce-signup {
    background: linear-gradient(135deg, #29ab9f 0%, #1a8f85 100%);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(41, 171, 159, 0.3);
}

.btn-ce-signup:hover {
    background: linear-gradient(135deg, #1a8f85 0%, #127a71 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(41, 171, 159, 0.4);
    color: #ffffff;
}

.btn-ce-signup i {
    margin-right: 8px;
}

/* Sidebar Styling */
.sidebar-section {
    position: sticky;
    top: 20px;
}

.sidebar-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.sidebar-image-wrapper {
    overflow: hidden;
}

.sidebar-image-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.sidebar-card:hover .sidebar-image-wrapper img {
    transform: scale(1.05);
}

/* Responsive CE Page */
@media (max-width: 991px) {
    .page-title {
        font-size: 2rem;
    }
    
    .content-card {
        padding: 25px;
    }
    
    .state-selector {
        width: 70%;
    }
}

@media (max-width: 767px) {
    .page-header-section {
        padding: 30px 0;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .text-highlight {
        font-size: 1.25rem;
    }
    
    .content-card {
        padding: 20px;
    }
    
    .state-selector {
        width: 100%;
    }
    
    .ce-courses-table thead th {
        font-size: 14px;
        padding: 15px;
    }
    
    .course-title-cell {
        font-size: 15px;
        padding: 15px;
    }
    
    .action-cell {
        text-align: center;
        display: block;
        padding: 15px;
    }
    
    .btn-ce-signup {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
    }
    
    .sidebar-section {
        position: static;
        margin-top: 30px;
    }
}

/* ===================================
   ABOUT US PAGE STYLES
   =================================== */

/* Video Container - Responsive 16:9 */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin: 25px 0 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* About Content */
.about-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.about-content p {
    margin-bottom: 18px;
}

.about-content h3,
.about-content h4 {
    color: #004e6d;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 15px;
}

.about-content ul,
.about-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.about-content li {
    margin-bottom: 10px;
}

/* Director Profile */
.director-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin-top: 30px;
    border-left: 4px solid #29ab9f;
}

.director-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.director-info {
    flex: 1;
}

.director-name {
    font-size: 22px;
    font-weight: 700;
    color: #004e6d;
    margin: 0 0 5px;
}

.director-title {
    font-size: 16px;
    color: #666;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

/* Responsive About Us */
@media (max-width: 991px) {
    .video-container {
        margin: 20px 0 25px;
    }
    
    .director-photo {
        width: 100px;
        height: 100px;
    }
    
    .director-name {
        font-size: 20px;
    }
    
    .director-title {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .video-container {
        margin: 15px 0 20px;
        border-radius: 8px;
    }
    
    .about-content {
        font-size: 15px;
    }
    
    .director-profile {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    
    .director-photo {
        width: 100px;
        height: 100px;
    }
    
    .director-name {
        font-size: 18px;
    }
    
    .director-title {
        font-size: 14px;
    }
}


/* ===================================
   WHY STUDY WITH US PAGE STYLES
   =================================== */

/* Why Content */
.why-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.why-content p {
    margin-bottom: 20px;
}

.why-content strong {
    color: #004e6d;
    font-weight: 700;
}

/* Highlight Box */
.highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: #ffffff;
    border-radius: 15px;
    border: 2px solid #29ab9f;
    margin: 30px 0;
    box-shadow: 0 8px 20px rgba(41, 171, 159, 0.15);
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #29ab9f 0%, #004e6d 100%);
}

.highlight-icon {
    font-size: 50px;
    color: #29ab9f;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e6f7f5 0%, #d0f0eb 100%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(41, 171, 159, 0.2);
}

.highlight-text {
    font-size: 19px;
    font-weight: 700;
    color: #004e6d;
    margin: 0;
    line-height: 1.7;
    flex: 1;
    padding-top: 10px;
}

/* Stats Quote */
.stats-quote {
    background: #ffffff;
    padding: 35px;
    border-radius: 15px;
    margin: 30px 0;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #e3e3e3;
}

.stats-quote::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(41, 171, 159, 0.05) 0%, rgba(0, 78, 109, 0.05) 100%);
    border-radius: 0 15px 0 100%;
}

.quote-icon {
    position: absolute;
    top: 25px;
    left: 25px;
    opacity: 0.06;
}

.quote-icon i {
    font-size: 80px;
    color: #004e6d;
}

.quote-text {
    font-size: 18px;
    font-style: italic;
    color: #2c3e50;
    line-height: 1.8;
    margin: 0 0 25px;
    position: relative;
    z-index: 1;
    padding-left: 20px;
    border-left: 4px solid #29ab9f;
    font-weight: 500;
}

.quote-source {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.source-name {
    font-size: 17px;
    font-weight: 700;
    color: #004e6d;
    margin: 0 0 5px;
}

.source-title {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-style: italic;
}

/* Guarantee Box */
.guarantee-box {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #004e6d 0%, #29ab9f 100%);
    border-radius: 15px;
    margin: 20px 0 30px;
    box-shadow: 0 8px 20px rgba(0, 78, 109, 0.25);
    position: relative;
    overflow: hidden;
}

.guarantee-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.guarantee-icon {
    font-size: 45px;
    color: #ffffff;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.15);
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.guarantee-box p {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Responsive Why Study */
@media (max-width: 991px) {
    .highlight-box,
    .guarantee-box {
        padding: 25px;
        gap: 20px;
    }
    
    .highlight-icon {
        width: 70px;
        height: 70px;
        font-size: 40px;
    }
    
    .guarantee-icon {
        width: 65px;
        height: 65px;
        font-size: 38px;
    }
    
    .highlight-text {
        font-size: 17px;
    }
    
    .quote-text {
        font-size: 16px;
    }
    
    .stats-quote {
        padding: 30px 25px;
    }
}

@media (max-width: 767px) {
    .why-content {
        font-size: 15px;
    }
    
    .highlight-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
    }
    
    .highlight-box::before {
        width: 100%;
        height: 6px;
    }
    
    .highlight-icon {
        width: 80px;
        height: 80px;
        font-size: 45px;
    }
    
    .highlight-text {
        font-size: 16px;
        padding-top: 0;
    }
    
    .quote-text {
        font-size: 15px;
        padding-left: 15px;
    }
    
    .stats-quote {
        padding: 25px 20px;
    }
    
    .quote-icon i {
        font-size: 50px;
    }
    
    .guarantee-box {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
    }
    
    .guarantee-icon {
        width: 70px;
        height: 70px;
        font-size: 40px;
    }
    
    .guarantee-box p {
        font-size: 16px;
    }
}

/* ===================================
   GENERAL FAQS PAGE STYLES
   =================================== */

/* FAQ Categories */
.faq-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.faq-category-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #ffffff;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.faq-category-card:hover {
    border-color: #29ab9f;
    box-shadow: 0 6px 20px rgba(41, 171, 159, 0.12);
    transform: translateY(-3px);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #29ab9f 0%, #1a8f85 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(41, 171, 159, 0.25);
}

.category-icon i {
    font-size: 28px;
    color: #ffffff;
}

.category-content {
    flex: 1;
}

.category-title {
    font-size: 19px;
    font-weight: 700;
    color: #004e6d;
    margin: 0 0 8px;
}

.category-desc {
    font-size: 15px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Responsive FAQ Categories */
@media (max-width: 991px) {
    .faq-categories {
        gap: 18px;
        margin-top: 25px;
    }
    
    .faq-category-card {
        padding: 20px;
    }
    
    .category-icon {
        width: 55px;
        height: 55px;
    }
    
    .category-icon i {
        font-size: 26px;
    }
    
    .category-title {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .faq-categories {
        gap: 15px;
        margin-top: 20px;
    }
    
    .faq-category-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon i {
        font-size: 28px;
    }
    
    .category-title {
        font-size: 17px;
    }
    
    .category-desc {
        font-size: 14px;
    }
}

/* ===================================
   Help Desk Styles
   =================================== */

/* Help Desk Topics Sidebar */
.helpdesk-topics {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.helpdesk-topics-title {
    font-size: 20px;
    font-weight: 700;
    color: #004e6d;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #29ab9f;
}

.helpdesk-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.helpdesk-list-item {
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.helpdesk-list-item.active {
    border-left-color: #29ab9f;
    background: linear-gradient(to right, rgba(41, 171, 159, 0.08) 0%, transparent 100%);
}

.helpdesk-list-item a.knowledgeBaseBtn {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.helpdesk-list-item a.knowledgeBaseBtn i {
    margin-right: 10px;
    color: #29ab9f;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.helpdesk-list-item.active a.knowledgeBaseBtn {
    color: #29ab9f;
    font-weight: 600;
}

.helpdesk-list-item.active a.knowledgeBaseBtn i {
    transform: rotate(90deg);
}

.helpdesk-list-item:hover {
    background: linear-gradient(to right, rgba(41, 171, 159, 0.05) 0%, transparent 100%);
}

.helpdesk-list-item:hover a.knowledgeBaseBtn {
    color: #29ab9f;
}

/* Help Desk Content Area */
.helpdesk-content-area {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-height: 400px;
}

.helpdesk-article {
    display: none;
}

.helpdesk-article-title {
    font-size: 26px;
    font-weight: 700;
    color: #004e6d;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.helpdesk-article-content {
    line-height: 1.8;
    color: #555;
    font-size: 16px;
}

.helpdesk-article-content h1,
.helpdesk-article-content h2,
.helpdesk-article-content h3,
.helpdesk-article-content h4 {
    color: #004e6d;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.helpdesk-article-content p {
    margin-bottom: 15px;
}

.helpdesk-article-content ul,
.helpdesk-article-content ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.helpdesk-article-content li {
    margin-bottom: 8px;
}

.helpdesk-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.helpdesk-article-content a {
    color: #29ab9f;
    text-decoration: underline;
}

.helpdesk-article-content a:hover {
    color: #004e6d;
}

/* Help Desk Actions */
.helpdesk-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-tita-primary {
    background: linear-gradient(135deg, #29ab9f 0%, #1a8a7f 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(41, 171, 159, 0.3);
}

.btn-tita-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(41, 171, 159, 0.4);
    color: white;
}

.btn-tita-primary i {
    margin-right: 8px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .helpdesk-content-area {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .helpdesk-topics,
    .helpdesk-content-area {
        padding: 20px;
    }
    
    .helpdesk-article-title {
        font-size: 22px;
    }
    
    .helpdesk-article-content {
        font-size: 15px;
    }
    
    .helpdesk-actions {
        flex-direction: column;
    }
    
    .helpdesk-actions .btn {
        width: 100%;
        margin: 5px 0 !important;
    }
}
/* ============================
   Contact Page Styles
   ============================ */

.contact-location-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.contact-location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.location-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.location-header h3 {
    margin: 0;
    color: #004e6d;
    font-size: 24px;
    font-weight: 700;
}

.location-address {
    margin: 0;
    font-style: normal;
}

.location-address p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}

.location-phone {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.location-phone i {
    margin-right: 8px;
    color: #29ab9f;
}

.location-phone a {
    color: #004e6d;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-phone a:hover {
    color: #29ab9f;
}

.contact-method-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    height: 100%;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.contact-method-title {
    color: #004e6d;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-method-title i {
    font-size: 24px;
}

.contact-method-item {
    font-size: 18px;
    margin: 20px 0;
}

.contact-method-item a {
    color: #004e6d;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method-item a:hover {
    color: #29ab9f;
}

.contact-social-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.social-links-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #29ab9f 0%, #004e6d 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(41, 171, 159, 0.3);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(41, 171, 159, 0.4);
    color: white;
    text-decoration: none;
}

.social-link i {
    font-size: 20px;
}

/* Responsive Contact Page Styles */
@media (max-width: 767px) {
    .contact-location-card,
    .contact-method-card,
    .contact-social-card {
        padding: 20px;
    }
    
    .location-header h3,
    .contact-method-title {
        font-size: 20px;
    }
    
    .social-links-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .social-link {
        justify-content: center;
    }
}

/* ============================
   E-Book Page Styles
   ============================ */

.ebook-image-section {
    margin-bottom: 30px;
}

.ebook-cover-image {
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.ebook-cover-image:hover {
    transform: scale(1.05);
}

.ebook-benefits {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #29ab9f;
}

.ebook-benefits h3 {
    color: #004e6d;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.ebook-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ebook-features-list li {
    padding: 10px 0;
    font-size: 15px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ebook-features-list li i {
    margin-top: 3px;
    font-size: 18px;
    flex-shrink: 0;
}

.ebook-form label {
    font-weight: 600;
    color: #004e6d;
    margin-bottom: 8px;
    font-size: 15px;
}

.ebook-form .form-control {
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.ebook-form .form-control:focus {
    border-color: #29ab9f;
    box-shadow: 0 0 0 0.2rem rgba(41, 171, 159, 0.15);
    background-color: #fff;
}

.ebook-form select.form-control {
    height: 46px;
}

.ebook-download-btn {
    background: linear-gradient(135deg, #29ab9f 0%, #004e6d 100%);
    border: none;
    color: white;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(41, 171, 159, 0.3);
}

.ebook-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 171, 159, 0.4);
    color: white;
}

.ebook-download-btn i {
    margin-right: 8px;
}

.captcha-display {
    background: linear-gradient(135deg, #29ab9f 0%, #004e6d 100%);
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

.course-option-card {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

.course-option-card .card-body {
    padding: 20px;
}

.course-option-card h3 a {
    color: #004e6d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.course-option-card h3 a:hover {
    color: #29ab9f;
}

.benefit-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.benefit-card i {
    display: block;
    margin-bottom: 20px;
}

.benefit-card h4 {
    color: #004e6d;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive E-Book Page Styles */
@media (max-width: 991px) {
    .ebook-image-section {
        margin-top: 30px;
    }
    
    .ebook-cover-image {
        max-width: 400px;
    }
}

@media (max-width: 767px) {
    .ebook-benefits {
        padding: 20px;
    }
    
    .ebook-cover-image {
        max-width: 300px;
    }
    
    .benefit-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
}

/* Blog Listing Styles */
.blog-listing {
    position: relative;
    width: 100%;
}

.blog-post-item {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 35px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.blog-post-item:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
    border-color: #29ab9f;
}

.blog-image {
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.blog-image a {
    display: block;
}

.blog-image img {
    width: 100%;
    height: auto;
    min-height: 250px;
    max-height: 280px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    border-radius: 8px;
}

.blog-post-item:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 0;
}

.blog-title {
    font-size: 19px!important;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-title a {
    color: #004e6d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #29ab9f;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e8e8;
    font-size: 14px;
    color: #666;
}

.blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    color: #29ab9f;
    font-size: 14px;
}

.blog-excerpt {
    color: #555;
    line-height: 1.7;
    margin-bottom: 18px;
    font-size: 15px;
}

.blog-content .btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.blog-content .btn-primary {
    background: #29ab9f;
    border-color: #29ab9f;
}

.blog-content .btn-primary:hover {
    background: #004e6d;
    border-color: #004e6d;
    transform: translateX(3px);
}

.blog-content .btn-primary i {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.blog-content .btn-primary:hover i {
    margin-left: 8px;
}

.blog-pagination {
    position: static !important;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    clear: both;
}

.blog-pagination .pagination {
    position: static !important;
    margin: 0 auto;
}

.blog-pagination nav {
    position: static !important;
}

@media (max-width: 767px) {
    .blog-post-item {
        margin-bottom: 25px;
        padding: 20px;
    }
    
    .blog-image {
        margin-bottom: 15px;
    }
    
    .blog-image img {
        min-height: 200px;
        max-height: 220px;
    }
    
    .blog-title {
        font-size: 19px;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 10px;
        font-size: 13px;
    }
    
    .blog-excerpt {
        font-size: 14px;
    }
}

/* Blog Detail Page Styles */
.blog-detail-content {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.blog-detail-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.blog-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 14px;
    color: #666;
}

.blog-detail-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-detail-meta i {
    color: #29ab9f;
    font-size: 14px;
}

.blog-detail-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.blog-detail-body h1,
.blog-detail-body h2,
.blog-detail-body h3,
.blog-detail-body h4,
.blog-detail-body h5,
.blog-detail-body h6 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #004e6d;
}

.blog-detail-body p {
    margin-bottom: 20px;
}

.blog-detail-body ul,
.blog-detail-body ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.blog-detail-body li {
    margin-bottom: 10px;
}

.blog-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-detail-body blockquote {
    border-left: 4px solid #29ab9f;
    padding: 15px 20px;
    margin: 20px 0;
    background: #f8f9fa;
    font-style: italic;
}

/* Recent Posts Sidebar */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post-item {
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.recent-post-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.recent-post-item img {
    border-radius: 6px;
    width: 100%;
    height: 70px;
    object-fit: cover;
}

.recent-post-item h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.recent-post-item h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-item h5 a:hover {
    color: #29ab9f;
}

.recent-post-item .small {
    font-size: 12px;
    color: #999;
}

.recent-post-item i {
    font-size: 12px;
    margin-right: 4px;
}

/* Responsive Styles for Blog Detail */
@media (max-width: 767px) {
    .blog-detail-content {
        padding: 20px;
    }

    .blog-detail-meta {
        flex-direction: column;
        gap: 10px;
    }

    .blog-detail-body {
        font-size: 15px;
    }
}
/* ===================================
   E-Book Section Modern Design
   =================================== */
/* E-Book section styles moved to pages/home.css — no duplicates here */
/* ===================================
   E-Book Modal Design
   =================================== */
#ebookModal {
    z-index: 100050 !important;
}

#ebookModal.modal {
    z-index: 100050 !important;
}

#ebookModal .modal-dialog {
    z-index: 100051 !important;
    position: relative;
}

#ebookModal .modal-content {
    border: none;
    border-radius: 15px;
    overflow: visible;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    position: relative;
    z-index: 100052 !important;
}

#ebookModal .modal-header {
    background: linear-gradient(135deg, #29ab9f 0%, #1e8c82 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-bottom: none;
}

#ebookModal .modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

#ebookModal .close {
    color: white;
    opacity: 1;
    text-shadow: none;
    font-size: 2rem;
    font-weight: 300;
}

#ebookModal .close:hover {
    color: #ffffff;
    opacity: 0.8;
}

#ebookModal .modal-body {
    padding: 2rem;
    background: #f8f9fa;
}

#ebookModal .modal-body .container-fluid {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

#ebookModal .form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

#ebookModal .form-control:focus {
    border-color: #29ab9f;
    box-shadow: 0 0 0 0.2rem rgba(41, 171, 159, 0.25);
}

#ebookModal label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

#ebookModal .btn-primary {
    background: linear-gradient(135deg, #29ab9f 0%, #1e8c82 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

#ebookModal .btn-primary:hover {
    background: linear-gradient(135deg, #1e8c82 0%, #176d65 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(41, 171, 159, 0.3);
}

#ebookModal .btn-warning {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

#ebookModal .btn-success {
    background: #28a745;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

#ebookModal #calculateNum {
    background: #29ab9f;
    color: white !important;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    display: inline-block;
}

#ebookModal .list-unstyled li {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
}

#ebookModal .list-unstyled li i {
    color: #29ab9f;
    margin-right: 0.5rem;
}

.ebook-cta-button {
    background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(198, 40, 40, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.ebook-cta-button:hover {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(198, 40, 40, 0.4);
}

.ebook-cta-button i {
    margin-right: 0.5rem;
}

.box_style_1 {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #29ab9f;
    color: #333;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.box_style_1 h4 {
    color: #005b7f;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.box_style_1 p {
    color: #555;
    font-size: 1.25rem;
    line-height: 1.7;
}

@media (max-width: 767px) {
    #ebookModal .modal-body {
        padding: 1rem;
    }
    
    #ebookModal .modal-body .container-fluid {
        padding: 1rem;
    }
    
    .ebook-cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Fix for modal backdrop z-index */
.modal-backdrop {
    z-index: 100040 !important;
}

.modal-backdrop.show {
    z-index: 100040 !important;
}

.modal.show {
    z-index: 100050 !important;
}

.modal.fade.show {
    z-index: 100050 !important;
}

body.modal-open {
    overflow: hidden !important;
}

/* Ensure modal content is interactive */
#ebookModal .modal-content * {
    pointer-events: auto !important;
}

#ebookModal input,
#ebookModal select,
#ebookModal button,
#ebookModal textarea {
    pointer-events: auto !important;
    cursor: pointer;
}

#ebookModal input[type="text"],
#ebookModal input[type="email"],
#ebookModal select,
#ebookModal textarea {
    cursor: text;
}

.modal-open {
    overflow: hidden;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

/* Additional Modal Fixes for Interaction */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: none;
}

#ebookModal.modal.fade .modal-dialog {
    transform: translate(0, -50px);
    transition: transform 0.3s ease-out;
}

#ebookModal.modal.show .modal-dialog {
    transform: none;
}

/* Ensure all interactive elements work */
#ebookModal *:not(.close):not(button):not(input):not(select):not(textarea) {
    user-select: text;
}

#ebookModal button,
#ebookModal input,
#ebookModal select,
#ebookModal textarea,
#ebookModal .close {
    -webkit-tap-highlight-color: transparent;
}

/* Fix close button */
#ebookModal .modal-header .close {
    position: relative;
    z-index: 100002;
    padding: 0.5rem 1rem;
    margin: -0.5rem -1rem -0.5rem auto;
}

/* Ebook z-index helpers moved to pages/home.css */

/* ===================================
   PROFESSIONAL CLEAN NAVIGATION MENU
   =================================== */

/* Sticky wrapper that holds header + nav together */
.site-sticky-header {
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Main Navigation Container - scoped to avoid conflicting with .tita-navbar or page breadcrumbs */
nav:not(.tita-navbar):not(.oc-breadcrumb):not([aria-label="Breadcrumb"]) {
    background: #ffffff;
    border-top: 3px solid #29ab9f;
    position: static;
    transition: all 0.3s ease;
}

nav .container {
    position: relative;
}

/* Mobile Menu Button - Clean Hamburger */
#mobnav-btn {
    display: none;
    width: 44px;
    height: 44px;
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
    z-index: 1001;
    background: #29ab9f;
    border-radius: 8px;
    padding: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Show only on mobile */
@media (max-width: 991px) {
    #mobnav-btn {
        display: block !important;
    }
}

#mobnav-btn:hover {
    background: #1a8f85;
    transform: scale(1.05);
}

/* Hamburger lines structure */
#mobnav-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

#mobnav-btn span::before,
#mobnav-btn span::after {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

#mobnav-btn span::before {
    top: -7px;
}

#mobnav-btn span::after {
    top: 7px;
}

/* Active state - Transform to X */
#mobnav-btn.active span {
    background: transparent !important;
}

#mobnav-btn.active span::before {
    top: 0;
    left: 0;
    transform: rotate(45deg);
}

#mobnav-btn.active span::after {
    top: 0;
    left: 0;
    transform: rotate(-45deg);
}

/* Mobile Header Layout */
@media (max-width: 991px) {
    /* Top bar - Stack on mobile */
    .tita-topbar .topbar-inner {
        flex-direction: column;
        gap: 0;
        min-height: auto;
    }
    
    .tita-topbar .topbar-left,
    .tita-topbar .topbar-right {
        width: 100%;
        justify-content: center;
    }
    
    .tita-topbar .topbar-right {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    /* Header - Compact on mobile */
    .tita-header .header-inner {
        min-height: 64px;
    }
    
    .tita-header .logo-img {
        height: 45px;
    }
    
    /* Hide desktop auth buttons on mobile */
    .tita-header .header-actions {
        display: none;
    }
    
    /* Hamburger Menu */
    #mobnav-btn {
        display: block !important;
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        margin: 0;
    }
}

@media (max-width: 575px) {
    .tita-topbar {
        display: none;
    }
    
    .tita-header .logo-img {
        height: 40px;
    }
}

/* Show header actions on desktop, hide mobnav-btn */
@media (min-width: 992px) {
    .tita-header .header-actions {
        display: flex !important;
    }
    
    #mobnav-btn {
        display: none !important;
    }
}

/* Main Menu - Desktop Only */
@media (min-width: 992px) {
    ul.sf-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 2px;
    }
    
    ul.sf-menu > li {
        position: relative;
        margin: 0;
        flex-shrink: 0;
    }
    
    /* Parent Menu Items - Desktop */
    ul.sf-menu > li > a {
        display: flex;
        align-items: center;
        padding: 22px 16px;
        color: #2c3e50;
        text-decoration: none;
        font-weight: 600;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        position: relative;
        white-space: nowrap;
        border-bottom: 3px solid transparent;
    }

    ul.sf-menu > li > a:hover,
    ul.sf-menu > li.active > a,
    ul.sf-menu > li.sfHover > a {
        color: #29ab9f;
        background: linear-gradient(180deg, transparent 0%, rgba(41, 171, 159, 0.06) 100%);
        border-bottom-color: #29ab9f;
    }

    /* Parent Items with Dropdown Indicator - ONLY for items with submenus */
    ul.sf-menu > li > a.sf-with-ul {
        padding-right: 28px;
    }

    ul.sf-menu > li > a.sf-with-ul::after {
        content: '▾' !important;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 9px;
        transition: transform 0.3s ease;
        color: currentColor;
        opacity: 0.6;
        display: block !important;
        border: none !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
    }

    ul.sf-menu > li:hover > a.sf-with-ul::after,
    ul.sf-menu > li.sfHover > a.sf-with-ul::after {
        transform: translateY(-50%) rotate(180deg);
        opacity: 1;
    }
}

/* Child Menu Dropdown - Desktop Only */
@media (min-width: 992px) {
    ul.sf-menu ul {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 240px;
        background: #ffffff;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        border-radius: 0 0 8px 8px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        list-style: none;
        padding: 8px 0;
        margin: 0;
        margin-top: -3px;
        border-top: 3px solid #29ab9f;
    }

    ul.sf-menu li:hover > ul,
    ul.sf-menu li.sfHover > ul {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Child Menu Items */
ul.sf-menu ul li {
    margin: 0;
    padding: 0;
}

ul.sf-menu ul li a {
    display: block;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    position: relative;
    text-transform: none;
    letter-spacing: 0;
    border-left: 3px solid transparent;
}

ul.sf-menu ul li a:hover {
    color: #29ab9f;
    background: rgba(41, 171, 159, 0.06);
    border-left-color: #29ab9f;
    padding-left: 24px;
}

/* Mobile Sub-arrow - Modern Icon */
.mobnav-subarrow {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    cursor: pointer;
    border-radius: 6px;
    background: rgba(41, 171, 159, 0.1);
    transition: all 0.3s ease;
}

.mobnav-subarrow:hover {
    background: rgba(41, 171, 159, 0.2);
}

.mobnav-subarrow::before {
    content: '+';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #29ab9f;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.mobnav-subarrow.active::before {
    content: '−';
}

/* Sticky Navigation - Enhanced */
nav.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    border-bottom: 2px solid #29ab9f;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Navigation */
@media (max-width: 991px) {
    /* Position navigation container */
    nav {
        position: relative;
        min-height: 60px;
    }
    
    nav > .container > .row > .col-md-12 {
        position: relative;
        min-height: 60px;
    }
    
    /* Mobile Sidebar Menu - Clean & Simple */
    ul.sf-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: #ffffff;
        overflow-y: auto;
        overflow-x: hidden;
        transition: right 0.4s ease;
        box-shadow: -3px 0 15px rgba(0, 0, 0, 0.2);
        padding: 70px 0 30px;
        z-index: 1000;
        list-style: none;
        margin: 0;
        visibility: hidden;
        opacity: 0;
    }
    
    ul.sf-menu.mobile-active {
        right: 0;
        visibility: visible;
        opacity: 1;
    }
    
    /* Custom Scrollbar */
    ul.sf-menu::-webkit-scrollbar {
        width: 5px;
    }
    
    ul.sf-menu::-webkit-scrollbar-track {
        background: #f5f5f5;
    }
    
    ul.sf-menu::-webkit-scrollbar-thumb {
        background: #29ab9f;
        border-radius: 3px;
    }
    
    /* Menu Items - Simple Design */
    ul.sf-menu > li {
        width: 100%;
        position: relative;
        border-bottom: 1px solid #e8f5f4;
    }
    
    ul.sf-menu > li > a {
        padding: 16px 60px 16px 20px;
        color: #004e6d;
        font-size: 14px;
        font-weight: 600;
        background: transparent;
        border-bottom: none;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        display: block;
        position: relative;
        transition: all 0.3s ease;
        text-decoration: none;
        cursor: pointer;
    }
    
    /* Hide desktop arrows */
    ul.sf-menu > li > a::after {
        display: none !important;
    }
    
    ul.sf-menu > li > a:hover {
        color: #29ab9f;
        background: #f0fffe;
        padding-left: 25px;
    }
    
    /* Active menu item - with higher specificity */
    ul.sf-menu > li.mobile-submenu-active > a,
    ul.sf-menu > li.mobile-submenu-active > a:hover {
        color: #ffffff !important;
        background: linear-gradient(135deg, #29ab9f 0%, #1a8f85 100%) !important;
        padding-left: 20px !important;
    }
    
    /* Reset when not active */
    ul.sf-menu > li:not(.mobile-submenu-active) > a {
        color: #004e6d;
        background: transparent;
    }
    
    /* Submenu Toggle Arrow - Simple */
    .mobnav-subarrow {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        cursor: pointer;
        border-radius: 50%;
        background: transparent;
        transition: all 0.3s ease;
        z-index: 10;
        pointer-events: none;
    }
    
    .mobnav-subarrow::before {
        content: '▼';
        color: #004e6d;
        font-size: 12px;
        transition: transform 0.3s ease, color 0.3s ease;
    }
    
    .mobnav-subarrow.active::before {
        transform: rotate(180deg);
        color: #ffffff;
    }
    
    /* Submenu - Clean Collapse */
    ul.sf-menu ul {
        display: block !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border-radius: 0;
        background: linear-gradient(180deg, #f0fffe 0%, #e8f5f4 100%);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    
    ul.sf-menu li.mobile-submenu-active > ul {
        max-height: 500px;
        padding: 8px 0;
        border-top: 2px solid #29ab9f;
    }
    
    /* Submenu Items - Clean Style */
    ul.sf-menu ul li {
        border-bottom: none;
    }
    
    ul.sf-menu ul li a {
        padding: 13px 20px 13px 40px;
        color: #004e6d;
        font-size: 13px;
        font-weight: 500;
        text-transform: none;
        letter-spacing: 0.2px;
        display: block;
        position: relative;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    
    ul.sf-menu ul li a::before {
        content: '→';
        position: absolute;
        left: 22px;
        color: #29ab9f;
        font-size: 14px;
        line-height: 1;
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    ul.sf-menu ul li a:hover,
    ul.sf-menu ul li a:active {
        color: #ffffff;
        background: #29ab9f;
        padding-left: 42px;
    }
    
    ul.sf-menu ul li a:hover::before,
    ul.sf-menu ul li a:active::before {
        opacity: 1;
        left: 24px;
        color: #ffffff;
    }
    
    /* Mobile Menu Overlay */
    body.mobile-menu-active::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        animation: fadeInOverlay 0.3s ease;
    }
    
    @keyframes fadeInOverlay {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    /* Remove tap highlight */
    ul.sf-menu,
    ul.sf-menu li,
    ul.sf-menu li a,
    .mobnav-subarrow {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Prevent body scroll when menu is open */
    body.mobile-menu-active {
        overflow: hidden;
    }
}

@media (max-width: 767px) {
    ul.sf-menu {
        width: 280px;
        right: -280px;
    }
    
    ul.sf-menu ul li a {
        font-size: 12px;
        padding: 12px 20px 12px 45px;
    }
}

/* Navigation Accessibility */
ul.sf-menu a:focus {
    outline: 3px solid #29ab9f;
    outline-offset: 3px;
}

/* Smooth animations for dropdown items */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

ul.sf-menu ul li {
    animation: dropdownFadeIn 0.3s ease both;
}

ul.sf-menu li:hover > ul li:nth-child(1) { animation-delay: 0.05s; }
ul.sf-menu li:hover > ul li:nth-child(2) { animation-delay: 0.1s; }
ul.sf-menu li:hover > ul li:nth-child(3) { animation-delay: 0.15s; }
ul.sf-menu li:hover > ul li:nth-child(4) { animation-delay: 0.2s; }
ul.sf-menu li:hover > ul li:nth-child(5) { animation-delay: 0.25s; }
ul.sf-menu li:hover > ul li:nth-child(6) { animation-delay: 0.3s; }

/* ===================================
   EBOOK SECTION STYLES
   =================================== */

/* Ebook Box Section */
.ebook-section-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.ebook-section-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #29ab9f 0%, #004e6d 100%);
}

.ebook-box-content {
    padding: 40px 30px;
    text-align: center;
}

.ebook-box-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #004e6d;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ebook-box-description {
    font-size: 1.5rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ebook-box-action {
    margin-top: 30px;
}

.ebook-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #29ab9f, #1a8f85);
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    box-shadow: 0 6px 25px rgba(41, 171, 159, 0.35);
    transition: all 0.3s ease;
    cursor: pointer;
}

.ebook-cta-button:hover {
    background: linear-gradient(135deg, #1a8f85, #29ab9f);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(41, 171, 159, 0.45);
    color: #fff;
}

.ebook-cta-button i {
    font-size: 20px;
}

.ebook-errors {
    margin-bottom: 20px;
    border-radius: 10px;
}

/* Ebook Modal Styles */
.ebook-modal-dialog {
    max-width: 900px;
}

.ebook-modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.ebook-modal-header {
    background: linear-gradient(135deg, #004e6d, #29ab9f);
    color: #fff;
    padding: 20px 30px;
    border-bottom: none;
}

.ebook-modal-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.ebook-modal-close {
    color: #fff;
    opacity: 1;
    text-shadow: none;
    font-size: 32px;
    font-weight: 300;
    transition: transform 0.2s ease;
}

.ebook-modal-close:hover {
    color: #fff;
    transform: scale(1.1);
}

.ebook-modal-body {
    padding: 30px;
}

/* Ebook Modal Image */
.ebook-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ebook-preview-image {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    object-fit: cover;
}

.ebook-mobile-image {
    border-radius: 15px;
    margin-bottom: 20px;
}

/* Ebook Benefits */
.ebook-benefits-col {
    display: flex;
    align-items: center;
}

.ebook-benefits-wrapper {
    padding: 20px;
}

.ebook-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
}

.ebook-benefits-list li {
    margin-bottom: 20px;
    padding-left: 35px;
    position: relative;
    color: #2d3748;
}

.ebook-benefits-list li i {
    position: absolute;
    left: 0;
    top: 2px;
    color: #29ab9f;
    font-size: 20px;
}

/* Ebook Form */
.ebook-form-wrapper {
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
    margin-top: 20px;
}

.ebook-form {
    padding: 0;
}

.ebook-form-label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 14px;
}

.ebook-form-input,
.ebook-form-select {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.ebook-form-input:focus,
.ebook-form-select:focus {
    border-color: #29ab9f;
    box-shadow: 0 0 0 3px rgba(41, 171, 159, 0.1);
    outline: none;
}

/* Captcha Section */
.ebook-captcha-row {
    align-items: center;
    background: #f7fafc;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
}

.ebook-captcha-label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0;
    font-size: 16px;
}

.ebook-captcha-question {
    display: block;
    padding: 10px 20px;
    text-align: center;
    background: linear-gradient(135deg, #29ab9f, #1a8f85);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(41, 171, 159, 0.3);
}

/* Form Submit */
.ebook-form-submit-wrapper {
    text-align: right;
    margin-top: 20px;
}

.ebook-submit-btn {
    background: linear-gradient(135deg, #29ab9f, #1a8f85);
    color: #fff;
    padding: 12px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 15px rgba(41, 171, 159, 0.3);
    transition: all 0.3s ease;
}

.ebook-submit-btn:hover {
    background: linear-gradient(135deg, #1a8f85, #29ab9f);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 171, 159, 0.4);
    color: #fff;
}

/* OTP Section */
.ebook-otp-wrapper {
    display: none;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.ebook-otp-actions {
    text-align: right;
}

.ebook-ajax-messages {
    text-align: center;
    margin-bottom: 20px;
}

.ebook-otp-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 15px;
}

.ebook-resend-btn {
    background: #f59e0b;
    color: #fff;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.ebook-resend-btn:hover {
    background: #d97706;
    transform: translateY(-2px);
    color: #fff;
}

.ebook-verify-btn {
    background: #10b981;
    color: #fff;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.ebook-verify-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .ebook-box-title {
        font-size: 1.8rem;
    }
    
    .ebook-box-description {
        font-size: 0.95rem;
    }
    
    .ebook-modal-body {
        padding: 20px;
    }
    
    .ebook-benefits-list {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .ebook-box-content {
        padding: 30px 20px;
    }
    
    .ebook-box-title {
        font-size: 1.8rem;
    }
    
    .ebook-box-description {
        font-size: 0.9rem;
    }
    
    .ebook-cta-button {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
    
    .ebook-modal-title {
        font-size: 20px;
    }
    
    .ebook-benefits-list li {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .ebook-captcha-question {
        font-size: 20px;
    }
    
    .ebook-otp-buttons {
        flex-direction: column;
    }
    
    .ebook-form-submit-wrapper {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .ebook-box-content {
        padding: 25px 15px;
    }
    
    .ebook-box-title {
        font-size: 1.5rem;
    }
    
    .ebook-box-description {
        font-size: 0.85rem;
    }
    
    .ebook-cta-button {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .ebook-modal-body {
        padding: 15px;
    }
    
    .ebook-captcha-row {
        padding: 10px;
    }
    
    .ebook-captcha-question {
        font-size: 18px;
        padding: 8px 15px;
    }
}

@media (max-width: 767.98px) {
    .d-md-none {
        display: none !important;
    }
}
/* ===================================
   TESTIMONIAL GRID SECTION STYLES
   =================================== */

.testimonial-section-grid {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #004e6d 0%, #003d56 50%, #29ab9f 100%);
}

.testimonial-grid-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(41, 171, 159, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 78, 109, 0.3) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Section Header */
.grid-section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.grid-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.grid-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.25;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.grid-description {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Grid Wrapper */
.testimonial-grid-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}

.testimonial-grid-row {
    display: flex;
    justify-content: center;
}

/* Testimonial Grid Card */
.testimonial-grid-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 35px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.testimonial-grid-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(41, 171, 159, 0), rgba(41, 171, 159, 0.5), rgba(41, 171, 159, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-grid-card:hover::before {
    opacity: 1;
}

.testimonial-grid-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(41, 171, 159, 0.4);
}

.card-gradient-border {
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, #29ab9f, #004e6d, #29ab9f);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.testimonial-grid-card:hover .card-gradient-border {
    opacity: 0.6;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Card Content */
.grid-card-content {
    position: relative;
    z-index: 1;
}

.grid-quote-mark {
    font-size: 4.75rem;
    line-height: 1;
    color: rgba(41, 171, 159, 0.3);
    font-family: Georgia, serif;
    margin-bottom: 15px;
    font-weight: bold;
}

.grid-review-text {
    font-size: 1.75rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    min-height: 100px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-stars {
    margin-bottom: 20px;
    display: flex;
    gap: 3px;
}

.grid-stars i {
    color: #ffc107;
    font-size: 1.3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.testimonial-grid-card:hover .grid-stars i {
    animation: starBounce 0.5s ease forwards;
}

.testimonial-grid-card:hover .grid-stars i:nth-child(1) { animation-delay: 0s; }
.testimonial-grid-card:hover .grid-stars i:nth-child(2) { animation-delay: 0.1s; }
.testimonial-grid-card:hover .grid-stars i:nth-child(3) { animation-delay: 0.2s; }
.testimonial-grid-card:hover .grid-stars i:nth-child(4) { animation-delay: 0.3s; }
.testimonial-grid-card:hover .grid-stars i:nth-child(5) { animation-delay: 0.4s; }

@keyframes starBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Grid Author */
.grid-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.grid-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #29ab9f, #1a8f85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 15px rgba(41, 171, 159, 0.4);
    flex-shrink: 0;
}

.grid-author-info {
    flex: 1;
}

.grid-author-info h5 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
    line-height: 1.3;
}

.grid-author-info p {
    font-size: 1.15rem;
    color: rgba(41, 171, 159, 1);
    margin-bottom: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Carousel Navigation */
.carousel-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    position: relative;
    z-index: 10;
    width: 100%;
}

.grid-carousel-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 18px;
    position: relative;
    z-index: 10;
    opacity: 1;
    visibility: visible;
    outline: none;
}

.grid-carousel-control i {
    pointer-events: none;
    color: #fff;
    font-size: 18px;
    display: inline-block;
    line-height: 1;
}

.grid-carousel-control.grid-prev::before {
    content: "‹";
    position: absolute;
    font-size: 32px;
    font-weight: 300;
    color: #fff;
    line-height: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-carousel-control.grid-next::before {
    content: "›";
    position: absolute;
    font-size: 32px;
    font-weight: 300;
    color: #fff;
    line-height: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-carousel-control:hover {
    background: #29ab9f;
    border-color: #29ab9f;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(41, 171, 159, 0.5);
}

.grid-carousel-indicators {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.grid-carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-indent: -999px;
}

.grid-carousel-indicators li.active {
    width: 40px;
    border-radius: 5px;
    background: #29ab9f;
    box-shadow: 0 2px 10px rgba(41, 171, 159, 0.5);
}

/* CTA Section */
.grid-cta-section {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.grid-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #004e6d;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.grid-cta-button:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

.grid-cta-button i {
    transition: transform 0.3s ease;
}

.grid-cta-button:hover i {
    transform: translateX(8px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .testimonial-grid-card {
        padding: 30px;
    }
}

@media (max-width: 992px) {
    .testimonial-section-grid {
        padding: 60px 0;
    }
    
    .grid-title {
        font-size: 2.2rem;
    }
    
    .testimonial-grid-row .col-md-6:nth-child(3) {
        display: none;
    }
}

@media (max-width: 768px) {
    .testimonial-section-grid {
        padding: 40px 0;
    }
    
    .grid-section-header {
        margin-bottom: 40px;
    }
    
    .grid-title {
        font-size: 1.75rem;
    }
    
    .grid-description {
        font-size: 0.95rem;
    }
    
    .testimonial-grid-card {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .grid-quote-mark {
        font-size: 60px;
    }
    
    .grid-review-text {
        font-size: 1.75rem;
        min-height: auto;
    }
    
    .carousel-navigation {
        margin-top: 30px;
    }
    
    .grid-carousel-control {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .testimonial-section-grid {
        padding: 50px 0;
    }
    
    .grid-badge {
        font-size: 11px;
        padding: 8px 20px;
    }
    
    .grid-title {
        font-size: 1.5rem;
    }
    
    .grid-description {
        font-size: 0.9rem;
    }
    
    .testimonial-grid-card {
        padding: 20px;
    }
    
    .grid-quote-mark {
        font-size: 50px;
        margin-bottom: 10px;
    }
    
    .grid-review-text {
        font-size: 1.75rem;
        margin-bottom: 15px;
    }
    
    .grid-stars i {
        font-size: 0.85rem;
    }
    
    .grid-avatar {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .grid-author-info h5 {
        font-size: 0.9rem;
    }
    
    .grid-author-info p {
        font-size: 0.75rem;
    }
    
    .grid-cta-button {
        padding: 14px 30px;
        font-size: 0.9rem;
    }
    
    .grid-carousel-control {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}
/* ========================================
   EBOOK MODAL STYLES - FIXED Z-INDEX
   ======================================== */

/* Modal z-index fix - must be above all page elements */
#ebookModal,
#ebookModal.modal,
#ebookModal.modal.fade,
#ebookModal.modal.show,
#ebookModal.modal.fade.show {
    z-index: 10050 !important;
    position: fixed !important;
}

#ebookModal .modal-dialog {
    z-index: 10051 !important;
    max-width: 1000px;
    margin: 1.75rem auto;
}

#ebookModal .modal-content {
    z-index: 10052 !important;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-backdrop,
.modal-backdrop.fade,
.modal-backdrop.show,
.modal-backdrop.fade.show {
    z-index: 10040 !important;
}

/* Modal Header */
#ebookModal .modal-header {
    background: linear-gradient(135deg, #004e6d 0%, #29ab9f 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-bottom: none;
}

#ebookModal .modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

#ebookModal .modal-title i {
    color: #ffc107;
    margin-right: 0.625rem;
    font-size: 1.6rem;
}

#ebookModal .close {
    color: white;
    opacity: 1;
    font-size: 2rem;
    font-weight: 300;
    text-shadow: none;
    transition: all 0.3s ease;
}

#ebookModal .close:hover {
    color: #ffc107;
    opacity: 1;
    transform: rotate(90deg);
}

/* Modal Body */
#ebookModal .modal-body {
    padding: 0;
    background: #f8f9fa;
}

/* Left Section - Image & Benefits */
#ebookModal .ebook-left-section {
    background: linear-gradient(135deg, #004e6d 0%, #00364a 100%);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

#ebookModal .ebook-image-wrapper {
    text-align: center;
    margin-bottom: 2.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#ebookModal .ebook-image-wrapper img {
    max-width: 280px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

#ebookModal .ebook-image-wrapper img:hover {
    transform: scale(1.05);
}

#ebookModal .ebook-benefits {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem 1.75rem;
    border: 1px solid rgba(255,255,255,0.2);
    width: 100%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

#ebookModal .benefits-title {
    color: #ffc107;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#ebookModal .benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#ebookModal .benefits-list li {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.6;
    font-weight: 500;
}

#ebookModal .benefits-list li i {
    color: #29ab9f;
    font-size: 1.3rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* Right Section - Form */
#ebookModal .ebook-right-section {
    padding: 2.5rem 2rem;
    background: white;
}

#ebookModal .form-intro {
    text-align: center;
    margin-bottom: 2rem;
}

#ebookModal .form-intro h4 {
    color: #004e6d;
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

#ebookModal .form-intro p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Form Elements */
#ebookModal .form-group {
    margin-bottom: 1.5rem;
}

#ebookModal .form-group label {
    color: #004e6d;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.625rem;
    display: block;
}

#ebookModal .form-group label i {
    color: #29ab9f;
    margin-right: 0.5rem;
    font-size: 1.15rem;
}

#ebookModal .form-control {
    border: 2px solid #d0d0d0;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    color: #2c3e50;
    font-weight: 500;
}

#ebookModal .form-control:focus {
    border-color: #29ab9f;
    box-shadow: 0 0 0 0.25rem rgba(41, 171, 159, 0.15);
    background-color: white;
    outline: none;
}

/* Captcha */
#ebookModal .captcha-wrapper {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    border: 2px dashed #e0e0e0;
}

#ebookModal .captcha-question {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#ebookModal .captcha-text {
    font-weight: 700;
    color: #004e6d;
    font-size: 1.1rem;
}

#ebookModal .captcha-nums {
    background: linear-gradient(135deg, #29ab9f 0%, #1e8c82 100%);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.3rem;
}

#ebookModal .captcha-input {
    flex: 1;
    max-width: 100px;
}

/* Submit Button */
#ebookModal .btn-submit-ebook {
    width: 100%;
    background: linear-gradient(135deg, #29ab9f 0%, #1e8c82 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(41, 171, 159, 0.3);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

#ebookModal .btn-submit-ebook:hover {
    background: linear-gradient(135deg, #1e8c82 0%, #176d65 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(41, 171, 159, 0.4);
}

#ebookModal .form-footer-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
}

#ebookModal .form-footer-note i {
    color: #10b981;
    margin-right: 0.25rem;
    font-size: 1rem;
}

/* OTP Section */
#ebookModal .ebook-otp-container {
    text-align: center;
}

#ebookModal .otp-intro {
    margin-bottom: 2rem;
}

#ebookModal .otp-icon {
    font-size: 3rem;
    color: #29ab9f;
    margin-bottom: 1rem;
}

#ebookModal .otp-intro h4 {
    color: #004e6d;
    font-weight: 800;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

#ebookModal .otp-intro p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

#ebookModal .otp-input {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
}

#ebookModal .otp-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

#ebookModal .btn-verify-otp {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.875rem 2rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

#ebookModal .btn-verify-otp:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

#ebookModal .btn-resend-otp {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.875rem 2rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}

#ebookModal .btn-resend-otp:hover {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

/* Responsive */
@media (max-width: 991px) {
    #ebookModal .ebook-left-section {
        display: none;
    }
    
    #ebookModal .modal-dialog {
        max-width: 600px;
    }
}

@media (max-width: 767px) {
    #ebookModal .modal-dialog {
        margin: 0.5rem;
    }
    
    #ebookModal .ebook-right-section {
        padding: 1.5rem 1rem;
    }
    
    #ebookModal .otp-actions {
        flex-direction: column;
    }
    
    #ebookModal .captcha-question {
        flex-direction: column;
    }
    
    #ebookModal .captcha-input {
        max-width: 100%;
    }
}

/* ===================================
   LIMITED TIME OFFER WIDGET STYLES
   =================================== */

.limited-offer-widget {
    background: linear-gradient(135deg, #004e6d 0%, #29ab9f 50%, #31b0d5 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 78, 109, 0.4);
    position: fixed;
    right: -350px;
    top: 50%;
    transform: translateY(-50%);
    transition: right 0.5s ease;
    z-index: 9997;
    max-width: 90%;
    width: 320px;
    font-family: 'Open Sans', 'Arial', sans-serif;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

@media only screen and (max-width: 767px) {
    .limited-offer-widget {
        bottom: 180px; /* Above mobile navigation */
        top: auto;
        transform: none;
        right: -300px;
        width: 280px;
        z-index: 9996; /* Below chatbot but above mobile nav */
    }
}

.widget-toggle {
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #004e6d, #29ab9f);
    color: #ffffff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 78, 109, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.widget-toggle:hover {
    background: linear-gradient(135deg, #31b0d5, #f0fd2b);
    color: #333;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 18px rgba(49, 176, 213, 0.5);
}

.widget-content {
    text-align: center;
}

.countdown-display {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.countdown-display span {
    font-weight: 700;
    color: #f0fd2b;
    font-size: 1.8em;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
    font-family: 'Raleway', sans-serif;
}

.offer-header h4 {
    margin: 0 0 15px 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #ffffff;
}

.discount-details h5 {
    margin: 0 0 8px 0;
    font-size: 1em;
    opacity: 0.95;
    font-weight: 500;
}

.discount-code {
    display: inline-block;
    background: linear-gradient(135deg, #f0fd2b, #ffc107);
    color: #333;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1em;
    margin: 8px 0;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 15px rgba(240, 253, 43, 0.4);
    text-transform: uppercase;
    border: 2px solid rgba(51, 51, 51, 0.1);
}

.discount-amount {
    color: #f0fd2b;
    font-weight: 700;
    margin: 8px 0;
    font-size: 1.2em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.offer-description {
    margin: 15px 0;
    font-size: 0.9em;
    line-height: 1.5;
    opacity: 0.95;
    color: #f8f9fa;
}

.action-buttons {
    margin-top: 18px;
}

.copy-button {
    background: linear-gradient(135deg, #f0fd2b, #ffc107);
    color: #333;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(240, 253, 43, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid rgba(51, 51, 51, 0.1);
}

.copy-button:hover {
    background: linear-gradient(135deg, #e8f400, #f39c12);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 253, 43, 0.6);
}

.copy-button:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(240, 253, 43, 0.4);
}

.copy-message {
    display: none;
    color: #28a745;
    background: rgba(240, 253, 43, 0.95);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 12px;
    animation: fadeInOut 2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(40, 167, 69, 0.3);
}

@keyframes fadeInOut {
    0%, 100% { 
        opacity: 0; 
        transform: translateY(10px);
    }
    20%, 80% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* ===================================
   PROFESSIONAL MEMBER AREA - FULL WIDTH
   =================================== */

/* Professional Breadcrumb */
.member-breadcrumb {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 78, 109, 0.08);
    border: 1px solid rgba(41, 171, 159, 0.1);
    position: static !important; /* Force static positioning */
    z-index: auto !important; /* Remove z-index conflicts */
    top: auto !important; /* Override any top positioning */
    left: auto !important; /* Override any left positioning */
    right: auto !important; /* Override any right positioning */
    bottom: auto !important; /* Override any bottom positioning */
    transform: none !important; /* Remove any transforms */
}

.member-breadcrumb-nav {
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    display: flex;
    align-items: center;
}

.member-breadcrumb-nav .breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    color: #666;
}

.member-breadcrumb-nav .breadcrumb-item a {
    color: #004e6d;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

.member-breadcrumb-nav .breadcrumb-item a:hover {
    color: #29ab9f;
    background: rgba(41, 171, 159, 0.1);
    text-decoration: none;
}

.member-breadcrumb-nav .breadcrumb-item a i,
.member-breadcrumb-nav .breadcrumb-item.active i {
    margin-right: 8px;
    font-size: 16px;
    width: 18px;
    text-align: center;
}

.member-breadcrumb-nav .breadcrumb-item.active {
    color: #29ab9f;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.member-breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #29ab9f;
    font-weight: 700;
    font-size: 20px;
    margin: 0 15px;
    line-height: 1;
}

/* Member Area Wrapper */
.member-area-wrapper {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 78, 109, 0.08);
    overflow: hidden;
    border: 1px solid rgba(41, 171, 159, 0.1);
}



/* Member Area Professional Tab Navigation */
.member-tabs-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.member-nav-tabs {
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.member-nav-tabs .nav-item {
    flex: 1;
    min-width: 0;
}

.member-nav-tabs .nav-link {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 20px 15px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.member-nav-tabs .nav-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-nav-tabs .nav-link:hover:before {
    opacity: 1;
}

.member-nav-tabs .nav-link:hover {
    color: white;
    transform: translateY(-2px);
}

.member-nav-tabs .nav-link.active {
    background: white;
    color: #667eea;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.member-nav-tabs .nav-link.active:before {
    display: none;
}

.member-nav-tabs .nav-link.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.member-nav-tabs .nav-link i {
    font-size: 16px;
}

.cart-badge {
    background: #ff4757;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 71, 87, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .member-nav-tabs {
        flex-direction: column;
    }
    
    .member-nav-tabs .nav-item {
        flex: none;
        width: 100%;
    }
    
    .member-nav-tabs .nav-link {
        padding: 15px;
        justify-content: flex-start;
    }
    
    .member-nav-tabs .nav-link i {
        margin-right: 10px;
    }
}

@media (max-width: 576px) {
    .member-nav-tabs .nav-link {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .member-nav-tabs .nav-link i {
        font-size: 14px;
    }
}
/* ===========================================
   MEMBER AREA CSS REMOVED - USING INLINE STYLES
   =========================================== */

/* ===========================================
   CLASSROOM DETAIL PAGE STYLES
   =========================================== */

.classroom-detail-header {
    background: linear-gradient(135deg, #004e6d 0%, #29ab9f 100%);
    padding: 60px 0;
    color: white;
    margin-bottom: 40px;
}

.classroom-detail-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.classroom-detail-header h2 {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.95;
    background: rgba(255,255,255,0.2);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
}

.classroom-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.classroom-content h2 {
    color: #333;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.classroom-content h5 {
    color: #29ab9f;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.classroom-content {
    font-size: 1.05rem;
    line-height: 1.7;
}

.schedule-section {
    margin-top: 40px;
}

.schedule-section h3 {
    color: #333;
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #29ab9f;
    display: inline-block;
}

.schedule-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.schedule-table table {
    margin: 0;
}

.schedule-table thead {
    background: linear-gradient(135deg, #004e6d 0%, #29ab9f 100%);
    color: white;
}

.schedule-table thead th {
    font-weight: 600;
    padding: 15px;
    border: none;
    font-size: 1.05rem;
}

.schedule-table tbody tr {
    transition: background 0.3s ease;
}

.schedule-table tbody tr:hover {
    background: #f0f9f8;
}

.schedule-table tbody td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    font-size: 1.05rem;
}

.sidebar-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.sidebar-box h4.box-title {
    background: linear-gradient(135deg, #004e6d 0%, #29ab9f 100%);
    color: white;
    padding: 15px;
    margin: -30px -30px 25px -30px;
    border-radius: 12px 12px 0 0;
    text-align: center;
    font-size: 1.45rem;
    font-weight: 700;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #555;
    font-size: 1.05rem;
}

.info-value {
    color: #333;
    font-weight: 500;
    text-align: right;
    font-size: 1.05rem;
}

.section-divider {
    margin: 25px 0;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.btn-add-to-cart {
    background: linear-gradient(135deg, #004e6d 0%, #29ab9f 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    display: block;
    width: 100%;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 15px rgba(41, 171, 159, 0.3);
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 171, 159, 0.4);
    color: white;
    text-decoration: none;
}

.btn-disabled {
    background: #dc3545;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

.alert-message {
    color: white;
    font-weight: 500;
}

.classroom-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.classroom-breadcrumb {
    font-size: 1.05rem;
}

.classroom-breadcrumb .breadcrumb-item a {
    color: #29ab9f;
    text-decoration: none;
}

.classroom-breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline;
}

.map-link {
    color: #29ab9f;
    text-decoration: none;
    font-weight: 600;
}

.map-link:hover {
    text-decoration: underline;
}

.seats-remaining {
    background: #28a745;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    font-size: 1rem;
}

.seats-sold-out {
    background: #dc3545;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    font-size: 1rem;
}

.classroom-modal-header {
    background: linear-gradient(135deg, #004e6d 0%, #29ab9f 100%);
    color: white;
    border-radius: 12px 12px 0 0;
}

.classroom-modal-header .modal-title {
    font-weight: 700;
}

.classroom-modal-header .close {
    color: white;
    opacity: 1;
}

.classroom-modal-content {
    border-radius: 12px;
    border: none;
}

.classroom-modal-body {
    padding: 30px;
}

.classroom-modal-body .lead {
    font-size: 1.2rem;
    color: #555;
}

.classroom-cart-info {
    background: #f0f9f8;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.classroom-cart-info h5 {
    color: #333;
    margin-bottom: 15px;
}

.classroom-modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 20px;
}

.classroom-modal-footer .btn {
    border-radius: 6px;
    padding: 10px 25px;
}

.classroom-modal-footer .btn-primary {
    background: linear-gradient(135deg, #004e6d 0%, #29ab9f 100%);
    border: none;
}

.classroom-price {
    font-size: 1.6rem;
    color: #29ab9f;
    font-weight: 700;
}

.class-details-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    font-size: 1.15rem;
}

.classroom-modal-body .lead .fa-info-circle {
    color: #29ab9f;
}

/* ===========================================
   CART MODAL STYLES (SHARED ACROSS PAGES)
   =========================================== */

.tita-cart-modal .modal-content {
    border-radius: 15px;
    border: none;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.tita-cart-modal .modal-header {
    background: linear-gradient(135deg, #004e6d 0%, #29ab9f 100%);
    color: white;
    padding: 25px 30px;
    border: none;
}

.tita-cart-modal .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.tita-cart-modal .modal-title i {
    margin-right: 12px;
    font-size: 1.6rem;
}

.tita-cart-modal .close {
    color: white;
    opacity: 1;
    font-size: 2rem;
    font-weight: 300;
    text-shadow: none;
    transition: transform 0.3s ease;
}

.tita-cart-modal .close:hover {
    color: white;
    opacity: 1;
    transform: rotate(90deg);
}

.tita-cart-modal .modal-body {
    padding: 35px 30px;
    background: #f8f9fa;
}

.tita-cart-modal .modal-body .lead {
    font-size: 1.15rem;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.6;
}

.tita-cart-modal .modal-body .lead i {
    color: #29ab9f;
    margin-right: 10px;
    font-size: 1.3rem;
}

.tita-cart-modal .cart-info-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #29ab9f;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tita-cart-modal .cart-info-box h5 {
    color: #004e6d;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.15rem;
}

.tita-cart-modal .cart-info-box p {
    color: #555;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.tita-cart-modal .cart-info-box .btn-view-cart {
    background: linear-gradient(135deg, #004e6d 0%, #29ab9f 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.tita-cart-modal .cart-info-box .btn-view-cart i {
    margin-right: 8px;
}

.tita-cart-modal .cart-info-box .btn-view-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 171, 159, 0.4);
    color: white;
}

.tita-cart-modal .modal-footer {
    padding: 20px 30px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.tita-cart-modal .modal-footer .btn {
    padding: 12px 30px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tita-cart-modal .modal-footer .btn-secondary {
    background: #6c757d;
    border: none;
}

.tita-cart-modal .modal-footer .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.tita-cart-modal .modal-footer .btn-primary {
    background: linear-gradient(135deg, #004e6d 0%, #29ab9f 100%);
    border: none;
}

.tita-cart-modal .modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 171, 159, 0.4);
}
