/* Enhanced About Us Page Styles */

/* ====== ABOUT US HERO SECTION ====== */
.about-hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    overflow: hidden;
    padding: 100px 0;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(247, 115, 41, 0.1) 0%,
        transparent 25%,
        rgba(247, 115, 41, 0.05) 50%,
        transparent 75%,
        rgba(247, 115, 41, 0.1) 100%
    );
    animation: heroShimmer 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes heroShimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

/* ====== ENHANCED CONTENT SECTION ====== */
.about-content-section {
    position: relative;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
}

.about-content-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(247, 115, 41, 0.1);
    padding: 60px 40px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.about-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-dark-orange));
    border-radius: 20px 20px 0 0;
}

.about-content-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(247, 115, 41, 0.15);
}

.about-content {
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.about-content h1,
.about-content h2,
.about-content h3,
.about-content h4,
.about-content h5,
.about-content h6 {
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-dark-orange));
    border-radius: 2px;
}

.about-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.about-content ul,
.about-content ol {
    padding-left: 30px;
    margin-bottom: 20px;
}

.about-content li {
    margin-bottom: 8px;
    position: relative;
}

.about-content ul li::before {
    content: '▸';
    color: var(--color-orange);
    font-weight: bold;
    position: absolute;
    left: -20px;
}

/* ====== ENHANCED VIDEO GALLERY SECTION ====== */
.video-gallery-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
}

.video-gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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="20" cy="20" r="1" fill="%23f77329" opacity="0.05"/><circle cx="80" cy="80" r="1" fill="%23f77329" opacity="0.05"/><circle cx="40" cy="60" r="1" fill="%23f77329" opacity="0.05"/><circle cx="60" cy="40" r="1" fill="%23f77329" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.video-gallery-section .container-fluid {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: clamp(28px, 5vw, 42px);
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-dark-orange));
    border-radius: 2px;
}

.section-title p {
    color: #666;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced Video Cards */
.video-row {
    margin-bottom: 30px;
    padding: 0 15px;
}

.video-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    transform: translateY(0);
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(247, 115, 41, 0.1) 0%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.video-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 10px 25px rgba(247, 115, 41, 0.15);
}

.video-card:hover::before {
    opacity: 1;
}

.video-iframe-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.video-iframe-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(247, 115, 41, 0.1) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.video-card:hover .video-iframe-wrapper::after {
    opacity: 1;
}

.video-iframe-wrapper iframe {
    border: none;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.video-card:hover .video-iframe-wrapper iframe {
    transform: scale(1.05);
}

/* Staggered Animation for Video Cards */
.video-card {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFade 0.8s ease forwards;
}

.video-card:nth-child(1) { animation-delay: 0.1s; }
.video-card:nth-child(2) { animation-delay: 0.2s; }
.video-card:nth-child(3) { animation-delay: 0.3s; }
.video-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== ENHANCED GRID LAYOUTS ====== */
.video-row-2 .video-card {
    margin-bottom: 20px;
}

.video-row-3 .video-card {
    margin-bottom: 20px;
}

/* Masonry-style layout for varied video grid */
.video-row-2 .video-card:first-child {
    transform: translateY(20px);
}

.video-row-3 .video-card:nth-child(2) {
    transform: translateY(-15px);
}

.video-row-3 .video-card:nth-child(3) {
    transform: translateY(10px);
}

/* ====== DECORATIVE ELEMENTS ====== */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(247, 115, 41, 0.1), rgba(247, 115, 41, 0.2));
    animation: floatShape 20s infinite linear;
}

.floating-shape:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.floating-shape:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 60%;
    animation-delay: -10s;
}

@keyframes floatShape {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.6;
    }
    100% {
        transform: translateY(0) rotate(360deg);
        opacity: 0.3;
    }
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 768px) {
    .about-content-wrapper {
        padding: 40px 20px;
        margin: 20px 0;
        border-radius: 15px;
    }
    
    .video-card {
        margin-bottom: 20px;
        border-radius: 15px;
    }
    
    .video-iframe-wrapper,
    .video-iframe-wrapper iframe {
        border-radius: 15px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .about-content {
        font-size: 15px;
        line-height: 1.7;
    }
    
    /* Mobile optimizations for performance */
    .mobile-optimized .floating-shape {
        animation: none;
    }
    
    .mobile-optimized .video-card:hover {
        transform: none;
    }
    
    .touch-active {
        transform: translateY(-5px) scale(1.01) !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
    }
}

@media (max-width: 576px) {
    .about-hero {
        padding: 60px 0;
    }
    
    .about-content-section,
    .video-gallery-section {
        padding: 60px 0;
    }
    
    .about-content-wrapper {
        padding: 30px 15px;
        border-radius: 12px;
    }
    
    .video-card {
        border-radius: 12px;
    }
    
    .video-iframe-wrapper,
    .video-iframe-wrapper iframe {
        border-radius: 12px;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .section-title p {
        font-size: 16px;
    }
    
    .page-banner-content .page-subtitle p {
        font-size: 16px !important;
        padding: 0 15px;
    }
}

/* ====== LOADING ANIMATION ====== */
.content-fade-in {
    animation: contentFadeIn 1s ease-out forwards;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== ENHANCED TYPOGRAPHY ====== */
.about-content-wrapper .content h1:first-child {
    color: var(--color-orange);
    text-align: center;
    margin-bottom: 40px;
    font-size: clamp(24px, 5vw, 36px);
    position: relative;
}

.about-content-wrapper .content h1:first-child::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-dark-orange));
    border-radius: 2px;
}

/* ====== SCROLL ANIMATIONS ====== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ====== NO VIDEOS MESSAGE ENHANCEMENT ====== */
.no-videos-message {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.no-videos-message h3 {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: clamp(20px, 4vw, 28px);
}

.no-videos-message p {
    color: #8d949e;
    font-size: 16px;
    max-width: 400px;
    margin: 0 auto;
}

/* ====== STATS SECTION ====== */
.stats-section {
    background: linear-gradient(135deg, var(--color-orange), var(--color-dark-orange));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stats-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23stats-pattern)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
    opacity: 0.9;
}

.stat-number {
    font-size: clamp(36px, 6vw, 48px);
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    font-family: "Playfair Display", serif;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ====== CTA SECTION ====== */
.cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 20% 80%,
        rgba(247, 115, 41, 0.1) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 80% 20%,
        rgba(247, 115, 41, 0.1) 0%,
        transparent 50%
    );
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: 20px;
    font-family: "Playfair Display", serif;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-buttons .btn:hover::before {
    left: 100%;
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-primary {
    background: var(--color-orange);
    border-color: var(--color-orange);
    color: #000;
}

.cta-buttons .btn-primary:hover {
    background: var(--color-dark-orange);
    border-color: var(--color-dark-orange);
    color: #000;
}

.cta-buttons .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: #2c3e50;
    border-color: white;
}

/* Additional mobile-specific responsive adjustments */
@media (max-width: 576px) {
    .stats-section {
        padding: 60px 0;
    }
    
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .stat-card {
        padding: 30px 15px;
    }
    
    .stat-icon {
        font-size: 36px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 14px;
    }
}