/* ============================================
   MODERN UI DESIGN SYSTEM - 2025
   Inspired by Purple/Blue Gradient Aesthetic
   ============================================ */

:root {
    /* Modern Color Palette */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-gradient-hover: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    --accent-purple: #7c3aed;
    --accent-blue: #3b82f6;
    --accent-pink: #ec4899;

    /* Dark Theme Colors */
    --dark-bg: #0f0f23;
    --dark-card: #1a1a2e;
    --dark-surface: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.24);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   GLOBAL MODERN STYLES
   ============================================ */

html {
    scroll-behavior: smooth;
}

body.modern-theme {
    background: var(--dark-bg);
    background-image:
        radial-gradient(at 27% 37%, hsla(215, 98%, 61%, 0.15) 0px, transparent 50%),
        radial-gradient(at 97% 21%, hsla(125, 98%, 72%, 0.1) 0px, transparent 50%),
        radial-gradient(at 52% 99%, hsla(354, 98%, 61%, 0.1) 0px, transparent 50%),
        radial-gradient(at 10% 29%, hsla(256, 96%, 67%, 0.15) 0px, transparent 50%);
    color: var(--text-primary);
    font-family: 'Inter', 'Work Sans', sans-serif;
    overflow-x: hidden;
}

/* ============================================
   GLASSMORPHISM CARD SYSTEM
   ============================================ */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-base);
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px 0 rgba(31, 38, 135, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ============================================
   MODERN GRADIENT BUTTONS
   ============================================ */

.btn-gradient {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-gradient:hover::before {
    left: 100%;
}

.btn-gradient:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.6);
}

.btn-gradient:active {
    transform: translateY(0) scale(0.98);
}

.btn-outline-gradient {
    background: transparent;
    border: 2px solid transparent;
    background-image: linear-gradient(var(--dark-bg), var(--dark-bg)), var(--primary-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: var(--text-primary);
    padding: 0.75rem 1.875rem;
}

.btn-outline-gradient:hover {
    background-image: var(--primary-gradient), var(--primary-gradient);
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

/* ============================================
   MODERN HEADER / NAVIGATION
   ============================================ */

.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 5px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-base);
}

.modern-header.scrolled {
    padding: 2px 0;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.modern-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    height: 60px;
}

.modern-nav .logo {
    min-height: auto;
    height: 100%;
    display: flex;
    align-items: center;
}

.modern-nav .logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.modern-nav .logo img {
    height: auto !important;
    max-height: 40px !important;
    width: auto;
    object-fit: contain;
}

.modern-nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    /* Essential for absolute positioning of indicator */
}

.modern-nav-menu li a {
    color: #2d3748;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
    display: block;
}

/* Dropdown Support */
.modern-nav-menu li {
    position: relative;
}

.modern-nav-menu li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    display: block;
    /* Ensure it's not display:none which breaks transitions */
}

.modern-nav-menu li:hover ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.modern-nav-menu li ul li {
    display: block;
    /* Stack items vertically */
    margin: 0;
}

.modern-nav-menu li ul li a {
    padding: 0.5rem 1.5rem;
    display: block;
    white-space: nowrap;
    color: var(--text-secondary);
}

.modern-nav-menu li ul li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    padding-left: 1.75rem;
    /* Slide effect */
}

/* Remove old specific ::after styles */

.modern-nav-menu li a:hover,
.modern-nav-menu li a.active {
    color: #667eea;
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary-gradient);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
    opacity: 0;
    /* Hidden initially until JS sets it */
}

/* ============================================
   MODERN HERO SLIDER
   ============================================ */

.modern-hero {
    position: relative;
    min-height: 100vh;
    /* Increased for better presence */
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    /* Adjusted padding to account for fixed header */
    overflow: hidden;
}

.hero-slider-wrapper {
    width: 100%;
}

.hero-slide {
    width: 100%;
}

/* Hero Slider Navigation Arrows */
.hero-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.hero-slider .owl-nav button {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(102, 126, 234, 0.8) !important;
    border-radius: 50%;
    color: #fff !important;
    font-size: 20px;
    pointer-events: all;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.hero-slider .owl-nav button:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    transform: scale(1.1);
}

.hero-slider .owl-nav .owl-prev {
    left: 20px;
}

.hero-slider .owl-nav .owl-next {
    right: 20px;
}

