/* ============================================
   MA TECH SOLUTIONS — ENHANCED HOMEPAGE CSS
   Premium Design System
   ============================================ */

/* ---------- Google Font ---------- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap");

/* ---------- Design Tokens ---------- */
:root {
    --mt-primary: #0b4566; /* Exact Deep Corporate Blue from logo */
    --mt-primary-dark: #08334c; /* Darker shade of corporate blue */
    --mt-primary-deeper: #052233; /* Deepest shade of corporate blue */
    --mt-accent: #0077b6; /* Exact corporate Accent Blue/Cyan from logo */
    --mt-accent-light: #0096c7; /* Lighter corporate accent cyan */
    --mt-white: #ffffff;
    --mt-off-white: #f0f4f8;
    --mt-gray-light: #e2e8f0;
    --mt-gray: #94a3b8;
    --mt-dark: #0f172a;
    --mt-gradient-hero: linear-gradient(
        135deg,
        #08334c 0%,
        #0b4566 40%,
        #0077b6 100%
    );
    --mt-gradient-card: linear-gradient(145deg, #0b4566 0%, #08334c 100%);
    --mt-gradient-process: linear-gradient(
        135deg,
        #052233 0%,
        #0b4566 50%,
        #08334c 100%
    );
    --mt-shadow-sm: 0 2px 8px rgba(11, 69, 102, 0.08);
    --mt-shadow-md: 0 8px 32px rgba(11, 69, 102, 0.12);
    --mt-shadow-lg: 0 16px 48px rgba(11, 69, 102, 0.18);
    --mt-shadow-glow: 0 0 40px rgba(0, 119, 182, 0.15);
    --mt-radius: 16px;
    --mt-radius-sm: 10px;
    --mt-radius-lg: 24px;
    --mt-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Enhanced Hero Section ---------- */
.mt-hero {
    background: var(--mt-gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.mt-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(0, 180, 216, 0.08) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: heroPulse 6s ease-in-out infinite;
}

.mt-hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(0, 180, 216, 0.06) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: heroPulse 8s ease-in-out infinite reverse;
}

@keyframes heroPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Floating particles */
.mt-hero .hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.mt-hero .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(0, 180, 216, 0.3);
    border-radius: 50%;
    animation: particleFloat 12s linear infinite;
}

.mt-hero .particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 10s;
}
.mt-hero .particle:nth-child(2) {
    left: 30%;
    top: 60%;
    animation-delay: -3s;
    animation-duration: 14s;
}
.mt-hero .particle:nth-child(3) {
    left: 50%;
    top: 10%;
    animation-delay: -5s;
    animation-duration: 11s;
}
.mt-hero .particle:nth-child(4) {
    left: 70%;
    top: 80%;
    animation-delay: -2s;
    animation-duration: 13s;
}
.mt-hero .particle:nth-child(5) {
    left: 90%;
    top: 40%;
    animation-delay: -7s;
    animation-duration: 9s;
}
.mt-hero .particle:nth-child(6) {
    left: 20%;
    top: 80%;
    animation-delay: -1s;
    animation-duration: 15s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(30px) scale(0.5);
        opacity: 0;
    }
}

.mt-hero .hero-content-wrapper {
    position: relative;
    z-index: 2;
}

.mt-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 180, 216, 0.12);
    border: 1px solid rgba(0, 180, 216, 0.25);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--mt-accent-light);
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.mt-hero .hero-badge i {
    font-size: 10px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

.mt-hero h1 {
    font-family: "Outfit", sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--mt-white);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.mt-hero h1 span {
    color: transparent;
    background: linear-gradient(
        90deg,
        var(--mt-accent-light),
        var(--mt-accent)
    );
    -webkit-background-clip: text;
    background-clip: text;
}

.mt-hero .hero-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
    font-weight: 400;
}

.mt-hero .hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.mt-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--mt-accent);
    color: var(--mt-white);
    padding: 14px 32px;
    border-radius: 50px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--mt-transition);
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.3);
    position: relative;
    overflow: hidden;
}

.mt-btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s;
}

.mt-btn-primary:hover::before {
    left: 100%;
}

.mt-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 180, 216, 0.45);
    color: var(--mt-white);
    text-decoration: none;
}

.mt-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--mt-white);
    padding: 14px 32px;
    border-radius: 50px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: var(--mt-transition);
}

.mt-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: var(--mt-white);
    text-decoration: none;
}

.mt-hero .hero-illustration {
    position: relative;
    z-index: 2;
    text-align: center;
}

.mt-hero .hero-illustration img {
    max-width: 100%;
    height: auto;
    max-height: 420px;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.3));
    animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Hero stats bar */
.mt-hero .hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mt-hero .stat-item {
    text-align: left;
}

.mt-hero .stat-number {
    font-family: "Outfit", sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--mt-accent-light);
    line-height: 1;
    margin-bottom: 4px;
}

