/* ==========================================================================
   UNIFIED HERO COMPONENT - ALL INNER PAGES
   Consistent hero section styling across About, Services, Contact, Certificate pages
   Version: 1.0 - Clean, modular, and reusable
   ========================================================================== */

/* ========================================
   HERO SECTION BASE - CONSISTENT STRUCTURE
   ======================================== */
.page-hero {
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 0;
}

/* Subtle gradient background glow */
.page-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 350px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}

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

.page-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   BREADCRUMB - CONSISTENT STYLING
   ======================================== */
.page-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.page-breadcrumb li {
    font-size: 0.875rem;
    color: var(--ang-text-muted, #94a3b8);
}

.page-breadcrumb li a {
    color: var(--ang-text-secondary, #cbd5e1);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-breadcrumb li a:hover {
    color: var(--ang-primary, #3b82f6);
}

.page-breadcrumb li + li::before {
    content: '/';
    margin-right: 8px;
    color: var(--ang-text-muted, #64748b);
}

.page-breadcrumb li:last-child {
    color: var(--ang-primary, #3b82f6);
    font-weight: 500;
}

/* ========================================
   HERO BADGE - SMALL CATEGORY TAG
   ======================================== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid;
    transition: all 0.3s ease;
}

.hero-badge i {
    font-size: 0.875rem;
}

/* ========================================
   HERO TITLE & SUBTITLE
   ======================================== */
.page-hero h1,
.page-hero .title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--ang-text-heading, #f1f5f9);
    line-height: 1.2;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.page-hero .lead,
.page-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--ang-text-secondary, #94a3b8);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* ========================================
   HERO STATS - COMPACT GRID
   ======================================== */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    max-width: 900px;
    margin: 0 auto;
}

.hero-stat {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 8px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat:last-child {
    border-right: none;
}

.hero-stat .number {
    display: block;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--hero-accent-primary), var(--hero-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ang-text-muted, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   PAGE-SPECIFIC HERO VARIANTS
   ======================================== */

/* About Us Page - Green/Teal accent */
.about-page .page-hero {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, rgba(15, 23, 42, 0.95) 65%, #0f172a 100%);
    --hero-accent-primary: #10b981;
    --hero-accent-secondary: #14b8a6;
}

.about-page .page-hero::before {
    background: radial-gradient(ellipse, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
}

.about-page .hero-badge {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
    color: #10b981;
}

/* Services Page - Blue accent */
.services-page .page-hero {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.06) 0%, rgba(15, 23, 42, 0.95) 65%, #0f172a 100%);
    --hero-accent-primary: #3b82f6;
    --hero-accent-secondary: #60a5fa;
}

.services-page .page-hero::before {
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
}

.services-page .hero-badge {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.25);
    color: #3b82f6;
}

/* Contact Page - Purple accent */
.contact-page .page-hero {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.06) 0%, rgba(15, 23, 42, 0.95) 65%, #0f172a 100%);
    --hero-accent-primary: #8b5cf6;
    --hero-accent-secondary: #a78bfa;
}

.contact-page .page-hero::before {
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
}

.contact-page .hero-badge {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.25);
    color: #a78bfa;
}

/* Certificate Verification Page - Amber/Gold accent */
.verification-page .page-hero {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.06) 0%, rgba(15, 23, 42, 0.95) 65%, #0f172a 100%);
    --hero-accent-primary: #f59e0b;
    --hero-accent-secondary: #fbbf24;
}

.verification-page .page-hero::before {
    background: radial-gradient(ellipse, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
}

.verification-page .hero-badge {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.25);
    color: #f59e0b;
}

/* ========================================
   LIGHT MODE ADJUSTMENTS
   ======================================== */
[data-theme="light"] .page-hero {
    background: linear-gradient(180deg, rgba(var(--hero-bg-rgb), 0.04) 0%, rgba(248, 250, 252, 0.95) 65%, #f8fafc 100%);
}

[data-theme="light"] .about-page .page-hero {
    --hero-bg-rgb: 16, 185, 129;
}

[data-theme="light"] .services-page .page-hero {
    --hero-bg-rgb: 59, 130, 246;
}

[data-theme="light"] .contact-page .page-hero {
    --hero-bg-rgb: 139, 92, 246;
}

[data-theme="light"] .verification-page .page-hero {
    --hero-bg-rgb: 245, 158, 11;
}

[data-theme="light"] .page-hero::before {
    opacity: 0.5;
}

[data-theme="light"] .hero-badge {
    background: rgba(var(--hero-bg-rgb), 0.08);
    border-color: rgba(var(--hero-bg-rgb), 0.2);
}

[data-theme="light"] .hero-stats {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .hero-stat {
    border-right-color: rgba(0, 0, 0, 0.08);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1199px) {
    .page-hero {
        padding: 130px 0 50px;
    }
}

@media (max-width: 991px) {
    .page-hero {
        padding: 120px 0 45px;
    }
    
    .hero-stat {
        padding: 8px 15px;
    }
}

@media (max-width: 767px) {
    .page-hero {
        padding: 110px 0 40px;
    }
    
    .page-breadcrumb {
        margin-bottom: 16px;
    }
    
    .hero-badge {
        font-size: 0.6875rem;
        padding: 6px 16px;
        margin-bottom: 16px;
    }
    
    .page-hero h1,
    .page-hero .title {
        margin-bottom: 16px;
    }
    
    .page-hero .lead,
    .page-hero-subtitle {
        margin-bottom: 24px;
    }
    
    .hero-stats {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    .hero-stat {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 14px 0;
    }
    
    .hero-stat:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    [data-theme="light"] .hero-stat {
        border-bottom-color: rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 575px) {
    .page-hero {
        padding: 100px 0 35px;
    }
    
    .page-breadcrumb li {
        font-size: 0.8125rem;
    }
}

/* ==========================================================================
   HOMEPAGE BANNER - MAIN HERO SECTION
   Full-screen hero with gradient background, stats, and CTA
   ========================================================================== */

/* ========================================
   HOMEPAGE BANNER BASE
   ======================================== */
.home .main-banner,
.home .main-banner-1 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 40px;
}

.home .main-banner .container,
.home .main-banner-1 .container {
  position: relative;
  z-index: 2;
}

/* Banner Title - Large Heading */
.home .main-banner .banner-title,
.home .main-banner-1 .banner-title {
  font-size: clamp(2.5rem, 10vw, 4.5rem) !important;
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}

/* Banner Content Container */
.home .main-banner .banner-content,
.home .main-banner-1 .banner-content {
  padding-left: 0 !important;
  position: relative;
  z-index: 1;
  padding: 20px 0;
}

/* Banner Heading (H2) */
.home .main-banner .banner-content h2,
.home .main-banner-1 .banner-content h2 {
  font-size: clamp(2rem, 5vw, 3rem) !important;
  line-height: 1.2 !important;
  margin-bottom: 15px !important;
  font-weight: 700;
  color: var(--ang-text-heading, #f1f5f9);
}

/* Banner Lead Text */
.home .main-banner .banner-content .lead,
.home .main-banner-1 .banner-content .lead {
  font-size: clamp(1rem, 1.8vw, 1.125rem) !important;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 20px;
  opacity: 0.92;
  color: var(--ang-text-secondary, #cbd5e1);
}

/* Banner Badge */
.home .main-banner .banner-content .badge,
.home .main-banner-1 .banner-content .badge {
  font-size: 0.813rem !important;
  padding: 6px 12px !important;
  margin-bottom: 12px;
  display: inline-block;
}

/* Banner Stats - Minimal */
.home .main-banner-1 .h4 {
  font-size: 1.5rem !important;
  margin-bottom: 4px;
  font-weight: 700;
  color: var(--ang-text-primary, #f1f5f9);
}

.home .main-banner-1 small,
.home .main-banner-1 .text-muted {
  font-size: 0.938rem !important;
  opacity: 1 !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500 !important;
}

/* Banner Button */
.home .main-banner .btn,
.home .main-banner-1 .btn {
  padding: 12px 28px;
  font-size: 0.9rem;
}

.home .main-banner .btn svg,
.home .main-banner-1 .btn svg {
  width: 14px;
  height: 16px;
}

/* Banner Background Image */
.home .main-banner .banner-bg-one,
.home .main-banner-1 .banner-bg-one {
  opacity: 0.35;
  max-width: none;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
  z-index: 0;
  pointer-events: none;
}

/* ========================================
   HOMEPAGE BANNER RESPONSIVE
   ======================================== */
@media (max-width: 1199px) {
  .home .main-banner,
  .home .main-banner-1 {
    min-height: 90vh;
  }
}

@media (max-width: 991px) {
  .home .main-banner,
  .home .main-banner-1 {
    min-height: 70vh;
    padding-top: 100px;
  }

  .home .main-banner .banner-title,
  .home .main-banner-1 .banner-title {
    font-size: clamp(2.5rem, 15vw, 5rem) !important;
  }

  .home .main-banner-1 .banner-content h2 {
    margin-bottom: 18px !important;
    line-height: 1.2 !important;
  }

  .home .main-banner-1 .banner-content {
    padding-left: 16px !important;
  }
}

@media (max-width: 767px) {
  .home .main-banner,
  .home .main-banner-1 {
    min-height: 60vh !important;
  }

  .home .main-banner .banner-content,
  .home .main-banner-1 .banner-content {
    text-align: center;
  }

  .home .main-banner .banner-content .lead,
  .home .main-banner-1 .banner-content .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .home .banner-content h2,
  .home .main-banner-1 .banner-content h2 {
    font-size: clamp(1.75rem, 8vw, 2.5rem) !important;
  }
}

@media (max-width: 575px) {
  .home .main-banner,
  .home .main-banner-1 {
    min-height: 55vh;
    padding-bottom: 30px;
  }

  .home .banner-content h2,
  .home .main-banner-1 .banner-content h2 {
    font-size: 1.75rem !important;
    margin-bottom: 12px !important;
  }

  .home .banner-content .lead,
  .home .main-banner-1 .banner-content .lead {
    font-size: 0.938rem !important;
    margin-bottom: 16px;
  }

  .home .main-banner-1 .h4 {
    font-size: 1.25rem !important;
  }

  .home .main-banner-1 small {
    font-size: 0.813rem !important;
  }
}