/* Hide default Owl Carousel theme navigation */
.owl-theme .owl-nav [class*='owl-'] {
    display: none !important;
}

.hero-slider.owl-theme .owl-nav [class*='owl-'] {
    display: block !important;
}

/* Hero Slider Dots */
.hero-slider .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-slider .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-slider .owl-dot.active {
    width: 30px;
    border-radius: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: #fff;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.5);
}

.hero-slider .owl-dot:hover {
    background: rgba(255, 255, 255, 0.6) !important;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at top, rgba(102, 126, 234, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
    pointer-events: none;
}


.modern-hero::after {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.35), transparent 60%);
    filter: blur(120px);
    top: -150px;
    right: -150px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Floating Animation for Hero Graphics */
/* Floating Animation for Hero Graphics */
.hero-graphic {
    position: relative;
    /* Changed from absolute for better layout flow */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.hero-graphic img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    /* Added depth */
    border-radius: var(--radius-lg);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ============================================
   MODERN SERVICE/FEATURE CARDS
   ============================================ */

.modern-card {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.6) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.modern-card:hover::before {
    transform: scaleX(1);
}

.modern-card:hover {
    transform: translateY(-6px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: white;
    transition: all var(--transition-base);
}

.modern-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.card-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Equal Height Cards in Service Section */
#services .row {
    display: flex;
    flex-wrap: wrap;
}

#services .row>[class*='col-'] {
    display: flex;
    margin-bottom: 1.5rem;
}

#services .modern-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 320px;
}

#services .modern-card .card-description {
    flex-grow: 1;
}

#services .modern-card .btn-outline-gradient {
    margin-top: auto;
    align-self: flex-start;
}

/* ============================================
   MODERN PORTFOLIO GRID
   ============================================ */

.portfolio-modern {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-base);
}

.portfolio-modern img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: all var(--transition-base);
}

.portfolio-modern:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-modern:hover img {
    transform: scale(1.1);
}

.portfolio-overlay-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform var(--transition-base);
}

.portfolio-modern:hover .portfolio-overlay-title {
    transform: translateY(0);
}

.portfolio-overlay-category {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(20px);
    transition: transform var(--transition-base) 0.1s;
}

.portfolio-modern:hover .portfolio-overlay-category {
    transform: translateY(0);
}

/* ============================================
   MODERN STATS/COUNTER SECTION
   ============================================ */

