/* ==========================================================================
   Hero Section Styles - Updated with Google Fonts
   ========================================================================== */

/* Base Hero Section */
.hero-section {
    position: relative;
    padding: var(--space-lg) 0;
    contain: content;
}

@media (min-width: 992px) {
    .hero-section {
        min-height: calc(100vh - var(--navbar-height));
        display: flex;
        align-items: center;
        padding: var(--space-xl) 0;
    }
}

/* Hero Image */
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--bs-border-radius-lg);
}

/* Aspect Ratio for Hero Images */
.ratio-tg {
    --bs-aspect-ratio: 60%;
}

@media (max-width: 767px) {
    .ratio-tg {
        --bs-aspect-ratio: 45%;
    }
}

/* Hero Padding Utilities */
.py-lg-6 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }
}

/* Hero Transition Effects */
.transition-all {
    transition: all 0.3s ease;
}

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

/* Hero Full Mode - Background overlay styles */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Hero No-Image Mode - Gradient Background */
.hero-gradient {
    background: linear-gradient(135deg, #34509c 0%, #2a4080 50%, #1f3064 100%);
}

/* Hero Wave Overlays */
.hero-wave-top,
.hero-wave-bottom {
    position: absolute;
    width: 100%;
    pointer-events: none;
}

.hero-wave-top {
    top: 0;
    height: 50%;
    opacity: 0.05;
    transform: rotate(180deg);
}

.hero-wave-bottom {
    bottom: 0;
    height: 60%;
    opacity: 0.08;
}

/* Hero Decorative Circles */
.hero-circle-large {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    z-index: 0;
}

.hero-circle-small {
    position: absolute;
    bottom: 15%;
    left: 8%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    z-index: 0;
}

/* Hero Features Box (for no-image mode) */
.hero-feature-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-feature-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Text Styles - Updated with font families */
.hero-title {
    font-family: var(--font-heading, 'Inter', sans-serif);
    font-size: var(--fs-display, clamp(2.5rem, 5vw, 3.5rem));
    font-weight: var(--fw-extrabold, 800);
    line-height: var(--lh-tight, 1.1);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-family: var(--font-heading, 'Inter', sans-serif);
    font-size: var(--fs-h2, clamp(1.75rem, 3vw, 2rem));
    font-weight: var(--fw-bold, 700);
    letter-spacing: -0.02em;
    opacity: 0.9;
}

.hero-text {
    font-family: var(--font-body, 'Open Sans', sans-serif);
    font-size: var(--fs-lead, clamp(1.125rem, 2vw, 1.25rem));
    font-weight: var(--fw-normal, 400);
    line-height: var(--lh-relaxed, 1.8);
}

/* Hero headings specific styling */
.hero-section h1,
.hero-section .h1 {
    font-family: var(--font-heading, 'Inter', sans-serif);
    font-weight: var(--fw-extrabold, 800);
    letter-spacing: -0.03em;
}

.hero-section h2,
.hero-section .h2 {
    font-family: var(--font-heading, 'Inter', sans-serif);
    font-weight: var(--fw-bold, 700);
    letter-spacing: -0.02em;
}

.hero-section h3,
.hero-section .h3 {
    font-family: var(--font-heading, 'Inter', sans-serif);
    font-weight: var(--fw-semibold, 600);
    letter-spacing: -0.01em;
}

.hero-section p {
    font-family: var(--font-body, 'Open Sans', sans-serif);
    font-weight: var(--fw-normal, 400);
    line-height: var(--lh-body, 1.6);
}

/* Hero lead text */
.hero-section .lead {
    font-family: var(--font-body, 'Open Sans', sans-serif);
    font-weight: var(--fw-light, 300);
    line-height: var(--lh-relaxed, 1.8);
}

/* Hero Content Spacing */
.hero-content {
    position: relative;
    z-index: 1;
}

/* Breadcrumb styles for hero section */
.hero-breadcrumb {
    margin-bottom: 1rem;
    font-family: var(--font-body, 'Open Sans', sans-serif);
    font-size: var(--fs-small, 0.875rem);
    font-weight: var(--fw-medium, 500);
}

.hero-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .hero-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1.25rem, 4vw, 1.5rem);
    }
    
    .hero-text {
        font-size: clamp(1rem, 3vw, 1.125rem);
    }
    
    .hero-feature-box {
        padding: 1rem;
    }
}

/* Tablet Optimizations */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-title {
        font-size: clamp(2.25rem, 5vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1.5rem, 3.5vw, 1.75rem);
    }
}

/* Hero with Background Image - Text Shadow for Readability */
.hero-full-mode h1,
.hero-full-mode h2,
.hero-full-mode p,
.hero-full-mode li {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Fix for image container positioning */
.hero-image-container {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 1rem;
}

@media (min-width: 992px) {
    .hero-image-container {
        border-radius: 1.5rem;
    }
}

/* Hero Background Colors */
.hero-bg-white {
    background-color: #ffffff;
}

.hero-bg-light {
    background-color: var(--bs-gray-100, #f8f9fa);
}

.hero-bg-primary {
    background-color: var(--bs-primary, #34509c);
}

.hero-bg-gradient {
    background: linear-gradient(135deg, #34509c 0%, #2a4080 50%, #1f3064 100%);
}

/* Features List in Hero */
.hero-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    font-family: var(--font-body, 'Open Sans', sans-serif);
}

.hero-features-list li {
    display: flex;
    align-items: start;
    margin-bottom: 0.75rem;
    font-weight: var(--fw-normal, 400);
    line-height: var(--lh-body, 1.6);
}

.hero-features-list li:last-child {
    margin-bottom: 0;
}

.hero-features-list .bi-check-circle-fill {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* Hero Button Container */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 767px) {
    .hero-buttons {
        gap: 0.5rem;
    }
}

/* Hero CTA text */
.hero-cta {
    font-family: var(--font-body, 'Open Sans', sans-serif);
    font-weight: var(--fw-medium, 500);
    font-size: var(--fs-body, 1rem);
    margin-bottom: 1.5rem;
}

/* Hero statistics or numbers */
.hero-stat {
    font-family: var(--font-heading, 'Inter', sans-serif);
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: var(--fw-extrabold, 800);
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--bs-primary);
}

.hero-stat-label {
    font-family: var(--font-body, 'Open Sans', sans-serif);
    font-size: var(--fs-small, 0.875rem);
    font-weight: var(--fw-medium, 500);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide, 0.05em);
    color: var(--bs-secondary-color);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .transition-all {
        transition: none;
    }
    
    .hero-feature-box {
        transition: none;
    }
}

/* Print Styles */
@media print {
    .hero-wave-top,
    .hero-wave-bottom,
    .hero-circle-large,
    .hero-circle-small {
        display: none;
    }
    
    .hero-gradient {
        background: white;
        color: black;
    }
    
    .hero-overlay {
        display: none;
    }
}