/* Import the new theme */
@import url('theme.css');

:root {
    /* All the color variables are now defined in theme.css */
}

/* Global styles & resets */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--body-bg);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

::selection {
    background-color: var(--color-secondary);
    color: var(--color-base-content);
}

/* Typography enhancements */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-base-content);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(2.75rem, 5vw, 4.5rem);
    letter-spacing: -0.03em;
    color: var(--dark);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    color: var(--dark);
}

p {
    margin-top: 0;
    color: var(--text-color);
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Layout utilities */
.container {
    max-width: 1280px;
}

section {
    position: relative;
    overflow: hidden;
}

/* Override Bootstrap colors */
.text-primary {
    color: var(--color-primary) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn-primary:hover {
    background: var(--btn-primary-hover-bg);
    box-shadow: var(--btn-primary-hover-shadow);
    transform: translateY(-3px);
}

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

.btn-outline-primary:hover {
    background: var(--gradient-primary) !important;
    color: var(--light) !important;
}

/* Buttons & interactive elements */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(var(--x, 0) - 100px);
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, oklch(83.768% .001 17.911, var(--opacity-40)), transparent);
    transform: skewX(-25deg);
    transition: left 0s ease;
    z-index: -1;
}

.btn:hover::before {
    left: calc(100% + 100px);
    transition: left 0.8s ease;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-light {
    background: var(--light);
    color: var(--primary);
}

.btn-light:hover {
    color: var(--primary-dark) !important;
}

/* Cards & containers */
.card {
    background-color: var(--color-base-200);
    border-radius: var(--radius-box);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    border: var(--border) solid var(--color-base-300);
    height: 100%;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: var(--glow-primary);
    border-color: var(--color-primary);
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.card h3, .card h4 {
    color: var(--color-base-content) !important;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card p {
    color: var(--color-base-content) !important;
    opacity: 0.9;
    flex-grow: 1;
}

/* Feature icon for cards */
.feature-icon-container {
    width: 80px;
    height: 80px;
    background-color: oklch(0% 0 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    color: var(--color-accent) !important;
    font-size: 2rem;
}

/* Learn more links */
.learn-more {
    color: var(--color-accent) !important;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.learn-more:hover {
    transform: translateX(5px);
}

/* Enhanced Hero Section - modified to use HTML images instead of CSS backgrounds */
.hero-enhanced {
    background: var(--color-primary);
    background-size: 200% 200%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    color: var(--color-primary-content);
    padding: 220px 0 140px; /* Increased top padding to account for navbar height */
    margin-top: -80px; /* Pull up to position under the navbar */
}

/* Remove background image handling in CSS */
.hero-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: oklch(0% 0 0, 0.5) !important;
    z-index: 1;
}

/* Make the hero-image-container visible and style it for full-screen images */
.hero-image-container {
    position: relative;
    border-radius: var(--radius-box);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    box-shadow: var(--shadow-lg);
    height: 450px; /* Consistent fixed height */
    width: 100%;
    background-color: var(--color-base-200);
    z-index: 1;
}

.hero-image-container img,
.hero-image-container iframe {
    width: 100%;
    height: 100%; /* Use 100% of the container height */
    object-fit: cover;
    transition: all 0.5s ease;
    display: block;
    border-radius: var(--radius-box);
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 40px 80px rgba(255, 255, 255, 0.4);
}

.hero-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Additional spacing for hero content */
.hero-enhanced .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 90%;
    position: relative;
    z-index: 5;
}

.hero-enhanced .row {
    margin: 0;
    padding-top: 40px;
    align-items: flex-start; /* Align items at the top for consistent layout */
}

/* Unified hero section spacing and alignment */
.hero-enhanced .col-lg-6 {
    padding-top: 0;
    display: flex;
    flex-direction: column;
}

.headline-enhanced {
    font-size: clamp(2.5rem, 3vw, 3.5rem);
    background: var(--gradient-primary-light);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 8s linear infinite;
    text-shadow: var(--effect-text-shadow-lg);
    letter-spacing: -0.5px;
    font-weight: 800;
    margin-top: 0 !important;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtext {
    font-size: 1.2rem;
    color: var(--color-primary-content) !important;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Hero buttons with consistent spacing */
.hero-buttons {
    gap: 20px;
    display: flex;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Primary CTA Button (Contact Us) */
.hero-primary-btn {
    background: var(--color-accent);
    color: var(--color-accent-content);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: var(--glow-accent);
}

/* Secondary CTA Button (Explore Services) */
.hero-secondary-btn {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.15);
}

/* Media queries for responsive hero sections */
@media (max-width: 1200px) {
    .hero-enhanced {
        padding: 180px 0 100px;
    }
    
    .headline-enhanced {
        font-size: clamp(2rem, 4vw, 2.8rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-enhanced .container {
        max-width: 85%;
    }
}

@media (max-width: 991px) {
    .hero-enhanced {
        padding: 150px 0 80px;
        margin-top: -60px;
    }
    
    .hero-enhanced .row {
        flex-direction: column;
    }
    
    .hero-image-container {
        margin-top: 2rem;
        height: 400px;
    }
    
    .headline-enhanced {
        text-align: center;
    }
    
    .hero-subtext {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-enhanced {
        padding: 130px 0 60px;
        margin-top: -50px;
    }
    
    .hero-subtext {
        font-size: 1rem;
    }
    
    .hero-image-container {
        height: 350px;
    }
    
    .headline-enhanced {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
    }
}

@media (max-width: 576px) {
    .hero-enhanced {
        padding: 120px 0 40px;
    }
    
    .headline-enhanced {
        font-size: clamp(1.5rem, 5vw, 1.8rem);
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-primary-btn, .hero-secondary-btn {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
        padding: 10px 20px;
    }
    
    .hero-image-container {
        height: 300px;
    }
}

/* Floating particles for hero section */
.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--overlay-light);
    pointer-events: none;
    z-index: 0;
    filter: blur(0.5px); /* Reduced from 1px for a sharper appearance */
    animation: float 25s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(100vw) rotate(360deg); opacity: 0; }
}

/* Enhanced service cards with glassmorphism and micro-interactions */
.service-card {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.5s ease;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--border) solid var(--border-color);
    border-radius: var(--radius-box);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    transform: translateY(0) scale(1) rotateX(0deg);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--color-secondary-light) 0%, var(--color-primary-light) 100%);
    -webkit-mask: linear-gradient(var(--color-white) 0 0) content-box, linear-gradient(var(--color-white) 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: var(--card-hover-transform);
    box-shadow: var(--glow-primary);
    border-color: var(--color-primary);
}

.service-card:hover::before {
    opacity: 1;
}

/* 3D rotation effect on hover */
.service-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03) rotateX(5deg);
}

/* Service card content layout */
.service-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card h4 {
    font-size: 1.25rem;
    color: var(--color-base-content) !important;
    font-family: 'Satoshi', 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.8rem;
    height: 3rem; /* Fixed height for consistent alignment */
    display: flex;
    align-items: center;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* This makes the paragraph take available space */
}

/* Enhanced feature icons */
.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background-color: var(--overlay-primary);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow);
}