.stats-modern {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    border: 1px solid var(--glass-border);
    text-align: center;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   MODERN TESTIMONIAL CARDS
   ============================================ */

.testimonial-modern {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all var(--transition-base);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-modern::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(102, 126, 234, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    border-color: rgba(102, 126, 234, 0.4);
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid rgba(102, 126, 234, 0.5);
}

.testimonial-info h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

/* ============================================
   MODERN PRICING CARDS
   ============================================ */

.pricing-modern {
    background: var(--dark-card);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.pricing-modern.featured {
    border-color: rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.pricing-modern.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-gradient);
    color: white;
    padding: 0.375rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.pricing-modern:hover {
    transform: scale(1.05);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    border-color: rgba(102, 126, 234, 0.6);
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 1.5rem 0;
}

.pricing-price span {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: 700;
    font-size: 1.25rem;
}

/* ============================================
   MODERN FORM INPUTS
   ============================================ */

.input-modern {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.input-modern:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.input-modern::placeholder {
    color: rgba(160, 174, 192, 0.6);
}

/* ============================================
   SECTION HEADINGS
   ============================================ */

.section-modern {
    padding: 5rem 0;
    position: relative;
}

.section-title-modern {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-modern h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title-modern h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
}

.section-title-modern p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

@media (max-width: 991px) {

    /* Changed breakpoint to cover tablets */
    .modern-hero {
        min-height: auto;
        padding: 0px;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
        flex-direction: column;
    }

    .hero-graphic {
        margin-top: 2rem;
    }

    .modern-nav-menu {
        display: none;
        /* Mobile menu should be handled via JS/toggle, hiding for now */
    }

    .glass-card {
        margin-bottom: 1.5rem;
    }

    .pricing-modern {
        margin-bottom: 2rem;
    }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* ============================================
   MODERN PORTFOLIO TABS
   ============================================ */

.portfolio-menu {
    position: relative;
    display: flex;
    justify-content: center;
    padding-bottom: 5px;
}

.portfolio-menu ul {
    position: relative;
    display: inline-flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
    /* border-bottom removed to match nav bar style */
}

.portfolio-menu li {
    position: relative;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.75rem 0;
    margin: 0;
    cursor: pointer;
    transition: color 0.3s ease;
    border: none !important;
    /* Override default style */
}

/* Remove default inheritance if necessary */
.portfolio-menu li:hover,
.portfolio-menu li.filtr-active {
    color: var(--primary-color, #667eea);
    border: none !important;
}

/* Remove old arrow indicator if exists */
.portfolio-menu li.filtr-active:before {
    display: none !important;
}

.filtr-indicator {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    border: 1px solid var(--glass-border);
    border-top: none;
}

/* ============================================
   MODERN BLOG / LATEST NEWS SECTION
   ============================================ */

/* Light Card Style to support Black Text Request */
.blog-item {
    background: rgba(255, 255, 255, 0.95) !important;
    /* Light background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none !important;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.blog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.blog-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-item:hover .blog-image::after {
    opacity: 1;
}

/* Text Container */
.blog-text {
    padding: 1.5rem !important;
    background: transparent !important;
}

.blog-text h3 {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-text h3 a {
    color: #1a1a2e !important;
    /* Dark Title */
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-text h3 a:hover {
    color: var(--accent-blue) !important;
}

.blog-text span {
    display: block;
    font-size: 0.875rem;
    color: #666 !important;
    /* Darker Date */
    margin-bottom: 1rem;
    font-weight: 500;
}

.blog-text span i {
    margin-right: 5px;
    color: var(--accent-purple);
}

.blog-text p {
    color: #333 !important;
    /* BLACK TEXT AS REQUESTED */
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer / Author Section */
.blog-author {
    padding: 1rem 1.5rem !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    background: #f8f9fa !important;
    /* Light Footer */
}


/* --- DARK VIDEO SECTION ADAPTATIONS (Added ID: 46) --- */
.section-dark .headline-left h2 {
    color: #fff !important;
}

.section-dark .headline-left h2 span {
    color: #3b82f6 !important;
    /* Blue accent matching the theme */
}

.section-dark .about-content p {
    color: #f9f9f9 !important;
}

.section-dark .about-content h4 {
    color: #ffffff !important;
}

/* Progress Bars in Dark Section */
.section-dark .bar-container p {
    color: #e2e8f0 !important;
    /* Lighter text for progress labels */
    font-weight: 500;
}

.section-dark .bar-container .percentage-show {
    color: #fff !important;
    font-weight: bold;
}

.section-dark .progress {
    background-color: #1e293b !important;
    /* Dark slate track */
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.section-dark .progress-bar-custom {
    background-color: #3b82f6 !important;
    /* Bright blue fill */
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    /* Glow effect */
}

/* Restored Carousel Nav Styles */
.blog-carousel .owl-nav button span {
    font-size: 24px;
    line-height: 0;
    margin-top: -5px;
}

.blog-author ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-author li a {
    color: #555 !important;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-author li a:hover {
    color: var(--accent-blue) !important;
}

.blog-author li a i {
    color: var(--accent-blue);
}

/* Button Styling */
.blog-button a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    background: var(--primary-gradient) !important;
    color: white !important;
    transition: all 0.3s ease;
    border: none !important;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.4);
}

.blog-button a:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.6);
}

/* ============================================
   MODERN BRAND AREA
   ============================================ */
.brand-area {
    background-color: var(--dark-bg);
    /* Match page background */
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 60px 0;
}

.brand-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.brand-item img {
    filter: grayscale(100%) brightness(1.2);
    opacity: 0.6;
    transition: all 0.4s ease;
    max-height: 80px;
    /* Increased from 50px for better visibility */
    width: auto;
}

.brand-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.brand-item:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.05);
}

/* ============================================
   TESTIMONIAL PAGE CARDS
   ============================================ */

.testimonial-grid {
    background: var(--dark-bg) !important;
}

.testimonial-grid .testimonial-item {
    background: var(--dark-card) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-lg) !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.testimonial-grid .testimonial-photo {
    background: transparent !important;
}

.testimonial-grid .testimonial-name {
    background: transparent !important;
}

.testimonial-grid .testimonial-name h4 {
    color: #ffffff !important;
}

.testimonial-grid .testimonial-name p {
    color: #a0aec0 !important;
}

.testimonial-grid .testimonial-description {
    background: transparent !important;
    flex: 1;
}

.testimonial-grid .testimonial-description p {
    color: #cbd5e1 !important;
}

/* ============================================
   EVENT PAGE CARDS
   ============================================ */

.event-area {
    background: var(--dark-bg) !important;
}

.event-item {
    background: var(--dark-card) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.event-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(102, 126, 234, 0.5) !important;
}

.event-body {
    background: transparent !important;
}

.event-header {
    background: transparent !important;
    border-bottom: 1px solid var(--glass-border) !important;
}

.event-header ul {
    background: transparent !important;
}

.event-header h4 {
    color: #ffffff !important;
}

.event-header span,
.event-header li {
    color: #a0aec0 !important;
}

li.event-header-left i {
    color: var(--accent-blue) !important;
}

.event-content {
    background: transparent !important;
}

.event-content p {
    color: #a0aec0 !important;
}

.event-content .button-df a {
    background: var(--accent-blue) !important;
    color: #ffffff !important;
    border-radius: var(--radius-md) !important;
}

.event-content .button-df a:hover {
    background: var(--accent-purple) !important;
}

/* ============================================
   SERVICE PAGE CARDS
   ============================================ */

.service-page .services-item {
    background: var(--dark-card) !important;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 30px;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.service-page .services-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(102, 126, 234, 0.5);
}

.service-page .services-photo {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.service-page .services-text {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent !important;
}

.service-page .services-text h3 a {
    color: #ffffff !important;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
}

.service-page .services-text p {
    color: #a0aec0 !important;
    flex: 1;
}

.service-page .services-text .button-bn {
    margin-top: auto;
}

.service-page .services-text .button-bn a {
    color: var(--accent-blue) !important;
}

/* ============================================
   MODERN FOOTER SECTION
   ============================================ */

/* Call to Action Bar */
.call-us {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
    background: none
}

/* Add Overlay to CTA */
.call-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #10b981 !important;
    background: linear-gradient(90deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.9) 100%) !important;
    z-index: 0;
}

.call-us .container {
    position: relative;
    z-index: 1;
}

.call-text h3 {
    color: white !important;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.call-us .button a {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.call-us .button a:hover {
    background: white;
    color: var(--accent-blue);
    transform: translateY(-3px);
}

/* Main Footer Area */
.footer-area {
    background-color: #0b0b15 !important;
    /* Very dark background */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #a0a0b0;
    padding-top: 80px;
}

.footer-item h3 {
    color: white !important;
    font-size: 1.2rem;
    font-weight: 700;
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 15px;
    margin-bottom: 25px;
    display: inline-block;
}

.footer-item p {
    color: #a0a0b0 !important;
    line-height: 1.8;
}

/* Footer Links */
.footer-item ul li {
    background: transparent !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding: 10px 0;
}

.footer-item ul li a {
    color: #a0a0b0 !important;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-item ul li a:hover {
    color: var(--accent-blue) !important;
    padding-left: 5px;
}

/* Footer Projects */
.footer-project img {
    border-radius: 4px;
    opacity: 0.8;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-project img:hover {
    opacity: 1;
    transform: scale(1.05);
    border-color: var(--accent-blue);
}

/* Newsletter Input */
.footer-item .input-group input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-radius: 30px 0 0 30px;
    height: 45px;
    padding-left: 20px;
}

.footer-item .input-group input:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--accent-blue) !important;
    box-shadow: none;
}

.footer-item .input-group .btn {
    background: var(--accent-blue) !important;
    color: white !important;
    border-radius: 0 30px 30px 0;
    padding: 0 20px;
    border: none;
    transition: all 0.3s ease;
}

.footer-item .input-group .btn:hover {
    background: white !important;
    color: var(--accent-blue) !important;
}

/* Footer Address */
.footer-address-item {
    display: flex !important;
    align-items: flex-start !important;
}

.footer-address-item .icon {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--accent-blue) !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.footer-address-item .text {
    flex: 1;
    line-height: 1.6;
}

.footer-address-item .text span {
    color: #a0a0b0 !important;
}

/* ============================================
   MODERN FOOTER BOTTOM
   ============================================ */

.footer-bottom {
    background-color: #0b0b15 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
}

.footer-menu ul li a {
    color: #a0a0b0 !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-menu ul li a:hover {
    color: var(--accent-blue) !important;
}

.footer-menu {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    margin-bottom: 20px;
}

.copy-text p {
    color: #6c757d !important;
    font-size: 0.9rem;
}

/* ============================================
   PORTFOLIO GRID CORRECTIONS
   ============================================ */

/* Add spacing (gutters) around grid items */
.filtr-item {
    padding: 15px !important;
    /* Adds vertical and horizontal gap */
    transition: all 0.5s ease-out;
}

/* Ensure the card fills the available space */
.portfolio-modern {
    width: 100%;
    height: 100%;
    box-shadow: var(--shadow-sm);
    margin-bottom: 0;
    /* Handled by filtr-item padding */
}

/* Ensure container allows overflow for shadows */
.filtr-container {
    margin: 0 -15px !important;
    /* Offset bootstrap row margin */
    padding: 15px 0;
}

/* ============================================
   MODERN FEATURES SECTION
   ============================================ */

/* Override Legacy Background */
.feature-area,
.feature-two,
.feature-item {
    background: transparent !important;
}

/* Feature Item Card */
.feature-item {
    display: flex !important;
    /* Fix table display */
    flex-direction: row;
    align-items: flex-start;
    flex: 1;
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-lg);
    padding: 25px !important;
    margin-top: 30px !important;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(102, 126, 234, 0.5) !important;
}

/* Icon Container */
.feature-icon {
    display: block !important;
    /* Override table-cell */
    margin-right: 20px;
    width: auto !important;
}

.feature-icon i {
    width: 60px !important;
    height: 60px !important;
    line-height: 60px !important;
    font-size: 24px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--accent-blue) !important;
    border-radius: 50% !important;
    /* Circle */
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 0 !important;
    box-shadow: none !important;
    transition: all var(--transition-base);
}

.feature-item:hover .feature-icon i {
    background: var(--primary-gradient) !important;
    color: white !important;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4) !important;
}

/* Text Container */
.feature-text {
    display: block !important;
    /* Override table-cell */
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.feature-text h4 {
    color: white !important;
    font-size: 1.25rem !important;
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-text p {
    color: #a0a0b0 !important;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Hover fixes for text container (override legacy hover bg) */
.feature-item:hover .feature-text {
    background: transparent !important;
    border: none !important;
    color: inherit !important;
}

/* ============================================
   MODERN BOOKING & FAQ SECTION
   ============================================ */

/* Hide Legacy Overlay */
.bg-booking,
.booking-area:before {
    display: none !important;
}

/* Add Dark Overlay to Background Image */
.booking-area {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    z-index: 1;
}

.booking-area::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 11, 21, 0.9) 0%, rgba(11, 11, 21, 0.7) 100%);
    z-index: -1;
}

/* Booking Form Container */
.booking-form {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-lg);
    padding: 30px !important;
    box-shadow: var(--shadow-lg);
}

