
/* Modern CSS with completely redesigned color scheme */

/* Hover effects for service images */
.hover-zoom {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.hover-zoom:hover img {
    transform: scale(1.05);
}

.hover-zoom img {
    transition: transform 0.5s ease;
}

/* Image card hover effects */
.card:hover .badge {
    background-color: #fd7e14 !important; /* Use orange accent on hover */
}

.card:hover .text-primary {
    color: #fd7e14 !important; /* Use orange accent on hover */
}

/* Service image styling */
.service-images .card {
    transition: all 0.3s ease;
}

.service-images .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Creative Wave Animation */
.hero-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center right;
    display: block;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .hero-image {
        object-position: 70% center; /* Focus more on the faces in the right side on mobile */
        height: 450px; /* Slightly shorter image for mobile */
    }
    
    /* Improve text visibility with semi-transparent backdrop */
    .hero-text-container {
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 15px;
        padding: 20px;
        margin: 0 auto;
        width: 90%;
        position: relative;
        top: -60px; /* Overlay a bit on the wave section */
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
        text-align: center;
    }
    
    .hero-text-container h1 {
        font-size: 1.75rem; /* Slightly smaller heading on mobile */
    }
    
    .hero-text-container .lead {
        font-size: 1rem; /* Smaller paragraph text on mobile */
        margin-bottom: 1rem;
    }
    
    .hero-text-container .btn {
        margin: 0.3rem;
    }
    
    /* Make the wave transition a bit taller on mobile */
    .wave-container svg {
        height: 100px;
    }
}

.wave-container {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: 5;
}

.wave-container svg {
    display: block;
    width: 100%;
    height: 150px;
}

.wave-path {
    animation: wave-animation 12s linear infinite alternate;
}

/* Middle wave transition between hero and services */
.wave-transition {
    width: 100%;
    height: 150px;
    overflow: hidden;
    position: relative;
    margin-top: -1px;
    margin-bottom: -1px;
    z-index: 5;
}

.wave-transition svg {
    display: block;
    width: 100%;
    height: 150px;
}

.wave-transition .wave-path {
    fill: #f8f9fa;
    animation: wave-transition-animation 15s linear infinite alternate;
}

@keyframes wave-transition-animation {
    0% {
        d: path("M0,32L80,37.3C160,43,320,53,480,64C640,75,800,85,960,80C1120,75,1280,53,1360,42.7L1440,32L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z");
    }
    50% {
        d: path("M0,64L80,64C160,64,320,64,480,64C640,64,800,64,960,74.7C1120,85,1280,107,1360,117.3L1440,128L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z");
    }
    100% {
        d: path("M0,96L80,101.3C160,107,320,117,480,112C640,107,800,85,960,90.7C1120,96,1280,128,1360,144L1440,160L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z");
    }
}

@keyframes wave-animation {
    0% {
        d: path("M0,96L80,85.3C160,75,320,53,480,53.3C640,53,800,75,960,90.7C1120,107,1280,117,1360,122.7L1440,128L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z");
    }
    50% {
        d: path("M0,64L80,69.3C160,75,320,85,480,85.3C640,85,800,75,960,80C1120,85,1280,107,1360,117.3L1440,128L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z");
    }
    100% {
        d: path("M0,32L80,53.3C160,75,320,117,480,122.7C640,128,800,96,960,80C1120,64,1280,64,1360,64L1440,64L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z");
    }
}