.service-card:hover .feature-icon {
    transform: scale(1.1) translateY(-5px);
    background: var(--overlay-primary);
    color: var(--color-primary-content);
}

/* Enhance "Learn more" links */
.service-link {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    padding: 10px 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 5;
    margin-top: auto; /* Push link to bottom of available space */
    align-self: flex-start; /* Align to left edge */
}

.service-link i {
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.service-link:hover {
    color: var(--color-primary-content);
    text-shadow: 0 0 1px var(--overlay-primary);
}

.service-link:hover i {
    transform: translateX(8px);
}

.service-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--color-primary);
    transition: width 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Enhanced section titles */
.section-title {
    position: relative;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 3px;
}

/* Enhanced testimonials section */
.testimonials {
    background-color: var(--color-base-200);
    padding: 8rem 0;
    position: relative;
}

.enhanced-quote-card {
    background: var(--color-base-100);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-base-300);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.enhanced-quote-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(26, 115, 232, 0.15);
}

.enhanced-quote-card::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 150px;
    line-height: 0;
    font-family: serif;
    color: rgba(0, 209, 209, 0.1);
    z-index: 0;
    pointer-events: none;
}

/* Modern navbar with improved vertical alignment */
.navbar {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Fixed height instead of min-height */
}

/* Ensure navbar remains transparent when scrolled */
.navbar.scrolled {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

/* Remove navbar-hero connector gradient */
.navbar::after {
    display: none;
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--color-primary-content);
    padding: 0;
    margin-right: 2rem;
    display: flex;
    align-items: center;
    height: 50px;
    line-height: 50px;
    position: relative;
    letter-spacing: 0.5px; /* Slightly increase letter spacing for better readability */
    text-shadow: 0 0 15px rgba(var(--color-white), var(--opacity-50)); /* Subtle glow effect */
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Fix navbar-toggler styling */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    z-index: 1001;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    height: 24px;
    width: 24px;
}

/* Mobile menu toggle styling */
.mobile-menu-toggle {
    border: none;
    background: transparent;
    z-index: 1050;
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
}

/* Mobile menu container styling */
@media (max-width: 991px) {
    /* Ensure the toggler stays in position */
    .navbar {
        position: absolute !important;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1040;
        background: var(--color-base-200) !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        height: 70px;
        display: flex;
        align-items: center;
    }

    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1.5rem; /* Add consistent padding */
    }
    
    /* Mobile nav items styling */
    .mobile-nav {
        padding: 0.5rem 1.5rem;
        margin: 0;
        width: 100%;
    }
    
    .mobile-nav .nav-item {
        width: 100%;
        margin: 0;
        padding: 0;
        height: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .mobile-nav .nav-link {
        font-size: 16px;
        font-weight: 600;
        color: var(--color-base-content) !important;
        padding: 16px 0 !important;
        height: auto;
        width: 70%;
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        position: relative;
    }

    /* Fix dropdown icon positioning */
    .mobile-nav .nav-item.dropdown .nav-link {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center;
        padding-right: 25px !important; /* Space for the icon */
    }
    
    .mobile-nav .dropdown-icon {
        position: relative !important;
        right: 0 !important;
        top: 0 !important;
        transform: none !important;
    }
    
    .mobile-nav .dropdown .nav-link[aria-expanded="true"] .dropdown-icon {
        transform: rotate(180deg) !important;
    }
    
    /* Dropdown menu styling for mobile */
    .mobile-nav .dropdown-menu {
        position: static !important;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        border-radius: 8px;
        padding: 0.5rem 0;
        margin: 0;
        transform: none !important;
        box-shadow: none;
        max-height: none;
        overflow: visible;
        transition: all 0.3s ease;
        display: block;
        width: 100%;
        left: 0;
        right: 0;
    }
    
    .mobile-nav .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        margin: 5px 0;
    }
    
    .mobile-nav .dropdown-item {
        color: var(--color-base-content);
        opacity: 0.9;
        padding: 12px 1.5rem;
        transition: all 0.2s ease;
        font-size: 15px;
        white-space: normal; /* Allow text to wrap */
    }
    
    .mobile-nav .dropdown-item:hover,
    .mobile-nav .dropdown-item:focus {
        background: rgba(255, 255, 255, 0.1);
        color: var(--color-accent);
    }
}

/* Additional responsive adjustments for very small screens */
@media (max-width: 576px) {
    .navbar .container {
        padding: 0 1rem; /* Slightly reduced padding for very small screens */
    }
    
    .mobile-nav {
        padding: 0.5rem 1rem;
    }
    
    .mobile-nav .nav-link {
        font-size: 15px;
        padding: 14px 0 !important;
    }
    
    .mobile-nav .dropdown-item {
        padding: 10px 1rem;
        font-size: 14px;
    }
}

/* Hero section top padding adjustment to account for absolute navbar positioning */
.hero-enhanced {
    padding-top: 160px;
}

@media (max-width: 991px) {
    .hero-enhanced {
        padding-top: 140px;
    }
}

