:root {
    --orange: #ff4e1d;
    --coral: #f3525a;
    --teal: #1db1ab;
    --yellow: #fbb034;
    --dark: #1a1a1a;
    --white: #ffffff;
    --semi-white: rgba(255, 255, 255, 0.8);
    --blue: #007bff;
    --dark-blue: #113163;
    --grey: #666666;
    --dark-premium: #002b2b; 
    --text-muted: #555555;
    --navy: #1d3977;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', sans-serif; }

html, body{
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.ml-normal a{
    color: var(--white);
    text-decoration: none;
}

.ml-normal-coral a, .ml-normal-coral{
    color: var(--coral);
    text-decoration: none;
}

/* TOP BAR */
.top-bar { background: var(--orange); height: 50px; display: flex; color: var(--white); font-size: 15px; overflow: hidden; }
.top-item { display: flex; align-items: center; padding: 0 25px; position: relative; background: var(--orange); gap: 10px; }
.top-item:not(:last-child)::after {
    content: ""; position: absolute; right: -15px; top: 0; width: 30px; height: 100%;
    background: inherit; transform: skewX(-20deg); border-right: 1px solid rgba(255,255,255,0.2); z-index: 1;
}
.top-item.address { background: var(--navy); padding-left: 40px; }
.top-item.socials { margin-left: auto; }
.top-item.socials a { color: white; margin: 0 8px; }

/* HEADER & STICKY */
header { background: white; padding: 15px 0; z-index: 1000; width: 100%; transition: var(--transition); }
header.sticky { position: fixed; top: 0; padding: 12px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.1); animation: slideDown 0.4s; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.nav-wrapper { display: flex; align-items: center; justify-content: space-between; }
.logo-link{ text-decoration: none; }
.logo { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 26px; font-weight: 800; color: var(--white); }
.logo-box { background: var(--orange); color: white; padding: 8px; border-radius: 4px; font-size: 20px; }
.logo-text { font-size: 24px; font-weight: 800; line-height: 0.9; color: var(--orange); }
.logo-text span { display: block; font-size: 12px; font-weight: 400; color: #777; margin-top: 4px; }

.nav-links { display: flex; list-style: none; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 600; font-size: 16px; letter-spacing: 0.03em; text-transform: uppercase; }
.nav-links li a{ padding: 20px 15px;}
.nav-links li:active { color: var(--orange); }

.header-right { display: flex; align-items: center; gap: 25px; }
.search-cart { display: flex; gap: 15px; font-size: 18px; color: #555; border-right: 1px solid #eee; padding-right: 20px; }
.btn-consult { background: var(--orange); color: white !important; padding: 14px 28px; border-radius: 4px; text-decoration: none; font-weight: 700; font-size: 14px; }

/* HERO SLIDER */
.hero-slider { position: relative; background: #000; /*margin-bottom: 100px; */}
.slide { width: 100%; background-size: cover; background-position: center; display: flex; align-items: center; color: white; }
.slide-content span { color: var(--orange); font-weight: 700; letter-spacing: 2px; }
.slide-content h1 { font-size: 4.5rem; line-height: 1.1; margin: 15px 0; max-width: 800px; }
.slide-content p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }
.slide-btns { display: flex; align-items: center; gap: 20px; }
.btn-play { color: white; text-decoration: none; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.btn-play i { background: var(--orange); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.slide-container{ padding: 100px 80px;}

/* SERVICES CARDS SECTION */
.services-cards-section {
    background-color: #f6f6f6; /* Subtle grey background for context */
    padding: 100px 0; /* Add top/bottom padding for separation */
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    /* Adjust grid positioning if this section needs to overlap something */
}

/* THE FINBUZZ CARD BASE STYLE */
.finbuzz-card {
    position: relative;
    background: #ffffff;
    padding: 60px 40px 40px 40px; /* Essential: top padding creates space for floating icon */
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: var(--transition);
    overflow: visible; /* CRITICAL: Allows icon to float outside the box */
}

.finbuzz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

/* 1. THE FLOATING ICON CIRCLE */
.floating-icon {
    position: absolute;
    top: -45px; /* Floats up exactly half its height (90px) */
    left: 40px; /* Aligns left edge with the title */
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--orange); /* Default */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    border: 3px solid #ffffff; /* Creates the white ring effect */
    z-index: 2;
    transition: var(--transition);
}

.finbuzz-card:hover .floating-icon {
    transform: rotateY(180deg); /* Subtle premium hover animation */
}

.ml-color-title{
    color: var(--orange);
}

/* 2. THE CARD CONTENT */
.card-body { position: relative; z-index: 1; }

.card-title {
    font-size: 26px;
    font-weight: 800;
    color: var(dark);
    line-height: 1.2;
    margin-bottom: 20px;
    /* This negative margin forces the title to sit exactly below the icon's white ring */
    margin-top: 15px; 
}

.card-text {
    font-size: 16px;
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 90%;
}

/* 3. THE READ MORE BUTTON */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    color: var(--grey);
    transition: var(--transition);
}

.read-more i {
    color: var(--orange); /* Matches image exactly */
    border: 2px solid var(--orange);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.finbuzz-card:hover .read-more {
    color: var(--orange);
}

.read-more:hover i {
    background: var(--orange);
    color: #ffffff;
}

/* COLOR THEMES FOR OTHER CARDS */
.finbuzz-card.teal .floating-icon { background: var(--teal); }
.finbuzz-card.teal .read-more:hover, .finbuzz-card.teal:hover .read-more { color: var(--teal); }
.finbuzz-card.teal .read-more i { color: var(--teal); border-color: var(--teal); }
.finbuzz-card.teal .read-more:hover i { background: var(--teal); color: #ffffff; }

.finbuzz-card.blue .floating-icon { background: var(blue); }
.finbuzz-card.blue .read-more:hover, .finbuzz-card.blue:hover .read-more { color: var(blue); }
.finbuzz-card.blue .read-more i { color: var(blue); border-color: var(blue); }
.finbuzz-card.blue .read-more:hover i { background: var(blue); color: #ffffff; }


.ml-cta-section {
    padding: 60px 20px;
    background-color: #f1f8ff; /* Light professional tint to match your images */
    width: 100%;
}

.ml-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ml-cta-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ml-cta-title-box {
    /* flex: 1; */
}

.ml-cta-title {
    color: var(--navy);
    font-size: 42px;
    font-weight: 700;
    margin: 0;
}

.ml-cta-desc-box {
    flex: 2;
}

.ml-cta-description {
    color: var(--dark);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

.ml-cta-action-box {
    flex: 1;
    display: flex;
    justify-content: start;
}

.ml-cta-btn {
    background-color: var(--orange);
    color: var(--white);
    padding: 14px 30px;
    border-radius: 10px; 
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid transparent;
}

/* Premium Hover Effect */
.ml-cta-btn:hover {
    background-color: transparent;
    border-color: var(--coral);
    color: var(--coral);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(243, 82, 90, 0.2);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .ml-cta-grid {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .ml-cta-action-box {
        justify-content: center;
    }
    
    .ml-cta-title {
        font-size: 32px;
    }
}

.about-section {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Image Column Styles */
.about-image-column {
    flex: 1;
    position: relative;
}

.main-img-box {
    position: relative;
    z-index: 2;
    /* REDUCE HEIGHT HERE */
    height: 450px; /* Adjust this value (e.g., 400px or 500px) to your preference */
    width: 100%;
    border-radius: 5px;
    overflow: visible;
}

.main-img {
    width: 100%;
    height: 100%; /* Forces image to fill the 450px box */
    object-fit: cover; /* Crops the image instead of stretching it */
    object-position: top; /* Ensures faces aren't cut off if height is short */
    border-radius: 5px;
    display: block;
}

/* Floating Card Logic */
.floating-stat-card {
    position: absolute;
    bottom: -30px;
    left: -20px;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 240px;
}

.stat-icon {
    background: #fff0ed;
    color: #ff4e1d;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-info h4 { font-size: 16px; margin-bottom: 10px; color: #1a1a1a; }
.progress-line { height: 4px; background: #eee; width: 100px; margin-bottom: 5px; position: relative; }
.progress-line span { position: absolute; left: 0; top: 0; height: 100%; background: #ff4e1d; }

/* Content Column Styles */
.about-content-column { flex: 1.2; }

.sub-title {
    color: #ff4e1d;
    font-weight: 600;
    border: 1px solid #ff4e1d;
    padding: 4px 15px;
    border-radius: 4px;
    font-size: 18px;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 20px;
}

.main-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.desc-text { color: #666; line-height: 1.8; margin-bottom: 15px; text-align: justify; }

/* Feature Box Area */
.about-feature-box {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 25px;
}

.feature-img img { width: 160px; border-radius: 5px; border-left: 4px solid #ddd; padding-left: 10px; }

.feature-list { list-style: none; }
.feature-list li {
    margin-bottom: 12px;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i { color: #ff4e1d; font-size: 18px; }

/* CEO Footer Area */
.ceo-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* margin-top: 40px; */
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.ceo-info { display: flex; align-items: center; gap: 15px; }
.ceo-thumb { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.ceo-info h5 { font-size: 18px; color: #1a1a1a; margin-bottom: 2px; }
.ceo-info span { font-size: 14px; color: #777; }

/* Responsive */
@media (max-width: 992px) {
    .about-wrapper { flex-direction: column; }
    .about-image-column { margin-bottom: 60px; }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); gap: 60px 30px; } /* Stack vertically if needed */
}
@media (max-width: 600px) {
    .card-grid { grid-template-columns: 1fr; gap: 80px 0; }
    .top-bar, .desktop-nav, .search-cart, .btn-consult { display: none; } /* Standard practices for small screens */
    .mobile-toggle { display: block; font-size: 24px; cursor: pointer; color: var(--dark); }
}

/* MOBILE NAVIGATION */
.mobile-toggle { display: none; font-size: 24px; cursor: pointer; }
.mobile-drawer { position: fixed; top: 0; right: -300px; width: 300px; height: 100%; background: white; z-index: 2000; transition: 0.4s; padding: 30px; }
.mobile-drawer.active { right: 0; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.mobile-nav-links { list-style: none; margin-top: 15px; }
.mobile-nav-links li { margin-bottom: 20px; }
.mobile-nav-links a { text-decoration: none; color: var(--dark); font-weight: 600; font-size: 18px; }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); visibility: hidden; opacity: 0; z-index: 1500; transition: 0.3s; }
.overlay.active { visibility: visible; opacity: 1; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .desktop-nav, .top-bar, .search-cart, .btn-consult { display: none; }
    .mobile-toggle { display: block; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-cards-container { position: relative; bottom: 0; }
    .hero-slider { height: auto; }
    .slide-content h1 { font-size: 32px; line-height: 1.4em; }
}

/* --- FOOTER STYLES --- */
.footer-container {
        display: flex;
        flex-direction: column;
    }

    /* Gradient Main Section */

    .footer-main {
        /* background: linear-gradient(to bottom, #ff4e1d 0%, #423d3c 100%);*/
        /* background: var(--orange); */
        background-image: 
                url('https://the7.io/fse-pilates/wp-content/uploads/sites/148/2026/02/arts-top-left.svg');
        background-color: var(--dark-blue);
        background-position: top left, center;
        background-repeat: no-repeat, no-repeat;
        background-size: 300px auto, cover; 
        padding: 120px 3%;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 40px;
        font-size: 17px;
        text-align: justify;
    }

    .footer-col {
        /* flex: 1; */
        min-width: 200px;
    }

    /* Typography Adjustments for Gradient */
    /* Top of footer is dark, bottom is light - choosing colors for visibility */
    .footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 20px;
    text-transform: uppercase;
    background-image: linear-gradient(to right, var(--orange) 21%, transparent 50%);
    background-position: 0 100%;
    background-repeat: no-repeat;
    padding-bottom: 13px;
    background-size: 100% 5px;
    letter-spacing: 1px;
    }

    .footer-logo {
        font-size: 26px;
        font-weight: 700;
        color: var(--white);
        margin-bottom: 20px;
        letter-spacing: 2px;
        display: flex; 
        align-items: center;
        gap: 10px; 
        cursor: pointer; 
    }

    .mission-text {
        color: rgba(255,255,255,0.8);
        line-height: 1.7;
        max-width: 320px;
    }

    /* Link colors transition to dark as they move down the gradient */
    .footer-col ul {
        list-style: none;
        padding: 0;
    }

    .footer-col ul li, .contact-info p{
        margin-bottom: 12px;
    }

    .footer-col ul li a, .footer-col p {
        color: var(--semi-white);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }

    .footer-col ul li a:hover {
        color: var(--teal);
    }

    .contact-info {
        color: var(--dark);
    }

    .phone a, .email a {
        color: var(--semi-white); 
        text-decoration: none;
    }

    /* Bottom Bar with Premium Color */
    .footer-bottom {
        background-color: var(--dark-premium);
        color: var(--white);
        padding: 25px 3%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    /* Social Links Styling */
    .social-links {
        display: flex;       /* Enable flexbox */
        justify-content: flex-start; /* Align to the absolute left */
        gap: 20px;           /* Exact 10px spacing between icons */
        margin-top: 20px;
        padding: 0;          /* Remove any default padding */
    }

    .social-links a {
        color: var(--white);
        font-size: 22px;
        text-decoration: none;
        display: flex;       /* Centers the icon inside the anchor if needed */
        align-items: center;
        transition: color 0.3s ease;
    }

    /* Ensure the first icon has no left margin/padding */
    .social-links a:first-child {
        margin-left: 0;
    }

    @media (max-width: 992px) {
        .footer-main { padding: 60px 5%; }
        .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    }

  /* The Floating Wrapper */
    #close-drawer {
    position: fixed;
    top: 20px;
    /* This is the magic: it sits 320px from the right (300px drawer + 20px gap) */
    right: 320px; 
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent */
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50%;
    font-size: 32px;
    cursor: pointer;
    z-index: 2100; /* Higher than drawer */
    
    /* Hide it by default */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5) rotate(-90deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Show button only when drawer is active */
.mobile-drawer.active ~ #close-drawer {
    opacity: 1;
    visibility: visible;
    transform: scale(1) rotate(0deg);
}

#close-drawer:hover {
    background: white;
    color: black;
    border-color: white;
}

#close-drawer span {
    margin-top: -4px; /* Optical centering for the X */
}

/* Responsive adjustment: On very small screens, move button inside or top-right */
@media (max-width: 400px) {
    #close-drawer {
        left: 10%;
        top: 20px;
        background: var(--orange);
        color: var(--white);
    }
}

/* About Us Page */
/* Hero Banner Styles */
.ml-hero-section {
    background-color: var(--teal); /* Fallback */
    background-image: url('../img/about-us.webp');
    background-size: cover;
    background-position: center right;
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.ml-hero-container, .ml-sub-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ml-hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ml-hero-title {
    font-size: 52px;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
}

/* Sub-page Tab Bar Styles */
.ml-sub-bar {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0; /* Sticks to top if primary header is not fixed */
    z-index: 100;
}

.ml-sub-links-wrapper {
    display: flex;
    align-items: center;
}

.ml-sub-item {
    border-right: 1px solid #f0f0f0;
}

.ml-sub-link {
    display: block;
    padding: 22px 35px;
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* The Active Red State from image */
.ml-sub-item.ml-is-active .ml-sub-link {
    background-color: #ff5e62; /* Primary Red/Coral */
    color: #ffffff;
}

.ml-sub-link:hover:not(.ml-is-active .ml-sub-link) {
    background-color: #fafafa;
    color: #ff5e62;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ml-hero-section{
        padding: 20px 0;
    }

    .ml-hero-title{
        font-size: 32px;
    }

    .ml-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .ml-sub-links-wrapper {
        overflow-x: auto; /* Allows horizontal swipe on mobile */
        -webkit-overflow-scrolling: touch;
    }
    
    .ml-sub-link {
        padding: 15px 20px;
        white-space: nowrap;
    }

}

/* Container & Section Spacing */
.ml-about-section {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
}

.ml-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

/* Left Side - Image & Badge */
.ml-about-media {
    position: relative;
}


.ml-main-img {
    width: 100%;
    border-radius: 4px;
    display: block;
}

.ml-experience-badge {
    position: absolute;
    bottom: -30px;
    right: -15%;
    background: #fff;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    max-width: 400px;
    border-radius: 4px;
    text-align: center;
}

.ml-quote-icon {
    font-size: 40px;
    color: #eee;
    position: absolute;
    left: 10px;
    top: 10px;

}

.ml-badge-text {
    font-weight: 700;
    color: #1a2b48;
    font-size: 1.2rem;
    line-height: 1.8;
    font-size: 23px;
}

/* Right Side - Typography */
.ml-sub-title {
    color: #ff5e62;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}

.ml-main-title {
    font-size: 48px;
    color: #1a2b48;
    font-weight: 800;
    margin-bottom: 25px;
}

.ml-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Tab Logic CSS */
.ml-tabs-header {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.ml-tab-btn {
    background: none;
    border: none;
    padding: 15px 0;
    margin-right: 40px;
    font-weight: 700;
    color: #1a2b48;
    cursor: pointer;
    position: relative;
    font-size: 14px;
}

.ml-tab-btn.ml-active {
    color: #ff5e62;
}

.ml-tab-btn.ml-active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff5e62;
}

.ml-tab-pane {
    display: none;
    color: #777;
    line-height: 1.7;
    animation: fadeIn 0.5s ease;
}

.ml-tab-pane.ml-active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Breakdown */
@media (max-width: 1024px) {
    .ml-about-grid { gap: 40px; }
    .ml-main-title { font-size: 32px; }
}

@media (max-width: 768px) {
    .ml-about-grid {
        grid-template-columns: 1fr;
    }
    .ml-about-media {
        margin-bottom: 60px;
    }
    .ml-experience-badge {
        position: relative;
        right: 0;
        bottom: 0;
        margin: -50px auto 0;
        width: 90%;
    }
    .ml-tab-btn {
        margin-right: 20px;
        font-size: 12px;
    }

    .ml-about-section{
        padding: 50px 0;
    }
}

.ml-tabs-nav {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 25px;
}

.ml-tab-trigger {
    background: none;
    border: none;
    padding: 15px 0;
    font-weight: 700;
    font-size: 14px;
    color: #1a2b48;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

/* The Highlight Underline */
.ml-tab-trigger::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff5e62; /* Your primary red */
    transition: width 0.3s ease;
}

.ml-tab-trigger.ml-is-active {
    color: #ff5e62;
}

.ml-tab-trigger.ml-is-active::after {
    width: 100%;
}

/* Pane Visibility */
.ml-tab-pane {
    display: none;
    animation: mlFadeIn 0.4s ease forwards;
    line-height: 1.8;
    color: #666;
}

.ml-tab-pane.ml-is-active {
    display: block;
}

@keyframes mlFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Service Cards Section --- */
.ml-service-section {
    position: relative;
    z-index: 100;
    padding: 50px 0px;
}

.ml-service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px; /* Subtle white border between cards */
    min-height: 300px;
    background: var(--white);
    align-items: flex-start; /* Aligns cards to the top */
    /* box-shadow: 0 15px 40px rgba(0,0,0,0.1); */
}

.ml-service-item {
    background: var(--navy);
    color: var(--white);
    padding: 30px 30px;
    min-height: 200px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    position: relative; /* Essential for absolute positioning */
    overflow: hidden;    /* Clips the ghost icon inside the card */
    display: flex;
    flex-direction: column;
}

/* Hover & Active States */
.ml-service-item.ml-is-active {
    background: var(--coral);
    min-height: 230px;
}

.ml-service-item:not(:first-child):hover{
    background: var(--coral);
    min-height: 270px; 
}

/* Icon & Ghost Icon Logic */
.ml-icon-wrapper {
    position: relative;
    width: fit-content;
    margin-bottom: 25px;
}

.ml-main-icon {
    font-size: 50px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.ml-icon-ghost {
    position: absolute;
    right: -10px; /* Start slightly off-screen */
    bottom: -10px;
    font-size: 80px; /* Larger size looks better for corner watermarks */
    /* color: rgba(255, 255, 255, 0);  */
    z-index: 1;
    pointer-events: none;
    transition: all 0.6s ease-in-out;
    transform: rotate(-15deg) scale(0.5);
}

.ml-service-item .ml-icon-ghost {
    display: none;
}

.ml-service-item:hover .ml-icon-ghost,
.ml-service-item.ml-is-active .ml-icon-ghost:hover {
    display: block;
    opacity: 0.15; /* Subtler watermark effect */
    right: 0;      /* Flush to the right edge */
    bottom: 0;     /* Flush to the bottom edge */
    /* transform: rotate(0deg) scale(1); */
}

/* Title & Read More Link */
.ml-service-item h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.ml-hidden-content {
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
    margin-top: auto; /* Pushes content to the bottom */
}

.ml-service-item:hover .ml-hidden-content,
.ml-service-item.ml-is-active .ml-hidden-content {
    max-height: 100px;
    opacity: 1;
    padding-top: 25px;
}

.ml-read-btn {
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .ml-service-grid { grid-template-columns: repeat(3, 1fr); }
    .ml-service-section { margin-top: -60px; }
}

@media (max-width: 768px) {
    .ml-service-grid { grid-template-columns: 1fr; gap: 10px; background: transparent; }
    .ml-service-section { margin-top: 0; }
}

/* trust building contact section on about us */
.ml-trust-section {
    padding: 50px 20px;
    background-color: #f0f4f8; 
    width:100vw;
    margin-left:calc(50% - 50vw);
}

.ml-container {
    max-width: 1140px;
    margin: 0 auto;
    background: var(--white);
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    border-radius: 4px;
    overflow: hidden;
}

.ml-grid {
    display: flex;
    flex-wrap: wrap;
}

/* Content Side */
.ml-content-box {
    flex: 1.1;
    padding: 60px;
    min-width: 320px;
}

/* Form Side */
.ml-form-box {
    flex: 0.9;
    padding: 60px;
    background-color: #f8fbff; /* Very light tint of blue */
    min-width: 320px;
}

.ml-title {
    color: var(--dark-blue);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.ml-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    font-size: 16px;
}

/* Stats Styling */
.ml-stats-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.ml-stat-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.ml-icon {
    flex-shrink: 0;
}

.ml-icon img {
    width: 48px;
    height: auto;
}

.ml-icon img:hover{
    animation: blo-danceTop 400ms ease-in-out;
}

@keyframes blo-danceTop {
  16% {
    -webkit-transform: skew(-14deg);
            transform: skew(-14deg);
  }
  33% {
    -webkit-transform: skew(12deg);
            transform: skew(12deg);
  }
  49% {
    -webkit-transform: skew(-8deg);
            transform: skew(-8deg);
  }
  66% {
    -webkit-transform: skew(6deg);
            transform: skew(6deg);
  }
  83% {
    -webkit-transform: skew(-4deg);
            transform: skew(-4deg);
  }
}

.ml-stat-text h3 {
    color: var(--navy);
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
}

.ml-stat-text p {
    color: var(--grey);
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Form Elements */
.ml-quote-form {
    display: flex;
    flex-direction: column;
    /* gap: 15px; */
}

.ml-input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e1e8ef;
    background: var(--white);
    color: var(--dark);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    box-sizing: border-box;
}

.ml-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.ml-submit-btn {
    background-color: var(--navy);
    color: var(--white);
    padding: 18px;
    border: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.ml-submit-btn:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
}

/* Responsive Logic */
@media (max-width: 991px) {
    .ml-content-box, .ml-form-box {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .ml-grid {
        flex-direction: column;
    }
    .ml-content-box, .ml-form-box {
        min-width: 100%;
        padding: 40px 25px;
    }
}

/* Header Styling */
.ml-team-container{
    margin: 60px 0;
}
.ml-team-header {
    margin: 40px 0px;
    text-align: center; /* Centers the text alignment */
    display: flex;
    flex-direction: column;
    align-items: center; /* Ensures flex children are centered */
    justify-content: center;
}

/* Optional: Ensure the title has a consistent width if it wraps */
.ml-team-header .ml-title {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--navy);
    font-size: 42px;
    font-weight: 700;
}

.ml-subtitle {
    color: var(--coral);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

/* Grid Styling */
.ml-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 40px; /* Space for the overlapping boxes */
}

/* Card Styling */
.ml-team-card {
    position: relative;
    transition: var(--transition);
}

.ml-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #ddd;
}

.ml-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: var(--transition);
}

.ml-image-wrapper:hover ~ .ml-info-box .ml-name {
    color: var(--orange);
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                letter-spacing 0.5s cubic-bezier(0.4, 0, 0.2, 1);  
}

/* Overlapping Info Box */
.ml-info-box {
    position: absolute;
    text-align: center;
    bottom: -30px; /* Creates the overlap */
    left: 20px;
    right: 20px;
    background: var(--white);
    padding: 25px 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    z-index: 2;
    transition: var(--transition);
}

.ml-name {
    color: var(--navy);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.ml-info-box:hover .ml-name {
    color: var(--coral);
    /* transform: scale(1.02); */
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                letter-spacing 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
}

.ml-position {
    color: var(--grey);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

/* Hover Effects */
.ml-team-card:hover {
    /* transform: translateY(-10px); */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.ml-team-card:hover .ml-image-wrapper img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.ml-team-card:hover .ml-info-box {
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

@media (max-width: 991px) {
    .ml-team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px;
    }
}

@media (max-width: 600px) {
    .ml-team-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .ml-title {
        font-size: 32px;
    }
}

.ml-partner-section {
    padding-bottom: 60px;
    width: 100%;
    position: relative;
    background-color: transparent;
}

.ml-partner-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ml-partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.ml-partner-card {
    width: 180px; 
    height: 90px;
    background: #f1f8ff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-premium);
    cursor: pointer;
}

.ml-partner-card img {
    max-width: 80px;
    max-height: 50px;
    /* opacity: 0.8; */
    transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: filter, opacity;
}

.ml-partner-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.ml-partner-card:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.2); 
}

@media (max-width: 768px) {
    .slide-container{
        padding: 50px;
    }

    .services-cards-section, .about-section{
        padding: 60px 0;
    }
    .ml-partner-section {
        /* padding: 40px 10px; */
    }
    .ml-team-header .ml-title{
        font-size: 32px;
    }

    .ml-partner-grid {
        gap: 10px;
    }

    .ml-partner-card {
        width: calc(50% - 5px); 
        height: 80px;
    }
}
/* About Us Page . */

/* Services/Portfolio Page */
/* Container Logic */
.mlp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mlp-portfolio-area {
    padding: 60px 0;
    background-color: #f9fbff; /* Soft professional blue-tint */
}

/* Grid System */
.mlp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card Styling */
.mlp-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mlp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Image & Label */
.mlp-image-wrap {
    position: relative;
    height: 200px;
    width: 100%;
}

.mlp-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlp-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #ffffff;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    color: #1a2b48;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Content Area */
.mlp-body {
    padding: 25px;
    flex-grow: 1;
}

.mlp-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1a2b48;
    line-height: 1.4;
    margin-bottom: 12px;
}

.mlp-desc {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Breakpoints */

/* Tablet: 2 Columns */
@media (max-width: 992px) {
    .mlp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile: 1 Column */
@media (max-width: 650px) {
    .mlp-grid {
        grid-template-columns: 1fr;
    }
    
    .mlp-portfolio-area {
        padding: 40px 0;
    }

    .mlp-image-wrap {
        height: 180px;
    }
}
/* Services/Portfolio Page . */

/* Contact Form  */
    .ml-form-container { max-width: 500px; margin: 0 auto; }
    .ml-input { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 5px; box-sizing: border-box; }
    .ml-submit-btn { width: 100%; padding: 15px; background: var(--teal); color: white; border: none; border-radius: 5px; cursor: pointer; font-weight: bold; transition: 0.3s; }
    .ml-submit-btn:hover { background: #16908b; }
    .ml-submit-btn:disabled { background: #ccc; cursor: not-allowed; }

    /* Success Box Styling */
    .ml-success-box { text-align: center; padding: 40px 20px; border: 2px solid var(--teal); border-radius: 10px; background: #f0fdfa; animation: fadeInUp 0.5s ease-out; }
    .ml-icon-circle { width: 60px; height: 60px; background: var(--teal); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 15px; }
    .ml-success-title { color: var(--teal); margin: 0; font-size: 22px; }
    .ml-success-text { color: #666; margin-top: 10px; }
    .ml-reload-btn { margin-top: 20px; background: none; border: 1px solid var(--teal); color: var(--teal); padding: 8px 15px; border-radius: 4px; cursor: pointer; }

    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
/* Contact Form . */