:root {
    --pink: #FF2E63;
    --yellow: #FFD369;
    --green: #2ecc71;
    --blue: #3498db;
    --light-bg: #ffffff;
    --white: #ffffff;
    --text-dark: #2d3436;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    min-height: 100vh;
}

/* Main Layout Wrapper */
.main-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
}

.login-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Vertically center the cards */
    gap: 2rem;
    padding: 2rem 0;
    flex-wrap: wrap;
    width: 100%;
}

/* Login Cards */
.login-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    width: 350px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.login-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.logo-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.card-logo {
    width: 160px;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #ffffff;
    padding: 10px;
    transition: transform 0.5s ease;
}

.card-logo:hover {
    transform: scale(1.05) translateY(-5px);
}

.login-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Form Styling */
.input-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #636e72;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #edeff2;
    border-radius: 10px;
    outline: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--pink);
}

.forgot-link {
    text-align: right;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

.forgot-link a {
    color: var(--blue);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.forgot-link a:hover {
    text-decoration: underline;
}

/* Buttons */
.button-row {
    display: flex;
    gap: 1rem;
}

.btn {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-pink {
    background-color: var(--pink);
    color: white;
}

.btn-pink:hover {
    background-color: #e82455;
    transform: scale(1.02);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--pink);
    color: var(--pink);
}

.btn-outline:hover {
    background-color: var(--pink);
    color: white;
}

/* Validation Styles */
.error-msg {
    color: var(--pink);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
    min-height: 1rem;
}

.input-error {
    border-color: var(--pink) !important;
}

/* Notifications */
.notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.toast {
    padding: 1rem 2rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    color: white;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease forwards;
}

.toast-yellow {
    background-color: var(--yellow);
    color: #000;
}

.toast-green {
    background-color: var(--green);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

/* Global Professional Footer */
footer {
    width: 100%;
    background: #ffffff;
    padding: 60px 5% 30px;
    margin-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: #1e293b;
    font-family: 'Outfit', sans-serif;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #0f172a;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--pink);
    border-radius: 2px;
}

.footer-brand .footer-logo-text {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-brand .footer-logo-text img {
    height: 40px;
    border-radius: 8px;
}

.footer-brand .footer-logo-text span {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pink), var(--yellow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
    max-width: 350px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact p i {
    color: var(--pink);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--pink);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: #f1f5f9;
    color: #1e293b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--pink);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 46, 99, 0.2);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 5% 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand p {
        max-width: none;
    }
}

/* --- High-End Portal Design System (Aesthetic Excellence) --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

.portal-body {
    background: #ffffff;
    color: #1a1a1a;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

.portal-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    position: relative;
    background: radial-gradient(circle at 10% 10%, rgba(255, 46, 99, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(52, 152, 219, 0.02) 0%, transparent 40%),
        #ffffff;
}

/* Premium Logo Centerpiece */
.portal-header {
    text-align: center;
    margin-bottom: 5rem;
    z-index: 100;
}

.logo-main-wrapper {
    position: relative;
    display: inline-block;
    padding: 30px;
    animation: portalFloat 4s ease-in-out infinite;
}

.logo-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 45%, rgba(255, 46, 99, 0.1) 50%, transparent 55%);
    background-size: 300% 300%;
    animation: shimmerShift 5s infinite;
    z-index: 1;
    pointer-events: none;
    border-radius: 40px;
}

.logo-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 46, 99, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.portal-logo-premium {
    width: 240px;
    background: #ffffff;
    padding: 20px;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06),
        0 0 1px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.portal-header h1 {
    margin-top: 1.5rem;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #000;
}

.portal-header p {
    color: #636e72;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    font-weight: 300;
}

/* Modern Selection Grid */
.choice-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    z-index: 100;
}

.choice-card-v2 {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 35px;
    padding: 4rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.choice-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 46, 99, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.choice-card-v2:hover {
    transform: translateY(-20px);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 46, 99, 0.15);
}

.choice-card-v2:hover::before {
    opacity: 1;
}

.icon-v2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    display: block;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.choice-card-v2:hover .icon-v2 {
    transform: scale(1.2) rotate(5deg);
}