.mt-hero .stat-label {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

/* ---------- Section Titles ---------- */
.mt-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.mt-section-title .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 76, 110, 0.06);
    border: 1px solid rgba(10, 76, 110, 0.1);
    padding: 6px 18px;
    border-radius: 50px;
    color: var(--mt-primary);
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.mt-section-title h2 {
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--mt-primary-dark);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.mt-section-title p {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: var(--mt-gray);
    max-width: 600px;
    margin: 16px auto 0;
    line-height: 1.7;
}

/* ---------- What We Do — Service Cards ---------- */
.mt-services-section {
    padding: 100px 0;
    background: var(--mt-off-white);
    position: relative;
}

.mt-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mt-service-card {
    background: linear-gradient(145deg, var(--mt-primary-dark), #0a4c6e);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--mt-radius);
    padding: 36px 28px;
    color: var(--mt-white);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mt-service-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(0, 242, 254, 0.3);
}

.mt-service-card .card-icon {
    width: 54px;
    height: 54px;
    background: rgba(0, 242, 254, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
    color: #00f2fe;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
}

.mt-service-card:hover .card-icon {
    background: #00f2fe;
    color: var(--mt-primary-dark);
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.3);
}

.mt-service-card h4 {
    font-family: "Outfit", sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--mt-white);
    position: relative;
    z-index: 1;
}

.mt-service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
    display: inline-block;
    text-align: left;
    margin-bottom: 10px;
    flex-grow: 1;
}

.mt-service-card ul li {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.mt-service-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--mt-accent);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.mt-service-card:hover ul li {
    transform: translateX(8px);
    color: #ffffff;
}

.mt-service-card:hover ul li::before {
    transform: scale(1.5);
    box-shadow: 0 0 8px var(--mt-accent);
}

.mt-service-card:hover ul li:nth-child(1) {
    transition-delay: 0.05s;
}
.mt-service-card:hover ul li:nth-child(2) {
    transition-delay: 0.1s;
}
.mt-service-card:hover ul li:nth-child(3) {
    transition-delay: 0.15s;
}
.mt-service-card:hover ul li:nth-child(4) {
    transition-delay: 0.2s;
}
.mt-service-card:hover ul li:nth-child(5) {
    transition-delay: 0.25s;
}
.mt-service-card:hover ul li:nth-child(6) {
    transition-delay: 0.3s;
}

.mt-btn-learn-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00f2fe;
    background: transparent;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    padding: 12px 28px;
    border: 1px solid rgba(0, 242, 254, 0.4);
    border-radius: 50px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.mt-btn-learn-more:hover {
    background: #00f2fe;
    color: var(--mt-primary-dark);
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 242, 254, 0.3);
    transform: translateY(-2px);
    border-color: #00f2fe;
}

/* Services CTA */
.mt-services-cta {
    text-align: center;
    margin-top: 48px;
}

.mt-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--mt-primary-dark);
    color: var(--mt-white);
    padding: 16px 40px;
    border-radius: 50px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid var(--mt-primary-dark);
    cursor: pointer;
    transition: var(--mt-transition);
}

.mt-btn-dark:hover {
    background: transparent;
    color: var(--mt-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--mt-shadow-md);
    text-decoration: none;
}

/* ---------- How to Get Started ---------- */
.mt-process-section {
    padding: 100px 0;
    background: var(--mt-gradient-process);
    position: relative;
    overflow: hidden;
}

.mt-process-section::before {
    content: "";
    position: absolute;
    left: -100px;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--mt-accent),
        transparent
    );
    opacity: 0.3;
}

.mt-process-section::after {
    content: "";
    position: absolute;
    right: -100px;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--mt-accent),
        transparent
    );
    opacity: 0.3;
}

.mt-process-section .mt-section-title h2 {
    color: var(--mt-white);
}

.mt-process-section .mt-section-title .section-badge {
    background: rgba(0, 180, 216, 0.12);
    border-color: rgba(0, 180, 216, 0.25);
    color: var(--mt-accent-light);
}

.mt-process-steps {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

/* Connecting line */
.mt-process-steps::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 180, 216, 0.3),
        transparent
    );
}

.mt-step {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 28px 0;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    animation: stepSlideIn 0.6s ease forwards;
}

.mt-step:nth-child(1) {
    animation-delay: 0.1s;
}
.mt-step:nth-child(2) {
    animation-delay: 0.3s;
}
.mt-step:nth-child(3) {
    animation-delay: 0.5s;
}
.mt-step:nth-child(4) {
    animation-delay: 0.7s;
}

@keyframes stepSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mt-step .step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(0, 180, 216, 0.12);
    border: 2px solid rgba(0, 180, 216, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Outfit", sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--mt-accent-light);
    position: relative;
    z-index: 2;
    transition: var(--mt-transition);
}

.mt-step:hover .step-number {
    background: var(--mt-accent);
    color: var(--mt-white);
    border-color: var(--mt-accent);
    box-shadow: 0 0 24px rgba(0, 180, 216, 0.4);
    transform: scale(1.1);
}

.mt-step .step-content h4 {
    font-family: "Outfit", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--mt-white);
    margin-bottom: 6px;
}

