/**
 * Premium UI Enhancements - CSS Only
 * Modern wellness website visual polish
 */

/* ========================================
   1. GLOBAL TYPOGRAPHY ENHANCEMENTS
======================================== */

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0.3px;
}

p {
    line-height: 1.7;
}

/* ========================================
   2. HERO / BANNER SECTION ENHANCEMENTS
======================================== */

/* Revolution slider container - vertical centering and min-height */
.pbmit-slider-area {
    min-height: 65vh;
    display: flex;
    align-items: center;
    position: relative;
}

.pbmit-slider-area rs-module-wrap,
.pbmit-slider-area #rev_slider_1_3_wrapper {
    min-height: 65vh !important;
}

.pbmit-slider-area rs-module,
.pbmit-slider-area #rev_slider_1_3 {
    min-height: 65vh !important;
}

/* Dark navy blue background - solid color */
.pbmit-slider-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #284B71;
    z-index: 1;
    pointer-events: none;
    border-radius: 0 0 30px 30px;
}

/* Ensure slider content appears above overlay */
.pbmit-slider-area rs-module-wrap,
.pbmit-slider-area rs-module,
.pbmit-slider-area rs-slides,
.pbmit-slider-area rs-slide,
.pbmit-slider-area rs-layer {
    position: relative;
    z-index: 2;
}

/* Improve hero text contrast and readability */
.pbmit-slider-area rs-layer[data-type="text"],
.pbmit-slider-area .pbmit-rev-btn {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    z-index: 3 !important;
}

/* Fix hero layout on desktop - prevent text/image overlap */
@media (min-width: 992px) {
    .pbmit-slider-area rs-module-wrap,
    .pbmit-slider-area #rev_slider_1_3_wrapper {
        min-height: 70vh !important;
    }
    
    .pbmit-slider-area rs-module,
    .pbmit-slider-area #rev_slider_1_3 {
        min-height: 70vh !important;
    }
    
    /* Ensure text stays on left side with proper width */
    .pbmit-slider-area .banner-title {
        max-width: 50% !important;
    }
    
    /* Ensure description text stays on left */
    .pbmit-slider-area .banner-fs-18 {
        max-width: 675px !important;
        width: 675px !important;
    }
}

/* TASK 1: Reduce hero section height on desktop by ~120px */
@media (min-width: 1024px) {
    .pbmit-slider-area {
        min-height: calc(65vh - 120px) !important;
        padding: 40px 0 20px !important;
    }
    
    .pbmit-slider-area rs-module-wrap,
    .pbmit-slider-area #rev_slider_1_3_wrapper {
        min-height: calc(70vh - 120px) !important;
    }
    
    .pbmit-slider-area rs-module,
    .pbmit-slider-area #rev_slider_1_3 {
        min-height: calc(70vh - 120px) !important;
    }
}

/* ========================================
   3. NAVIGATION BAR POLISH
======================================== */