.choice-card-v2 h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.choice-card-v2 p {
    color: #636e72;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Animations */
@keyframes portalFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes shimmerShift {
    0% {
        background-position: 200% 200%;
    }

    100% {
        background-position: -200% -200%;
    }
}

/* Background Abstract Micro-Glows */
.bg-glow-spot {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 46, 99, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* Responsive Scaling */
@media (max-width: 1024px) {
    .choice-grid-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .portal-header h1 {
        font-size: 2.2rem;
    }

    .choice-grid-premium {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }

    .choice-card-v2 {
        padding: 3rem 1.5rem;
    }

    .portal-logo-premium {
        width: 180px;
    }
}

/* --- Ultra Premium Landing Page Styles --- */
.landing-body {
    background: #ffffff;
    color: #1e293b;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar {
    position: fixed;
    height: 75px;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.nav-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #ffffff;
    padding: 4px;
}

.nav-logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(255, 46, 99, 0.3);
    border-color: rgba(255, 46, 99, 0.4);
}

@keyframes pulseLogo {
    from {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 46, 99, 0.2));
    }

    to {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(255, 46, 99, 0.5));
    }
}

.nav-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #FF2E63, #FFD369);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-right.desktop-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: #64748b;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #FF2E63, #FFD369);
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #1e293b;
}

/* Mobile Menu */
.nav-right.mobile-menu {
    display: none;
}

.hamburger,
.search-toggle-mobile {
    background: transparent;
    border: none;
    color: #1e293b;
    font-size: 1.6rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.5rem;
    margin-left: 0.8rem;
}

.hamburger:hover,
.search-toggle-mobile:hover {
    color: #FF2E63;
}

