/* Modern Healthcare Website Design 2024 - NSA LLC */

:root {
    --primary-color: #5a285a;
    --secondary-color: #886587;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --accent-color: #2c3e50;
    --success-color: #27ae60;
    --warning-color: #3c866f;
    --info-color: #3498db;
    --danger-color: #e74c3c;
    --footer-bg: #1a252f;
    --footer-accent: #3c866f;
    --footer-text: #ecf0f1;
    --green-color: #3c866f;
    --green-light: #3c866f;
    --green-dark: #3c866f;
    
    /* Bright Design Variables */
    --container-max-width: 100%;
    --section-padding: 2rem 0;
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --bright-bg: #ffffff;
    --bright-accent: #3c866f;
    --bright-primary: #5a285a;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    font-weight: 400;
    letter-spacing: 0.01em;
    overflow-x: hidden;
    padding-top: 80px; /* Account for fixed navbar */
}

/* Modern White Navigation */
.modern-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(60, 134, 111, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 1rem 0;
    position: relative;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

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

.navbar-brand i {
    color: var(--bright-accent);
    font-size: 1.5rem;
}

/* Navbar Logo Styling */
.navbar-logo {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

.navbar-logo:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* Navbar Content Layout */
.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 2rem;
}

/* Navbar CTA Button */
.navbar-cta {
    margin-left: 2rem;
}

/* Responsive Navbar */
@media (max-width: 991.98px) {
    .navbar-content {
        padding: 0 1rem;
    }
    
    .navbar-cta {
        margin-left: 0;
        margin-top: 1rem;
        text-align: center;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar-cta .btn {
        width: 100%;
        max-width: 200px;
    }
    
    /* Mobile Navigation Dropdown Fix */
    .navbar-collapse {
        background: white !important;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.05);
        margin-top: 0;
        padding: 0.5rem 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .navbar-collapse .navbar-nav {
        margin-top: 0;
        padding: 0;
        flex-direction: column;
    }
    
    .navbar-collapse .nav-item {
        margin: 0;
        width: 100%;
    }
    
    .navbar-collapse .nav-link {
        color: var(--primary-color) !important;
        padding: 0.8rem 1.5rem;
        border-radius: 0;
        transition: all 0.3s ease;
        font-weight: 500;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        display: block;
        width: 100%;
    }
    
    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link.active {
        background: var(--bright-accent) !important;
        color: white !important;
        transform: none;
    }
    
    .navbar-collapse .navbar-cta {
        margin-top: 0;
        padding: 1rem 1.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .navbar-collapse .navbar-cta .btn {
        background: var(--bright-accent) !important;
        border: none !important;
        color: white !important;
        font-weight: 600;
        padding: 0.8rem 2rem;
        border-radius: 25px;
        transition: all 0.3s ease;
        width: 100%;
    }
    
    .navbar-collapse .navbar-cta .btn:hover {
        background: var(--primary-color) !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(60, 134, 111, 0.3);
    }
    
    .nav-link {
        margin: 0.2rem 0;
        min-width: 120px;
        padding: 0.6rem 1.5rem !important;
    }
    
    .navbar-cta .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.8rem;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--primary-color) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    padding: 0.8rem 2rem !important;
    margin: 0 0.3rem;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0.5px;
    min-width: 120px;
    text-align: center;
    background: transparent;
    border: none;
    overflow: hidden;
}

/* Professional Underline Effect */
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--bright-accent), var(--primary-color));
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(60, 134, 111, 0.05), rgba(90, 40, 90, 0.05));
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.nav-link:hover {
    color: var(--bright-accent) !important;
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 70%;
}

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

.nav-link.active {
    color: var(--bright-accent) !important;
    font-weight: 600;
    position: relative;
}

.nav-link.active::before {
    width: 100%;
    background: var(--bright-accent);
}

.nav-link.active::after {
    opacity: 1;
    background: linear-gradient(135deg, rgba(60, 134, 111, 0.1), rgba(90, 40, 90, 0.1));
}

/* Navbar CTA Button Styling */
.navbar-cta .btn {
    background: var(--bright-accent) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}

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

.navbar-cta .btn:hover {
    background: var(--primary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(90, 40, 90, 0.4);
}

.navbar-cta .btn:hover::before {
    left: 100%;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    color: var(--primary-color);
}

.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%2890, 40, 90, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    margin-top: -80px; /* Offset the body padding for full-screen hero */
    padding-top: 0; /* Remove padding to eliminate white space */
}

.hero-slide {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    transition: var(--transition);
}

.carousel-indicators .active {
    background-color: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
}

