/* ============================================
   Custom CSS for Real Estate Lead Generation Site
   ============================================ */

/* Color Variables - Blue & White (Milwaukee Racine Kenosha Walworth Counties) */
:root {
    --primary-color: #003366;
    --secondary-color: #0066CC;
    --accent-color: #004C99;
    --bg-light: #F5F7FA;
    --text-primary: #003366;
    --text-body: #333333;
    --text-muted: #6B7280;
    --white: #FFFFFF;
    --blue-light: #E6F2FF;
}

/* Typography - Natural & Elegant */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-body);
    line-height: 1.7;
    font-size: 1.0625rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

.display-4 {
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.lead {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-muted);
}

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

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

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

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

/* Buttons - Blue & White Theme */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
    border-radius: 0;
    padding: 15px 36px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-width: 2px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
    border-radius: 0;
    padding: 15px 36px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-width: 2px;
    background-color: transparent;
    font-size: 1rem;
    position: relative;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 51, 102, 0.25);
}

.btn-outline-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
    border-radius: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-width: 2px;
    font-size: 1rem;
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 51, 102, 0.3);
}

/* Navigation - Natural & Refined */
.navbar {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-size: 1.625rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.3px;
    font-weight: 700;
    transition: transform 0.2s ease;
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-body) !important;
    transition: all 0.25s ease;
    padding: 0.625rem 1.25rem !important;
    position: relative;
    font-size: 0.95rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: calc(100% - 2.5rem);
}

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

.nav-link.active {
    color: var(--secondary-color) !important;
    font-weight: 600;
}

.nav-link::before {
    background-color: var(--secondary-color);
}

/* Hero Section - Natural & Elegant */
.hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 50%, var(--bg-light) 100%);
    padding: 6rem 0 5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.2), transparent);
}

.min-vh-50 {
    min-height: 60vh;
}

.trust-badge {
    padding: 1rem;
}

.trust-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: white;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-weight: 700;
    font-size: 1.3rem;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.2);
    transition: all 0.3s ease;
}

.trust-badge:hover .trust-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* Hero Image - Sharp & Elegant with Frame */
.hero-image-wrapper {
    position: relative;
    overflow: visible;
    padding: 12px;
    background-color: #ffffff;
    border: 3px solid var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.hero-image-wrapper:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
    transform: translateY(-2px);
}

.hero-image {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    border: 2px solid #f0f0f0;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.01);
}

/* Step Images - Framed */
.step-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: visible;
    margin-bottom: 1.5rem;
    padding: 8px;
    background-color: #ffffff;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.step-image-wrapper:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.step-card:hover .step-image {
    transform: scale(1.03);
}

.step-image-wrapper-detailed {
    width: 100%;
    height: 240px;
    overflow: visible;
    margin-bottom: 1.5rem;
    padding: 10px;
    background-color: #ffffff;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.step-image-wrapper-detailed:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.step-image-detailed {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.step-card-detailed:hover .step-image-detailed {
    transform: scale(1.03);
}

/* Feature Images - Framed */
.feature-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: visible;
    margin: 0 auto 1rem;
    padding: 6px;
    background-color: #ffffff;
    border: 2px solid var(--primary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-image-wrapper:hover {
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.feature-card:hover .feature-image {
    transform: scale(1.04);
}

/* City Images - Framed */
.city-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: visible;
    padding: 10px;
    background-color: #ffffff;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.city-card:hover .city-image-wrapper {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.city-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.city-card:hover .city-image {
    transform: scale(1.03);
}

/* Mission Image - Framed */
.mission-image-wrapper {
    width: 100%;
    max-width: 650px;
    height: 350px;
    overflow: visible;
    padding: 12px;
    background-color: #ffffff;
    border: 3px solid var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    transition: all 0.3s ease;
}

.mission-image-wrapper:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    border-color: var(--secondary-color);
}

.mission-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    border: 2px solid #f0f0f0;
}

.mission-box:hover .mission-image {
    transform: scale(1.01);
}

/* Step Cards - Natural Variation */
.step-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    background: white;
    position: relative;
}

.step-card:nth-child(1) {
    transform: translateY(0);
}

.step-card:nth-child(2) {
    transform: translateY(8px);
}