.mt-step .step-content p {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

.mt-process-cta {
    text-align: center;
    margin-top: 52px;
}

.mt-btn-accent {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--mt-accent);
    color: var(--mt-white);
    padding: 16px 36px;
    border-radius: 50px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid var(--mt-accent);
    cursor: pointer;
    transition: var(--mt-transition);
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.3);
}

.mt-btn-accent:hover {
    background: transparent;
    color: var(--mt-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 180, 216, 0.35);
    text-decoration: none;
}

/* ---------- Why Our Process Works — PREMIUM ---------- */
.mt-why-section {
    padding: 100px 0;
    background: linear-gradient(160deg, #f0f4f8 0%, #e2eaf4 50%, #eef2f9 100%);
    position: relative;
    overflow: hidden;
}

/* Animated background blobs */
.mt-why-section::before {
    content: "";
    position: absolute;
    top: -120px;
    left: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(0, 180, 216, 0.12) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: whyBlob1 8s ease-in-out infinite alternate;
    pointer-events: none;
}
.mt-why-section::after {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(10, 76, 110, 0.08) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: whyBlob2 10s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes whyBlob1 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(60px, 40px) scale(1.2);
    }
}
@keyframes whyBlob2 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-50px, -30px) scale(1.15);
    }
}

.mt-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.mt-why-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 32px 36px;
    text-align: center;
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1.5px solid rgba(10, 76, 110, 0.08);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(10, 76, 110, 0.06);
    cursor: default;
}

/* Animated top shine bar */
.mt-why-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        #00b4d8,
        #0a4c6e,
        transparent
    );
    transition: left 0.6s ease;
    border-radius: 3px 3px 0 0;
}
.mt-why-card:hover::before {
    left: 100%;
}

/* Bottom gradient border */
.mt-why-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--mt-primary),
        var(--mt-accent),
        var(--mt-primary)
    );
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: none;
}
.mt-why-card:hover::after {
    transform: scaleX(1);
    animation: shimmerBar 2s linear infinite;
}
@keyframes shimmerBar {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Card number badge */
.mt-why-card .why-card-number {
    position: absolute;
    top: 20px;
    right: 22px;
    font-family: "Outfit", sans-serif;
    font-size: 52px;
    font-weight: 900;
    color: rgba(10, 76, 110, 0.05);
    line-height: 1;
    transition: all 0.4s ease;
    user-select: none;
}
.mt-why-card:hover .why-card-number {
    color: rgba(0, 180, 216, 0.12);
    transform: scale(1.1);
}

/* Hover lift + glow */
.mt-why-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 24px 60px rgba(10, 76, 110, 0.15),
        0 0 0 1px rgba(0, 180, 216, 0.2),
        0 0 40px rgba(0, 180, 216, 0.08);
    border-color: rgba(0, 180, 216, 0.3);
    background: linear-gradient(160deg, #ffffff 0%, #f0faff 100%);
}

/* Icon wrapper */
.mt-why-card .why-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(
        135deg,
        rgba(10, 76, 110, 0.08) 0%,
        rgba(0, 180, 216, 0.08) 100%
    );
    border: 2px solid rgba(10, 76, 110, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    color: var(--mt-primary);
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 1;
}

/* Icon pulse ring */
.mt-why-card .why-icon::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 26px;
    border: 2px solid rgba(0, 180, 216, 0);
    transition: all 0.4s ease;
}
.mt-why-card:hover .why-icon::after {
    border-color: rgba(0, 180, 216, 0.35);
    inset: -10px;
    animation: iconRing 1.5s ease-in-out infinite;
}
@keyframes iconRing {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.08);
    }
}

.mt-why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--mt-primary) 0%, #0d6a94 100%);
    color: #ffffff;
    border-color: transparent;
    transform: rotateY(0deg) scale(1.1);
    box-shadow:
        0 12px 30px rgba(10, 76, 110, 0.35),
        0 0 20px rgba(0, 180, 216, 0.3);
}

.mt-why-card h4 {
    font-family: "Outfit", sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: var(--mt-primary-dark);
    margin-bottom: 12px;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}
.mt-why-card:hover h4 {
    color: var(--mt-primary);
}

.mt-why-card p {
    font-family: "Inter", sans-serif;
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.75;
    margin: 0;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}
.mt-why-card:hover p {
    color: #475569;
}

/* Staggered entrance animation */
.mt-why-card.mt-fade-up:nth-child(1) {
    animation-delay: 0s;
}
.mt-why-card.mt-fade-up:nth-child(2) {
    animation-delay: 0.1s;
}
.mt-why-card.mt-fade-up:nth-child(3) {
    animation-delay: 0.2s;
}
.mt-why-card.mt-fade-up:nth-child(4) {
    animation-delay: 0.3s;
}