.mobile-search-bar {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    height: 75px;
    background: #ffffff;
    z-index: 1100;
    display: flex;
    align-items: center;
    padding: 0 5%;
    transition: top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-search-bar.active {
    top: 0;
}

.mobile-search-bar .search-container {
    width: 100%;
    max-width: none;
    display: flex;
    align-items: center;
}

.close-search-btn {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 1.5rem;
    margin-left: 15px;
    cursor: pointer;
}

.close-search-btn:hover {
    color: #FF2E63;
}

.dropdown-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: #ffffff;
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    padding: 5rem 2.5rem 2rem;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.dropdown-sidebar.active {
    right: 0;
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: #1e293b;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    color: #FF2E63;
    background: rgba(255, 46, 99, 0.05);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mobile-link {
    color: #1e293b;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: block;
}

.mobile-link:hover {
    color: #FF2E63;
    padding-left: 15px;
    border-bottom-color: rgba(255, 46, 99, 0.1);
}

/* Main Section */
.landing-main {
    padding-top: 140px;
    /* Base clearance for fixed header system */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

#homeView {
    width: 100%;
    max-width: 1400px;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Redesigned Hero Split Layout --- */
.hero-split-layout {
    display: flex;
    width: 100%;
    min-height: 80vh;
    align-items: center;
    gap: 4rem;
    margin-top: -2rem;
    /* Pull up to balance removed header */
}

.hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Ensure left alignment */
}

.services-vertical-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 500px;
}

/* Update Service Card for Hero Placement */
.service-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    box-shadow: 0 20px 50px rgba(255, 46, 99, 0.08);
    border-color: rgba(255, 46, 99, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 46, 99, 0.05), rgba(255, 211, 105, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #FF2E63;
    flex-shrink: 0;
}

.card-text h3 {
    font-size: 1rem !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.card-text p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.4;
}

/* Center Right: Image Collage System */
.hero-right {
    flex: 1.2;
    position: relative;
    height: 600px;
}

.image-collage {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    gap: 15px;
}

.c-item {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    border: 4px solid #ffffff;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #f8fafc;
}

.c-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.c-item:hover {
    transform: translateY(-15px) scale(1.05);
    z-index: 10;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}

.c-item:hover img {
    transform: scale(1.1);
}

/* Asymmetrical Placement */
.c-1 {
    grid-area: 1 / 1 / 7 / 7;
    animation: floatY 6s infinite ease-in-out;
}

.c-2 {
    grid-area: 2 / 7 / 6 / 13;
    animation: floatY 5s infinite ease-in-out 1s;
}

.c-3 {
    grid-area: 7 / 2 / 12 / 6;
    animation: floatY 7s infinite ease-in-out 0.5s;
}

.c-4 {
    grid-area: 7 / 6 / 13 / 10;
    animation: floatY 6s infinite ease-in-out 1.5s;
}

.c-5 {
    grid-area: 7 / 10 / 11 / 13;
    animation: floatY 5s infinite ease-in-out 0.2s;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Tablet / Mobile Layouts */
@media (max-width: 1024px) {
    .hero-split-layout {
        flex-direction: column;
        padding-top: 2rem;
        gap: 5rem;
    }

    .hero-right {
        width: 100%;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-split-layout {
        padding: 0 1.5rem;
    }
}

/* --- Legacy Section Styles (Adjusted) --- */
.services-showcase {
    width: 100%;
    max-width: 1350px;
    padding: 0 2rem 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-header {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.services-header h2 {
    font-size: 2.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.services-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #FF2E63, #FFD369);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.services-header p {
    color: #64748b;
    font-size: 1.15rem;
    max-width: 550px;
    margin: 2rem auto 0;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    width: 100%;
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.service-card:nth-child(2) {
    animation-delay: 0.7s;
}

.service-card:nth-child(3) {
    animation-delay: 0.9s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    /* Visbile pink-to-yellow flash at low opacity */
    background: linear-gradient(120deg, transparent, rgba(255, 46, 99, 0.1), rgba(255, 211, 105, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover {
    transform: translateY(-20px);
    border-color: rgba(255, 46, 99, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-card:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .service-card::before {
        animation: shineLoop 4s infinite 2s;
    }

    .service-card {
        animation: fadeInUp 1s ease-out 0.5s both, glowPulse 4s infinite alternate;
    }

    .service-card:nth-child(2) {
        animation: fadeInUp 1s ease-out 0.7s both, glowPulse 4s infinite alternate 1s;
    }

    .service-card:nth-child(3) {
        animation: fadeInUp 1s ease-out 0.9s both, glowPulse 4s infinite alternate 2s;
    }
}

@keyframes shineLoop {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes glowPulse {
    from {
        border-color: rgba(0, 0, 0, 0.04);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    }

    to {
        border-color: rgba(255, 46, 99, 0.2);
        box-shadow: 0 15px 45px rgba(255, 46, 99, 0.08);
    }
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: #FFD369;
    background: linear-gradient(135deg, #FF2E63, #FFD369);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 5px 15px rgba(255, 46, 99, 0.3));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 5px 15px rgba(52, 152, 219, 0.3));
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #9b59b6, #e74c3c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 5px 15px rgba(155, 89, 182, 0.3));
}

.service-card h3 {
    font-size: 1.9rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.8rem;
}

.service-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.service-desc {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 300;
}

.landing-footer {
    text-align: center;
    padding: 2.5rem 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: transparent;
    color: #64748b;
    font-size: 0.95rem;
    width: 100%;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Abstract Background Glows */
body.landing-body::after,
body.landing-body::before {
    content: '';
    position: fixed;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    z-index: 0;
    filter: blur(120px);
    opacity: 0.12;
    pointer-events: none;
}

body.landing-body::before {
    top: -200px;
    left: -200px;
    background: rgba(255, 46, 99, 0.05);
}

body.landing-body::after {
    bottom: -200px;
    right: -200px;
    background: rgba(52, 152, 219, 0.05);
}

/* Global glow orbit effect */
.glow-orb {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(155, 89, 182, 0.03);
    filter: blur(150px);
    opacity: 0.08;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: pulseOrb 10s infinite alternate;
}

@keyframes pulseOrb {
    from {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.05;
    }

    to {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.12;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.8rem;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .service-card {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card:nth-child(3) {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-center {
        display: none;
    }

    .nav-right.desktop-menu {
        display: none;
    }

    .nav-right.mobile-menu {
        display: block;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card:nth-child(3) {
        grid-column: span 1;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .services-header h2 {
        font-size: 2.2rem;
    }

    .services-showcase {
        padding: 0 1rem 3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .nav-logo {
        width: 35px;
        height: 35px;
    }

    .nav-title {
        font-size: 1.5rem;
    }

    .service-icon {
        font-size: 3rem;
    }
}

/* --- Dynamic Categories & Search --- */
/* Search Bar */
.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 2rem;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.search-container input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #f1f5f9;
    color: #1e293b;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.search-container input:focus {
    border-color: #FF2E63;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 46, 99, 0.1);
}

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: #ffffff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 2000;
}

.search-results-dropdown.active {
    opacity: 1;
    visibility: visible;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.2s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f1f5f9;
}

.search-item-icon {
    font-size: 1.2rem;
    color: #FFD369;
    margin-right: 15px;
}

.search-item-info {
    flex: 1;
}

.search-item-title {
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 3px;
    font-size: 1rem;
}

.search-item-context {
    font-size: 0.8rem;
    color: #64748b;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: #64748b;
}

/* Category Views */
/* Enhanced Breadcrumbs Navigation */
/* Breadcrumb Navbar - Bulletproof Responsive Fix */
.breadcrumbs-container {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100vw;
    /* Perfect screen width */
    padding: 10px 15px;
    /* Compact mobile padding */
    z-index: 995;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow-x: auto;
    display: flex;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
    /* Crucial: padding won't push width outside */
}

.breadcrumbs-container::-webkit-scrollbar {
    display: none;
}

.breadcrumbs {
    display: inline-flex !important;
    align-items: center !important;
    background: #f1f5f9;
    padding: 10px 25px !important;
    /* Spacious, premium feel */
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    line-height: 1 !important;
    gap: 8px;
}

.breadcrumbs a,
.breadcrumbs span {
    display: inline-flex;
    align-items: center;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
    gap: 6px;
}

.breadcrumbs a:hover {
    color: #FF2E63;
}

.breadcrumbs .separator {
    color: #cbd5e1;
    margin: 0 4px;
    font-size: 0.8rem;
}

.breadcrumbs .current {
    color: #1e293b;
    font-weight: 600;
}

.breadcrumbs .icons8-img {
    width: 20px !important;
    height: 20px !important;
    padding: 0 !important;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    /* Increased for breathing room */
    padding-top: 0;
    margin-top: 2.5rem;
    /* Replaced negative margin with positive clearance */
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header p {
    color: #64748b;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.category-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.category-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.category-card:hover {
    transform: translateY(-15px);
    border-color: rgba(52, 152, 219, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.category-card h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.cat-explore {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s;
    margin-top: 1rem;
}

.category-card:hover .cat-explore {
    color: #FF2E63;
}

.service-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.service-group-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-group-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(255, 46, 99, 0.1);
    border-color: rgba(255, 46, 99, 0.15);
}

.cat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #FF2E63;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(255, 46, 99, 0.2);
    transition: all 0.4s ease;
}

@media (hover: hover) {
    .category-card:hover .cat-icon {
        transform: scale(1.1) rotate(5deg);
        filter: brightness(1.1);
    }
}

.group-icon-circle {
    width: 60px;
    height: 60px;
    background: #FF2E63;
    color: #ffffff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(255, 46, 99, 0.15);
    transition: all 0.4s ease;
}

@media (hover: hover) {
    .service-group-card:hover .group-icon-circle {
        transform: scale(1.1) rotate(-5deg);
        filter: brightness(1.1);
    }
}

/* Unified Icons8 Sizing & Alignment */
.icons8-img {
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Force Icons8 to be white ONLY for specific high-contrast containers */
.cat-icon .icons8-img,
.group-icon-circle .icons8-img,
.icon-circle .icons8-img {
    filter: brightness(0) invert(1) !important;
}

/* Ensure sub-item icons remain vibrant and are NOT inverted */
.sub-item-icon .icons8-img,
.service-icon .icons8-img,
.service-card .icons8-img {
    filter: none !important;
}

/* Category Icons (Large) */
.cat-icon .icons8-img {
    width: 72px !important;
    height: 72px !important;
    padding: 0;
}

/* Group Icons (Medium) */
.group-icon-circle .icons8-img {
    width: 44px !important;
    height: 44px !important;
    padding: 0;
}

/* Detailed Item Icons */
.sub-item-icon .icons8-img {
    width: 40px !important;
    height: 40px !important;
}

.fa-backup {
    color: #FF2E63 !important;
    /* Standard Pink backup by default */
    font-size: 1.8rem;
}

/* White backups ONLY on pink backgrounds */
.cat-icon .fa-backup,
.group-icon-circle .fa-backup {
    color: #ffffff !important;
}

.breadcrumbs .fa-backup {
    font-size: 1rem !important;
    color: #FF2E63 !important;
}

.service-group-card h4 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.service-ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.more-items {
    font-size: 0.85rem;
    color: #FF2E63;
    font-weight: 600;
    margin-top: 10px;
    font-style: italic;
}

.service-ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 300;
}

.service-ul li i {
    color: #10b981;
    font-size: 0.85rem;
}

.btn-explore-service {
    width: 100%;
    padding: 14px;
    border-radius: 15px;
    border: 1.5px solid rgba(255, 46, 99, 0.2);
    background: rgba(255, 46, 99, 0.02);
    color: #FF2E63;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-explore-service:hover {
    background: #FF2E63;
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(255, 46, 99, 0.25);
    transform: scale(1.02);
}

/* Modal / Mini Screen Popup Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* Branded Modal / Mini Screen Popup Styles */
.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 750px;
    max-height: 85vh;
    border-radius: 35px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    transform: scale(0.85);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    margin-top: 50px;
}

.modal-header-branding {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.modal-logo-legend {
    position: absolute;
    top: -42px;
    /* Half of height for perfect legend center */
    height: 85px;
    width: 85px;
    background: #ffffff;
    padding: 15px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 3px solid #ffffff;
    z-index: 100;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    /* Contrast ring */
    background: #FF2E63;
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 200;
    /* Above everything */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-close:hover {
    background: #1e293b;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 15px 35px rgba(255, 46, 99, 0.4);
}

.modal-body {
    padding: 100px 40px 40px;
    /* Increased top padding to separate from legend logo */
    overflow-y: auto;
    flex: 1;
}

.modal-body h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    letter-spacing: -1px;
    text-align: center;
    /* Center aligned for better visual balance with logo */
}

.modal-subtitle {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 40px;
    font-weight: 300;
    text-align: center;
}

.modal-sub-service-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sub-service-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 25px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.sub-service-item:hover {
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-color: rgba(255, 46, 99, 0.1);
    transform: translateX(10px);
}

.sub-item-icon {
    width: 65px;
    height: 65px;
    background: #ffffff;
    border-radius: 18px;
    display: flex;
    /* Kept flex for centering icons */
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #FF2E63;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    overflow: hidden;
    /* Ensure images don't spill */
}

/* Ensure fallback icons are centered and use flex display when triggered */
.sub-item-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.sub-item-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    /* Breathing room for the icon */
    transition: transform 0.3s;
}

.sub-service-item:hover .sub-item-img {
    transform: scale(1.1);
}

/* Ensure dynamic animations apply to images too */
.sub-item-img.fx-light-dynamic {
    animation: lightToggle 2s step-end infinite;
}

.sub-item-img.fx-fan-dynamic {
    animation: fanSpin 2s linear infinite;
}

.sub-item-img.fx-ac-dynamic {
    animation: acPulse 2s ease-in-out infinite;
}

.sub-item-img.fx-thunder-dynamic {
    animation: thunderSpark 2s infinite linear;
}

.sub-item-img.fx-water-dynamic {
    animation: waterDrop 2s infinite ease-in-out;
}

.sub-item-img.fx-wall-dynamic {
    animation: wallColorShift 2s infinite;
}

.sub-item-img.fx-fire-dynamic {
    animation: fireFlicker 2s ease-in-out infinite;
}

.sub-item-img.fx-repair-dynamic {
    animation: repairWrench 2s ease-in-out infinite;
}

.sub-item-info {
    flex: 1;
}

.sub-item-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.sub-item-info p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.4;
    font-weight: 300;
}

.btn-book-now-small {
    padding: 12px 25px;
    border-radius: 15px;
    border: none;
    background: #FF2E63;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(255, 46, 99, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-book-now-small:hover {
    background: #e11d48;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 46, 99, 0.3);
}

/* Calibrated 2-Second Dynamic Animations */
.fx-light-dynamic {
    animation: lightToggle 2s step-end infinite;
}

@keyframes lightToggle {

    0%,
    100% {
        color: #FFD369;
        text-shadow: 0 0 15px rgba(255, 211, 105, 0.8);
    }

    50% {
        color: #cbd5e1;
        text-shadow: none;
    }
}

.fx-fan-dynamic {
    animation: fanSpin 2s linear infinite;
}

@keyframes fanSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.fx-ac-dynamic {
    animation: acPulse 2s ease-in-out infinite;
}

@keyframes acPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
        color: #0ea5e9;
        filter: drop-shadow(0 0 10px #38bdf8);
    }
}

.fx-thunder-dynamic {
    animation: thunderSpark 2s infinite linear;
}

@keyframes thunderSpark {

    0%,
    80%,
    100% {
        color: #FF2E63;
        transform: scale(1);
        filter: none;
    }

    85%,
    95% {
        color: #00D2FF;
        transform: scale(1.4);
        filter: drop-shadow(0 0 15px #00D2FF);
    }

    90% {
        color: #ffffff;
        transform: scale(1.2);
    }
}

.fx-water-dynamic {
    animation: waterDrop 2s infinite ease-in-out;
}

@keyframes waterDrop {

    0%,
    100% {
        transform: translateY(0);
        color: #38bdf8;
    }

    50% {
        transform: translateY(8px);
        color: #0369a1;
    }
}

.fx-wall-dynamic {
    animation: wallColorShift 2s infinite;
}

@keyframes wallColorShift {

    0%,
    100% {
        color: #64748b;
        transform: scale(1);
    }

    50% {
        color: #FF2E63;
        transform: scale(1.05);
    }
}

.fx-fire-dynamic {
    animation: fireFlicker 2s ease-in-out infinite;
}

@keyframes fireFlicker {

    0%,
    100% {
        color: #f97316;
        transform: scale(1);
        filter: drop-shadow(0 0 5px #f97316);
    }

    50% {
        color: #ef4444;
        transform: scale(1.2);
        filter: drop-shadow(0 0 15px #ef4444);
    }
}

.fx-repair-dynamic {
    animation: repairWrench 2s ease-in-out infinite;
}

@keyframes repairWrench {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(45deg);
    }
}

@media (max-width: 768px) {
    .sub-service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }

    .btn-book-now-small {
        width: 100%;
        justify-content: center;
    }
}

/* Animations Base */
.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.fadeInUp {
    animation-name: fadeInUp;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -30px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 650px) {
    .modal-content {
        max-width: 100%;
        border-radius: 35px 35px 0 0;
        position: fixed;
        bottom: 0;
        max-height: 85vh;
    }

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

    .modal-body h2 {
        font-size: 2rem;
    }

    .modal-close {
        top: 15px;
        right: 15px;
    }

    /* Pull back inside on mobile so it's not clipped */
}

@media (max-width: 768px) {
    .service-list-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}

/* --- THE WOW BREAK & TRENDING SERVICES --- */
.wow-break-container {
    width: 100%;
    padding: 60px 0;
    background: #0f172a;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
    transform: skewY(-1deg);
}

.scroll-reveal-text {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 5px;
    opacity: 0.8;
    animation: pulseText 4s infinite ease-in-out;
}

@keyframes pulseText {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.dot {
    width: 8px;
    height: 8px;
    background: #FF2E63;
    border-radius: 50%;
}

/* Truly Dynamic Minimal Divider (The Elite Break) */
.minimal-divider-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 4rem 0;
    margin: 2rem 0;
    cursor: crosshair;
    perspective: 1000px;
}

.minimal-divider {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FF2E63, #FF2E63, transparent);
    position: relative;
    overflow: hidden;
    transition: width 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 15px rgba(255, 46, 99, 0);
}

.minimal-divider-container:hover .minimal-divider,
.minimal-divider-container.divider-active .minimal-divider {
    width: 100%;
    box-shadow: 0 0 25px rgba(255, 46, 99, 0.5);
}

.minimal-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    animation: rapidGlow 1.5s infinite linear;
}

@keyframes rapidGlow {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Common Services Grid (Compact) */
.common-services-section {
    padding: 2rem 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.common-title-area {
    margin-bottom: 2.5rem;
    padding-left: 0;
    transition: all 0.8s ease;
}

.common-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -1px;
}

.common-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding: 20px 0 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    /* Removed mask-image on mobile/base to prevent interaction issues */
}

@media (min-width: 1025px) {
    .common-scroll-wrapper {
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }
}

.common-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.common-horizontal-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    padding: 0 5%;
    width: max-content;
}

.common-service-card {
    min-width: 240px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    will-change: transform, box-shadow;
}

.common-service-card:hover,
.common-service-card.touch-active {
    transform: translateY(-12px);
    border-color: #FF2E63 !important;
    box-shadow: 0 30px 60px rgba(255, 46, 99, 0.2) !important;
    z-index: 2;
}

.common-service-card:active,
.common-service-card.touch-active:active {
    transform: scale(0.95);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.common-img-box {
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: #f8fafc;
    pointer-events: none;
    /* Let clicks pass through to card/button */
}

.common-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.common-service-card:hover .common-img-box img {
    transform: scale(1.08);
}

.common-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.common-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.common-info .one-word-desc {
    font-size: 0.75rem;
    font-weight: 700;
    color: #FF2E63;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.btn-common-book {
    margin-top: 0.8rem;
    padding: 0.8rem;
    background: linear-gradient(135deg, #FF2E63, #e11d48);
    border: none;
    color: #fff;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 46, 99, 0.2);
    position: relative;
    z-index: 10;
    /* Ensure button stays on top for mobile taps */
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(30, 41, 59, 0.2);
}

.btn-common-book:hover {
    background: #FF2E63;
    box-shadow: 0 10px 25px rgba(255, 46, 99, 0.4);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .common-main-title {
        font-size: 1.8rem;
    }

    .common-service-card {
        min-width: 82vw;
        max-width: 320px;
        border-radius: 35px;
        transform: scale(0.96);
    }

    .common-service-card:hover {
        rotate: 0deg;
        transform: scale(1.02);
    }

    .common-scroll {
        padding: 40px 20px 80px;
    }

    .common-info {
        padding: 1.5rem;
    }

    .common-info h3 {
        font-size: 1rem;
    }

    .common-img-box {
        height: 120px;
    }

    .common-scroll-wrapper {
        padding-bottom: 20px;
        padding-top: 10px;
    }
}

/* Views Configuration */
#categoryView,
#subcategoryView {
    width: 100%;
    max-width: 1400px;
    padding: 0 5% 5rem;
    display: none;
}

/* --- FINAL BULLERPROOF RESPONSIVE FIX --- */
/* Hide desktop search and menu on mobile, force mobile icons only */
@media (max-width: 1024px) {

    .desktop-exclusive-search,
    .nav-center.desktop-search,
    .desktop-menu {
        display: none !important;
    }

    .mobile-menu {
        display: flex !important;
        align-items: center;
    }
}

/* --- NOTIFICATION SYSTEM (TOASTS) --- */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.toast {
    min-width: 320px;
    max-width: 450px;
    padding: 20px 25px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    color: #0f172a;
    font-weight: 700;
    font-size: 1rem;
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: slideToastIn 0.6s forwards;
    display: flex; 
    align-items: center;
    gap: 12px;
}

@keyframes slideToastIn {
    to { transform: translateX(0); }
}

.toast-green {
    border-left: 8px solid #10b981;
    background: linear-gradient(to right, rgba(16, 185, 129, 0.12), #ffffff);
}
.toast-red {
    border-left: 8px solid #ef4444;
    background: #ffffff; /* Mostly white but very distinct border */
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.15);
}
.toast-yellow {
    border-left: 8px solid #f59e0b;
    background: linear-gradient(to right, rgba(245, 158, 11, 0.12), #ffffff);
}