/* Carousel Controls on Sides */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--bright-accent);
    border-radius: 50%;
    transition: var(--transition);
    opacity: 0.8;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--bright-accent);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 20px 20px;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}

.hero-card {
    background: var(--bright-bg);
    border: 2px solid var(--bright-accent);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
}

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

.hero-card .card-body h3 {
    color: var(--bright-primary) !important;
}

.hero-card .card-body p {
    color: var(--dark-gray) !important;
}

.hero-card .card-body i {
    color: var(--bright-accent) !important;
}

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

/* Feature Cards */
.feature-card {
    background: var(--white);
    border: 1px solid rgba(90, 40, 90, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.value-card {
    background: var(--white);
    border: 1px solid rgba(60, 134, 111, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--green-color);
    transform: scaleX(0);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border-color: var(--green-color);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--green-color), var(--green-light));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(60, 134, 111, 0.25);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.value-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--green-color), var(--green-light));
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.value-card:hover .value-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 10px 30px rgba(60, 134, 111, 0.35);
}

.value-card:hover .value-icon::before {
    opacity: 0.3;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--green-color);
    transform: scaleX(0);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border-color: var(--green-color);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--green-color), var(--green-light));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(60, 134, 111, 0.25);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--green-color), var(--green-light));
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover .feature-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 10px 30px rgba(60, 134, 111, 0.35);
}

.feature-card:hover .feature-icon::before {
    opacity: 0.3;
}

/* Service Cards */
.service-card {
    background: var(--white);
    border: 1px solid rgba(90, 40, 90, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 6px 20px rgba(90, 40, 90, 0.25);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-icon {
    transform: scale(1.05) rotate(-5deg);
    box-shadow: 0 10px 30px rgba(90, 40, 90, 0.35);
}

.service-card:hover .service-icon::before {
    opacity: 0.3;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--white);
    border: 2px solid rgba(90, 40, 90, 0.1);
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    height: 100%;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -5px;
    left: 25px;
    font-size: 5rem;
    color: var(--green-color);
    font-weight: bold;
    opacity: 0.15;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: 'Georgia', serif;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--green-color);
}

.testimonial-card:hover::before {
    opacity: 0.3;
    transform: scale(1.2);
}

.testimonial-card:hover::after {
    transform: scaleX(1);
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-content .card-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-author {
    border-top: 1px solid rgba(90, 40, 90, 0.1);
    padding-top: 1rem;
    margin-top: 1.5rem;
}

.testimonial-author .author-info h6 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-author .author-info span {
    color: #666;
    font-size: 0.95rem;
}

/* Testimonial Header Styling */
.testimonial-header-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--green-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(60, 134, 111, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-header-icon i {
    font-size: 2.5rem;
    color: white;
}

.testimonial-header-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(60, 134, 111, 0.4);
}

.testimonial-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--green-color), var(--primary-color));
    border-radius: 2px;
    margin-top: 1.5rem;
}

/* Testimonial Rating Stars */
.testimonial-rating {
    display: flex;
    gap: 2px;
    justify-content: center;
}