.mt-why-cta {
    text-align: center;
    margin-top: 52px;
    position: relative;
    z-index: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .mt-hero {
        padding: 80px 0 60px;
    }
    .mt-hero .hero-illustration {
        margin-top: 40px;
    }
    .mt-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mt-hero .hero-stats {
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .mt-hero {
        padding: 60px 0 50px;
        text-align: center;
    }
    .mt-hero .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .mt-hero .hero-cta-group {
        justify-content: center;
    }
    .mt-hero .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    .mt-hero .stat-item {
        text-align: center;
    }
    .mt-services-grid {
        grid-template-columns: 1fr;
    }
    .mt-why-grid {
        grid-template-columns: 1fr;
    }
    .mt-process-steps::before {
        display: none;
    }
    .mt-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ---------- Animation Utilities ---------- */
.mt-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.mt-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.mt-delay-1 {
    transition-delay: 0.1s !important;
}
.mt-delay-2 {
    transition-delay: 0.2s !important;
}
.mt-delay-3 {
    transition-delay: 0.3s !important;
}
.mt-delay-4 {
    transition-delay: 0.4s !important;
}
.mt-delay-5 {
    transition-delay: 0.5s !important;
}
.mt-delay-6 {
    transition-delay: 0.6s !important;
}
.mt-delay-7 {
    transition-delay: 0.7s !important;
}
.mt-delay-8 {
    transition-delay: 0.8s !important;
}
.mt-delay-9 {
    transition-delay: 0.9s !important;
}

/* ---------- Tools and Companies Logo Styling ---------- */
/* .tool-logo-box {
    width: 70px;
    height: 70px;
    background: #ffffff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 2px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 3px solid var(--mt-accent-light);
    transition: var(--mt-transition);
}
.tool-logo-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 180, 216, 0.2);
    border-color: var(--mt-accent);
} */
.tool-logo-box img {
    max-width: 55px;
    max-height: 55px;
    object-fit: contain;
}

.company-logo-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 5px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    transition: var(--mt-transition);
}
.company-logo-box:hover {
    /* transform: scale(1.05); */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.company-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ---------- Enhanced Testimonial Cards ---------- */
.testimonial-carousel-active .slick-track {
    display: flex !important;
}
.testimonial-carousel-active .slick-slide {
    display: flex !important;
    height: auto !important;
}
.mt-testimonial-card {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    margin: 15px;
    transition: var(--mt-transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.mt-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 180, 216, 0.4);
}
.mt-testimonial-card::before {
    content: "\201D";
    font-family: "Outfit", sans-serif;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 120px;
    line-height: 1;
    color: rgba(0, 180, 216, 0.1);
    font-weight: 900;
}
.mt-testimonial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}
.mt-testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--mt-accent);
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.3);
    background-size: cover;
    background-position: center;
}
.mt-testimonial-name {
    font-family: "Outfit", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--mt-white);
    margin: 0;
}
.mt-testimonial-text {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 2;
    margin: 0;
    flex-grow: 1;
}

/* ---------- Advanced Hero Elements ---------- */
.mt-hero-glass-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mt-hero-glass-wrapper img {
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    max-width: 90%;
    animation: heroFloat 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.floating-glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 3;
    animation: floatCard 4s ease-in-out infinite;
}

.floating-glass-card i {
    font-size: 28px;
    color: var(--mt-accent);
    background: rgba(0, 180, 216, 0.15);
    padding: 12px;
    border-radius: 50%;
}

.floating-glass-card strong {
    display: block;
    font-family: "Outfit", sans-serif;
    font-size: 22px;
    line-height: 1.2;
}

.floating-glass-card span {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.floating-glass-card.card-1 {
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.floating-glass-card.card-2 {
    bottom: 10%;
    right: -5%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* ---------- Ultra Advanced Market-Leading Animations ---------- */

.mt-hero h1 span {
    background: linear-gradient(
        to right,
        var(--mt-accent) 20%,
        var(--mt-white) 40%,
        var(--mt-accent) 60%,
        var(--mt-accent-light) 80%
    );
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 5s linear infinite;
}

@keyframes shineText {
    to {
        background-position: 200% center;
    }
}

.mt-btn-primary {
    position: relative;
    z-index: 1;
}
.mt-btn-primary::after {
    content: "";
    position: absolute;
    inset: -4px;
    background: linear-gradient(90deg, #00f2fe, #4facfe, #00f2fe);
    border-radius: 50px;
    z-index: -1;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.4s ease;
    animation: shineText 3s linear infinite;
}
.mt-btn-primary:hover::after {
    opacity: 0.6;
}

.floating-glass-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0)
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border: none; /* Removing old static border */
    overflow: hidden;
}

.floating-glass-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        transparent,
        transparent,
        #00f2fe,
        var(--mt-accent-light)
    );
    animation: rotateGradient 4s linear infinite;
    z-index: -1;
}

.floating-glass-card::after {
    content: "";
    position: absolute;
    inset: 1.5px;
    background: rgba(10, 50, 80, 0.9); /* Deep dark blue glass fill */
    border-radius: 18px;
    z-index: -1;
}

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