:root {
    /* Core color palette - cool professional */
    --primary-color: #2C5282;         /* Rich blue - professional brand color */
    --primary-light: #4A69BB;         /* Lighter blue for hover states */
    --primary-dark: #1A365D;          /* Darker blue for hover states */
    --primary-bg-light: #EBF8FF;      /* Very light blue for backgrounds */
    
    /* Secondary color - warm contrast */
    --secondary-color: #ED8936;       /* Warm orange - for accents and contrast */
    --secondary-light: #F6AD55;       /* Lighter orange for hover states */
    --secondary-dark: #C05621;        /* Darker orange for important elements */
    
    /* Add a stronger text-shadow to secondary headings for better readability */
    .text-secondary {
        text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    }
    
    /* Neutral colors */
    --text-color: #333333;            /* Dark gray for text */
    --text-muted: #6C757D;            /* Medium gray for secondary text */
    --subtle-text: #95A1AC;           /* Subtle text for less important content */
    --card-bg: #FFFFFF;               /* White for cards */
    
    /* Bootstrap overrides */
    --bs-primary: var(--primary-color); /* Override Bootstrap primary color */
    --bg-light: #F8FAFC;              /* Light background for sections */
    --bg-dark: #424757;               /* Dark background for footer */
    --border-color: #E7EAEF;          /* Light border color */
    
    /* Icon backgrounds */
    --icon-bg-light: rgba(44, 82, 130, 0.2);  /* Stronger blue background for icons */
    --icon-bg-secondary: rgba(237, 137, 54, 0.2); /* Stronger orange background */
    
    /* Status colors */
    --success: #00B67A;               /* Green for success states */
    --warning: #FFB84D;               /* Orange for warning states */
    --danger: #E74C3C;                /* Red for error states */
    
    /* Border radius - more squared off for modern look */
    --border-radius-sm: 4px;
    --border-radius-md: 6px;
    --border-radius-lg: 8px;
    --border-radius-xl: 12px;
    --border-radius-pill: 9999px;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.04), 0 4px 6px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.04), 0 10px 10px rgba(0,0,0,0.08);
}

/* Base styles */
body {
    padding-top: 76px;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    font-size: 16px;
}

/* Modern Navbar Design */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: white;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    padding: 0.6rem 0;
}

.navbar.scrolled {
    padding: 0.4rem 0;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-brand img {
    height: 40px;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
}

/* Navigation Links */
.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    padding: 0.5rem 1.25rem;
    position: relative;
    transition: all 0.3s ease;
    margin: 0 0.15rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.nav-link:hover::after {
    width: 70%;
    opacity: 1;
}

/* Dropdown Styling */
.dropdown-menu {
    border: none;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.85rem 0;
    margin-top: 0.5rem;
    border-top: 3px solid var(--secondary-color);
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.25s ease;
    position: relative;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    width: 0;
    height: 0;
    background: var(--secondary-color);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(0, 114, 206, 0.05);
    color: var(--primary-color);
    padding-left: 1.75rem;
}

.dropdown-item:hover::before {
    width: 6px;
    height: 6px;
    opacity: 1;
}

/* Mobile Navigation */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

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

/* Progressive Image Loading */
img {
    transition: all 0.3s ease-in-out;
    border-radius: var(--border-radius-md);
}

/* Modern Hero section with image */
.hero, .city-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: -1px;
}

/* Only apply these styles to the city-hero */
.city-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 5rem 0 6rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.city-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.city-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 70px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160'%3E%3Cpath fill='%23f8fafc' d='M0,128L80,112C160,96,320,64,480,64C640,64,800,96,960,106.7C1120,117,1280,107,1360,101.3L1440,96L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
}

/* Hero Content Styling */
.hero-content, .city-hero-content {
    position: relative;
    z-index: 2;
}

.hero h1, .city-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero .lead, .city-hero .lead {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .hero h1, .city-hero h1 {
        font-size: 2rem;
    }
    
    .hero .lead, .city-hero .lead {
        font-size: 1.1rem;
    }
}

/* Modern Welcome Section */
.welcome-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
    position: relative;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23526A2D' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
    z-index: 0;
}

.welcome-content {
    padding: 3rem;
    border-radius: var(--border-radius-md);
    background: var(--card-bg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.welcome-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
}

.welcome-content::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(82, 106, 45, 0.03) 0%, rgba(166, 124, 82, 0.03) 100%);
    border-radius: 0 0 0 100%;
    z-index: -1;
}

.welcome-content h2 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.welcome-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.welcome-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.welcome-content ul {
    padding-left: 0;
    list-style: none;
}

.welcome-content ul li {
    margin-bottom: 1.25rem;
    padding-left: 2.25rem;
    position: relative;
    color: var(--text-color);
}