.step-card:nth-child(3) {
    transform: translateY(0);
}

.step-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .step-card:nth-child(2) {
        transform: translateY(0);
    }
}

.step-number {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: white;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

/* Feature Cards - Natural Variation */
.feature-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    padding: 1.5rem;
    background: white;
    border-left: 3px solid transparent;
}

.feature-card:nth-child(1) {
    border-left-color: var(--secondary-color);
}

.feature-card:nth-child(2) {
    border-left-color: var(--secondary-color);
}

.feature-card:nth-child(3) {
    border-left-color: var(--accent-color);
}

.feature-card:nth-child(4) {
    border-left-color: var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-left-width: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    background: #fafafa;
}

.feature-icon {
    font-size: 2.5rem;
    line-height: 1;
}

/* Area Badges - Sharp Corners */
.area-badge {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid #f0f0f0;
}

.area-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary-color);
}

/* Lead Form - Natural & Elevated */
.lead-form-card {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border: 2px solid #e8e8e8;
    background: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.lead-form-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.contact-form-card {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border: 2px solid #e8e8e8;
    background: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-form-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

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

.form-control {
    border-radius: 0;
    border: 2px solid #e0e0e0;
    padding: 14px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    outline: none;
}

/* Testimonials Styling */
.testimonial-card {
    border: 2px solid #e8e8e8;
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-color);
}

.testimonial-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.1);
    transform: translateY(-5px);
}

.testimonial-rating {
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-body);
    line-height: 1.7;
    font-size: 1rem;
}

.testimonial-author {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

/* Footer - Elegant Background - Blue & White */
footer {
    background: linear-gradient(135deg, #003366 0%, #004C99 50%, #003366 100%);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 102, 204, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

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

footer a:hover {
    color: var(--blue-light) !important;
    transition: color 0.2s ease;
}

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

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

footer h5 {
    color: white;
    margin-bottom: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer ul li a {
    transition: all 0.2s ease;
    display: inline-block;
}

footer ul li a:hover {
    transform: translateX(3px);
    padding-left: 0;
}

/* Footer Top Border */
footer {
    border-top: 3px solid var(--secondary-color);
    margin-top: 4rem;
}

/* Footer Content Spacing */
footer .row {
    padding-top: 1rem;
}

footer .row:last-child {
    padding-top: 0;
    margin-top: 2rem;
}

/* Footer Button Styling */
footer .btn-secondary {
    border: 2px solid white;
    background-color: white;
    color: var(--primary-color);
}

footer .btn-secondary:hover {
    background-color: var(--blue-light);
    border-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Page Header with Background - Using Cover Image */
.page-header-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.92) 0%, rgba(10, 37, 64, 0.88) 100%);
    color: white;
    overflow: hidden;
}

.page-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/cover.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.25;
    z-index: 0;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.page-header-section:hover::before {
    transform: scale(1.08);
}

.page-header-section .container {
    position: relative;
    z-index: 1;
}

.page-header-section h1,
.page-header-section .lead {
    color: white;
}

.page-header-section .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Section Spacing - Natural Rhythm */
section {
    padding: 6rem 0;
}

section:nth-child(even) {
    background-color: var(--bg-light);
}

@media (max-width: 991.98px) {
    section {
        padding: 4.5rem 0;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3.5rem 0;
    }
    
    .page-header-section {
        padding: 3.5rem 0;
    }
    
    .page-header-section::before {
        background-attachment: scroll;
        transform: scale(1);
    }
    
    .page-header-section:hover::before {
        transform: scale(1);
    }
    
    .hero-section {
        padding: 4rem 0 3.5rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 2.5rem 0;
    }
    
    .hero-section {
        padding: 3rem 0 2.5rem;
    }
}

/* Container Max Width - Natural Variation */
.container {
    max-width: 1200px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

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

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Responsive Adjustments - Enhanced Mobile */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .nav-item.ms-lg-3 {
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
    
    .btn-primary, .btn-outline-primary {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2.5rem 0;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .hero-image-wrapper {
        padding: 10px;
    }
    
    .display-4 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .h1 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .lead-form-card {
        margin-top: 0;
        padding: 2rem !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }
    
    .contact-form-card {
        margin-top: 0;
        padding: 2rem !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .step-card, .step-card-detailed, .city-card, .difference-card {
        margin-bottom: 1.5rem;
    }
    
    .trust-badge {
        padding: 0.75rem;
    }
    
    .trust-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-number {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .step-image-wrapper {
        height: 180px;
        padding: 6px;
    }
    
    .step-image-wrapper-detailed {
        height: 200px;
        padding: 8px;
    }
    
    .feature-image-wrapper {
        height: 150px;
        padding: 5px;
    }
    
    .city-image-wrapper {
        height: 180px;
        padding: 6px;
    }
    
    .mission-image-wrapper {
        height: 250px;
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-image {
        height: 320px;
    }
    
    .hero-image-wrapper {
        padding: 8px;
    }
    
    .display-4 {
        font-size: 1.5rem;
    }
    
    .h1 {
        font-size: 1.5rem;
    }
    
    .h2 {
        font-size: 1.25rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .btn-primary, .btn-outline-primary, .btn-secondary {
        padding: 12px 20px;
        font-size: 0.8125rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .mission-box {
        padding: 1.5rem !important;
    }
    
    .step-image-wrapper {
        height: 150px;
        padding: 5px;
    }
    
    .step-image-wrapper-detailed {
        height: 170px;
        padding: 6px;
    }
    
    .feature-image-wrapper {
        height: 120px;
        padding: 4px;
    }
    
    .city-image-wrapper {
        height: 150px;
        padding: 5px;
    }
    
    .mission-image-wrapper {
        height: 200px;
        padding: 8px;
    }
    
    .page-header-section {
        padding: 3rem 0;
    }
    
    .page-header-section::before {
        background-attachment: scroll;
        opacity: 0.2;
    }
}

/* Utility Classes - Sharp Corners */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
}

.rounded {
    border-radius: 0 !important;
}

/* Form Validation */
.was-validated .form-control:invalid {
    border-color: #dc3545;
}

.was-validated .form-control:valid {
    border-color: var(--secondary-color);
}

/* Additional Page Elements - Sharp Corners */
.step-card-detailed {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f0f0f0;
}

.step-card-detailed:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary-color);
}

.city-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f0f0f0;
    overflow: visible;
}

.city-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.difference-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f0f0f0;
}

.difference-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary-color);
}

.value-item {
    transition: transform 0.2s ease;
}

.value-item:hover {
    transform: translateY(-3px);
}

.trust-icon-large {
    font-size: 3rem;
}

.mission-box {
    transition: box-shadow 0.2s ease;
    border: 1px solid #f0f0f0;
}

.mission-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--secondary-color);
}