.booking-form h2 {
    color: white !important;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Helper Class for Inputs */
.form-control,
textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-radius: var(--radius-sm) !important;
    padding: 12px 15px !important;
    height: auto !important;
    transition: all 0.3s ease;
}

.form-control:focus,
textarea:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* FAQ Section */
.faq-home h2 {
    color: white !important;
    margin-bottom: 20px;
}

/* FAQ Header/Button */
.card-header,
.faq-home .card-header {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 10px;
}

.card-header .btn-link {
    display: block;
    width: 100%;
    text-align: left;
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    color: #e0e0e0 !important;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: normal;
    /* Allow wrapping */
}

.card-header .btn-link:hover,
.card-header .btn-link[aria-expanded="true"] {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%) !important;
    border-color: rgba(102, 126, 234, 0.5) !important;
    color: white !important;
    padding-left: 25px;
    /* Slide effect */
}

/* FAQ Body */
.card-body {
    background: transparent !important;
    color: #a0a0b0 !important;
    padding: 15px 20px !important;
    border-top: none !important;
    line-height: 1.6;
}

/* ============================================
   MODERN CALL TO ACTION (CTA)
   ============================================ */

.call-us {
    position: relative;
    padding: 60px 0 !important;
    background-size: cover !important;
    background-position: center !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Overlay ABOVE background image */
.call-us::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.95) 0%,
            rgba(118, 75, 162, 0.92) 50%,
            rgba(236, 72, 153, 0.9) 100%) !important;
    z-index: 0;
    /* Behind content, but on top of bg image */
}