.testimonial-rating i {
    font-size: 1.2rem;
    color: #ffc107;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Green Cards */
.green-card {
    background: linear-gradient(135deg, var(--green-color), var(--green-light));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(60, 134, 111, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.green-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.green-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(60, 134, 111, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.green-accent {
    width: 85px;
    height: 85px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.green-accent::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.green-card:hover .green-accent {
    transform: scale(1.15) rotate(-8deg);
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.green-card:hover .green-accent::before {
    opacity: 1;
}

/* Why Choose Us Header Styling */
.why-choose-header-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--green-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(60, 134, 111, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.why-choose-header-icon i {
    font-size: 2.5rem;
    color: white;
}

.why-choose-header-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(60, 134, 111, 0.4);
}

.why-choose-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--green-color), var(--primary-color));
    border-radius: 2px;
    margin-top: 1.5rem;
}

/* Green Card Footer Styling */
.green-card .card-footer {
    background: transparent;
    border: none;
    padding: 0;
    margin-top: 1rem;
}

.green-card .card-footer small {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Bright Buttons */
.btn-primary {
    background: var(--bright-accent);
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 2rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(60, 134, 111, 0.3);
}

.btn-primary:hover {
    background: var(--bright-primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(90, 40, 90, 0.4);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    transition: var(--transition);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(90, 40, 90, 0.3);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    transition: var(--transition);
    background: transparent;
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3);
}

.btn-light {
    background: var(--white);
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 2rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(255, 255, 255, 0.4);
    color: var(--primary-color);
}

/* Typography */
.display-2 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

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

/* Simple Hero Sections (non-carousel pages) */
.py-5.bg-primary {
    margin-top: -80px; /* Offset the body padding for full-screen hero */
    padding-top: 120px !important; /* Add extra padding to account for navbar */
    padding-bottom: 80px !important;
}

/* White Text Visibility */
.text-white {
    color: #ffffff !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Hero Section Text */
.hero-slide h1,
.hero-slide .lead {
    /* Text shadows removed for cleaner look */
}

.hero-slide .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Contact Form Spacing Fix */
.contact-form-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 1;
}

.contact-form-card .card-body {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.contact-form-card {
    margin-bottom: 0 !important;
    position: relative;
    z-index: 1;
}

/* Form Button Bottom Spacing */
.contact-form-card .btn {
    margin-bottom: 0 !important;
}

.contact-form-card form {
    margin-bottom: 0 !important;
}

.contact-form-card .row:last-child {
    margin-bottom: 0 !important;
}

.contact-form-card .col-12:last-child {
    margin-bottom: 0 !important;
}

/* Office Hours Section Visibility Fix */
.office-hours-section {
    position: relative;
    z-index: 2;
    margin-top: 0 !important;
    padding-top: 2rem !important;
}

/* Scroll to Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--bright-accent);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    display: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(60, 134, 111, 0.3);
}

.scroll-to-top-btn:hover {
    background: var(--bright-primary);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 30px rgba(90, 40, 90, 0.4);
}

.scroll-to-top-btn:active {
    transform: translateY(-1px) scale(1.05);
}

.scroll-to-top-btn i {
    transition: transform 0.3s ease;
}

.scroll-to-top-btn:hover i {
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #1a252f !important;
    border-top: 4px solid var(--footer-accent);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--footer-accent);
}

footer h5, footer h6 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
}

footer a {
    text-decoration: none;
    transition: var(--transition);
    color: var(--footer-text);
    font-weight: 400;
}

footer a:hover {
    color: var(--footer-accent) !important;
    transform: translateX(5px);
}

.social-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--footer-accent);
    border-radius: var(--border-radius);
    text-align: center;
    line-height: 50px;
    transition: var(--transition);
    margin-right: 12px;
    color: white !important;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(60, 134, 111, 0.3);
}

.social-links a:hover {
    background: var(--white);
    color: var(--footer-accent) !important;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(60, 134, 111, 0.4);
}

/* Zero Spacing System */
.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

section {
    margin: 0 !important;
}

/* Responsive Design */
@media (min-width: 1400px) {
    .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .display-2 {
        font-size: 4rem;
    }
    
    .display-4 {
        font-size: 3rem;
    }
}

@media (max-width: 1200px) {
    .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .display-2 {
        font-size: 3rem;
    }
    
    .display-4 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px; /* Smaller padding for mobile */
    }
    
    .hero-section {
        margin-top: -70px;
        padding-top: 0;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    .py-5.bg-primary {
        margin-top: -70px;
        padding-top: 100px !important;
        padding-bottom: 60px !important;
    }
    
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .display-2 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .hero-slide {
        min-height: 80vh;
    }
    
    .hero-card {
        margin-top: 2rem;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 60px; /* Even smaller padding for small mobile */
    }
    
    .hero-section {
        margin-top: -60px;
        padding-top: 0;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .scroll-to-top-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }
    
    .py-5.bg-primary {
        margin-top: -60px;
        padding-top: 80px !important;
        padding-bottom: 50px !important;
    }
    
    .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .display-2 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .hero-slide {
        min-height: 70vh;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .green-accent {
        width: 80px;
        height: 80px;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

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

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

.bg-light {
    background: var(--light-gray) !important;
}

.bg-dark {
    background: #212529 !important;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Form Styles */
.form-control, .form-select {
    border: 2px solid rgba(90, 40, 90, 0.1);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--green-color);
    box-shadow: 0 0 0 0.2rem rgba(60, 134, 111, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--green-color);
    border-color: var(--green-color);
}

/* Additional Professional Elements */
.bg-white {
    background-color: var(--white) !important;
}

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

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

/* Card Content Styling */
.feature-card .card-body,
.service-card .card-body,
.value-card .card-body,
.testimonial-card .card-body {
    padding: 2rem;
}

.feature-card .card-title,
.service-card .card-title,
.value-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-card .card-text,
.service-card .card-text,
.value-card .card-text,
.testimonial-card .card-text {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Card Icon Sizing */
.feature-card .feature-icon,
.service-card .service-icon,
.value-card .value-icon {
    margin-bottom: 1.5rem;
}

/* Enhanced Card Shadows */
.feature-card, .service-card, .value-card, .testimonial-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover, .service-card:hover, .value-card:hover, .testimonial-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}
