/* About Us Page Styles */

/* Utility Classes */
.leading-relaxed {
    line-height: 1.75;
}

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

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

.bg-opacity-20 {
    --bs-bg-opacity: 0.2;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out both;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out both;
}

/* Hover Effects - Enhanced */
.hover-lift {
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hover-lift:hover {
    border: 1px solid #D3D3D3;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
#section-hero {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 96, 34, 0.08) 0%, rgba(240, 96, 34, 0.02) 100%);
    z-index: 1;
    pointer-events: none;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(240, 96, 34, 0.1), rgba(240, 96, 34, 0.05));
    animation: float 6s ease-in-out infinite;
}

.floating-circle-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-circle-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-circle-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 70%;
    animation-delay: 4s;
}

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

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(240, 96, 34, 0.1), rgba(240, 96, 34, 0.05));
    border: 1px solid rgba(240, 96, 34, 0.2);
    border-radius: 50px;
    padding: 8px 24px;
}

.badge-text {
    color: #f06022;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    background: linear-gradient(135deg, #f06022 0%, #e8440c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text {
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f06022, transparent);
    border-radius: 2px;
}

.image-container {
    position: relative;
    display: inline-block;
}

.hero-image {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 96, 34, 0.1) 0%, transparent 50%);
    border-radius: 16px;
    pointer-events: none;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #f06022, #e8440c);
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 3s infinite;
}

.display-4 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .display-4 {
        font-size: 3.5rem;
    }
}

/* Story Section */
#section-story {
    position: relative;
    overflow: hidden;
}

.section-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 60px,
        rgba(240, 96, 34, 0.02) 60px,
        rgba(240, 96, 34, 0.02) 120px
    );
    z-index: 1;
    pointer-events: none;
}

.icon-wrapper {
    position: relative;
    display: inline-block;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(240, 96, 34, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: -1;
}

.story-stats {
    position: relative;
}

.stat-mini {
    text-align: center;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-mini:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-weight: 700;
    color: #f06022;
    margin-bottom: 4px;
}

.stat-label {
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.story-image-wrapper {
    position: relative;
}

.story-card {
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.shadow-elegant {
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.08);
}

.story-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-card:hover .story-image {
    transform: scale(1.05);
}

.story-decoration-1 {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, rgba(240, 96, 34, 0.1), rgba(240, 96, 34, 0.05));
    border-radius: 50%;
    z-index: -1;
    animation: spin 20s linear infinite;
}

.story-decoration-2 {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(240, 96, 34, 0.08), transparent);
    border-radius: 50%;
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

.floating-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.floating-star {
    width: 20px;
    height: 20px;
    animation: spin 8s linear infinite reverse;
}

/* Mission Section */
.mission-card {
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateY(5deg) rotateX(-5deg);
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mission-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.mission-card:hover .mission-image {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.mission-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 96, 34, 0.6) 0%, rgba(240, 96, 34, 0.3) 100%);
    transition: opacity 0.3s ease;
}

.mission-card:hover .mission-overlay {
    opacity: 0.7;
}

/* Background Gradients */
/* .bg-gradient-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
}

.btn-primary-gradient {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(var(--bs-primary-rgb), 0.3);
    color: white;
} */

/* Value Icons */
.value-icon {
    position: relative;
}

.value-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(var(--bs-primary-rgb), 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Feature Icons */
.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bs-primary);
    color: white;
    font-size: 20px;
}

/* Values Section */
.values-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(240, 96, 34, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(240, 96, 34, 0.03) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.value-card {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 96, 34, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(240, 96, 34, 0.15);
}

.value-icon-wrapper {
    position: relative;
    display: inline-block;
}

.value-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(240, 96, 34, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s infinite;
    z-index: -1;
}

.value-icon {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(240, 96, 34, 0.2));
}

.value-card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover .value-card-shine {
    opacity: 1;
}

/* Statistics Section */
#section-stats {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f06022 0%, #e8440c 100%);
}

#section-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1.5" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.04)"/><circle cx="20" cy="80" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="90" cy="30" r="0.8" fill="rgba(255,255,255,0.06)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    z-index: 1;
    pointer-events: none;
}

.stats-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.particle-1 { top: 20%; left: 20%; animation-delay: 0s; }
.particle-2 { top: 40%; right: 30%; animation-delay: 2s; }
.particle-3 { bottom: 30%; left: 40%; animation-delay: 4s; }
.particle-4 { top: 60%; right: 20%; animation-delay: 1s; }
.particle-5 { bottom: 20%; right: 50%; animation-delay: 3s; }

.stats-header {
    position: relative;
    z-index: 3;
}