.site-header {
    position: relative;
    z-index: 999;
    background: #284B71 !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Ensure header background has dark beige shade */
.site-header .pbmit-header-overlay,
.site-header .pbmit-main-header-area {
    background: #284B71 !important;
}

/* Smooth menu item hover transitions */
.site-navigation ul.navigation > li > a {
    transition: all 0.3s ease;
    position: relative;
}

.site-navigation ul.navigation > li > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--pbmit-secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.site-navigation ul.navigation > li > a:hover::after,
.site-navigation ul.navigation > li.current-menu-item > a::after {
    width: 80%;
}

.site-navigation ul.navigation > li > a:hover {
    color: var(--pbmit-secondary-color);
    transform: translateY(-1px);
}

/* ========================================
   4. CTA BUTTON ENHANCEMENT (Contact Now)
======================================== */

.pbmit-right-box a,
.pbmit-header-button a,
.pbmit-button-box-second .pbmit-btn {
    background: linear-gradient(135deg, #e5c466 0%, #f5f5dc 100%) !important;
    border-radius: 50px !important;
    padding: 14px 32px !important;
    color: var(--pbmit-blackish-color) !important;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(229, 196, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pbmit-right-box a::before,
.pbmit-header-button a::before,
.pbmit-button-box-second .pbmit-btn::before {
    display: none;
}

.pbmit-right-box a:hover,
.pbmit-header-button a:hover,
.pbmit-button-box-second .pbmit-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(229, 196, 102, 0.5);
}

.pbmit-right-box a:hover::before,
.pbmit-header-button a:hover::before,
.pbmit-button-box-second .pbmit-btn:hover::before {
    display: none;
}

/* Revolution slider CTA buttons */
.pbmit-rev-btn.rev-btn {
    background: linear-gradient(135deg, #e5c466 0%, #d4b454 100%) !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 20px rgba(229, 196, 102, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.pbmit-rev-btn.rev-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(229, 196, 102, 0.5) !important;
}

/* ========================================
   5. YELLOW HIGHLIGHT SECTIONS
======================================== */

/* Marquee sections - soft gradient instead of flat color */
.marquee-section_one,
.marquee-section_two,
.marquee-section_three,
.footer-top-section {
    background: #0a1628 !important;
    padding: 48px 0 !important;
    position: relative;
}

.marquee-section_one::before,
.marquee-section_two::before,
.marquee-section_three::before,
.footer-top-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Improve text contrast in marquee */
.marquee-section_three .pbmit-marquee-effect-style-1,
.footer-top-section .pbmit-icon-list-text {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Highlight class (heilight) enhancement */
.heilight {
    color: #e5c466 !important;
}

/* ========================================
   6. IMAGE DEPTH & PRESENCE
======================================== */

/* Hero/About images - soft shadow for depth */
.about-us-one_leftbox img,
.about-us-two_rightbox img,
.about-us-section_one img,
#about img {
    filter: drop-shadow(0 8px 24px rgba(60, 83, 110, 0.15));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.about-us-one_leftbox img:hover,
.about-us-two_rightbox img:hover,
#about img:hover {
    filter: drop-shadow(0 12px 32px rgba(60, 83, 110, 0.2));
    transform: translateY(-4px);
}

/* Revolution slider images */
.pbmit-slider-area img.rev-slidebg {
    filter: brightness(0.92);
}

/* ========================================
   7. FOOTER REFINEMENT
======================================== */

.site-footer {
    background: #0a1628;
    color: rgba(255, 255, 255, 0.85);
}

.pbmit-footer-wrapper {
    background: transparent !important;
}

.site-footer h3,
.site-footer .pbmit-footer-title {
    color: #ffffff;
    margin-bottom: 24px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.3s ease;
}

.site-footer a:hover {
    color: var(--pbmit-secondary-color);
    transform: translateX(3px);
}

.pbmit-footer-text-area {
    background: rgba(0, 0, 0, 0.15);
    padding: 24px 0;
}

.pbmit-footer-text-area .copyright-text {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer social icons */
.pbmit-social-links li a {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.pbmit-social-links li a:hover {
    background: var(--pbmit-secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(229, 196, 102, 0.4);
}

/* ========================================
   8. SECTION SPACING CONSISTENCY
======================================== */

section {
    padding: 80px 0;
}

section#about,
section#KeyServices,
section#testimonial,
section#contact {
    padding: 90px 0;
}

/* Improve section background contrasts */
.pbmit-bg-color-light {
    background: #f5f3ed !important;
}

/* ========================================
   9. CARD & BOX ENHANCEMENTS
======================================== */

.pbmit-ihbox-style-7,
.pbmit-ihbox-style-12,
.pbmit-ihbox-style-13 {
    transition: all 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
}

.pbmit-ihbox-style-7:hover,
.pbmit-ihbox-style-12:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(60, 83, 110, 0.12);
}

/* Tab navigation polish */
.pbmit-tab .nav-tabs .nav-link {
    transition: all 0.3s ease;
    border-radius: 30px;
    margin: 0 8px;
}

.pbmit-tab .nav-tabs .nav-link:hover {
    background: rgba(229, 196, 102, 0.1);
    transform: translateY(-2px);
}

.pbmit-tab .nav-tabs .nav-link.active {
    box-shadow: 0 4px 20px rgba(229, 196, 102, 0.3);
}

/* ========================================
   10. YOUTUBE VIDEO SECTION
======================================== */

/* YouTube section uses its own dark theme from youtube.css - don't override background */
/* Only enhance the elements that need additional polish */

#youtube-gallery .pbmit-title,
#youtube-gallery .pbmit-subtitle {
    /* Ensure text is visible - these are already set in youtube.css */
}

/* ========================================
   11. CONTACT FORM ENHANCEMENTS
======================================== */

.contact-form input,
.contact-form textarea {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: 0 0 0 3px rgba(229, 196, 102, 0.2);
    border-color: var(--pbmit-secondary-color);
    transform: translateY(-2px);
}

.contact-form button,
.contact-form #submit_form {
    background: linear-gradient(135deg, #e5c466 0%, #f5f5dc 100%) !important;
    border-radius: 50px !important;
    padding: 16px 40px !important;
    color: var(--pbmit-blackish-color) !important;
    font-weight: 600;
    box-shadow: 0 6px 24px rgba(229, 196, 102, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.contact-form button:hover,
.contact-form #submit_form:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(229, 196, 102, 0.5);
}

/* ========================================
   12. TESTIMONIAL SECTION POLISH
======================================== */

.testimonial-three_bg {
    position: relative;
    overflow: hidden;
}

.testimonial-three_bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(60, 83, 110, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

/* ========================================
   13. SMOOTH SCROLL BEHAVIOR
======================================== */

html {
    scroll-behavior: smooth;
}

/* ========================================
   14. ACCESSIBILITY & FOCUS STATES
======================================== */

a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--pbmit-secondary-color);
    outline-offset: 2px;
}

/* ========================================
   15. LOADING & PERFORMANCE OPTIMIZATIONS
======================================== */

img {
    image-rendering: -webkit-optimize-contrast;
}

* {
    will-change: auto;
}

/* Only animate elements that need it */
.pbmit-ihbox-style-7,
.pbmit-right-box a,
.video-wrapper,
.site-navigation ul.navigation > li > a {
    will-change: transform;
}

/* ========================================
   16. WHITE TEXT ELEMENTS
======================================== */

/* Footer text - white color */
.pbmit-footer-text {
    color: #ffffff !important;
    opacity: 0.9;
}

/* Copyright text - white color */
.pbmit-footer-copyright-text-area {
    color: #ffffff !important;
}

/* ========================================
   17. HEADER SOCIAL MEDIA ICONS
======================================== */

.pbmit-header-social {
    list-style: none;
    margin: 0 20px 0 0;
    padding: 0;
    gap: 12px;
}

.pbmit-header-social li {
    margin: 0;
    padding: 0;
}

.pbmit-header-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(60, 83, 110, 0.08);
    color: var(--pbmit-global-color);
    transition: all 0.3s ease;
    font-size: 16px;
}

.pbmit-header-social li a:hover {
    background: var(--pbmit-secondary-color);
    color: var(--pbmit-blackish-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 196, 102, 0.4);
}

.pbmit-header-social li a span {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ========================================
   18. MARQUEE TEXT STYLING
======================================== */

/* Both marquee sections - FORCED styling */
.pbmit-marquee-effect-style-1 .pbmit-element-title,
.marquee p,
.marquee .marquee__group p {
    font-size: 30px !important;
    font-weight: 700 !important;
    transition: none !important;
    transform: none !important;
}

.pbmit-marquee-effect-style-1:hover .pbmit-element-title,
.marquee:hover p,
.marquee .marquee__group:hover p {
    font-weight: 700 !important;
    font-size: 30px !important;
    transform: none !important;
}

/* Remove any data-text pseudo-element effects */
.pbmit-element-title::before,
.pbmit-element-title::after {
    font-size: 30px !important;
    font-weight: 700 !important;
}
/* ========================================
   19. SOCIAL ICONS HOVER EFFECTS
======================================== */

/* Social media icons - scale up and slight rotation on hover */
.pbmit-header-social li a,
.pbmit-social-links li a,
.social-links a,
footer .social-icon a {
    transition: all 0.3s ease !important;
}

.pbmit-header-social li a:hover,
.pbmit-social-links li a:hover,
.social-links a:hover,
footer .social-icon a:hover {
    transform: scale(1.15) rotate(5deg) !important;
}

/* ========================================
   20. FOOTER LOGO GENTLE PULSE
======================================== */

/* Keyframe animation for gentle glow pulse */
@keyframes gentlePulse {
    0%, 100% {
        filter: drop-shadow(0 0 0px rgba(229, 196, 102, 0));
        opacity: 1;
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(229, 196, 102, 0.4));
        opacity: 0.95;
    }
}

/* Apply pulse to footer logo */
.pbmit-footer-logo img,
.pbmit-footer-logo a {
    animation: gentlePulse 7s ease-in-out infinite;
}


/* ========================================
   21. YOUTUBE VIDEO CARDS SCROLL STACKING
======================================== */

/* Container setup for stacking effect */
#youtube-gallery {
    position: relative;
}

#youtube-gallery .youtube-row {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 40px 0;
}

/* Make each video card sticky and stack */
#youtube-gallery .youtube-col {
    position: sticky;
    top: 100px;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

#youtube-gallery .top-videos .youtube-col:nth-child(1) {
    top: 100px;
    z-index: 5;
}