/* Add a new animation for shining effect on logo hover */
@keyframes shine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Add subtle underline to the navbar brand to balance the 'g' descender */
.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: 28px; /* Position to align with nav items */
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(var(--color-white), var(--opacity-80)), rgba(var(--color-primary-light), var(--opacity-30)));
    opacity: 0;
    transform: scaleX(0.9); /* Make slightly shorter than text */
    transform-origin: left;
    transition: all 0.3s ease;
}

.navbar-brand:hover::after {
    opacity: 0;
    transform: scaleX(0);
}
    
/* Keep other hover effects that don't involve the line */
.navbar-brand:hover {
    background: linear-gradient(90deg, var(--color-accent), #ffffff, var(--color-accent));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 1.5s linear infinite;
    transform: translateY(-2px) scale(1.05);
    text-shadow: 0 0 20px rgba(var(--color-accent-rgb), var(--opacity-70));
    letter-spacing: 0.5px; /* Keep the same letter spacing to prevent width changes */
}

.navbar-collapse {
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-item {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.nav-link {
    font-weight: 600;
    padding: 0 1rem !important;
    color: var(--color-primary-content) !important;
    opacity: 0.9;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    position: relative;
    text-shadow: 0 1px 3px rgba(var(--color-black), var(--opacity-20));
}

/* Adjust the hover underline effect for nav links */
.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s;
    position: absolute;
    bottom: 28px; /* Adjusted to be more centered relative to text */
    left: 1rem;
    right: 1rem;
}

.nav-link:hover::after {
    width: calc(100% - 2rem);
}

.nav-link:hover {
    color: var(--accent) !important;
}

/* Add active state for current page navigation item */
.nav-item.active .nav-link,
.nav-link.active {
    color: var(--accent) !important;
}

/* Update Get Started button in navbar with enhanced animations */
.navbar .btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.navbar .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--color-white), var(--opacity-30)), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.navbar .btn-primary::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: var(--color-accent);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scaleX(0.8);
    opacity: 0;
}

.navbar .btn-primary:hover {
    background: var(--btn-primary-hover-bg);
    color: var(--btn-primary-text);
    transform: translateY(-5px);
    box-shadow: var(--btn-primary-hover-shadow);
}

.navbar .btn-primary:hover::before {
    left: 100%;
    transition: all 0.6s ease;
}

.navbar .btn-primary:hover::after {
    width: 100%;
    left: 0;
    opacity: 1;
    transform: scaleX(1);
}

/* Hero Buttons - Primary and Secondary Button Styles */

/* Hero buttons container */
.hero-buttons {
    gap: 30px;
    display: flex;
}

/* Primary CTA Button (Contact Us) - Make this stand out as the main action */
.hero-primary-btn {
    background: var(--color-accent);
    color: var(--color-accent-content);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: var(--glow-accent);
}

.hero-primary-btn::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: all 0.5s ease;
    z-index: -1;
}

.hero-primary-btn:hover {
    background: var(--color-accent-content);
    box-shadow: var(--glow-accent-lg);
    transform: translateY(-7px) scale(1.05);
    color: var(--color-accent);
}

.hero-primary-btn:hover::before {
    left: 100%;
    transition: left 0.8s ease;
}

/* Secondary CTA Button (Explore Services) - Still important but secondary action */
.hero-secondary-btn {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.15);
}

.hero-secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--color-accent);
    transition: all 0.4s ease;
    z-index: -1;
    opacity: 0.9;
}

.hero-secondary-btn:hover {
    color: var(--color-accent-content);
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
}

.hero-secondary-btn:hover::before {
    width: 100%;
}

/* Revert CTA section to original style */
.cta {
    background: var(--color-primary);
    color: var(--color-primary-content);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: 0;
}

.cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='white' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E") repeat;
    z-index: 0;
    opacity: 0.2;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: var(--color-primary-content);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    color: var(--color-primary-content);
    opacity: 0.9;
}

/* Fix button styles for better contrast */
.enhanced-primary-btn {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    min-height: 50px;
    padding: 12px 30px;
    font-size: 1.1rem;
}

.enhanced-primary-btn:hover {
    background: var(--btn-primary-hover-bg);
    color: var(--btn-primary-text);
    box-shadow: var(--btn-primary-hover-shadow);
    transform: translateY(-5px);
}

.btn-contrast {
    background: var(--color-base-100);
    color: var(--accent);
    border: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    min-height: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    padding: 12px 30px;
    font-size: 1.1rem;
}