/* Ensure content sits on top */
.call-us .container {
    position: relative;
    z-index: 2;
}

/* CTA Content Styling */
.call-text {
    margin-top: 5px !important;
}

.call-text h3 {
    color: #ffffff !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* CTA Button */
.call-us .button {
    margin-top: 0 !important;
    text-align: right;
}

.call-us .button a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    padding: 14px 40px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4) !important;
    transition: all 0.3s ease !important;
    display: inline-block;
    text-decoration: none;
}

.call-us .button a i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.call-us .button a:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6) !important;
    background: #ffffff !important;
    color: #667eea !important;
}

.call-us .button a:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .call-us .button {
        text-align: center;
        margin-top: 20px !important;
    }

    .call-text h3 {
        font-size: 1.35rem !important;
        margin-bottom: 20px !important;
    }

    /* Hero Slider Mobile Adjustments */
    .modern-hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-slider .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .hero-slider .owl-nav .owl-prev {
        left: 10px;
    }

    .hero-slider .owl-nav .owl-next {
        right: 10px;
    }

    .hero-slider .owl-dots {
        bottom: 15px;
    }
}

/* --- INTERNAL PAGE HEADER FIX (Updated ID: 55) --- */
.banner-slider {
    margin-top: 0 !important;
    /* Removed extra margin that caused dark space */
    padding-top: 80px !important;
    /* Restore normal padding */
    padding-bottom: 80px;
    background-position: center center !important;
    background-size: cover !important;
}