.welcome-content ul li i {
    position: absolute;
    left: 0;
    top: 0.25rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Modern Feature Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: var(--border-radius-lg);
    background: var(--card-bg);
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    overflow: hidden;
    position: relative;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.feature-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Modern Card Design System */
.card {
    height: 100%;
    transition: all 0.3s ease;
    border: none;
    border-radius: var(--border-radius-md);
    background: var(--card-bg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

/* Slightly different card styles for service cards */
.service-card {
    border-top: 4px solid var(--primary-color);
}

.service-card.secondary {
    border-top-color: var(--secondary-color);
}

/* Modern icon boxes for service cards */
.icon-box {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: var(--primary-bg-light);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.secondary .icon-box {
    background-color: rgba(0, 182, 122, 0.1);
}

.icon-box i {
    font-size: 1.75rem;
    color: var(--primary-color);
    z-index: 2;
}

.secondary .icon-box i {
    color: var(--secondary-color);
}

.card-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.card-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Feature list styling in cards */
.card .list-unstyled {
    margin-bottom: 1.75rem;
}

.card .list-unstyled li {
    margin-bottom: 0.875rem;
    padding-left: 1.75rem;
    position: relative;
}

.card .list-unstyled li i {
    position: absolute;
    left: 0;
    top: 0.25rem;
    color: var(--primary-color);
}

.secondary .list-unstyled li i {
    color: var(--secondary-color);
}

.card .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Pricing Cards */
.pricing-card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card .card-body {
    padding: 2rem;
}

.pricing-card .price {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: bold;
    margin: 1rem 0;
}

.pricing-card ul li {
    margin-bottom: 0.75rem;
}

/* Use Case Cards */
.use-case-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.use-case-card:hover {
    transform: translateY(-5px);
}

/* Booking Process */
.step-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.25rem;
    font-weight: bold;
}

/* Pricing Table */
.pricing-table {
    background-color: #f8f9fa;
}

.table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.table thead th {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

/* CTA Sections */
.final-cta {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

/* Nearby Cities */
.nearby-city-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white !important;
}

.nearby-city-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Fix for sidebar columns */
.col-lg-4 .card {
    position: relative;
    max-height: none !important;
    overflow: visible;
    margin-bottom: 1.5rem;
    height: auto !important;
}

/* Service City Page Sidebar Fixes */
.col-lg-4 ul.list-unstyled li {
    margin-bottom: 0.75rem;
}

.col-lg-4 .card-body p {
    margin-bottom: 1rem;
}

.col-lg-4 ul.list-unstyled li a {
    transition: all 0.3s ease;
    display: inline-block;
}

.col-lg-4 ul.list-unstyled li a:hover {
    transform: translateX(5px);
    color: var(--primary-color) !important;
}

.service-overview, .service-features, .service-ideal, .service-locations, .testimonial {
    margin-bottom: 1.5rem !important;
}

/* Modern Button Styles */
.btn {
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    transition: all 0.3s ease;
    font-display: swap;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    letter-spacing: 0.01em;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn i {
    margin-right: 0.5rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255,255,255,0.1);
    transition: width 0.3s ease;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(58, 74, 32, 0.2);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(58, 74, 32, 0.2);
}

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

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background: rgba(82, 106, 45, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(58, 74, 32, 0.1);
}

/* Secondary button styles */
.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(237, 137, 54, 0.3);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(237, 137, 54, 0.3);
}

.btn-outline-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    background-color: transparent;
}

.btn-outline-secondary:hover {
    background: rgba(166, 124, 82, 0.05);
    border-color: var(--secondary-color);
    color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(133, 100, 66, 0.1);
}

.btn-sm {
    padding: 0.4rem 1.2rem;
    font-size: 0.875rem;
}

.btn-light {
    background-color: white;
    border-color: #e5e7eb;
    color: var(--text-color);
}

.btn-light:hover {
    background-color: var(--bg-light);
    border-color: #d1d5db;
    color: var(--primary-color);
}

.btn-group .btn {
    margin-right: 0.5rem;
}

@media (max-width: 767px) {
    .btn-responsive {
        width: 100%;
        margin-bottom: 0.75rem;
    }
}


/* CTA Box */
.cta-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .hero, .city-hero {
        padding: 40px 0;
        text-align: center;
        min-height: 300px;
    }

    .cta-box {
        margin-top: 2rem;
    }

    .welcome-content {
        padding: 20px;
    }

    .pricing-card .card-body {
        padding: 1.5rem;
    }

    .table-responsive {
        margin: 0 -15px;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .feature-card, .use-case-card, .step-card, .service-card {
        margin-bottom: 1rem;
    }

    h1 {
        font-size: 2rem;
        font-display: swap;
    }

    h2 {
        font-size: 1.75rem;
    }

    .lead {
        font-size: 1.1rem;
    }
}

/* Alpha Navigation */
.alpha-nav {
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 0;
    position: sticky;
    top: 76px;
    background: white;
    z-index: 100;
}

.alpha-nav .btn {
    min-width: 35px;
    margin: 0.25rem;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Enhanced Header Styles */
.navbar {
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.4rem;
    transition: all 0.2s;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    transition: color 0.2s;
    padding: 0.5rem 1rem;
}

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

.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Modern Footer Styles */
footer {
    position: relative;
    overflow: hidden;
    background-color: var(--card-bg);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.03);
}

.footer-main {
    background-color: var(--card-bg);
}

.footer-bottom {
    background-color: var(--bg-light);
}

.footer-brand h2 {
    color: var(--primary-color);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.footer-links a:hover::before {
    width: 100%;
}

.contact-info i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-cta .btn {
    padding: 0.5rem 1.5rem;
}

footer .social-icons {
    display: flex;
}

footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
    text-decoration: none;
}

footer .social-icons a:hover {
    background-color: var(--primary-color);
    color: white !important;
    transform: translateY(-3px);
}

.footer-bottom a:hover {
    color: var(--primary-color) !important;
}

/* Section Spacing */
section {
    padding: 5rem 0;
}

section:first-of-type {
    padding-top: 3rem;
}

/* Container Width */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* General Styles */

/* Hero Features */
.hero-features {
    color: white;
}

.feature-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: transform 0.2s;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-item i {
    color: #ffd700;
}

/* Sticky Call Button */
.sticky-call {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* Card Hover Effects */
.card {
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    z-index: 999;
    display: none;
}

.chat-header {
    background: var(--primary-color);
    color: white;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    position: relative;
}

.chat-body {
    padding: 15px;
    text-align: center;
}

.close-chat {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

/* Alphabetical Navigation */
.alpha-nav {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1rem;
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
    padding-top: 1rem;
}

.alpha-nav .btn {
    min-width: 35px;
    margin-right: 5px;
    font-weight: 500;
}

.alpha-nav .btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.city-section {
    scroll-margin-top: 2rem;
}

.city-section h3 {
    color: var(--primary-color);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

/* State Links */
.hover-state {
    transition: transform 0.2s, box-shadow 0.2s;
}

.hover-state:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.state-name {
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    padding: 0.5rem;
}

.state-link {
    color: inherit;
}

.state-link:hover {
    color: inherit;
    text-decoration: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(58, 74, 32, 0.3);
}

.back-to-top.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background-color: var(--secondary-color);
    color: white;
    border-radius: var(--border-radius-pill);
    padding: 14px 28px;
    box-shadow: 0 8px 24px rgba(166, 124, 82, 0.3);
    display: flex;
    align-items: center;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    font-size: 16px;
    letter-spacing: 0.01em;
}

.floating-contact:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-5px);
    color: white;
    animation: none;
    box-shadow: 0 10px 30px rgba(133, 100, 66, 0.4);
}

/* Mobile Contact Button */
@media (max-width: 768px) {
    .floating-contact {
        bottom: 15px;
        right: 15px;
        left: auto;
        justify-content: center;
        padding: 10px 16px;
        border-radius: var(--border-radius-pill);
        font-size: 14px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        animation: none;
    }

    .floating-contact i {
        margin-right: 8px;
        font-size: 15px;
    }
}

.floating-contact i {
    margin-right: 10px;
    font-size: 18px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(166, 124, 82, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(166, 124, 82, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(166, 124, 82, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero, .city-hero {
        text-align: center;
        padding: 40px 0;
    }
    .cta-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .chat-widget {
        width: 90%;
        right: 5%;
        left: 5%;
    }
    .back-to-top {
        bottom: 80px;
    }
    .alpha-nav .btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.875rem;
    }
    
    /* Mobile fixes for service city pages */
    .col-lg-4 .card {
        margin-bottom: 1rem;
        height: auto !important;
    }
    
    .service-overview, .service-features, .service-ideal, .service-locations, .testimonial {
        margin-bottom: 1rem !important;
        padding: 1rem !important;
    }
    
    .col-lg-4 ul.list-unstyled li {
        margin-bottom: 0.5rem;
    }
}

/* Form Styling */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(82, 106, 45, 0.25);
}

/* Testimonials */
.testimonials .card {
    border: none;
    background: #f8f9fa;
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(82, 106, 45, 0.1);
    color: var(--primary-color);
}

/* Images */
.img-fluid {
    border-radius: 10px;
}


/* Logo Styling */
.logo-img {
    background-color: white;
    border-radius: 4px;
    padding: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: inline-block;
    max-height: 40px;
    width: auto;
}

/* Responsive Navbar */
@media (max-width: 991px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 8px 0;
    }
    
    .logo-img {
        max-height: 35px;
    }
}

/* Footer Logo */
footer .logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

footer .logo-container img {
    background-color: white;
    border-radius: 4px;
    padding: 2px;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    align-items: center;
}

.social-icons a {
    font-size: 1.2rem;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-icons a:hover {
    transform: translateY(-3px);
    color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}/* Override Bootstrap bg-primary */
.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Service icons and payment icons with better contrast */
.icon-box.bg-primary.bg-opacity-10,
.icon-box.rounded-circle.bg-primary.bg-opacity-10 {
    background-color: var(--icon-bg-light) !important;
}

/* Payment option icons in circle with better contrast */
.icon-box.mx-auto.mb-3.bg-primary.bg-opacity-10 {
    background-color: var(--icon-bg-light) !important;
}

/* Mobile spacing fixes - reduce cramped/scrunched appearance */
@media (max-width: 768px) {
    /* Hero section: smaller overlay box on mobile */
    .hero-image {
        height: 420px;
        object-position: 70% center;
    }

    .hero > .position-absolute {
        top: auto !important;
        bottom: 25px !important;
        transform: none !important;
        left: 0 !important;
        padding: 0 15px;
    }

    .hero-text-container {
        width: 92%;
        max-width: 360px;
        padding: 15px;
        top: 0;
        margin: 0 auto;
        text-align: center;
        border-radius: 12px;
        background-color: rgba(255, 255, 255, 0.92);
    }

    .hero-text-container h1 {
        font-size: 1.4rem;
        line-height: 1.25;
        margin-bottom: 0.5rem;
    }

    .hero-text-container .lead {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }

    .hero-text-container .btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
        margin: 0.25rem;
        margin-bottom: 0.5rem;
    }

    /* More vertical padding between major sections */
    section {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    /* Service cards: more internal and external spacing */
    .services .card,
    #services .card {
        margin-bottom: 1.5rem;
    }

    .services .card-body,
    #services .card-body {
        padding: 1.75rem !important;
    }

    .services .card-title,
    #services .card-title {
        margin-bottom: 0.875rem;
    }

    .services .card-text,
    #services .card-text {
        margin-bottom: 1.25rem;
    }

    .services .list-unstyled li,
    #services .list-unstyled li {
        margin-bottom: 0.625rem;
    }

    /* Smaller service card buttons on mobile */
    .services .card .btn,
    #services .card .btn {
        width: auto;
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
        margin-bottom: 0;
    }

    /* Payment option cards */
    .bg-light-custom .card {
        margin-bottom: 1rem;
        padding: 0.75rem 0;
    }

    /* Testimonial spacing */
    .testimonial {
        margin-bottom: 1.5rem;
    }

    /* FAQ accordion spacing */
    .accordion-item {
        margin-bottom: 1rem !important;
    }

    .accordion-button {
        padding: 1.25rem;
        line-height: 1.4;
    }

    .accordion-body {
        padding: 1.25rem;
    }

    /* Footer link spacing */
    footer ul.list-unstyled li {
        margin-bottom: 0.625rem;
    }

    footer h5 {
        margin-top: 1.5rem;
        margin-bottom: 0.875rem;
    }

    footer .btn {
        margin-bottom: 0.75rem;
    }

    footer p {
        margin-bottom: 1rem;
    }

    /* Section headings more room */
    h2 {
        margin-bottom: 1.25rem !important;
    }

    h3 {
        margin-bottom: 0.75rem;
    }

    /* Increase vertical rhythm for paragraph + button pairs */
    p + .btn,
    p + a.btn {
        margin-top: 0.5rem;
    }
}