#youtube-gallery .top-videos .youtube-col:nth-child(2) {
    top: 120px;
    z-index: 4;
}

#youtube-gallery .bottom-videos .youtube-col:nth-child(1) {
    top: 140px;
    z-index: 3;
}

#youtube-gallery .bottom-videos .youtube-col:nth-child(2) {
    top: 160px;
    z-index: 2;
}

#youtube-gallery .bottom-videos .youtube-col:nth-child(3) {
    top: 180px;
    z-index: 1;
}

/* Enhanced card styling for stacking effect */
#youtube-gallery .video-wrapper {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(160, 91, 203, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #000;
}

#youtube-gallery .video-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5),
                0 0 35px rgba(244, 197, 66, 0.5);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #youtube-gallery .youtube-row {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    #youtube-gallery .youtube-col {
        position: sticky !important;
        max-width: 90%;
        width: 100%;
    }
    
    #youtube-gallery .youtube-row > .youtube-col:nth-child(1) { top: 80px !important; z-index: 5; }
    #youtube-gallery .youtube-row > .youtube-col:nth-child(2) { top: 95px !important; z-index: 4; }
    #youtube-gallery .youtube-row > .youtube-col:nth-child(3) { top: 110px !important; z-index: 3; }
    #youtube-gallery .youtube-row > .youtube-col:nth-child(4) { top: 125px !important; z-index: 2; }
    #youtube-gallery .youtube-row > .youtube-col:nth-child(5) { top: 140px !important; z-index: 1; }
}