.stats-icon-wrapper {
    display: inline-block;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.stats-icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.stat-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 32px 24px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.stat-card-inner {
    position: relative;
    z-index: 2;
}

.stat-icon-mini {
    font-size: 24px;
    opacity: 0.8;
}

.stat-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover .stat-card-glow {
    opacity: 1;
}

.counter {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

.stat-label {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Backgrounds */
.bg-light {
    background-color: #f8f9fa !important;
}

/* Illustration Styles */
.about-illustration {
    position: relative;
}

.about-illustration::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, rgba(var(--bs-primary-rgb), 0.1), rgba(var(--bs-secondary-rgb), 0.1));
    border-radius: 20px;
    z-index: -1;
}

/* Additional Beautiful Effects */
.rounded-16 {
    border-radius: 16px !important;
}

.py-80 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.fs-28 {
    font-size: 1.75rem !important;
}

/* Reveal animations */
.reveal-animate {
    animation: revealUp 0.8s ease-out forwards;
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Loading states */
body:not(.loaded) * {
    animation-play-state: paused !important;
}

.loaded .fade-in-up,
.loaded .fade-in-left,
.loaded .fade-in-right {
    animation-play-state: running !important;
}

/* Enhanced glassmorphism effects */
.glassmorphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Text gradient effects */
.text-gradient {
    background: linear-gradient(135deg, #f06022 0%, #e8440c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Beautiful box shadows */
.shadow-beautiful {
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(240, 96, 34, 0.05);
}

.shadow-glow {
    box-shadow: 0 0 20px rgba(240, 96, 34, 0.3);
}

/* Interactive elements */
.interactive-element {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-element:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Smooth scrolling for internal links */
html {
    scroll-behavior: smooth;
}


/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #f06022, #e8440c);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e8440c, #d63384);
}

/* Responsive Design */
@media (max-width: 767.98px) {
    #section-hero {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .fs-28 {
        font-size: 1.5rem !important;
    }
    
    .fs-32 {
        font-size: 1.75rem !important;
    }
    
    .fs-40 {
        font-size: 2rem !important;
    }
    
    .py-64 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .py-80 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    
    .my-64 {
        margin-top: 3rem !important;
        margin-bottom: 3rem !important;
    }
    
    .floating-circle {
        display: none;
    }
    
    .story-card,
    .mission-card {
        transform: none !important;
    }
    
    .stat-card {
        padding: 24px 16px;
    }
    
    .hero-image {
        max-height: 250px;
    }
    
    .story-image,
    .mission-image {
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    .hero-badge {
        padding: 6px 16px;
    }
    
    .badge-text {
        font-size: 12px;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .stat-card {
        padding: 20px 12px;
    }
    
    .fs-40 {
        font-size: 1.5rem !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-bg-pattern,
    .section-decoration,
    .values-bg-pattern {
        opacity: 0.1;
    }
    
    .floating-circle,
    .particle {
        display: none;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-circle,
    .floating-star,
    .particle {
        animation: none !important;
    }
}

/* Print styles */
@media print {
    .floating-elements,
    .stats-particles,
    .section-decoration,
    .values-bg-pattern {
        display: none !important;
    }
    
    .hero-bg-pattern::before,
    #section-stats::before {
        display: none !important;
    }
    
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}

/* Font Size Utilities */
.fs-28 {
    font-size: 1.75rem;
}

.fs-32 {
    font-size: 2rem;
}

.fs-40 {
    font-size: 2.5rem;
}

/* Responsive Font Size Utilities - fs-md prefix for medium screens and up */
.fs-md-14 {
    font-size: 1.4rem;
}

.fs-md-16 {
    font-size: 1.6rem;
}

.fs-md-18 {
    font-size: 1.8rem;
}

.fs-md-20 {
    font-size: 2rem;
}

.fs-md-24 {
    font-size: 2.4rem;
}

.fs-md-28 {
    font-size: 2.8rem;
}

.fs-md-32 {
    font-size: 3.2rem;
}

.fs-md-40 {
    font-size: 4rem;
}

/* Section Title Icons - matching site pattern */
.section-title-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* CTA brand logo. Not .section-title-icon: that class is a 40x40 square and the
   logo is a 247x46 lockup, which object-fit would letterbox down to a smudge. */
.cta-logo {
    height: 32px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

@media (min-width: 768px) {
    .cta-logo {
        height: 40px;
    }
}

/* Font Sizes - matching site pattern */
.fs-22 {
    font-size: 1.375rem !important;
}

.fs-14 {
    font-size: 1.4rem;
}

.fs-16 {
    font-size: 1.6rem;
}

.fs-18 {
    font-size: 1.8rem;
}

/* Spacing Utilities */
.g-48 > * {
    padding: 1.5rem;
}

.gap-20 {
    gap: 1.25rem !important;
}

.g-28 {
    --bs-gutter-x: 1.75rem;
    --bs-gutter-y: 1.75rem;
}

.mb-48 {
    margin-bottom: 3rem !important;
}

/* Border Radius */
.rounded-12 {
    border-radius: 12px !important;
}

/* Animation for elements coming into view */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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


/* Print styles */
@media print {
    #section-stats::before,
    .about-illustration::before {
        display: none;
    }
    
    .bg-gradient-primary,
    .btn-primary-gradient {
        background: var(--bs-primary) !important;
        color: white !important;
    }
}