/* Ensure content is positioned correctly */
.bannder-table {
    padding-top: 0;
}

/* ============================================
   PRODUCT MEGA MENU STYLES
   ============================================ */

/* Mega Menu Container */
.product-menu-item {
    position: static !important;
    /* Allow mega menu to be full width relative to nav or container */
}

.modern-nav-menu li.product-menu-item .product-menu-container {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 90vw;
    max-width: 1100px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1100;
    margin-top: 15px;
    /* Gap for hover safety usually, but we use ::before bridge if needed */
}

/* Hover State */
.modern-nav-menu li.product-menu-item:hover .product-menu-container {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Mega Menu Layout */
.product-mega-menu {
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.product-menu-row {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.product-menu-separator {
    height: 1px;
    background: #e5e7eb;
    margin: 25px 0;
    width: 100%;
}

/* Left Column (Categories) */
.product-menu-col.left-col {
    width: 220px;
    flex-shrink: 0;
}

.menu-category-title {
    color: #00a500;
    /* Green color from image */
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.4;
    margin: 0;
}

/* Right Column (Products) */
.product-menu-col.right-col {
    flex-grow: 1;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center align image and text */
    text-align: center;
}

.product-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.product-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-name {
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 991px) {
    .product-menu-container {
        display: none !important;
        /* Hide on mobile for now, or handle differently */
    }
}


/* Clickable Menu Categories */
.menu-category-link {
    text-decoration: none;
    display: block;
    transition: transform 0.2s ease;
}

.menu-category-link:hover {
    transform: translateX(5px);
}

.menu-category-link:hover .menu-category-title {
    text-shadow: 0 0 10px rgba(0, 165, 0, 0.4);
}

/* ============================================
   MODERN ABOUT PAGE STYLING
   ============================================ */

.about-page {
    background: var(--dark-bg);
}

.about-page p {
    color: #e2e8f0 !important;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.about-page h1,
.about-page h2,
.about-page h3,
.about-page h4,
.about-page h5,
.about-page h6 {
    background: linear-gradient(135deg, #667eea 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-page h1 {
    font-size: 32px;
}

.about-page h2 {
    font-size: 28px;
}

.about-page h3 {
    font-size: 24px;
}

.about-page h4 {
    font-size: 20px;
}

.about-page h5 {
    font-size: 18px;
}

.about-page h6 {
    font-size: 16px;
}

.about-page .headstyle h4 {
    background: linear-gradient(135deg, #667eea 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-page a {
    color: #a78bfa;
    transition: color 0.3s ease;
}

.about-page a:hover {
    color: #c4b5fd;
}

/* Service Detail Page Styling */
.service-info h2,
.service-info h3,
.service-info h4 {
    background: linear-gradient(135deg, #667eea 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.service-info p {
    color: #e2e8f0 !important;
    line-height: 1.8;
}