/* Logo glow effect */
.site-branding .logo-img {
    filter: drop-shadow(0 0 15px rgba(10, 22, 40, 0.8)) drop-shadow(0 0 25px rgba(10, 22, 40, 0.5));
    transition: filter 0.3s ease;
}

.site-branding .logo-img:hover {
    filter: drop-shadow(0 0 20px rgba(10, 22, 40, 1)) drop-shadow(0 0 35px rgba(229, 196, 102, 0.6));
}

/* Service Square Cards */
.service-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.service-square-card {
    background: #fff;
    border: 3px solid #e5c466;
    border-radius: 20px;
    padding: 40px 30px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.service-square-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #0a1628;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.service-square-card .card-icon {
    width: 80px;
    height: 80px;
    background: #284B71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.service-square-card .card-icon svg {
    color: #fff;
}

.service-square-card.active {
    background: linear-gradient(135deg, #e5c466 0%, #d4b454 100%);
    border-color: #d4b454;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(229, 196, 102, 0.4);
}

.service-square-card.active h3 {
    color: #fff;
}

.service-square-card.active .card-icon {
    background: #fff;
}

.service-square-card.active .card-icon svg {
    color: #0a1628;
}

.service-square-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .service-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-square-card {
        min-height: 200px;
        padding: 30px 20px;
    }
    
    .service-square-card h3 {
        font-size: 20px;
    }
}