/* ---------- Javascript Interaction Styles ---------- */
.mt-hero::before {
    content: "";
    position: absolute;
    left: var(--mouse-x, -500px);
    top: var(--mouse-y, -500px);
    width: 800px;
    height: 800px;
    background: radial-gradient(
        circle,
        rgba(0, 180, 216, 0.12) 0%,
        rgba(0, 255, 255, 0.05) 30%,
        transparent 70%
    );
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
    opacity: 0;
}
.mt-hero:hover::before {
    opacity: 1;
}

.mt-hero h1 span::after {
    content: "|";
    animation: blink 1s step-end infinite;
    color: var(--mt-white);
}
@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* ---------- GLOBAL ADVANCED UI ENHANCEMENTS ---------- */

/* 1. Advanced Process Steps */
.mt-process-section {
    position: relative;
    z-index: 1;
}
.mt-step {
    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
}
.mt-process-steps:hover .mt-step {
    opacity: 0.4;
    filter: none;
}
.mt-process-steps .mt-step:hover {
    opacity: 1;
    filter: none;
    transform: translateX(15px) scale(1.02);
}
.step-number {
    position: relative;
}
.step-number::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(transparent, #00f2fe, transparent);
    animation: rotateGradient 4s linear infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}
.mt-step:hover .step-number::before {
    opacity: 1;
}

/* 2. Advanced Why Us Cards */
.mt-why-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 1),
        rgba(255, 255, 255, 0.8)
    );
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.mt-why-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), #f0f8ff);
    box-shadow: 0 20px 40px rgba(0, 180, 216, 0.15);
    border-color: rgba(0, 180, 216, 0.3);
}

/* 3. Advanced Slider Edges (Fade out effect) */
.tools-section,
.brand-section {
    position: relative;
}
.tools-section::after,
.tools-section::before,
.brand-section::after,
.brand-section::before {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.tools-section::before {
    left: 0;
    background: linear-gradient(to right, #e2e8f0, transparent);
}
.tools-section::after {
    right: 0;
    background: linear-gradient(to left, #e2e8f0, transparent);
}
.brand-section::before {
    left: 0;
    background: linear-gradient(to right, #063a55, transparent);
}
.brand-section::after {
    right: 0;
    background: linear-gradient(to left, #063a55, transparent);
}

/* 4. Advanced CTA & Contact Form */
.cta-chat-wrapper {
    background: linear-gradient(
        135deg,
        var(--mt-primary),
        var(--mt-primary-dark)
    ) !important;
    border-radius: 30px !important;
    padding: 60px !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.cta-chat-wrapper::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(0, 242, 254, 0.2) 0%,
        transparent 50%
    );
    animation: rotateGlow 15s linear infinite;
    z-index: -1;
}
.contact-section form input,
.contact-section form textarea,
.contact-section form .nice-select {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}
.contact-section form input:focus,
.contact-section form textarea:focus {
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1) !important;
    border-color: var(--mt-accent) !important;
    transform: translateY(-2px);
}

/* ---------- ADVANCED WELCOME INTRO SCREEN ---------- */
#mt-welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(
        ellipse at center,
        #0a2a3f 0%,
        #021a29 50%,
        #010d15 100%
    );
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* Force confetti canvas behind text */
#mt-welcome-overlay canvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    pointer-events: none !important;
}
#mt-welcome-overlay.fade-out {
    animation: overlayFadeOut 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes overlayFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

/* Floating particles background */
.mt-welcome-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.welcome-particle {
    position: absolute;
    background: #00f2fe;
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle linear infinite;
}
@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    20% {
        opacity: 0.6;
        transform: translateY(-20px) scale(1);
    }
    80% {
        opacity: 0.3;
        transform: translateY(-80px) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translateY(-120px) scale(0);
    }
}

/* Scanning line effect */
.mt-welcome-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        #00f2fe,
        #4facfe,
        transparent
    );
    animation: scanDown 3s ease-in-out infinite;
    z-index: 1;
    opacity: 0.5;
    box-shadow:
        0 0 20px #00f2fe,
        0 0 40px #4facfe;
}
@keyframes scanDown {
    0% {
        top: -3px;
    }
    50% {
        top: 100%;
    }
    100% {
        top: -3px;
    }
}

/* Welcome content container */
.mt-welcome-content {
    position: relative;
    z-index: 10000;
    text-align: center;
    padding: 40px 60px;
}

/* AI Agent ring - Premium */
.mt-ai-agent-ring {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 40px auto;
}
.mt-ai-agent-ring .core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 30px #00f2fe,
        0 0 60px rgba(79, 172, 254, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    animation: corePulse 2s ease-in-out infinite alternate;
}
.mt-ai-agent-ring .core i {
    font-size: 22px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}