.area-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid #f0f0f0;
}

.area-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary-color);
}

.trust-item {
    transition: transform 0.2s ease;
}

.trust-item:hover {
    transform: translateY(-3px);
}

/* Table Styling - Sharp & Elegant */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8125rem;
    border: none;
    border-bottom: 2px solid var(--primary-color);
}

.table tbody td {
    vertical-align: middle;
    border: none;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Form Select - Sharp Corners */
.form-select {
    border-radius: 0;
    border: 2px solid #e0e0e0;
    padding: 14px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-size: 0.95rem;
}

.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    outline: none;
}

/* Active Nav Link */
.nav-link.active {
    color: var(--secondary-color) !important;
    font-weight: 600;
}

/* Additional Elegant Refinements */
.card, .bg-white {
    border: 1px solid #f0f0f0;
}

.btn-group .btn-check:checked + .btn-outline-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Ensure all Bootstrap rounded elements are sharp */
.btn, .form-control, .form-select, .card, .modal-content, .dropdown-menu, .alert, .badge, .progress, .list-group-item:first-child, .list-group-item:last-child {
    border-radius: 0 !important;
}

/* Image sharp corners */
img {
    border-radius: 0 !important;
}

/* Table borders sharp */
.table-bordered {
    border: 2px solid #f0f0f0;
}

.table-bordered th, .table-bordered td {
    border: 1px solid #f0f0f0;
}

/* Input group sharp */
.input-group > .form-control, .input-group > .form-select {
    border-radius: 0;
}

.input-group > .btn {
    border-radius: 0;
}