/* ========================================
   22. CONTACT SECTION MOBILE ALIGNMENT
======================================== */

/* Ensure contact section headings maintain proper sizing in mobile view */
#contact h3.pbmit-title {
    font-size: 32px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

#contact h5.pbmit-title1 {
    font-size: 20px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    color: #ffffff !important;
}

/* Fix letter spacing in split-line animation for contact heading */
#contact h3.pbmit-title .split-line div {
    letter-spacing: normal !important;
}

#contact h3.pbmit-title .split-line div > div {
    letter-spacing: 0 !important;
    margin-right: 0 !important;
}

/* Mobile specific styling for contact section */
@media (max-width: 768px) {
    #contact h3.pbmit-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
        text-align: left !important;
        margin-bottom: 20px !important;
    }
    
    #contact h5.pbmit-title1 {
        font-size: 18px !important;
        line-height: 1.5 !important;
        text-align: center !important;
    }
    
    /* Fix spacing between individual letter divs on mobile */
    #contact h3.pbmit-title .split-line {
        text-align: left !important;
        word-spacing: normal !important;
    }
    
    #contact h3.pbmit-title .split-line > div {
        letter-spacing: normal !important;
        margin-right: 2px !important;
    }
    
    #contact h3.pbmit-title .split-line > div > div {
        letter-spacing: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 480px) {
    #contact h3.pbmit-title {
        font-size: 24px !important;
    }
    
    #contact h5.pbmit-title1 {
        font-size: 16px !important;
    }
}

/* ========================================
   23. CONTACT NOW BUTTON TEXT FIX
======================================== */

/* Remove background from Contact Now button text */
.pbmit-right-box button,
.pbmit-header-button button,
.pbmit-right-box a button {
    background: linear-gradient(135deg, #e5c466 0%, #f5f5dc 100%) !important;
}

.pbmit-right-box button .pbmit-button-text,
.pbmit-header-button button .pbmit-button-text,
.pbmit-btn .pbmit-button-text {
    background: transparent !important;
    background-color: transparent !important;
}

/* ========================================
   24. WHY CHOOSE US SECTION
======================================== */

.why-choose-section {
    background-color: #284B71 !important;
    padding: 80px 0;
}

.why-card {
    background: #284B71;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid rgba(229, 196, 102, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(229, 196, 102, 0.25), 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: #e5c466;
}

.why-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e5c466 0%, #d4b454 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #000;
    transition: all 0.3s ease;
}