.mt-ai-agent-ring .ring-1,
.mt-ai-agent-ring .ring-2,
.mt-ai-agent-ring .ring-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}
.mt-ai-agent-ring .ring-1 {
    width: 70px;
    height: 70px;
    border: 2px solid rgba(0, 242, 254, 0.6);
    border-top-color: transparent;
    border-bottom-color: transparent;
    animation: spinRing 2s linear infinite;
}
.mt-ai-agent-ring .ring-2 {
    width: 95px;
    height: 95px;
    border: 2px solid rgba(79, 172, 254, 0.4);
    border-left-color: transparent;
    border-right-color: transparent;
    animation: spinRing reverse 3s linear infinite;
}
.mt-ai-agent-ring .ring-3 {
    width: 120px;
    height: 120px;
    border: 1px dashed rgba(0, 242, 254, 0.2);
    animation: spinRing 8s linear infinite;
}

/* Typed welcome text */
#mt-welcome-text {
    font-family: "Outfit", sans-serif;
    font-size: 30px;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    min-height: 40px;
    margin: 0 0 15px 0;
    font-weight: 600;
    letter-spacing: 3px;
    text-shadow:
        0 0 20px rgba(0, 242, 254, 0.8),
        0 0 50px rgba(0, 242, 254, 0.3);
}
#mt-welcome-text::after {
    content: "|";
    animation: blink 0.6s step-end infinite;
    color: #00f2fe !important;
    -webkit-text-fill-color: #00f2fe !important;
    text-shadow: 0 0 15px #00f2fe;
}

/* Brand name reveal */
.mt-welcome-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.mt-welcome-brand.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.mt-welcome-brand .brand-name {
    font-family: "Outfit", sans-serif;
    font-size: 54px;
    font-weight: 900;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow:
        0 0 30px rgba(0, 242, 254, 0.8),
        0 0 60px rgba(0, 242, 254, 0.4),
        0 0 100px rgba(79, 172, 254, 0.2);
    letter-spacing: 2px;
    position: relative;
}
.mt-welcome-brand .brand-line {
    display: inline-block;
    width: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        #00f2fe,
        #4facfe,
        transparent
    );
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
    box-shadow: 0 0 10px #00f2fe;
}
.mt-welcome-brand.visible .brand-line {
    width: 100px;
}

/* Tagline */
.mt-welcome-tagline {
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.9) !important;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
}
.mt-welcome-tagline.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes corePulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow:
            0 0 30px #00f2fe,
            0 0 60px rgba(79, 172, 254, 0.5);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.15);
        box-shadow:
            0 0 50px #00f2fe,
            0 0 100px rgba(79, 172, 254, 0.5);
    }
}
@keyframes spinRing {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
@keyframes rotate3dLogo {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .mt-welcome-brand .brand-name {
        font-size: 32px;
    }
    #mt-welcome-text {
        font-size: 22px;
    }
    .mt-welcome-tagline {
        font-size: 14px;
        letter-spacing: 3px;
    }
    .mt-welcome-brand .brand-line {
        display: none;
    }
    .mt-ai-agent-ring {
        width: 90px;
        height: 90px;
    }
    .mt-ai-agent-ring .core {
        width: 38px;
        height: 38px;
    }
    .mt-ai-agent-ring .core i {
        font-size: 16px;
    }
    .mt-ai-agent-ring .ring-1 {
        width: 55px;
        height: 55px;
    }
    .mt-ai-agent-ring .ring-2 {
        width: 72px;
        height: 72px;
    }
    .mt-ai-agent-ring .ring-3 {
        width: 90px;
        height: 90px;
    }
}

/* ---------- Advanced Service Details Modal ---------- */
.mt-service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
}

.mt-service-modal.active {
    opacity: 1;
    visibility: visible;
}

.mt-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 13, 21, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mt-modal-content {
    position: relative;
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    background: rgba(4, 25, 43, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(0, 242, 254, 0.2),
        0 0 40px rgba(0, 242, 254, 0.15) inset;
    display: flex;
    flex-direction: column;
    transform: scale(0.95) translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.mt-service-modal.active .mt-modal-content {
    transform: scale(1) translateY(0);
}

.mt-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mt-modal-close:hover {
    background: rgba(0, 242, 254, 0.2);
    border-color: #00f2fe;
    color: #00f2fe;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.mt-modal-header {
    padding: 40px 40px 20px 40px;
    text-align: center;
    position: relative;
}

.mt-modal-header h2 {
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-size: 48px;
    font-weight: 900;
    margin: 0;
    text-transform: capitalize;
    background: linear-gradient(135deg, #ffffff 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 242, 254, 0.3);
    letter-spacing: -1px;
}

.mt-modal-cards-grid {
    padding: 20px 40px;
    display: block; /* Slick handles display now */
    overflow: hidden;
    flex: 1 1 auto;
    min-height: 0;
}
.mt-modal-card-slide {
    padding: 0 12px;
}
.mt-modal-prev,
.mt-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(4, 25, 43, 0.8);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: #00f2fe;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}
.mt-modal-prev:hover,
.mt-modal-next:hover {
    background: #00f2fe;
    color: #010d15;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.6);
    border-color: #00f2fe;
}
.mt-modal-prev {
    left: 10px;
}
.mt-modal-next {
    right: 10px;
}
@media (max-width: 575px) {
    .mt-modal-prev {
        left: 2px;
    }
    .mt-modal-next {
        right: 2px;
    }
}
.mt-modal-cards-grid::-webkit-scrollbar {
    width: 6px;
}
.mt-modal-cards-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}
.mt-modal-cards-grid::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.5);
    border-radius: 10px;
}
.mt-modal-cards-grid::-webkit-scrollbar-thumb:hover {
    background: #00f2fe;
}

