/* Health Care Supports - Redesigned Styles */
/* Theme: Austin (Orange/Warm) | Mode: Light | Style: Bold Geometric */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* Color Variables - Analogous Scheme based on Hue 25 (Orange) */
:root {
    --primary-color: #c2410c; /* Orange 700 */
    --secondary-color: #ea580c; /* Orange 600 */
    --accent-color: #f97316; /* Orange 500 */
    --success-color: #15803d; /* Green 700 */
    --warning-color: #b45309; /* Amber 700 */
    --danger-color: #b91c1c; /* Red 700 */
    --dark-color: #431407; /* Warm Dark Brown */
    --light-color: #fff7ed; /* Orange 50 */
    --white: #ffffff;
    --text-primary: #2c1810; /* Very Dark Brown */
    --text-secondary: #5a2e1e; /* Medium Brown */
    --border-color: #fed7aa; /* Orange 200 */
    
    /* Visual Rules */
    --border-radius: 12px;
    --btn-radius: 50rem; /* Pill button */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-color);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800; /* Bold Geometric */
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--dark-color);
    letter-spacing: -0.02em;
}

.display-4 {
    font-size: 3.5rem;
    font-weight: 900;
}

.display-5 {
    font-size: 3rem;
    font-weight: 800;
}

.display-6 {
    font-size: 2.5rem;
    font-weight: 700;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

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

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

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

/* Button Styles - Pill Button */
.btn {
    border-radius: var(--btn-radius);
    padding: 0.75rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-outline-light {
    color: var(--white);
    border-color: var(--white);
}

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

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color) !important;
    letter-spacing: -0.03em;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--text-primary) !important;
    margin: 0 0.25rem;
    padding: 0.5rem 1.25rem !important;
    border-radius: var(--btn-radius);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(194, 65, 12, 0.08);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    background-color: var(--white);
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: calc(var(--border-radius) / 2);
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(194, 65, 12, 0.08);
    color: var(--primary-color);
}

/* Hero Section - Bold Contrast Blocks */
.hero-section {
    background: var(--dark-color);
    position: relative;
    overflow: hidden;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 50%;
    background: var(--primary-color);
    transform: skewX(-12deg);
    transform-origin: top;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--white);
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
}

.min-vh-75 {
    min-height: 75vh;
}

/* Service Cards - Modern Flat with Shadow */
.service-card {
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--white);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    transition: all 0.3s ease;
    background-color: rgba(194, 65, 12, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    transform: scale(1.05);
}

.service-card:hover .service-icon i {
    color: var(--white) !important;
}

.service-card .card-body {
    padding: 2.5rem 2rem;
}

/* Trust Section */
.trust-section {
    background-color: var(--white);
}

.trust-item {
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    height: 100%;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: var(--white);
}

.trust-item i {
    transition: all 0.3s ease;
}

.trust-item:hover i {
    transform: scale(1.1);
}

/* Testimonials */
.testimonials-section {
    background-color: var(--light-color);
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-md);
    position: relative;
    padding: 3rem !important;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 6rem;
    color: rgba(194, 65, 12, 0.1);
    font-family: serif;
    line-height: 1;
}

.stars i {
    color: var(--warning-color);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    background-size: 50%;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--dark-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.03);
    transform: rotate(15deg);
}

.newsletter-form .form-control {
    border: none;
    border-radius: 50rem 0 0 50rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.newsletter-form .btn {
    border-radius: 0 50rem 50rem 0;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Footer */
.footer {
    background-color: #2c1810 !important; /* Even darker brown */
    color: rgba(255, 255, 255, 0.8);
}

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

.footer .social-links a {
    display: inline-block;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.footer ul li a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: var(--white) !important;
    padding-left: 0.5rem;
}

/* Forms */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.1);
}

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

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

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section::before {
        transform: skewX(0);
        left: 0;
        top: 50%;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control {
        border-radius: var(--btn-radius);
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .newsletter-form .btn {
        border-radius: var(--btn-radius);
        width: 100%;
    }
}

/* Utility Classes */
.shadow-custom {
    box-shadow: var(--shadow-md);
}

.border-radius-lg {
    border-radius: var(--border-radius);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