.why-card:hover .why-card-icon {
    background: linear-gradient(135deg, #f5f5dc 0%, #e5c466 100%);
    transform: rotate(360deg) scale(1.1);
}

.why-card-title {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.why-card-text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 50px 0;
    }
    
    .why-choose-section .row {
        gap: 12px;
    }
    
    .why-card {
        padding: 18px 12px;
        margin-bottom: 0;
        min-height: 180px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .why-card-title {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .why-card-text {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .why-card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .why-card-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* ========================================
   25. ABOUT TOGGLE SECTION
======================================== */

.about-toggle-section {
    margin-top: 60px;
}

/* Mobile Back Button - Hidden on Desktop */
.mobile-back-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #e5c466 0%, #d4b454 100%);
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 196, 102, 0.3);
}

.mobile-back-btn:hover {
    transform: translateX(-3px);
    box-shadow: 0 6px 20px rgba(229, 196, 102, 0.4);
}

.mobile-back-btn svg {
    transition: transform 0.3s ease;
}

.mobile-back-btn:hover svg {
    transform: translateX(-2px);
}

.about-toggle-btn {
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e5e5e5;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #0a1628;
    font-weight: 600;
    font-size: 16px;
}

.about-toggle-btn svg {
    color: #284B71;
    transition: all 0.3s ease;
}

.about-toggle-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: #e5c466;
}

.about-toggle-btn.active {
    background: linear-gradient(135deg, #e5c466 0%, #d4b454 100%);
    border-color: #e5c466;
    color: #000;
}

.about-toggle-btn.active svg {
    color: #000;
}

.about-toggle-content {
    display: none;
    padding: 40px;
    background: #284B71;
    border-radius: 20px;
    margin-top: 20px;
    animation: fadeIn 0.4s ease;
}

.about-toggle-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cert-card {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #e5c466;
}

.cert-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.cert-card h5 {
    color: #0a1628;
    font-weight: 600;
    margin-top: 15px;
}

/* Certifications Carousel */
.cert-carousel-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 50px;
}

.cert-carousel {
    overflow: hidden;
    border-radius: 15px;
}

.cert-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.cert-carousel-item {
    min-width: 100%;
    padding: 20px;
    display: none;
}

.cert-carousel-item.active {
    display: block;
}

.cert-card-carousel {
    background: linear-gradient(135deg, #284B71 0%, #1e3a5f 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 2px solid rgba(229, 196, 102, 0.3);
    box-shadow: 0 8px 25px rgba(40, 75, 113, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    position: relative;
    cursor: pointer;
}

/* Clickable certificate hover effect */
.cert-clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(229, 196, 102, 0.4);
    border-color: #e5c466;
}

/* View certificate badge */
.cert-view-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(229, 196, 102, 0.2);
    border: 1px solid #e5c466;
    border-radius: 20px;
    color: #e5c466;
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.cert-clickable:hover .cert-view-badge {
    background: #e5c466;
    color: #000;
    transform: translateY(-2px);
}

.cert-view-badge svg {
    transition: transform 0.3s ease;
}

.cert-clickable:hover .cert-view-badge svg {
    transform: translateX(3px);
}

.cert-card-carousel img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    padding: 15px;
}

.cert-card-carousel h5 {
    color: #000000;
    font-weight: 600;
    margin-top: 20px;
}

.cert-rotate-left {
    transform: rotate(-3deg);
}

.cert-rotate-right {
    transform: rotate(3deg);
}

.cert-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #e5c466 0%, #d4b454 100%);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: #000;
}

.cert-carousel-btn:hover {
    background: linear-gradient(135deg, #d4b454 0%, #c4a344 100%);
    transform: translateY(-50%) scale(1.1);
}

.cert-prev {
    left: 0;
}

.cert-next {
    right: 0;
}

.cert-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.cert-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cert-indicator.active {
    background: #e5c466;
    width: 30px;
    border-radius: 6px;
}

.cert-indicator:hover {
    background: #ccc;
}

@media (max-width: 768px) {
    .cert-carousel-container {
        padding: 0 40px;
    }
    
    .cert-carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    .cert-card-carousel img {
        max-height: 350px;
    }
}

.article-card {
    display: block;
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 15px;
    border: 2px solid #e5e5e5;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(229, 196, 102, 0.3);
    border-color: #e5c466;
}

.article-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #284B71 0%, #3c536e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #fff;
}