.mt-modal-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: visible;
}

.mt-modal-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(0, 242, 254, 0.1),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mt-modal-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 242, 254, 0.15);
}

.mt-modal-card:hover::before {
    opacity: 1;
}

.mt-modal-card h3 {
    font-family: "Outfit", sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    text-align: left;
    position: relative;
    z-index: 1;
    display: inline-block;
    padding-bottom: 10px;
}

.mt-modal-card h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #00f2fe;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.mt-modal-card:hover h3::after {
    width: 100%;
    box-shadow: 0 0 10px #00f2fe;
}

.mt-modal-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    position: relative;
    z-index: 1;
}

.mt-modal-card ul li {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.mt-modal-card ul li::before {
    content: "\f105"; /* FontAwesome angle-right */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #00f2fe;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mt-modal-card:hover ul li {
    color: #fff;
    transform: translateX(5px);
}
.mt-modal-card:hover ul li::before {
    text-shadow: 0 0 8px #00f2fe;
}

.mt-modal-footer {
    padding: 30px 40px 40px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.mt-modal-footer .mt-btn-dark {
    background: transparent;
    color: #00f2fe;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    border: 2px solid #00f2fe;
    padding: 14px 48px;
    border-radius: 50px;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-block;
    box-shadow:
        0 0 15px rgba(0, 242, 254, 0.1) inset,
        0 0 15px rgba(0, 242, 254, 0.1);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.mt-modal-footer .mt-btn-dark:hover {
    background: #00f2fe;
    color: #010d15;
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 10px 30px rgba(0, 242, 254, 0.4),
        0 0 20px #00f2fe inset;
}

@media (max-width: 768px) {
    .mt-modal-header h2 {
        font-size: 32px;
    }
    .mt-modal-cards-grid {
        padding: 15px 20px;
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .mt-modal-header {
        padding: 30px 20px 15px 20px;
    }
    .mt-modal-footer {
        padding: 20px;
    }
    .mt-modal-content {
        max-height: 95vh;
        border-radius: 16px;
    }
    .mt-modal-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* Tools Grid - Honeycomb Staggered Layout */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(14, 62px);
    justify-content: center;
    row-gap: 0px;
    column-gap: 0px;
    justify-items: center;
    align-items: center;
    padding-bottom: 40px; /* Space for the shifted items */
}

/* Stagger every even column down to create the 5-tool paired honeycomb look */
.tools-grid .brand-image:nth-child(even) {
    transform: translateY(50%);
}

@media (max-width: 1200px) {
    .tools-grid {
        grid-template-columns: repeat(10, 62px);
        justify-content: center;
    }
}

@media (max-width: 991px) {
    .tools-grid {
        grid-template-columns: repeat(8, 62px);
        justify-content: center;
        row-gap: 0px;
        column-gap: 0px;
    }
}

@media (max-width: 575px) {
    .tools-grid {
        grid-template-columns: repeat(
            6,
            55px
        ); /* MUST be an even number to preserve honeycomb staggering */
        justify-content: center;
        row-gap: 10px;
        column-gap: 0px;
    }
    .tool-logo-box {
        width: 50px !important;
        height: 50px !important;
        border-radius: 12px !important;
        border-width: 2px !important;
    }
    .tools-grid .brand-image {
        padding: 0px !important;
    }
}

@media (max-width: 380px) {
    .tools-grid {
        grid-template-columns: repeat(
            4,
            55px
        ); /* Drop to 4 columns on very small screens */
    }
}

/* Header Menu Active State */
.header-main .main-menu ul li.active > a {
    font-weight: bold;
    text-decoration: underline;
    color: #015080 !important;
}
.header-main .main-menu ul li.active > a::after {
    color: var(--theme) !important;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.4);
}

.floating-whatsapp::before,
.floating-whatsapp::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: whatsapp-ripple 2s infinite;
}

.floating-whatsapp::after {
    animation-delay: 1s;
}

@keyframes whatsapp-ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 25px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
    .floating-whatsapp::before {
        width: 50px;
        height: 50px;
    }
}

/* WhatsApp Hover Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: #ffffff;
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    pointer-events: none;
}
.whatsapp-tooltip::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #ffffff;
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Enhanced Hover Bounce for the button itself */
@keyframes wapp-bounce {
    0%,
    100% {
        transform: scale(1.1) translateY(0);
    }
    50% {
        transform: scale(1.1) translateY(-5px);
    }
}

.floating-whatsapp:hover {
    animation: wapp-bounce 1s infinite;
}

/* =========================================
   Advanced Calendly Section
   ========================================= */
.mt-advanced-calendly {
    background: linear-gradient(135deg, #063a55 0%, #031b29 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 40px;
    margin: 80px auto;
    max-width: 1300px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.calendly-bg-shapes .shape-1 {
    position: absolute;
    top: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(0, 242, 254, 0.15) 0%,
        rgba(0, 0, 0, 0) 70%
    );
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}
.calendly-bg-shapes .shape-2 {
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(79, 172, 254, 0.1) 0%,
        rgba(0, 0, 0, 0) 70%
    );
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.calendly-content-box {
    padding-right: 40px;
    position: relative;
    z-index: 1;
}

.calendly-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.calendly-benefits .benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.calendly-benefits .icon-box {
    width: 35px;
    height: 35px;
    background: rgba(0, 242, 254, 0.15);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00f2fe;
    font-size: 14px;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.calendly-benefits span {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.calendly-widget-wrapper {
    background: #ffffff;
    border-radius: 20px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 242, 254, 0.1);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.widget-glass-header {
    background: #f8fafc;
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.widget-glass-header .mac-dots {
    position: absolute;
    left: 20px;
    display: flex;
    gap: 8px;
}

.widget-glass-header .mac-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.widget-glass-header .mac-dots span:nth-child(1) {
    background: #ff5f56;
}
.widget-glass-header .mac-dots span:nth-child(2) {
    background: #ffbd2e;
}
.widget-glass-header .mac-dots span:nth-child(3) {
    background: #27c93f;
}

.widget-glass-header .header-title {
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    color: #475569;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .mt-advanced-calendly {
        padding: 40px 20px;
        border-radius: 15px;
        margin: 40px 15px;
    }
    .calendly-content-box {
        padding-right: 0;
        text-align: center;
    }
    .calendly-benefits .benefit-item {
        justify-content: center;
    }
    .trusted-by .d-flex {
        justify-content: center;
    }
}

/* Blog Cards Hover */
.mt-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
}
.mt-blog-card:hover .mt-blog-img img {
    transform: scale(1.08);
}
.mt-blog-card a:hover {
    gap: 14px !important;
    color: #0a7cc2 !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Lenis-style smooth feel */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ---------- MOBILE VIEW RESPONSIVENESS OVERRIDES ---------- */
@media (max-width: 767px) {
    /* Section general paddings & spacing */
    .section-padding,
    .mt-why-section,
    .cta-chat-wrapper,
    .mt-advanced-calendly {
        /* padding: 40px 15px !important; */
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }

    /* Headings adjustments */
    h1,
    .mt-hero h1 {
        font-size: 28px !important;
        line-height: 1.25 !important;
    }
    h2,
    .section-title h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    h3,
    .mt-modal-card h3 {
        font-size: 20px !important;
    }

    /* Hero items */
    .mt-hero {
        padding: 60px 0 40px !important;
        min-height: auto !important;
    }
    .mt-hero .hero-cta-group {
        justify-content: center;
        gap: 12px;
    }
    .mt-hero-glass-wrapper {
        display: none !important; /* Hide image completely on mobile views */
    }

    /* Why grids and lists */
    .mt-why-grid,
    .case-studies-carousel-active,
    .testimonial-carousel-active {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Service modal tweaks */
    .mt-modal-content {
        max-height: 95vh !important;
        width: 95% !important;
        margin: 10px auto;
    }
    .mt-modal-header h2 {
        font-size: 26px !important;
        padding-top: 10px;
    }
    .mt-modal-cards-grid {
        padding: 10px 15px !important;
    }
    .mt-modal-card {
        padding: 16px !important;
    }

    /* Floating action buttons */
    .floating-whatsapp {
        bottom: 20px !important;
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 28px !important;
    }

    /* Header Hamburger toggle visibility fix on mobile */
    .header__hamburger {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999 !important;
        position: relative !important;
    }
    .header__hamburger .sidebar__toggle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        cursor: pointer !important;
    }
    .header__hamburger .sidebar__toggle i {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 26px !important;
        color: #0b4566 !important; /* Logo Corporate Deep Navy */
        line-height: 1 !important;
    }

    /* Footer responsiveness fixes */
    .footer-section {
        padding-top: 40px !important;
        padding-bottom: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    .footer-bottom {
        padding: 20px 15px !important;
        margin: 0 !important;
        width: 100% !important;
    }
    .footer-wrapper {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    /* Go to Top arrow button style fix inside BPO solutions */
    #scrollUp {
        bottom: 80px !important;
        right: 20px !important;
        width: 45px !important;
        height: 45px !important;
        background-color: #0b4566 !important;
        color: #ffffff !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 16px !important;
        z-index: 999 !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
        text-decoration: none !important;
    }
    #scrollUp i {
        display: inline-block !important;
        font-weight: 900 !important;
        color: #ffffff !important;
        font-family: "Font Awesome 5 Free" !important;
    }

    /* Fix horizontal overflow globally */
    body,
    html {
        overflow-x: hidden !important;
        width: 100vw;
    }
}