.btn-contrast:hover {
    background: var(--color-base-200);
    color: var(--accent-dark);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Style for Contact Us Now button */
.cta .btn-light {
    background: var(--color-base-100);
    color: var(--accent) !important; /* Text stays accent */
    font-weight: 700;
    border: none;
    padding: 12px 32px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta .btn-light:hover {
    background: var(--color-base-100);
    color: var(--accent) !important; /* Prevents text turning white */
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Animated scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-primary-content);
    opacity: 0.6;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.scroll-indicator::before {
    content: '';
    width: 4px;
    height: 10px;
    background: var(--color-primary-content);
    opacity: 0.6;
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    80% { opacity: 0; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* Enhanced footer */
footer {
    background: var(--color-base-200);
    color: var(--color-base-content);
    padding: 5rem 0 2rem;
}

footer h5 {
    color: var(--color-base-content);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-base-300);
    color: var(--color-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin-right: 0.75rem;
}

.social-links a:hover {
    background: var(--color-accent);
    color: var(--color-accent-content);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(26, 115, 232, 0.25);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero {
        padding: 6rem 0;
    }
    
    .navbar .btn {
        margin-top: 1rem;
        display: block;
        width: 100%;
    }
    
    .hero-image-container {
        margin-top: 3rem;
        transform: perspective(1000px) rotateY(0) rotateX(0);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .services, .testimonials {
        padding: 5rem 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.fadeInLeft {
    animation: fadeInLeft 0.6s ease forwards;
}

.fadeInRight {
    animation: fadeInRight 0.6s ease forwards;
}

/* Animation delays */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

/* Custom cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    z-index: 9999;
    opacity: 0;
    mix-blend-mode: difference;
}

.cursor-active {
    opacity: 1;
}

.custom-cursor::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Link and button cursor effects */
a:hover ~ .custom-cursor, 
button:hover ~ .custom-cursor {
    width: 40px;
    height: 40px;
    border-color: var(--secondary);
}

/* Utility classes for spacing */
.mb-lg-5 {
    margin-bottom: 3rem !important;
}

.mt-lg-5 {
    margin-top: 3rem !important;
}

/* Text emphasized color classes */
.text-emphasis {
    color: var(--primary) !important;
    font-weight: 700;
}

.text-accent {
    color: var(--color-accent) !important;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid var(--accent) !important;
    outline-offset: 2px;
}

/* Hide focus outline for mouse users but keep for keyboard navigation */
*:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* Active nav link styling without outline */
.nav-link.active {
    color: var(--accent) !important;
    position: relative;
}

/* Add specific styling for the Services link outline */
.nav-item a:focus-visible {
    outline: 2px solid var(--accent) !important;
    outline-offset: 2px;
    border-radius: 4px;
}

.nav-item a:focus:not(:focus-visible) {
    outline: none !important;
}

/* Hero image enhanced */
.hero-image-container {
    position: relative;
    border-radius: var(--radius-box);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-8deg) rotateX(5deg);
    transition: all 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: 0 30px 60px rgba(255, 255, 255, 0.3);
    border: 3   px solid rgba(255, 255, 255, 0.2);
    max-width: 80%; /* Constrain image width */
    margin: 0 auto; /* Center the image */
    max-height: 450px; /* Add maximum height */
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain to show the full image */
    object-position: center; /* Center the image */
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 40px 80px rgba(255, 255, 255, 0.4);
}

.hero-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Fix all star ratings to use accent color */
.rating .fa-star.text-warning {
    color: var(--accent) !important;
    font-size: 1.2rem;
}

/* Client image fixes */
.client-image {
    width: 50px;
    height: 50px;
    overflow: hidden;
}

/* Enhanced footer styles - matching navbar black gradient */
.enhanced-footer {
    background-color: var(--color-base-100);
    color: var(--color-base-content);
    padding: 5rem 0 2rem;
}

.enhanced-footer h5, 
.enhanced-footer h6 {
    color: var(--color-base-content);
    margin-bottom: 1.5rem;
}

.enhanced-footer p {
    color: var(--color-neutral-content);
}

.enhanced-footer .footer-links a {
    color: var(--color-neutral-content);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.enhanced-footer .footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

/* Fix social icons in footer */
.enhanced-social {
    display: flex;
    gap: 1rem;
}

.enhanced-social a {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-base-200);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    z-index: 1;
}

.enhanced-social a:hover {
    background-color: var(--color-primary);
    color: var(--color-base-content);
    transform: translateY(-5px);
}

.enhanced-social a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--color-accent);
    transition: all 0.3s ease;
    z-index: -1;
}

.enhanced-social a:hover::after {
    height: 100%;
}

/* Mobile menu toggle fix */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    z-index: 1001;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Service card improvements */
.service-card {
    height: 100%; /* Ensure all cards have the same height */
}

.service-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card h4 {
    font-size: 1.25rem;
    color: var(--color-base-content) !important;
    font-family: 'Satoshi', 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.8rem;
    height: 3rem; /* Fixed height for consistent alignment */
    display: flex;
    align-items: center;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* This makes the paragraph take available space */
}

.service-link {
    margin-top: auto; /* Push link to bottom of available space */
}

/* Feature icon animation */
@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.feature-icon.animated {
    animation: iconPulse 2s infinite cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Smooth transition for icons */
.fa, .fab, .fas {
    transition: all 0.3s ease;
}

/* Better contrast for text */
.text-muted {
    color: var(--text-muted) !important;
    /* Ensures at least 4.5:1 contrast ratio */
}

/* Improved link contrast */
a {
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover, a:focus {
    color: var(--color-primary);
    text-decoration: none;
}

/* Form element accessibility improvements */
input, 
textarea, 
select, 
button {
    font-family: 'Inter', sans-serif;
}

input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Skip to content link for keyboard users */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
}

/* Improved contrast for footer links */
.enhanced-footer .footer-links a {
    color: var(--text-color);
}

/* Better contrast for buttons */
.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn-primary:hover {
    background: var(--btn-primary-hover-bg);
    box-shadow: var(--btn-primary-hover-shadow);
    transform: translateY(-3px);
}

/* Ensure focus states for interactive elements */
.nav-link:focus::after {
    width: 100%;
}

/* Darker backgrounds for improved contrast */
.hero-enhanced {
    background: var(--color-primary);
}

/* Improved text contrast in hero section */
.hero .headline-enhanced {
    color: var(--color-primary-content) !important;
}

.hero .hero-subtext {
    color: var(--color-primary-content) !important;
    opacity: 0.9;
}

/* Better icon contrast */
.feature-icon {
    background-color: var(--overlay-primary);
    color: var(--color-primary);
}

/* Card hover effect */
.card-hover-effect {
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

/* Pulse dot animation for footer links */
.pulse-dot {
    position: absolute;
    left: -15px;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    animation: pulse-animation 0.7s ease-out;
}

@keyframes pulse-animation {
    0% {
        transform: scale(0);
        opacity: 1;
        box-shadow: 0 0 0 0 var(--accent);
    }
    100% {
        transform: scale(2);
        opacity: 0;
        box-shadow: 0 0 0 15px transparent;
    }
}

/* Enhanced animations for feature icons */
@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.feature-icon.animated {
    animation: iconPulse 2s infinite cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* More vibrant service links */
.service-link {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    padding: 8px 0;
    position: relative;
    display: inline-block;
    z-index: 5;
}

.service-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    right: 0;
    background: var(--secondary);
    transition: width 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.service-link:hover::after {
    width: 100%;
    left: 0;
    right: auto;
}

/* Hero image enhanced */
.hero-image-container {
    position: relative;
    border-radius: var(--radius-box);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    box-shadow: var(--shadow-lg);
    height: 450px; /* Consistent fixed height */
    width: 100%;
    background-color: var(--color-base-200);
    z-index: 1;
}

.hero-image-container img,
.hero-image-container iframe {
    width: 100%;
    height: 100%; /* Use 100% of the container height */
    object-fit: cover;
    transition: all 0.5s ease;
    display: block;
    border-radius: var(--radius-box);
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 40px 80px rgba(255, 255, 255, 0.4);
}

.hero-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Particles container styling */
#particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

/* Individual particle styling */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    filter: blur(0.5px); /* Reduced blur for sharper appearance */
    transition: opacity 0.3s ease;
}

/* Additional hero section adjustments */
.hero-enhanced .container {
    position: relative;
    z-index: 5;
}

/* Navbar button styles moved to line ~525 */

.service-cards-container {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
    margin-bottom: 40px;
}

.row.service-cards-container > * {
    margin-bottom: 2rem;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}

/* Increase space between hero buttons */
.hero-buttons {
    gap: 30px;
    display: flex;
}

/* Update margin between buttons for extra space */
.hero-buttons .btn {
    margin-right: 0 !important; /* Reset Bootstrap margins */
}

@media (max-width: 576px) {
    .hero-buttons {
        gap: 15px;
    }
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent) !important;
    transform: translateX(5px);
    text-decoration: none;
}

/* Fix position of the Get Started button in navbar */
.navbar .ms-lg-3 {
    display: flex;
    align-items: center;
    height: 80px; /* Ensure full height */
    justify-content: center; /* Center the button horizontally in its container */
}

/* New Testimonial Slider Style */
.testimonial-section {
    background-color: var(--color-base-100);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.testimonial-section .section-title {
    color: var(--color-base-content);
    margin-bottom: 1rem;
}

.testimonial-section .section-subtitle {
    color: var(--color-neutral-content);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.testimonial-section h2 {
    text-align: center;
    color: var(--color-base-content);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    font-size: 2.5rem;
}

.testimonial-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 3px;
}

.testimonial-section .lead {
    color: var(--color-base-content);
}

/* Update testimonial card style */
.testimonial-card {
    background-color: var(--color-base-200);
    border-radius: var(--radius-box);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--color-base-300);
    display: flex;
    flex-direction: column;
    margin: 10px;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
}

.testimonial-content {
    color: var(--color-base-content);
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    flex-grow: 0; /* Don't allow it to grow */
    height: 140px; /* Fixed height instead of min-height */
    overflow: hidden; /* Prevent content from overflowing */
    padding-left: 0; /* Remove any left padding */
}

.testimonial-content p {
    margin-bottom: 0;
    position: relative;
    padding-left: 0; /* Remove any left padding */
}

.testimonial-content p::before {
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -15px;
    font-family: serif;
    z-index: -1;
    display: none; /* Hide the quote mark that might cause misalignment */
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
    height: 4rem; /* Fixed height for consistent positioning */
}

.testimonial-author h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    color: var(--color-base-content);
    letter-spacing: -0.01em;
    font-weight: 600;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
    opacity: 0.9;
}

.testimonial-rating {
    margin-bottom: 1.5rem;
}

.testimonial-rating .fa-star,
.testimonial-rating .fa-star-half-alt {
    color: var(--color-accent) !important;
    margin-right: 3px;
    font-size: 0.95rem;
}

/* Testimonial slider container */
.testimonial-slider {
    position: relative;
    overflow: visible;
    padding: 0 60px;
    margin: 0 -10px;
}

.testimonial-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
}

.testimonial-prev, 
.testimonial-next {
    width: 50px;
    height: 50px;
    background: rgba(16, 16, 16, 0.1);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(83, 83, 83, 0.15);
    pointer-events: auto;
}

.testimonial-prev:hover, 
.testimonial-next:hover {
    background: var(--color-accent);
    color: var(--color-base-content);
    transform: scale(1.1);
}

/* Slick slider adjustments */
.slick-slide {
    height: inherit !important;
    margin: 0 15px;
    padding: 0;
}

.slick-track {
    display: flex !important;
    align-items: stretch;
    margin: 0;
}

.slick-slide > div {
    height: 100%;
    display: flex;
}

/* Fix for testimonial section */
.testimonial-section {
    background-color: var(--color-base-100);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.testimonial-section .section-title {
    color: var(--color-base-content);
    margin-bottom: 1rem;
}

.testimonial-section .section-subtitle {
    color: var(--color-neutral-content);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Media queries for responsive testimonial cards */
@media (max-width: 767px) {
    .testimonial-slider {
        padding: 0 40px;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-prev, 
    .testimonial-next {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-content {
    font-size: 1rem;
        height: 120px; /* Smaller fixed height on mobile */
        padding-left: 0; /* Maintain consistent padding */
    }
    
    .testimonial-content p {
        padding-left: 0; /* Maintain consistent padding */
    }
    
    .testimonial-author {
        margin-top: 1rem;
        height: auto; /* Allow auto height on mobile */
        min-height: 3.5rem; /* But maintain a minimum height */
    }
    
    .testimonial-author h4 {
        font-size: 1rem;
    }
    
    .testimonial-author p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .testimonial-author {
        min-height: 2.8rem; /* Even smaller on very small screens */
    }
    
    .testimonial-content {
        min-height: 5rem; /* Smaller height on very small screens */
    }
}

/* Latest News Section - Update background color */
#latest-news {
    background-color: var(--color-base-100);
    color: var(--color-base-content);
    position: relative;
    overflow: hidden;
}

#latest-news h2 {
    color: var(--color-base-content);
}

#latest-news .section-title::after {
    background: var(--color-accent);
}

#latest-news .lead {
    color: var(--color-base-content);
}

/* Slick slider adjustments */
.slick-track {
    display: flex !important;
}

.slick-slide {
    height: inherit !important;
    margin: 0 10px;
    padding: 0 5px;
}

.slick-slide > div {
    height: 100%;
    display: flex;
}

/* FAQ section styling */
.faq-section {
    padding: 5rem 0;
    background-color: var(--color-base-200);
}

.faq-container {
    margin-top: 2rem;
}

.faq-container .row {
    display: flex;
    flex-wrap: wrap;
}

.faq-item {
    background: var(--color-base-100);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(26, 115, 232, 0.1);
    transform: translateY(-5px);
}

.faq-question {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    padding-left: 0;
}

.faq-answer {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Make FAQ questions in the same row equal height and align properly */
@media (min-width: 768px) {
    .faq-container .row .col-md-6:nth-child(odd) .faq-item,
    .faq-container .row .col-md-6:nth-child(even) .faq-item {
        height: 100%;
    }
    
    /* Create equal-height rows for FAQ items */
    .faq-container .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .faq-container .row::before,
    .faq-container .row::after {
        display: none;
    }
    
    /* Match heights for items in the same row */
    .faq-container .row > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }
    
    /* Ensure questions in the same row start at the same vertical position */
    .faq-container .col-md-6:nth-child(1),
    .faq-container .col-md-6:nth-child(2) {
        margin-bottom: 1.5rem;
    }
    
    .faq-item {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .faq-question {
        flex-shrink: 0;
    }
    
    .faq-answer {
        flex-grow: 1;
    }
}

/* Floating particles for CTA section */
.cta .particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 0;
    filter: blur(0.5px);
    animation: floatParticle 25s infinite linear;
}

/* Position the container for CTA relative to allow particles to be positioned */
.cta .container {
    position: relative;
    z-index: 1;
}

/* Make the hero-enhanced class reusable for any section that needs the animated background */
.bg-gradient-animated {
    background: var(--gradient-primary);
    overflow: hidden;
    position: relative;
}

.bg-gradient-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(26, 115, 232, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 80% 40%, rgba(24, 90, 188, 0.3) 0%, transparent 50%);
    z-index: -1;
    animation: pulse-bg 15s infinite alternate ease-in-out;
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
    .hero-enhanced {
        padding: 180px 0 100px;
    }
    
    .headline-enhanced {
        font-size: clamp(1.5rem, 4vw, 2.8rem);
    }
    
    .hero-buttons {
        flex-wrap: wrap;
    }
    
    .hero-primary-btn, .hero-secondary-btn {
        margin-bottom: 10px;
    }
    
    .hero-enhanced .container {
        max-width: 85%;
    }
}

@media (max-width: 991px) {
    .hero-enhanced {
        padding: 150px 0 80px;
        margin-top: -60px; /* Adjusted to prevent overlap with navbar on smaller screens */
    }
    
    .hero-image-container {
        margin-top: 2rem;
        min-height: 400px;
        height: 400px;
    }
    
    .hero-image-container img,
    .hero-image-container iframe {
        min-height: 400px;
    }
    
    .navbar-collapse {
        background: rgba(30, 41, 59, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 0 0 15px 15px;
        padding: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        margin-top: 10px;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .navbar-nav {
        padding: 10px 0;
    }
    
    .nav-item {
        margin-bottom: 5px;
    }
    
    .nav-link {
        height: auto;
        padding: 10px 15px !important;
    }
    
    .nav-link::after {
        bottom: 5px;
    }
    
    .navbar .btn-primary {
        margin: 10px 15px;
        display: block;
        text-align: center;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
    
    .testimonial-section .container {
        padding: 0 50px;
    }
    
    .testimonial-prev, .testimonial-next {
        width: 40px;
        height: 40px;
    }
    
    .hero-enhanced .container {
        max-width: 90%;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-enhanced {
        padding: 130px 0 60px;
        margin-top: -50px;
    }
    
    .hero-subtext {
        font-size: 1rem;
    }
    
    .service-cards-container {
        padding: 0 10px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 20px;
        margin: 10px;
    }
    
    .testimonial-content {
        font-size: 0.9rem;
    }
    
    .enhanced-social a {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .hero-enhanced .container {
        max-width: 100%;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    
    .headline-enhanced {
        font-size: clamp(1.3rem, 5vw, 2.2rem);
    }
    
    .hero-image-container {
        min-height: 350px;
        height: 350px;
    }
    
    .hero-image-container img,
    .hero-image-container iframe {
        min-height: 350px;
    }
    
    .service-card h4 {
        height: auto; /* Allow auto height on mobile */
        min-height: 3rem; /* But still maintain a minimum height */
    }
}

@media (max-width: 576px) {
    .hero-enhanced {
        padding: 120px 0 40px;
    }
    
    .headline-enhanced {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-primary-btn, .hero-secondary-btn {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
        padding: 10px 20px;
    }
    
    .hero-image-container {
        min-height: 300px;
        height: 300px;
    }
    
    .hero-image-container img,
    .hero-image-container iframe {
        min-height: 300px;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .section-title::after {
        width: 40px;
    }
    
    .testimonial-section .container {
        padding: 0;
    }
    
    .testimonial-prev, .testimonial-next {
        width: 36px;
        height: 36px;
        line-height: 36px;
    }
    
    .testimonial-prev {
        left: 5px;
    }
    
    .testimonial-next {
        right: 5px;
    }
    
    .hero-enhanced .container {
        padding: 0 1rem;
    }
    
    .service-card h4 {
        min-height: 2.2rem; /* Even smaller height for extra small screens */
        font-size: 1.1rem;
    }
    
    .testimonial-content {
        height: 100px; /* Smaller height on very small screens */
        font-size: 0.95rem;
    }
    
    .testimonial-author {
        padding-left: 0; /* Ensure no padding on small screens */
    }
    
    .testimonial-content {
        height: 100px; /* Smaller height on very small screens */
        font-size: 0.95rem; 
        padding-left: 0; /* Ensure no padding on small screens */
    }
    
    .testimonial-content p {
        padding-left: 0; /* Ensure no padding on small screens */
    }
}

/* Ensure footer links are properly spaced and aligned on mobile */
@media (max-width: 767px) {
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .enhanced-footer h6 {
        margin-top: 15px;
    }
}

/* Hero section alignment improvements */
.hero-enhanced .row {
    margin-top: 30px; /* Consistent top margin for all hero sections */
    margin-bottom: 0;
    padding-top: 40px; /* Add padding to ensure consistent vertical position */
    align-items: flex-start; /* Align at the top for consistent starting position */
}

.headline-enhanced {
    margin-top: 0 !important; /* Reset any margin to ensure consistent positioning */
    margin-bottom: 30px;
    position: relative;
    text-transform: none;
    letter-spacing: -0.03em;
    color: var(--color-base-content);
    font-family: 'Satoshi', 'Poppins', sans-serif;
    font-weight: 800;
}

@media (max-width: 991px) {
    .hero-enhanced .row {
        flex-direction: column;
    }
    
    .hero-image-container {
        margin-top: 2rem;
        min-height: 400px;
        height: 400px;
    }
    
    .hero-image-container img,
    .hero-image-container iframe {
        min-height: 400px;
    }
}

@media (min-width: 992px) {
    /* For desktop view, ensure text and image align properly */
    .hero-enhanced .container {
        padding-top: 4rem;
    }
    
    .hero-enhanced .row {
        align-items: flex-start; /* Align items at the top */
        padding-top: 40px;
    }
    
    /* Adjust vertical position of the image to align with heading */
    .hero-image-container {
        margin-top: 0 !important; /* Reset any margins */
    }
    
    .headline-enhanced {
        margin-top: 0 !important; /* Align heading consistently */
    }
}

/* On mobile, stack the content properly */
@media (max-width: 768px) {
    .hero-enhanced .row > div {
        width: 100%;
    }
    
    .hero-enhanced h1 {
        text-align: center;
    margin-top: 0;
    }
    
    .hero-subtext {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-container {
        margin-top: 2rem; /* Reduced spacing on mobile */
    }
}

/* News section styles */
.news-date {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.5px;
}
/* Update gradient styles that might be using pinkish colors */
.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn-primary:hover {
    background: var(--btn-primary-hover-bg);
    box-shadow: var(--btn-primary-hover-shadow);
    transform: translateY(-3px);
}

/* Update other button styles */
.navbar .btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
}

.navbar .btn-primary:hover {
    background: var(--btn-primary-hover-bg);
}

.hero-primary-btn {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
}

.hero-primary-btn:hover {
    background: var(--btn-primary-hover-bg);
}

.enhanced-primary-btn {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
}

.enhanced-primary-btn:hover {
    background: var(--btn-primary-hover-bg);
}

/* Update brand icon hover states */
.brand-icon:hover i {
    opacity: 1 !important;
    transform: scale(1.2) rotate(5deg);
    text-shadow: 0 10px 20px rgba(0, 209, 209, 0.4);
}

/* Update testimonial card style */
.testimonial-card {
    background: var(--testimonial-bg);
    border-radius: var(--radius-box);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: var(--border) solid var(--testimonial-border);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--testimonial-hover-shadow);
    border-color: var(--color-primary);
}

/* Update rating stars color */
.testimonial-rating .fa-star,
.testimonial-rating .fa-star-half-alt {
    color: var(--color-accent) !important; /* Use accent color for stars */
    margin-right: 3px;
    font-size: 0.95rem;
    text-shadow: 0 0 5px oklch(70.628% .119 185.713, 0.5); /* Add a subtle glow */
}

/* Active testimonial styling */
.active-testimonial {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px oklch(70.628% .119 185.713, 0.2);
    border-color: var(--color-accent);
}

/* Testimonial navigation controls */
.testimonial-prev, 
.testimonial-next {
    width: 50px; /* Increased size */
    height: 50px; /* Increased size */
    background: rgba(16, 16, 16, 0.1); /* Subtle circular background */
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(83, 83, 83, 0.15); /* Subtle border */
    pointer-events: auto; /* Make buttons clickable */
}

/* Map container styles to match hero image container */
.hero-image-container iframe {
    position: relative;
    width: 100%;
    height: 400px;
    border: none;
    display: block;
    border-radius: var(--radius-box);
}

/* Fix contact cards hover behavior */
.service-card {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.5s ease;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--border) solid var(--border-color);
    border-radius: var(--radius-box);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    transform: translateY(0) scale(1) rotateX(0deg);
}

/* Fix for contact page cards */
.contact-options-section .service-card {
    transform: translateY(0) scale(1) rotateX(0deg);
}

.contact-options-section .service-card:hover {
    transform: translateY(-15px) scale(1.03) rotateX(5deg);
}

.contact-options-section .service-card:not(:hover) {
    transform: translateY(0) scale(1) rotateX(0deg);
}

/* Enhanced Mobile Menu Styles */
/* Mobile menu toggle positioning and styling */
.mobile-menu-toggle {
    border: none;
    background: transparent;
    z-index: 1050;
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    margin-right: -10px; /* Adjust alignment to the right */
}

.mobile-menu-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-accent);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle .navbar-toggler-icon {
    transition: all 0.3s ease;
    width: 25px;
    height: 25px;
}

/* Mobile menu container styling */
@media (max-width: 991px) {
    /* Ensure the toggler stays in position */
    .navbar {
        position: absolute !important;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1040;
        background: var(--color-base-200) !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        height: 70px; /* Reduced fixed height on mobile */
        display: flex;
        align-items: center;
    }

    /* Dropdown menu override for mobile */
    .mobile-nav .dropdown-menu {
        transform: none;
        position: static !important;
        width: 100%;
        margin: 0;
        padding: 0;
        animation: none;
    }

    .mobile-nav .dropdown-menu.show {
        animation: fadeIn 0.7s ease forwards;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    /* Ensure dropdown nav-link is left-aligned on mobile */
    .mobile-nav .nav-item.dropdown .nav-link {
        justify-content: space-between;
        padding: 16px 0 !important;
    }
    
    /* Position the icon on the right side on mobile */
    .mobile-nav .dropdown-icon {
        left: -40%;
    }

    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 1040;
    }
    
    /* Adjust logo size on mobile and align with hamburger */
    .navbar-brand {
        font-size: 1.5rem;
        height: 70px;
        line-height: 70px;
        padding-left: 10px; /* Adjust for better alignment */
    }
    
    /* Mobile menu panel styling */
    .navbar-collapse.mobile-menu {
        top: 70px; /* Starting position below navbar */
        left: 0;
        width: 100%;
        height: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        background: var(--color-base-200);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        z-index: 1030;
        padding: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* When menu is shown */
    .navbar-collapse.mobile-menu.show {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        /* padding: 1rem 0; */
    }
    
    /* Prevent body scrolling when menu is open */
    body.mobile-menu-open {
        overflow: hidden;
    }
    
    /* Push down main content when menu opens */
    #main-content.content-pushed {
        transform: translateY(60px);
        transition: transform 0.3s ease;
    }
    
    /* Mobile nav items styling */
    .mobile-nav {
        padding: 0.5rem 1.5rem;
        margin: 0;
        width: 100%;
    }
    
    .mobile-nav .nav-item {
        width: 100%;
        margin: 0;
        padding: 0;
        height: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .mobile-nav .nav-item:last-child {
        border-bottom: none;
    }
    
    .mobile-nav .nav-link {
        font-size: 18px; /* Readable but not oversized */
        font-weight: 600;
        color: var(--color-base-content) !important;
        padding: 16px 0 !important; /* Touch-friendly spacing */
        height: auto;
        width: 60%;
        display: block;
        text-align: left;
        position: relative;
    }
    
    /* Remove underline effect on mobile */
    .mobile-nav .nav-link::after {
        display: none;
    }
    
    /* Add arrow indicator for dropdown on mobile */
    .mobile-nav .dropdown .nav-link::before {
        content: '\f107'; /* FontAwesome down arrow */
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }
    
    .mobile-nav .dropdown .nav-link[aria-expanded="true"]::before {
        transform: translateY(-50%) rotate(180deg);
    }
    
    /* Prevent nav items from moving when clicked - fix position */
    .mobile-nav .nav-item.dropdown {
        position: relative;
    }
    
    /* Style for active dropdown */
    .mobile-nav .nav-item.dropdown-active .nav-link {
        color: var(--color-accent) !important;
    }
    
    /* Dropdown menu styling for mobile */
    .mobile-nav .dropdown-menu {
        position: static !important;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        border-radius: 8px;
        padding: 0.5rem 0;
        margin: 0 0 10px 0;
        transform: none !important;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        display: block;
        opacity: 0;
        visibility: hidden;
        width: 100%;
        left: 0;
        right: 0;
    }
    
    .mobile-nav .dropdown-menu.show {
        max-height: 800px;
        opacity: 1;
        visibility: visible;
        margin-bottom: 10px;
    }
    
    .mobile-nav .dropdown-item {
        color: var(--color-base-content);
        opacity: 0.9;
        padding: 12px 20px;
        transition: all 0.2s ease;
        font-size: 15px;
    }
    
    .mobile-nav .dropdown-item:hover,
    .mobile-nav .dropdown-item:focus {
        background: rgba(255, 255, 255, 0.1);
        color: var(--color-accent);
    }
    
    /* Style the divider */
    .mobile-nav .dropdown-divider {
        border-color: rgba(255, 255, 255, 0.1);
        margin: 0.25rem 0;
    }
    
    /* CTA button in mobile menu */
    .mobile-cta {
        width: 100%;
        padding: 1rem 1.5rem;
        margin: 0;
    }
    
    .mobile-cta .btn {
        width: 100%;
        padding: 12px;
        margin: 0;
        text-align: center;
        display: block;
    }
    
    /* Push the hero section down to account for fixed navbar */
    .hero-enhanced {
        padding-top: 140px !important;
        margin-top: 0 !important;
    }
    
    /* Adjust headline size for mobile */
    .headline-enhanced {
        font-size: 2rem !important;
        margin-top: 0 !important;
    }
}

/* Additional responsive adjustments for very small screens */
@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.3rem;
        padding-left: 0;
    }
    
    .mobile-menu-toggle {
        margin-right: 0;
    }
    
    .mobile-nav .nav-link {
        font-size: 16px;
        padding: 14px 0 !important;
    }
    
    .mobile-nav .dropdown-item {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .hero-enhanced {
        padding-top: 120px !important;
    }
    
    .headline-enhanced {
        font-size: 1.8rem !important;
    }
}

/* Add styling for dropdown icon */
.dropdown-icon {
    font-size: 0.8rem;
    margin-left: 2px;
    display: inline-flex;
    transition: transform 0.3s ease;
    position: relative;
    top: 0;
}

/* Rotate dropdown icon when expanded */
.dropdown.show .dropdown-icon {
    transform: rotate(180deg);
}

/* Remove arrow indicator for dropdown on mobile */
.mobile-nav .dropdown .nav-link::before {
    display: none;
}

Update styling for dropdown rotation in mobile view
.mobile-nav .dropdown .nav-link[aria-expanded="true"] .dropdown-icon {
    transform: rotate(180deg);
}

/* Ensure dropdown link doesn't move when clicked */
.nav-item.dropdown .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: none;
    transition: color 0.3s ease;
}

/* Position dropdown menu properly */
.dropdown-menu {
    margin-top: 10px;
    left: 50%;
    transform: translateX(-50%); /* Center the dropdown menu */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    padding: 0.75rem 0;
    border: none;
    background-color: var(--color-base-200);
    min-width: 220px; /* Set minimum width */
    position: absolute; /* Ensure absolute positioning */
}

.dropdown-menu.show {
    animation: fadeInDown 0.3s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px) translateX(-50%);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

/* Style dropdown items */
.dropdown-item {
    color: var(--color-base-content);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover, 
.dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
}

/* Add styling for dropdown icon */
.dropdown-icon {
    font-size: 0.8rem;
    /* margin-left: 2px; */
    display: inline-flex;
    transition: transform 0.3s ease;
    position: relative;
    top: 0;
    transform-origin: center; /* Ensure rotation happens from center */
}

/* Rotate dropdown icon when expanded without affecting parent */
.dropdown.show .dropdown-icon {
    transform: rotate(180deg);
}

Update styling for dropdown rotation in mobile view
.mobile-nav .dropdown .nav-link[aria-expanded="true"] .dropdown-icon {
    transform: rotate(180deg);
}

/* Fix mobile dropdown positioning */
@media (max-width: 991px) {
    .mobile-nav .nav-item.dropdown .nav-link {
        justify-content: flex-start; /* Left align on mobile */
    }
    
    .mobile-nav .dropdown-icon {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .mobile-nav .dropdown .nav-link[aria-expanded="true"] .dropdown-icon {
        transform: translateY(-50%) rotate(180deg);
    }
    
    /* Ensure dropdown menu doesn't affect parent positioning */
    .mobile-nav .dropdown-menu {
        position: static !important;
        transform: none !important;
        left: 0;
    }
}