.article-card:hover .article-icon {
    background: linear-gradient(135deg, #e5c466 0%, #d4b454 100%);
    color: #000;
}

.article-card h5 {
    color: #0a1628;
    font-weight: 600;
    margin-bottom: 10px;
}

.article-card p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Featured Articles Styles */
.article-card-featured {
    display: block;
    padding: 40px 30px;
    background: linear-gradient(135deg, #284B71 0%, #1e3a5f 100%);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(40, 75, 113, 0.15);
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.article-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(229, 196, 102, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.article-card-featured:hover::before {
    opacity: 1;
}

.article-card-featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(40, 75, 113, 0.25);
}

.article-icon-featured {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #e5c466;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.article-card-featured:hover .article-icon-featured {
    background: rgba(229, 196, 102, 0.2);
    transform: scale(1.1) rotate(5deg);
}

.article-card-featured h4 {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.article-card-featured p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.article-read-more {
    display: inline-block;
    color: #e5c466;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.article-card-featured:hover .article-read-more {
    transform: translateX(5px);
}

/* Mobile Back Button - Desktop Hidden */
.mobile-back-btn {
    display: none; /* Hidden on desktop */
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #e5c466 0%, #d4b454 100%);
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 196, 102, 0.3);
}

.mobile-back-btn:hover {
    transform: translateX(-3px);
    box-shadow: 0 6px 20px rgba(229, 196, 102, 0.4);
}

.mobile-back-btn svg {
    transition: transform 0.3s ease;
}

.mobile-back-btn:hover svg {
    transform: translateX(-2px);
}

@media (max-width: 768px) {
    /* =====================================================
       MOBILE-FIRST ABOUT SECTION TOGGLE SYSTEM
       
       Behavior:
       - Initially shows 3 option cards (Certifications, Articles, Key Services)
       - When user taps an option:
         * All option cards hide
         * Back button appears at top
         * Selected content displays below back button
         * Smooth scroll to content
       - Back button returns to 3 options view
       
       Desktop (>768px): 
       - Original behavior preserved
       - All options visible at top
       - Content changes below without hiding options
       - No back button shown
    ===================================================== */
    
    .about-toggle-section {
        margin-top: 40px;
    }
    
    /* Show back button on mobile when content is active */
    .mobile-back-btn.show {
        display: flex;
        width: 100%;
    }
    
    /* Toggle Buttons - Compact on Mobile */
    .about-toggle-btn {
        padding: 18px 15px;
        font-size: 15px;
        min-height: 100px;
        justify-content: center;
    }
    
    .about-toggle-btn svg {
        width: 35px;
        height: 35px;
    }
    
    .about-toggle-btn span {
        font-size: 14px;
    }
    
    /* Hide all buttons when content is shown on mobile */
    #toggleButtonsRow.mobile-content-active {
        display: none !important;
    }
    
    /* ===== CONTENT SECTIONS - MOBILE OPTIMIZED ===== */
    
    .about-toggle-content {
        padding: 25px 20px;
        border-radius: 15px;
        margin-top: 0;
    }
    
    .about-toggle-content h3 {
        font-size: 22px;
        margin-bottom: 20px;
        color: #ffffff;
    }
    
    /* ===== CERTIFICATIONS - STACKED VIEW (No Carousel) ===== */
    
    .cert-carousel-container {
        padding: 0;
        max-width: 100%;
    }
    
    /* Hide carousel navigation completely on mobile */
    .cert-carousel-btn {
        display: none !important;
    }
    
    .cert-carousel-indicators {
        display: none !important;
    }
    
    /* Stack certificates vertically - easier browsing than carousel */
    .cert-carousel {
        overflow: visible;
    }
    
    .cert-carousel-track {
        flex-direction: column;
        gap: 20px;
    }
    
    .cert-carousel-item {
        display: block !important; /* Show all items stacked */
        min-width: 100%;
        padding: 0;
    }
    
    .cert-card-carousel {
        padding: 20px;
    }
    
    .cert-card-carousel img {
        max-height: 400px;
    }
    
    .cert-card-carousel h5 {
        font-size: 16px;
        margin-top: 15px;
    }
    
    /* Certificate view badge mobile styling */
    .cert-view-badge {
        font-size: 13px;
        padding: 6px 12px;
        margin-top: 12px;
    }
    
    .cert-view-badge svg {
        width: 16px;
        height: 16px;
    }
    
    /* ===== ARTICLES - OPTIMIZED MOBILE CARDS ===== */
    
    .article-card-featured {
        padding: 25px 20px;
        min-height: 250px;
        margin-bottom: 15px;
    }
    
    .article-icon-featured {
        width: 65px;
        height: 65px;
        margin-bottom: 15px;
    }
    
    .article-icon-featured svg {
        width: 35px;
        height: 35px;
    }
    
    .article-card-featured h4 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .article-card-featured p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .article-read-more {
        font-size: 14px;
    }
    
    /* ===== KEY SERVICES PREVIEW ===== */
    
    .about-toggle-content#keyservices p {
        font-size: 15px;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.6;
    }
    
    .about-toggle-content#keyservices .pbmit-btn {
        font-size: 14px;
        padding: 12px 25px;
    }
}
