/* ============================================
   HOME PAGE - SEAFOOD4AFRICA
   Custom CSS - No Bootstrap Dependencies
============================================ */

/* ============================================
   HERO VIDEO SECTION - NO POSTER VERSION
   Version: 6.2 - Direct Load with Fade
============================================ */

/* ========================================
   BASE HERO SECTION
======================================== */

.hero-video-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    /* GPU Acceleration */
    transform: translateZ(0);
    will-change: transform;
}

/* ========================================
   VIDEO CONTAINER - NO POSTER
======================================== */

.video-containers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    /* Background pendant loading - Gradient élégant */
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    /* Alternative backgrounds (choisir un seul) */
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    /* background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%); */
    /* background: linear-gradient(135deg, #000428 0%, #004e92 100%); */
    /* Contain layout shifts */
    contain: layout style paint;
}

.video-containers video {
    position: absolute;
    top: 88%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    /* GPU Acceleration */
    transform: translate(-50%, -50%) translateZ(0);
    will-change: transform;
    /* Optimize video rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* Smooth fade-in when loaded */
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

/* Video loaded state - Fade in */
.video-containers video.video-loaded {
    opacity: 1;
}

/* ========================================
   HERO OVERLAY
======================================== */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(0, 0, 0, 0.7), 
        rgba(0, 0, 0, 0.3)
    );
    z-index: 2;
    /* Optimize rendering */
    will-change: opacity;
}

/* ========================================
   ANIMATED PARTICLES - OPTIMIZED
======================================== */

.particles-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    /* Optimize rendering */
    will-change: transform;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    /* GPU Acceleration */
    transform: translateZ(0);
    will-change: transform, opacity;
    animation: floatUp 12s linear infinite;
}

/* Particle Positions */
.particle-1 { 
    top: 20%; 
    left: 10%; 
    width: 4px; 
    height: 4px; 
}

.particle-2 { 
    top: 40%; 
    left: 20%; 
    width: 3px; 
    height: 3px; 
    animation-delay: 2s; 
}

.particle-3 { 
    top: 60%; 
    right: 15%; 
    width: 5px; 
    height: 5px; 
    animation-delay: 4s; 
}

.particle-4 { 
    top: 30%; 
    right: 25%; 
    width: 4px; 
    height: 4px; 
    animation-delay: 1s; 
}

.particle-5 { 
    top: 50%; 
    left: 30%; 
    width: 3px; 
    height: 3px; 
    animation-delay: 3s; 
}

.particle-6 { 
    top: 70%; 
    right: 30%; 
    width: 4px; 
    height: 4px; 
    animation-delay: 5s; 
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateZ(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) translateZ(0) scale(0.5);
        opacity: 0;
    }
}

/* ========================================
   HERO CONTENT - POSITIONED LOWER
======================================== */

.hero-content {
    position: relative;
    z-index: 4;
    height: 100%;
    display: flex;
    align-items: flex-end; /* Positioned lower */
    padding-bottom: 15vh;
}

.hero-content .containers {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-content .row {
    justify-content: flex-start;
    margin-left: 0;
}

.hero-content .col-lg-10 {
    text-align: left;
    max-width: 700px;
    padding-left: 80px;
}

/* ========================================
   HERO TITLE - TYPEWRITER EFFECT
======================================== */

.hero-title {
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    letter-spacing: 2px;
    position: relative;
    /* Optimize text rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Animation */
    animation: fadeInUp 1s ease;
}

/* Typewriter cursor */
.hero-title::after {
    content: '|';
    display: inline-block;
    animation: blink 0.7s infinite;
    margin-left: 5px;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Hide cursor after typing completes */
.hero-title.typing-complete::after {
    display: none;
}

/* ========================================
   HERO BUTTONS - ANIMATED
======================================== */

.hero-buttons-simple {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-btn-simple {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    border: 2px solid transparent;
    position: relative;
    /* GPU Acceleration */
    transform: translateZ(0);
    will-change: transform;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Pulse Animation */
    animation: buttonPulse 2s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes buttonPulse {
    0% {
        transform: translateZ(0) scale(1);
        box-shadow: 0 8px 25px rgba(255, 128, 48, 0.3);
    }
    50% {
        transform: translateZ(0) scale(1.05);
        box-shadow: 0 12px 35px rgba(255, 128, 48, 0.5);
    }
    100% {
        transform: translateZ(0) scale(1);
        box-shadow: 0 8px 25px rgba(255, 128, 48, 0.3);
    }
}

/* Shake Animation on Hover */
@keyframes buttonShake {
    0%, 100% {
        transform: translateX(0) translateZ(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-3px) translateZ(0);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(3px) translateZ(0);
    }
}

/* Exhibitor Button - Orange */
.exhibitor-btn-simple {
    background: #ff8030;
    color: #fff;
    box-shadow: 0 8px 25px rgba(255, 128, 48, 0.3);
}

.exhibitor-btn-simple:hover {
    background: #de5804;
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 12px 35px rgba(255, 128, 48, 0.4);
    color: #fff;
    animation: buttonShake 0.5s ease;
}

/* Visitor Button - Blue */
.visitor-btn-simple {
    background: #29267c;
    color: #fff;
    box-shadow: 0 8px 25px rgba(41, 38, 124, 0.3);
    animation: buttonPulse 2s ease-in-out 0.3s infinite;
}

.visitor-btn-simple:hover {
    background: #211e82;
    color: #ffffff;
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 12px 35px rgba(41, 38, 124, 0.4);
    animation: buttonShake 0.5s ease;
}

/* Button Icon Animation */
.hero-btn-simple:hover i,
.hero-btn-simple:hover svg {
    transform: translateX(5px) translateZ(0);
}

.hero-btn-simple i,
.hero-btn-simple svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    vertical-align: middle;
}

.hero-btn-simple svg {
    width: 18px;
    height: 18px;
}

.hero-btn-simple svg path {
    stroke: currentColor;
}

/* ========================================
   SCROLL INDICATOR
======================================== */

.scroll-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    z-index: 4;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 10px;
    /* Animation */
    animation: bounce 2s infinite;
    /* GPU Acceleration */
    will-change: transform;
}

.scroll-indicator:hover {
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0) translateZ(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px) translateZ(0);
    }
    60% {
        transform: translateX(-50%) translateY(-5px) translateZ(0);
    }
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .hero-content .col-lg-10 {
        padding-left: 100px;
    }
    
    .hero-title {
        font-size: 30px;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .hero-content {
        padding-bottom: 12vh;
    }
    
    .hero-content .col-lg-10 {
        padding-left: 60px;
    }
    
    .hero-title {
        font-size: 25px;
    }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-content {
        padding-bottom: 10vh;
    }
    
    .hero-content .col-lg-10 {
        padding-left: 40px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-btn-simple {
        padding: 14px 32px;
        font-size: 17px;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .hero-video-section {
        min-height: 550px;
    }
    
    /* Center content */
    .hero-content {
        align-items: center !important;
        padding-bottom: 0 !important;
    }
    
    .hero-content .row {
        justify-content: center !important;
    }
    
    .hero-content .col-lg-10 {
        text-align: center !important;
        max-width: 100%;
        padding: 0 30px !important;
    }
    
    .hero-title {
        font-size: 34px;
        margin-bottom: 20px;
    }
    
    .hero-buttons-simple {
        justify-content: center !important;
        gap: 15px;
    }
    
    .hero-btn-simple {
        padding: 13px 28px;
        font-size: 16px;
    }
    
    .hero-overlay {
        background: linear-gradient(
            to bottom, 
            rgba(0, 0, 0, 0.6), 
            rgba(0, 0, 0, 0.5)
        );
    }
}

/* Mobile (768px and down) */
@media (max-width: 767px) {
    .hero-video-section {
        min-height: 500px;
    }
    
    .hero-content .col-lg-10 {
        padding: 0 20px !important;
    }
    
    .hero-title {
        font-size: 25px;
        letter-spacing: 1px;
        margin-bottom: 18px;
    }
    
    .hero-buttons-simple {
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn-simple {
        padding: 14px 35px;
        font-size: 16px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Hide some particles on mobile */
    .particle-4,
    .particle-5,
    .particle-6 {
        display: none;
    }
    
    .scroll-indicator {
        bottom: 30px;
    }
    
    /* Reduce particle animation */
    .particle {
        animation-duration: 15s;
    }
    
    /* Optimize video for mobile */
    .video-containers video {
        filter: brightness(0.85);
    }
}

/* Small Mobile (576px and down) */
@media (max-width: 576px) {
    .hero-video-section {
        min-height: 450px;
    }
    
    .hero-content .col-lg-10 {
        padding: 0 15px !important;
    }
    
    .hero-title {
        font-size: 26px;
        letter-spacing: 0.5px;
        margin-bottom: 15px;
    }
    
    .hero-btn-simple {
        padding: 13px 30px;
        font-size: 15px;
        max-width: 250px;
    }
    
    .hero-btn-simple svg {
        width: 16px;
        height: 16px;
    }
    
    .hero-overlay {
        background: linear-gradient(
            to bottom, 
            rgba(0, 0, 0, 0.7), 
            rgba(0, 0, 0, 0.6)
        );
    }
}

/* Extra Small Mobile (480px and down) */
@media (max-width: 480px) {
    .hero-video-section {
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    /* Disable typewriter cursor */
    .hero-title::after {
        display: none;
    }
    
    .hero-buttons-simple {
        gap: 10px;
    }
    
    .hero-btn-simple {
        padding: 12px 25px;
        font-size: 14px;
        gap: 8px;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-indicator svg {
        width: 24px;
        height: 24px;
    }
}

/* Very Small Mobile (360px and down) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 22px;
    }
    
    .hero-btn-simple {
        padding: 11px 22px;
        font-size: 13px;
    }
}

/* ========================================
   ACCESSIBILITY - REDUCE MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .hero-buttons-simple,
    .hero-btn-simple,
    .scroll-indicator {
        animation: none !important;
    }
    
    .hero-title::after {
        animation: none !important;
    }
    
    .particle {
        animation: none !important;
        display: none;
    }
    
    .video-containers video {
        animation: none !important;
        transition: none !important;
    }
}

/* ========================================
   FOCUS STYLES
======================================== */

.hero-btn-simple:focus {
    outline: none;
}

.hero-btn-simple:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.scroll-indicator:focus {
    outline: none;
}

.scroll-indicator:focus-visible {
    opacity: 0.8;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

/* ========================================
   PRINT STYLES
======================================== */

@media print {
    .hero-video-section {
        height: auto;
        min-height: 0;
    }
    
    .video-containers,
    .particles-overlay,
    .scroll-indicator {
        display: none;
    }
    
    .hero-overlay {
        background: transparent;
    }
    
    .hero-content {
        position: relative;
        padding: 40px 0;
    }
    
    .hero-title {
        color: #000;
        text-shadow: none;
    }
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
======================================== */

/* Contain paint for better performance */
.hero-video-section {
    contain: layout style;
}

.video-containers {
    contain: strict;
}

/* Remove will-change when not needed */
.hero-video-section:not(:hover) .video-containers video,
.hero-video-section:not(:hover) .particle {
    will-change: auto;
}

/* ========================================
   LOADING SHIMMER EFFECT (OPTIONAL)
======================================== */

/* Add shimmer effect to background during video load */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.video-containers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Hide shimmer when video is loaded */
.video-containers video.video-loaded ~ ::before,
.video-containers:has(video.video-loaded)::before {
    opacity: 0;
}

/* END OF CSS */


/* ============================================
   MINISTRY PATRONAGE SECTION
   Version 2.0 - Equal Heights Fixed
============================================ */

.ministry-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.ministry-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #0066cc 50%, 
        transparent 100%
    );
}

.ministry-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.ministry-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.ministry-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #004080);
    border-radius: 2px;
}

/* ⭐ FIX: Nafs Height & Size */
.ministry-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 1rem;
}

.ministry-logo-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    
    /* ⭐ KEY: Nafs Height */
    height: 8rem;
    
    /* ⭐ KEY: Center l'image */
    display: flex;
    align-items: center;
    justify-content: center;
}

.ministry-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.15);
}

.ministry-logo-item img {
    /* ⭐ KEY: Nafs Size */
    width: 100%;
    height: 14rem;
    max-width: 200px;
    max-height: 120px;
    object-fit: contain;
    display: block;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .ministry-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .ministry-logo-item {
        height: 160px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .ministry-section {
        padding: 40px 0;
    }
    
    .ministry-title {
        font-size: 22px;
        margin-bottom: 30px;
    }
    
    .ministry-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .ministry-logo-item {
        padding: 20px;
        height: 140px;
    }
    
    .ministry-logo-item img {
        max-width: 160px;
        max-height: 100px;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .ministry-title {
        font-size: 18px;
    }
    
    .ministry-logos {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .ministry-logo-item {
        padding: 20px;
        height: 120px;
        max-width: 100%;
    }
    
    .ministry-logo-item img {
        max-width: 180px;
        max-height: 80px;
    }
}



/* ============================================
   SPONSORS SLIDER - AUTO CAROUSEL
   Logos en couleur - 3 visibles - FULL RESPONSIVE
============================================ */

.sponsors-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

.sponsors-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.sponsors-title {
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 15px;
}

.sponsors-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #0052a3);
    margin: 0 auto;
    border-radius: 2px;
}

/* Slider Wrapper */
.sponsors-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

/* Slider Container */
.sponsors-slider {
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Slider Track */
.sponsors-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0;
}

/* Individual Slide - LOGOS EN COULEUR */
.sponsor-slide {
    flex: 0 0 33.333%;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    background: #fff;
    border-right: 1px solid #f0f0f0;
}

.sponsor-slide:last-child {
    border-right: none;
}

.sponsor-slide img {
    max-width: 100%;
    max-height: 87px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.sponsor-slide img:hover {
    transform: scale(1.08);
    filter: brightness(1.05);
}

/* Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 2px solid #e0e0e0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slider-nav:hover {
    background: #0066cc;
    border-color: #0066cc;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav:hover svg path {
    stroke: #fff;
}

.slider-nav svg {
    width: 20px;
    height: 20px;
}

.slider-nav.prev {
    left: 0;
}

.slider-nav.next {
    right: 0;
}

/* Dots Navigation */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d0d0d0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #0066cc;
    width: 30px;
    border-radius: 6px;
}

.slider-dot:hover {
    background: #0052a3;
}

/* ============================================
   ANIMATION AU CHARGEMENT
============================================ */

.sponsor-slide {
    animation: fadeInSlide 0.6s ease-in-out;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN - COMPLETE
============================================ */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .sponsors-section {
        padding: 100px 0;
    }
    
    .sponsors-title {
        font-size: 3rem;
    }
    
    .sponsors-slider-wrapper {
        max-width: 1400px;
        padding: 0 80px;
    }
    
    .sponsor-slide {
        padding: 50px;
        min-height: 200px;
    }
    
    .sponsor-slide img {
        max-height: 140px;
    }
    
    .slider-nav {
        width: 50px;
        height: 50px;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .sponsors-section {
        padding: 80px 0;
    }
    
    .sponsors-slider-wrapper {
        max-width: 1200px;
        padding: 0 70px;
    }
    
    .sponsor-slide {
        padding: 45px;
    }
}

/* Small Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .sponsors-section {
        padding: 70px 0;
    }
    
    .sponsors-title {
        font-size: 2.2rem;
    }
    
    .sponsors-slider-wrapper {
        padding: 0 60px;
    }
    
    .sponsor-slide {
        padding: 35px;
        min-height: 170px;
    }
    
    .sponsor-slide img {
        max-height: 83px;
    }
}

/* Tablet (768px - 991px) - 2 LOGOS */
@media (min-width: 768px) and (max-width: 991px) {
    .sponsors-section {
        padding: 60px 0;
    }
    
    .sponsors-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .sponsors-title-wrapper {
        margin-bottom: 40px;
    }
    
    .sponsors-slider-wrapper {
        padding: 0 50px;
    }
    
    .sponsor-slide {
        flex: 0 0 50%; /* 2 logos visibles */
        padding: 30px;
        min-height: 160px;
    }
    
    .sponsor-slide img {
        max-height: 100px;
    }
    
    .slider-nav {
        width: 42px;
        height: 42px;
    }
    
    .slider-nav svg {
        width: 18px;
        height: 18px;
    }
}

/* Mobile Large (576px - 767px) - 1 LOGO */
@media (min-width: 576px) and (max-width: 767px) {
    .sponsors-section {
        padding: 50px 0;
    }
    
    .sponsors-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .sponsors-title-wrapper {
        margin-bottom: 35px;
    }
    
    .sponsors-divider {
        width: 60px;
        height: 3px;
    }
    
    .sponsors-slider-wrapper {
        padding: 0 45px;
    }
    
    .sponsor-slide {
        flex: 0 0 100%; /* 1 logo visible */
        padding: 35px 20px;
        min-height: 140px;
        border-right: none;
    }
    
    .sponsor-slide img {
        max-height: 90px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .slider-nav svg {
        width: 16px;
        height: 16px;
    }
    
    .slider-dots {
        margin-top: 25px;
        gap: 8px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .slider-dot.active {
        width: 25px;
    }
}

/* Mobile Medium (480px - 575px) */
@media (min-width: 480px) and (max-width: 575px) {
    .sponsors-section {
        padding: 45px 0;
    }
    
    .sponsors-title {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .sponsors-title-wrapper {
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .sponsors-divider {
        width: 50px;
        height: 3px;
    }
    
    .sponsors-slider-wrapper {
        padding: 0 38px;
    }
    
    .sponsor-slide {
        flex: 0 0 100%;
        padding: 30px 15px;
        min-height: 130px;
    }
    
    .sponsor-slide img {
        max-height: 80px;
    }
    
    .slider-nav {
        width: 38px;
        height: 38px;
    }
    
    .slider-nav svg {
        width: 15px;
        height: 15px;
    }
    
    .slider-dots {
        margin-top: 20px;
        gap: 7px;
    }
}

/* Mobile Small (375px - 479px) */
@media (min-width: 375px) and (max-width: 479px) {
    .sponsors-section {
        padding: 40px 0;
    }
    
    .sponsors-title {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .sponsors-title-wrapper {
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .sponsors-divider {
        width: 45px;
        height: 2px;
    }
    
    .sponsors-slider-wrapper {
        padding: 0 35px;
    }
    
    .sponsor-slide {
        flex: 0 0 100%;
        padding: 25px 12px;
        min-height: 120px;
    }
    
    .sponsor-slide img {
        max-height: 70px;
    }
    
    .slider-nav {
        width: 36px;
        height: 36px;
    }
    
    .slider-nav svg {
        width: 14px;
        height: 14px;
    }
    
    .slider-dots {
        margin-top: 18px;
        gap: 6px;
    }
    
    .slider-dot {
        width: 9px;
        height: 9px;
    }
    
    .slider-dot.active {
        width: 22px;
    }
}

/* Mobile Extra Small (< 375px) */
@media (max-width: 374px) {
    .sponsors-section {
        padding: 35px 0;
    }
    
    .sponsors-title {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .sponsors-title-wrapper {
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    .sponsors-divider {
        width: 40px;
        height: 2px;
    }
    
    .sponsors-slider-wrapper {
        padding: 0 30px;
    }
    
    .sponsor-slide {
        flex: 0 0 100%;
        padding: 20px 10px;
        min-height: 110px;
    }
    
    .sponsor-slide img {
        max-height: 60px;
    }
    
    .slider-nav {
        width: 34px;
        height: 34px;
    }
    
    .slider-nav svg {
        width: 13px;
        height: 13px;
    }
    
    .slider-dots {
        margin-top: 15px;
        gap: 5px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .slider-dot.active {
        width: 20px;
    }
}

/* ============================================
   RTL SUPPORT
============================================ */

[dir="rtl"] .slider-nav.prev {
    left: auto;
    right: 0;
}

[dir="rtl"] .slider-nav.next {
    right: auto;
    left: 0;
}

[dir="rtl"] .slider-nav.prev svg {
    transform: scaleX(-1);
}

[dir="rtl"] .slider-nav.next svg {
    transform: scaleX(-1);
}

/* ============================================
   TOUCH IMPROVEMENTS (Mobile)
============================================ */

@media (max-width: 991px) {
    .sponsors-slider {
        touch-action: pan-y pinch-zoom;
    }
    
    .slider-nav {
        -webkit-tap-highlight-color: transparent;
    }
    
    .slider-dot {
        -webkit-tap-highlight-color: transparent;
        min-width: 20px;
        min-height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .slider-dot::before {
        content: '';
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: inherit;
    }
    
    .slider-dot.active::before {
        width: 30px;
        border-radius: 6px;
    }
}

/* ============================================
   ACCESSIBILITY & PERFORMANCE
============================================ */

@media (prefers-reduced-motion: reduce) {
    .sponsors-track {
        transition: none;
    }
    
    .sponsor-slide {
        animation: none;
    }
    
    .sponsor-slide img {
        transition: none;
    }
    
    .slider-nav,
    .slider-dot {
        transition: none;
    }
}

/* Focus States for Accessibility */
.slider-nav:focus,
.slider-dot:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Performance Optimization */
.sponsors-track {
    will-change: transform;
}

.sponsor-slide img {
    will-change: transform, filter;
}

/* ============================================
   2_ABOUT HERO SECTION - Background Image with Text Overlay
   Version: 1.0
============================================ */

.sf-about-hero-section {
    position: relative;
    min-height: 590px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* ============================================
   BACKGROUND IMAGE
============================================ */
.sf-about-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sf-about-bg-image img {
    width: 100%;
    height: 100%;
}

/* ============================================
   OVERLAY - VIOLET #211e82
============================================ */
.sf-about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Alternative gradient overlay */
.sf-about-overlay.gradient {
    background: linear-gradient(
        135deg,
        rgba(33, 30, 130, 0.95) 0%,
        rgba(33, 30, 130, 0.75) 100%
    );
}

/* ============================================
   CONTENT WRAPPER
============================================ */
.sf-about-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;

}

.sf-about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 15px 0 ;
}

.sf-about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* ============================================
   TEXT CONTENT
============================================ */
.sf-about-hero-title {
    font-size: 35px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.sf-about-hero-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.sf-about-hero-text p {
    margin-bottom: 25px;
    animation: fadeInUp 1s ease;
}

.sf-about-hero-text p:first-child {
    animation-delay: 0.2s;
}

.sf-about-hero-text p:last-child {
    margin-bottom: 0;
    animation-delay: 0.4s;
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   PARALLAX EFFECT (Optional)
============================================ */
.sf-about-hero-section.parallax .sf-about-bg-image {
    transform: translateZ(0);
    will-change: transform;
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */

/* Large Desktop */
@media (max-width: 1400px) {
    .sf-about-hero-title {
        font-size: 44px;
    }
    
    .sf-about-hero-text {
        font-size: 17px;
    }
}

/* Desktop */
@media (max-width: 1199px) {
    .sf-about-hero-section {
        min-height: 550px;
    }
    
    .sf-about-content-wrapper {
        padding: 70px 0;
    }
    
    .sf-about-hero-title {
        font-size: 40px;
        margin-bottom: 35px;
    }
    
    .sf-about-hero-text {
        font-size: 16px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .sf-about-hero-section {
        min-height: 500px;
    }
    
    .sf-about-content-wrapper {
        padding: 60px 0;
    }
    
    .sf-about-hero-title {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .sf-about-hero-text {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .sf-about-content {
        max-width: 800px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .sf-about-hero-section {
        min-height: 450px;
    }
    
    .sf-about-content-wrapper {
        padding: 50px 0;
    }
    
    .sf-about-hero-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .sf-about-hero-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .sf-about-hero-text p {
        margin-bottom: 20px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .sf-about-hero-section {
        min-height: 400px;
    }
    
    .sf-about-content-wrapper {
        padding: 40px 0;
    }
    
    .sf-about-hero-title {
        text-align: justify;
        font-size: 20px;
        margin-bottom: 20px;
        letter-spacing: -0.3px;
    }
    
    .sf-about-hero-text {
        font-size: 13px;
    }
    
    .sf-about-hero-text p {
        margin-bottom: 15px;
        text-align: justify;
    }
}

/* ============================================
   ALTERNATIVE STYLES
============================================ */

/* Left-aligned text */
.sf-about-hero-section.text-left .sf-about-content {
    text-align: left;
    max-width: 700px;
    margin-left: 0;
}

/* Darker overlay */
.sf-about-hero-section.dark .sf-about-overlay {
    background: rgba(33, 30, 130, 0.95);
}

/* Lighter overlay */
.sf-about-hero-section.light .sf-about-overlay {
    background: rgba(33, 30, 130, 0.70);
}

/* Pattern overlay */
.sf-about-overlay.pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.02) 10px,
            rgba(255, 255, 255, 0.02) 20px
        );
}

/* ============================================
   SCROLL REVEAL ANIMATION
============================================ */
.sf-about-hero-section.sf-reveal .sf-about-hero-title,
.sf-about-hero-section.sf-reveal .sf-about-hero-text p {
    opacity: 0;
}

.sf-about-hero-section.sf-revealed .sf-about-hero-title {
    animation: fadeInUp 1s ease forwards;
}

.sf-about-hero-section.sf-revealed .sf-about-hero-text p:first-child {
    animation: fadeInUp 1s ease 0.2s forwards;
}

.sf-about-hero-section.sf-revealed .sf-about-hero-text p:last-child {
    animation: fadeInUp 1s ease 0.4s forwards;
}

/* ============================================
   ACCESSIBILITY
============================================ */
@media (prefers-reduced-motion: reduce) {
    .sf-about-hero-title,
    .sf-about-hero-text p {
        animation: none;
    }
}

/* ============================================
   PRINT STYLES
============================================ */
@media print {
    .sf-about-overlay {
        background: rgba(33, 30, 130, 0.3);
    }
    
    .sf-about-hero-title,
    .sf-about-hero-text {
        color: #000000;
        text-shadow: none;
    }
}

/* ============================================
   STATS SECTION - MINIMALIST GREEN DESIGN
   Version: 4.0 - Fixed Mobile Centering
============================================ */

/* -------- SECTION WRAPPER -------- */
.sf-stats-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    /* padding: 60px 0; */
}

.sf-stats-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #ffffff;
}

.sf-stats-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sf-stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
}

/* Container */
.sf-stats-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

/* -------- STATS GRID (DESKTOP) -------- */
.sf-stats-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* -------- STAT CARD - MINIMALIST DESIGN -------- */
.sf-stat-card {
    flex: 1;
    background: transparent;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

/* Vertical Divider Line */
.sf-stat-divider {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: #d1d5db;
}

/* Last card has no divider */
.sf-stat-card:last-child .sf-stat-divider {
    display: none;
}

/* Hover Effect */
.sf-stat-card:hover {
    transform: scale(1.05);
}

/* -------- STAT CONTENT -------- */
.sf-stat-content {
    position: relative;
    z-index: 2;
}

.sf-stat-numbere {
    font-size: 60px;
    font-weight: 900;
    color: #000000;
    margin: 0 0 10px 0;
    line-height: 1;
    font-family: 'Arial Black', 'Arial', sans-serif;
    letter-spacing: -1px;
}

/* Number Plus Sign */
.sf-stat-numbere::after {
    content: '+';
    font-size: 0.7em;
    opacity: 0.8;
    margin-left: 2px;
    font-weight: 700;
}

.sf-stat-labele {
    font-size: 13px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.4;
    font-family: 'Arial', sans-serif;
}

/* -------- MOBILE SLIDER (Hidden on Desktop) -------- */
.sf-stats-slider-wrapper {
    display: none;
    position: relative;
    overflow: hidden;
    padding: 0 0 50px;
}

.sf-stats-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 0;
}

.sf-stats-slider .sf-stat-card {
    min-width: 100%;
    flex-shrink: 0;
    /* CENTERED TEXT F MOBILE */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sf-stats-slider .sf-stat-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sf-stats-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.sf-stats-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sf-stats-dot:hover {
    background: #9ca3af;
}

.sf-stats-dot.active {
    background: #1e5631;
    width: 28px;
    border-radius: 5px;
}

/* -------- RESPONSIVE DESIGN -------- */

/* Large Desktop */
@media (max-width: 1400px) {
    .sf-stats-container {
        max-width: 1200px;
    }
}

/* Desktop */
@media (max-width: 1199px) {
    .sf-stats-section {
        padding: 70px 0;
    }
    
    .sf-stat-card {
        padding: 35px 25px;
    }
    
    .sf-stat-numbere {
        font-size: 48px;
    }
}

/* Tablet - SHOW SLIDER */
@media (max-width: 991px) {
    .sf-stats-section {
        padding: 60px 0;
    }
    
    /* Hide Grid, Show Slider */
    .sf-stats-grid {
        display: none;
    }
    
    .sf-stats-slider-wrapper {
        display: block;
    }
    
    .sf-stat-card {
        padding: 40px 30px;
    }
    
    .sf-stat-numbere {
        font-size: 48px;
    }
    
    .sf-stat-divider {
        display: none !important;
    }
}

/* Tablet - 2 slides per view */
@media (min-width: 768px) and (max-width: 991px) {
    .sf-stats-slider .sf-stat-card {
        min-width: 50%;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .sf-stats-section {
        padding: 50px 0;
    }
    
    .sf-stat-card {
        padding: 35px 25px;
    }
    
    .sf-stat-numbere {
        font-size: 42px;
    }
    
    .sf-stat-labele {
        font-size: 12px;
        letter-spacing: 1.2px;
    }
    
    /* ENSURE CENTERED IN MOBILE */
    .sf-stats-slider .sf-stat-card {
        min-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .sf-stats-section {
       padding: 0px 0;
        height: 12rem;

    }
    
    .sf-stat-card {
        padding: 30px 20px;
    }
    
    .sf-stat-numbere {
        font-size: 38px;
    }
    
    .sf-stat-labele {
        font-size: 11px;
        letter-spacing: 1px;
    }
}

/* -------- ENTRANCE ANIMATIONS -------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sf-stat-card {
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.sf-stats-grid .sf-stat-card:nth-child(1) { animation-delay: 0.1s; }
.sf-stats-grid .sf-stat-card:nth-child(2) { animation-delay: 0.2s; }
.sf-stats-grid .sf-stat-card:nth-child(3) { animation-delay: 0.3s; }
.sf-stats-grid .sf-stat-card:nth-child(4) { animation-delay: 0.4s; }

/* Number Animation */
@keyframes numberPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.sf-stat-numbere {
    animation: numberPulse 2s ease-in-out infinite;
}

/* -------- PRINT STYLES -------- */
@media print {
    .sf-stats-overlay {
        display: none !important;
    }
    
    .sf-stats-section {
        background: #ffffff !important;
    }
    
    .sf-stats-slider-wrapper {
        display: none !important;
    }
    
    .sf-stats-grid {
        display: flex !important;
    }
    
    .sf-stat-card {
        break-inside: avoid;
        border-right: 1px solid #d1d5db;
    }
    
    .sf-stat-card:last-child {
        border-right: none;
    }
}


/* ============================================
   PRODUCT CATEGORIES - COMPLETE STYLES
   Version: 5.0 - Fully Optimized
============================================ */

/* ========================================
   SECTION WRAPPER
======================================== */

.sf-categories-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.sf-categories-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========================================
   MAIN TITLE
======================================== */

.sf-categories-main-title {
    font-size: 40px;
    font-weight: 900;
    color: #1a1a2e;
    text-align: center;
    margin: 0 auto 80px;
    max-width: 1200px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.sf-categories-main-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #00c6ff);
    border-radius: 2px;
}

/* ========================================
   ASYMMETRIC GRID LAYOUT (DESKTOP)
======================================== */

.sf-categories-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 280px;
    gap: 20px;
    position: relative;
}

/* -------- ROW 1 - ALIGNED (3 cards) -------- */
.sf-category-card:nth-child(1) { /* Fishing */
    grid-column: 2 / 5;
    grid-row: 1 / 2;
    border-radius: 0 100px 0 100px;
}

.sf-category-card:nth-child(2) { /* Seafood Processing */
    grid-column: 5 / 8;
    grid-row: 1 / 2;
    border-radius: 0 100px 0 100px;
}

.sf-category-card:nth-child(3) { /* Aquaculture */
    grid-column: 8 / 11;
    grid-row: 1 / 2;
    border-radius: 0 100px 0 100px;
}

/* -------- ROW 2 - SHIFTED LEFT (3 cards) -------- */
.sf-category-card:nth-child(4) { /* Cold Chain */
    grid-column: 3 / 6;
    grid-row: 2 / 3;
    border-radius: 100px 0 100px 0;
}

.sf-category-card:nth-child(5) { /* Packaging */
    grid-column: 6 / 9;
    grid-row: 2 / 3;
    border-radius: 100px 0 100px 0;
}

.sf-category-card:nth-child(6) { /* Distribution */
    grid-column: 9 / 12;
    grid-row: 2 / 3;
    border-radius: 100px 0 100px 0;
}

/* -------- ROW 3 - ALIGNED RIGHT (3 cards) -------- */
.sf-category-card:nth-child(7) { /* Equipment */
    grid-column: 2 / 5;
    grid-row: 3 / 4;
    border-radius: 0 100px 0 100px;
}

.sf-category-card:nth-child(8) { /* Institutions */
    grid-column: 5 / 8;
    grid-row: 3 / 4;
    border-radius: 0 100px 0 100px;
}

.sf-category-card:nth-child(9) { /* Green Energy */
    grid-column: 8 / 11;
    grid-row: 3 / 4;
    border-radius: 0 100px 0 100px;
}

/* ========================================
   CATEGORY CARD - OPTIMIZED
======================================== */

.sf-category-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* GPU Acceleration */
    transform: translateZ(0);
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Initial state for entrance animation */
    opacity: 0;
    transform: translateY(30px);
}

.sf-category-card:hover {
    transform: translateZ(0) translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.sf-category-card:active {
    transform: translateZ(0) translateY(-4px);
}

/* ========================================
   BACKGROUND IMAGE - OPTIMIZED
======================================== */

.sf-category-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
    /* GPU Acceleration */
    transform: translateZ(0) scale(1);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease-in;
    /* Image rendering optimization */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* Initial hidden state */
    opacity: 0;
}

/* Image loaded state */
.sf-category-bg.sf-img-loaded {
    opacity: 1;
}

.sf-category-card:hover .sf-category-bg {
    transform: translateZ(0) scale(1.15);
}

/* ========================================
   SKELETON LOADER
======================================== */

.sf-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        #d0d0d0 25%,
        #c0c0c0 50%,
        #d0d0d0 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    z-index: 0;
}

.sf-category-card.loaded::before {
    display: none;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Error state */
.sf-category-card.error::before {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    animation: none;
}

/* ========================================
   DARK OVERLAY
======================================== */

.sf-category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.sf-category-card:hover .sf-category-overlay {
    background: rgba(0, 0, 0, 0.65);
}

/* ========================================
   CATEGORY CONTENT
======================================== */

.sf-category-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sf-category-title {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.3;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .sf-categories-grid {
        grid-auto-rows: 320px;
        gap: 25px;
    }
    
    .sf-category-title {
        font-size: 24px;
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) {
    .sf-categories-main-title {
        font-size: 38px;
        margin-bottom: 70px;
    }
    
    .sf-categories-grid {
        grid-auto-rows: 260px;
    }
    
    .sf-category-title {
        font-size: 20px;
    }
}

/* Laptop (992px - 1199px) */
@media (max-width: 1199px) {
    .sf-categories-section {
        padding: 70px 0;
    }
    
    .sf-categories-main-title {
        font-size: 36px;
        margin-bottom: 60px;
    }
    
    .sf-categories-grid {
        grid-auto-rows: 240px;
        gap: 15px;
    }
    
    .sf-category-title {
        font-size: 18px;
        letter-spacing: 1.5px;
    }
}

/* Tablet (768px - 991px) - 2 Per Row */
@media (max-width: 991px) {
    .sf-categories-section {
        padding: 60px 0;
    }
    
    .sf-categories-main-title {
        font-size: 32px;
        margin-bottom: 50px;
    }
    
    .sf-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 280px;
        gap: 20px;
    }
    
    /* Reset all positions - 2 per row */
    .sf-category-card:nth-child(n) {
        grid-column: auto !important;
        grid-row: auto !important;
    }
    
    /* Alternate border radius */
    .sf-category-card:nth-child(odd) {
        border-radius: 0 80px 0 80px !important;
    }
    
    .sf-category-card:nth-child(even) {
        border-radius: 80px 0 80px 0 !important;
    }
    
    .sf-category-title {
        font-size: 20px;
    }
}

/* Mobile (576px - 767px) - 1 Per Row */
@media (max-width: 767px) {
    .sf-categories-section {
        padding: 50px 0;
    }
    
    .sf-categories-main-title {
        font-size: 28px;
        margin-bottom: 40px;
        padding: 0 10px;
    }
    
    .sf-categories-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        gap: 20px;
    }
    
    /* Reset all cards - stacked vertically */
    .sf-category-card:nth-child(n) {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        border-radius: 60px 0 60px 0 !important;
    }
    
    .sf-category-title {
        font-size: 22px;
        letter-spacing: 1.5px;
    }
}

/* Small Mobile (480px - 575px) */
@media (max-width: 575px) {
    .sf-categories-section {
        padding: 40px 0;
    }
    
    .sf-categories-main-title {
        font-size: 24px;
        margin-bottom: 35px;
    }
    
    .sf-categories-grid {
        grid-auto-rows: 220px;
        gap: 15px;
    }
    
    .sf-category-title {
        font-size: 20px;
        letter-spacing: 1.2px;
    }
}

/* Extra Small Mobile (320px - 479px) */
@media (max-width: 479px) {
    .sf-categories-main-title {
        font-size: 22px;
        margin-bottom: 30px;
    }
    
    .sf-categories-grid {
        grid-auto-rows: 200px;
    }
    
    .sf-category-card {
        border-radius: 50px 0 50px 0 !important;
    }
    
    .sf-category-title {
        font-size: 18px;
        letter-spacing: 1px;
    }
}

/* ========================================
   TOUCH DEVICES
======================================== */

@media (hover: none) {
    .sf-category-card.active .sf-category-overlay {
        background: rgba(0, 0, 0, 0.65);
    }
    
    .sf-category-card.active .sf-category-bg {
        transform: translateZ(0) scale(1.1);
    }
}

/* ========================================
   ACCESSIBILITY
======================================== */

.sf-category-card:focus {
    outline: 3px solid #00a8e8;
    outline-offset: 2px;
}

.sf-category-card:focus-visible {
    outline: 3px solid #00a8e8;
    outline-offset: 2px;
}

/* ========================================
   PRINT STYLES
======================================== */

@media print {
    .sf-categories-section {
        padding: 40px 0;
    }
    
    .sf-categories-grid {
        display: block;
    }
    
    .sf-category-card {
        break-inside: avoid;
        margin-bottom: 20px;
        border-radius: 0 !important;
        page-break-inside: avoid;
    }
    
    .sf-category-overlay {
        background: rgba(0, 0, 0, 0.3);
    }
    
    .sf-category-card:hover {
        transform: none;
    }
    
    .sf-category-card::before {
        display: none;
    }
}

/* ========================================
   REDUCE MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
    .sf-category-card,
    .sf-category-bg,
    .sf-category-overlay,
    .sf-category-content {
        animation: none !important;
        transition: none !important;
    }
    
    .sf-category-card:hover {
        transform: none;
    }
    
    .sf-category-card:hover .sf-category-bg {
        transform: none;
    }
    
    .sf-category-card::before {
        animation: none;
    }
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
======================================== */

/* Contain layout shifts */
.sf-category-card {
    contain: layout style paint;
}

/* Optimize paint performance */
.sf-category-bg,
.sf-category-overlay {
    will-change: transform;
}

/* Remove will-change after interaction */
.sf-category-card:not(:hover) .sf-category-bg,
.sf-category-card:not(:hover) .sf-category-overlay {
    will-change: auto;
}

/* ========================================
   DARK MODE SUPPORT (Optional)
======================================== */

@media (prefers-color-scheme: dark) {
    .sf-categories-section {
        background: #1a1a2e;
    }
    
    .sf-categories-main-title {
        color: #ffffff;
    }
    
    .sf-category-card::before {
        background: linear-gradient(
            90deg,
            #2d2d3d 25%,
            #3d3d4d 50%,
            #2d2d3d 75%
        );
    }
}

/* Inline critical CSS for faster initial render */
.sf-categories-section {
    padding: 80px 0;
    background: #ffffff;
}

.sf-categories-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 280px;
    gap: 20px;
}

.sf-category-card {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sf-category-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sf-category-bg.sf-img-loaded {
    opacity: 1;
}

/* ============================================
   EXPLORE SECTION - BIG GREEN TITLE
   Version: 1.0
============================================ */

/* -------- SECTION WRAPPER -------- */
.sf-explore-section {
    padding: 0px 0 50px;
    background: #ffffff;
    position: relative;
}

.sf-explore-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

/* -------- BIG TITLE -------- */
.sf-explore-title {
    font-size: 38px;
    font-weight: 900;
    color: #1a2b4a;
    margin: 0;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: -1px;
    font-family: 'Arial Black', 'Helvetica', sans-serif;
}

/* -------- RESPONSIVE DESIGN -------- */

/* Large Desktop */
@media (max-width: 1400px) {
    .sf-explore-title {
        font-size: 38px;
    }
}

/* Desktop */
@media (max-width: 1199px) {
    .sf-explore-section {
        padding: 70px 0 30px;
    }
    
    .sf-explore-title {
        font-size: 38px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .sf-explore-section {
        padding: 60px 0 20px;
    }
    
    .sf-explore-title {
        font-size: 38px;
        letter-spacing: 0;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .sf-explore-section {
        padding: 50px 0 20px;
    }
    
    .sf-explore-title {
        font-size: 38px;
        line-height: 1.2;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .sf-explore-section {
        padding: 40px 0 15px;
    }
    
    .sf-explore-title {
        text-align: justify;
        font-size: 30px;
    }
}

/* -------- PRINT STYLES -------- */
@media print {
    .sf-explore-section {
        padding: 30px 0 15px;
    }
    
    .sf-explore-title {
        font-size: 38px;
    }
}

/* ============================================
   SUMMIT SECTION - WITH CAROUSEL AFTER TITLE
   Version: 3.0 - Mobile: Logo → Title → Carousel → Rest
============================================ */

/* -------- SECTION WRAPPER -------- */
.sf-summit-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

/* ============================================
   BACKGROUND IMAGE - ABSOLUTE (NOT FIXED)
============================================ */
.sf-summit-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sf-summit-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sf-summit-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.436);
    pointer-events: none;
}

/* -------- CONTAINER -------- */
.sf-summit-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 10;
}

.sf-summit-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* -------- LEFT SIDE - CONTENT -------- */
.sf-summit-content {
    color: #ffffff;
    position: relative;
    z-index: 10;
}

.sf-summit-logo {
    margin-bottom: 40px;
}

.sf-summit-logo img {
    width: 25rem;
    height: auto;
}

.sf-summit-title {
    text-align: justify;
    font-size: 27px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 30px 0;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sf-summit-text {
    text-align: justify;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin: 0 0 20px 0;
}

/* -------- SUBTITLE -------- */
.sf-summit-subtitle {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 35px 0 20px 0;
    line-height: 1.4;
}

/* -------- BULLET POINTS LIST -------- */
.sf-summit-features {
    text-align: justify;
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.sf-summit-feature-item {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin: 0 0 15px 0;
    padding-left: 30px;
    position: relative;
}

.sf-summit-feature-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ff8030;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
}

/* -------- CLOSING PARAGRAPH -------- */
.sf-summit-closing {
    text-align: justify;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.98);
    line-height: 1.7;
    margin: 25px 0 0 0;
    font-style: italic;
}

.sf-summit-btn-wrapper {
    margin-top: 35px;
}

.sf-summit-btn {
    display: inline-block;
    padding: 16px 45px;
    background: #ff8030;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sf-summit-btn:hover {
    background: #ff8030;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

/* -------- DIAGONAL DECORATIONS -------- */
.sf-summit-diagonal-top,
.sf-summit-diagonal-bottom {
    position: absolute;
    z-index: 2;
}

/* ============================================
   IMAGE CAROUSEL - DESKTOP & MOBILE VERSIONS
============================================ */

.sf-summit-carousel {
    position: relative;
    z-index: 10;
    width: 100%;
    height: auto;
}

.sf-summit-carousel-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.sf-summit-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}

.sf-summit-carousel-slide.active {
    position: relative;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.sf-summit-carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* -------- Navigation Dots -------- */
.sf-summit-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 0;
}

.sf-summit-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sf-summit-carousel-dot.active {
    background: #ff8030;
    border-color: #ffffff;
    transform: scale(1.2);
}

.sf-summit-carousel-dot:hover {
    background: rgba(255, 128, 48, 0.7);
}

/* ✅ DESKTOP: Hide mobile carousel, show desktop carousel */
.sf-summit-carousel-mobile {
    display: none;
}

.sf-summit-carousel-desktop {
    display: block;
}

/* -------- RESPONSIVE DESIGN -------- */

/* Large Desktop */
@media (max-width: 1400px) {
    .sf-summit-container {
        max-width: 1200px;
    }
    
    .sf-summit-wrapper {
        gap: 60px;
    }
}

/* Desktop */
@media (max-width: 1199px) {
    .sf-summit-section {
        padding: 80px 0;
    }
    
    .sf-summit-wrapper {
        gap: 50px;
    }
    
    .sf-summit-title {
        font-size: 34px;
    }
    
    .sf-summit-subtitle {
        font-size: 20px;
    }
    
    .sf-summit-logo img {
        max-width: 250px;
    }
}

/* ✅ TABLET & MOBILE - CAROUSEL AFTER TITLE */
@media (max-width: 991px) {
    .sf-summit-section {
        padding: 70px 0;
        min-height: auto;
    }
    
    .sf-summit-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Hide desktop carousel */
    .sf-summit-carousel-desktop {
        display: none;
    }
    
    /* Show mobile carousel (positioned after title in HTML) */
    .sf-summit-carousel-mobile {
        display: block;
        margin: 30px 0;
    }
    
    .sf-summit-content {
        text-align: left;
    }
    
    .sf-summit-title {
        font-size: 32px;
        margin-bottom: 25px;
    }
    
    .sf-summit-subtitle {
        font-size: 19px;
        margin: 30px 0 18px 0;
    }
    
    .sf-summit-text {
        font-size: 15px;
    }
    
    .sf-summit-feature-item {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .sf-summit-closing {
        font-size: 15px;
    }
    
    .sf-summit-logo {
        margin-bottom: 30px;
    }
    
    .sf-summit-carousel-wrapper {
        border-radius: 15px;
    }
}

/* Mobile - Better Spacing */
@media (max-width: 767px) {
    .sf-summit-section {
        padding: 60px 0;
    }
    
    .sf-summit-carousel-mobile {
        margin: 25px 0;
    }
    
    .sf-summit-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .sf-summit-subtitle {
        font-size: 18px;
        margin: 25px 0 15px 0;
    }
    
    .sf-summit-text {
        font-size: 14px;
        margin-bottom: 18px;
    }
    
    .sf-summit-feature-item {
        font-size: 13px;
        padding-left: 25px;
        margin-bottom: 10px;
    }
    
    .sf-summit-feature-item::before {
        font-size: 20px;
    }
    
    .sf-summit-closing {
        font-size: 14px;
        margin-top: 20px;
    }
    
    .sf-summit-logo img {
        max-width: 220px;
    }
    
    .sf-summit-btn {
        padding: 14px 35px;
        font-size: 14px;
    }
    
    .sf-summit-carousel-dots {
        gap: 8px;
        margin-top: 15px;
    }
    
    .sf-summit-carousel-dot {
        width: 10px;
        height: 10px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .sf-summit-section {
        padding: 50px 0;
    }
    
    .sf-summit-carousel-mobile {
        margin: 20px 0;
    }
    
    .sf-summit-title {
        font-size: 24px;
    }
    
    .sf-summit-subtitle {
        font-size: 17px;
    }
    
    .sf-summit-text {
        font-size: 13px;
    }
    
    .sf-summit-feature-item {
        font-size: 12px;
        padding-left: 22px;
    }
    
    .sf-summit-closing {
        font-size: 13px;
    }
    
    .sf-summit-logo img {
        max-width: 200px;
    }
    
    .sf-summit-btn {
        padding: 12px 30px;
        font-size: 13px;
        width: 100%;
        text-align: center;
    }
    
    .sf-summit-carousel-wrapper {
        border-radius: 12px;
    }
    
    .sf-summit-carousel-slide img {
        border-radius: 12px;
    }
}

/* -------- ACCESSIBILITY -------- */
.sf-summit-btn:focus {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

/* -------- PRINT STYLES -------- */
@media print {
    .sf-summit-diagonal-top,
    .sf-summit-diagonal-bottom,
    .sf-summit-carousel {
        display: none;
    }
    
    .sf-summit-section {
        background: #7b4397 !important;
        padding: 40px 0;
    }
    
    .sf-summit-wrapper {
        gap: 30px;
    }
    
    .sf-summit-features {
        margin-left: 20px;
    }
}


/* ============================================
   GLOBAL CONNECTIONS SECTION - TITLE
   Version: 1.0
============================================ */

/* -------- SECTION WRAPPER -------- */
.sf-connections-section {
    padding: 80px 0 80px;
    background: #ffffff;
    position: relative;
}

.sf-connections-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

/* -------- BIG TITLE -------- */
.sf-connections-title {
    font-size: 38px;
    font-weight: 900;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-family: 'Arial Black', 'Helvetica', sans-serif;
    position: relative;
    display: inline-block;
}

/* Decorative Line Under Title */
.sf-connections-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #1a1a2e;
}

/* -------- RESPONSIVE DESIGN -------- */

/* Large Desktop */
@media (max-width: 1400px) {
    .sf-connections-title {
        font-size: 38px;
    }
}

/* Desktop */
@media (max-width: 1199px) {
    .sf-connections-section {
        padding: 70px 0 30px;
    }
    
    .sf-connections-title {
        font-size: 38px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .sf-connections-section {
        padding: 60px 0 20px;
    }
    
    .sf-connections-title {
        font-size: 38px;
        letter-spacing: 0;
    }
    
    .sf-connections-title::after {
        width: 60px;
        height: 3px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .sf-connections-section {
        padding: 50px 0 20px;
    }
    
    .sf-connections-title {
        font-size: 36px;
        line-height: 1.3;
    }
    
    .sf-connections-title::after {
        bottom: -12px;
        width: 50px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .sf-connections-section {
        padding: 40px 0 40px;
    }
    
    .sf-connections-title {
        text-align: justify;
        font-size: 17px;
    }
    
    .sf-connections-title::after {
        width: 40px;
        height: 2px;
    }
}

/* -------- PRINT STYLES -------- */
@media print {
    .sf-connections-section {
        padding: 30px 0 15px;
    }
    
    .sf-connections-title {
        font-size: 38px;
    }
}



/* ============================================
   TAWASUL SECTION - WITH PARALLAX & LOOP VIDEO
   Version: 5.0 - Video Loop Background Style
============================================ */

/* -------- SECTION WRAPPER -------- */
.sf-tawasul-section {
    padding: 100px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

/* -------- DIAGONAL DECORATIONS (HIDDEN) -------- */
.sf-tawasul-diagonal-blue {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 150px 0 0 400px;
    border-color: transparent transparent transparent #c10e0e;
    z-index: 1;
}

.sf-tawasul-diagonal-orange {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 300px 120px 0;
    border-color: transparent #1a2b4a transparent transparent;
    z-index: 1;
}

/* -------- BACKGROUND IMAGE - ABSOLUTE -------- */
.sf-tawasul-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.sf-tawasul-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Optional: Light overlay for better readability */
.sf-tawasul-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

/* -------- CONTAINER -------- */
.sf-tawasul-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 10;
}

.sf-tawasul-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* -------- LEFT SIDE - CONTENT -------- */
.sf-tawasul-content {
    color: #1a1a2e;
    position: relative;
    z-index: 10;
}

/* Main Headline */
.sf-tawasul-headline {
    font-size: 27px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 30px 0;
    line-height: 1.3;
    text-align: justify;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* tawasul imge Section */
.sf-tawasul-imge {
    margin-bottom: 10px;
}

.sf-tawasul-imge img {
    width: 20rem;
    height: auto;
}

.sf-tawasul-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #ff8030;
    margin: 0;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Text Paragraphs */
.sf-tawasul-text {
    text-align: justify;
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

/* Highlight Text */
.sf-tawasul-highlight {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.6;
    margin: 25px 0 15px 0;
}

/* Tagline Text */
.sf-tawasul-tagline {
    text-align: justify;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.6;
    margin: 0 0 20px 0;
    font-style: italic;
}

/* Button */
.sf-tawasul-btn-wrapper {
    margin-top: 35px;
}

.sf-tawasul-btn {
    display: inline-block;
    padding: 16px 45px;
    background: #ff8030;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sf-tawasul-btn:hover {
    background: #0c1f35;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

/* -------- RIGHT SIDE - VIDEO (Loop Background Style) -------- */
.sf-tawasul-video {
    position: relative;
    z-index: 10;
}

.sf-video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    background: #000;
}

.sf-tawasul-video-player {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    object-fit: cover;
}

/* Optional: Subtle Gradient Overlay on Video */
.sf-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.1) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* ✅ DESKTOP: Hide mobile video, show desktop video */
.sf-tawasul-video-mobile {
    display: none;
}

.sf-tawasul-video-desktop {
    display: block;
}

/* -------- RESPONSIVE DESIGN -------- */

/* Large Desktop */
@media (max-width: 1400px) {
    .sf-tawasul-container {
        max-width: 1200px;
    }
    
    .sf-tawasul-wrapper {
        gap: 60px;
    }
}

/* Desktop */
@media (max-width: 1199px) {
    .sf-tawasul-section {
        padding: 80px 0;
    }
    
    .sf-tawasul-wrapper {
        gap: 50px;
    }
    
    .sf-tawasul-headline {
        font-size: 28px;
    }
    
    .sf-tawasul-subtitle {
        font-size: 18px;
        letter-spacing: 2.5px;
    }
}

/* ✅ TABLET & MOBILE - VIDEO AFTER LOGO + TITLE */
@media (max-width: 991px) {
    .sf-tawasul-section {
        padding: 70px 0;
        min-height: auto;
    }
    
    .sf-tawasul-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Hide desktop video */
    .sf-tawasul-video-desktop {
        display: none;
    }
    
    /* Show mobile video (positioned after title in HTML) */
    .sf-tawasul-video-mobile {
        display: block;
        margin: 30px 0;
    }
    
    .sf-tawasul-content {
        text-align: left;
    }
    
    .sf-tawasul-headline {
        font-size: 26px;
        margin-bottom: 25px;
    }
    
    .sf-tawasul-subtitle {
        font-size: 17px;
        letter-spacing: 2px;
    }
    
    .sf-tawasul-text {
        font-size: 15px;
    }
    
    .sf-tawasul-highlight {
        font-size: 16px;
        margin: 20px 0 12px 0;
    }
    
    .sf-tawasul-tagline {
        font-size: 15px;
    }
    
    .sf-tawasul-imge {
        margin-bottom: 20px;
    }

    .sf-tawasul-imge img {
        width: 10rem;
        height: auto;
    }
}

/* Mobile - Better Spacing */
@media (max-width: 767px) {
    .sf-tawasul-section {
        padding: 60px 0;
    }
    
    .sf-tawasul-video-mobile {
        margin: 25px 0;
    }
    
    .sf-tawasul-headline {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .sf-tawasul-subtitle {
        font-size: 16px;
        letter-spacing: 1.5px;
    }
    
    .sf-tawasul-text {
        font-size: 14px;
        margin-bottom: 18px;
    }
    
    .sf-tawasul-highlight {
        font-size: 15px;
        margin: 18px 0 10px 0;
    }
    
    .sf-tawasul-tagline {
        font-size: 14px;
        margin-bottom: 18px;
    }
    
    .sf-tawasul-btn {
        padding: 14px 35px;
        font-size: 14px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .sf-tawasul-section {
        padding: 50px 0;
    }
    
    .sf-tawasul-video-mobile {
        margin: 20px 0;
    }
    
    .sf-tawasul-headline {
        font-size: 17px;
        line-height: 1.4;
    }
    
    .sf-tawasul-subtitle {
        font-size: 15px;
        letter-spacing: 1px;
    }
    
    .sf-tawasul-text {
        font-size: 13px;
    }
    
    .sf-tawasul-highlight {
        font-size: 14px;
    }
    
    .sf-tawasul-tagline {
        font-size: 13px;
    }
    
    .sf-tawasul-btn {
        padding: 12px 30px;
        font-size: 13px;
        width: 100%;
        text-align: center;
    }
    
    .sf-tawasul-imge img {
        width: 9rem;
    }
}

/* -------- ACCESSIBILITY -------- */
.sf-tawasul-btn:focus {
    outline: 3px solid #ff8030;
    outline-offset: 4px;
}

/* -------- PRINT STYLES -------- */
@media print {
    .sf-tawasul-diagonal-blue,
    .sf-tawasul-diagonal-orange,
    .sf-tawasul-video-mobile,
    .sf-tawasul-video-desktop {
        display: none;
    }
    
    .sf-tawasul-section {
        background: #f4d03f !important;
        padding: 40px 0;
    }
    
    .sf-tawasul-wrapper {
        gap: 30px;
    }
}


/* ============================================
   TABADUL SECTION - WITH PARALLAX INSIDE SECTION
   Version: 3.0 - Mobile: Carousel after Logo + Title
============================================ */

/* -------- SECTION WRAPPER -------- */
.top-table-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.top-table-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* ============================================
   BACKGROUND IMAGE - ABSOLUTE
============================================ */
.top-table-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.top-table-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Optional: Light overlay for better readability */
.top-table-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

/* -------- CONTAINER -------- */
.top-table-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 10;
}

/* -------- MAIN HERO GRID -------- */
.top-table-hero {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

/* -------- LEFT CONTENT -------- */
.tt-content-left {
    color: #ffffff;
    position: relative;
    z-index: 10;
}

/* Main Headline */
.tt-main-headline {
    text-align: justify;
    font-size: 27px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

/* TABADUL imge Section */
.sf-TABADUL-imge {
    margin-bottom: 10px;
}

.sf-TABADUL-imge img {
    width: 20rem;
    height: auto;
}

/* Logo Subtitle */
.tt-logo-subtitle {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
    color: #ff8030;
}

.tt-description {
    text-align: justify;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
}

.tt-description strong {
    font-weight: 700;
}

/* Highlight Paragraph */
.tt-highlight {
    text-align: justify;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 20px;
    font-weight: 500;
}

/* Closing Paragraph */
.tt-closing {
    text-align: justify;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 20px;
    font-weight: 600;
    font-style: italic;
}

.tt-cta-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: #ff8030;
    border: 2px solid #ff8030;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 50px;
}

.tt-cta-button:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================
   TABADUL IMAGE CAROUSEL
   Version: 1.1 - FASTER TRANSITIONS
============================================ */

.tt-carousel {
    position: relative;
    z-index: 10;
    width: 100%;
    height: auto;
}

.tt-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.tt-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.tt-carousel-slide.active {
    position: relative;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.tt-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* -------- Navigation Dots -------- */
.tt-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 0;
}

.tt-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tt-carousel-dot.active {
    background: #ff8030;
    border-color: #ffffff;
    transform: scale(1.2);
}

.tt-carousel-dot:hover {
    background: rgba(255, 128, 48, 0.7);
}

/* ✅ DESKTOP: Hide mobile carousel, show desktop carousel */
.tt-carousel-mobile {
    display: none;
}

.tt-carousel-desktop {
    display: block;
}

/* -------- RESPONSIVE DESIGN -------- */

/* Large Desktop */
@media (max-width: 1400px) {
    .top-table-container {
        max-width: 1200px;
    }
}

@media (max-width: 1024px) {
    .top-table-hero {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .tt-main-headline {
        font-size: 24px;
    }

    .tt-logo-subtitle {
        font-size: 20px;
    }

    .tt-carousel-wrapper {
        height: 400px;
    }
}

/* ✅ TABLET & MOBILE - CAROUSEL AFTER LOGO + TITLE */
@media (max-width: 991px) {
    .top-table-section {
        padding: 70px 0;
        min-height: auto;
    }
    
    .top-table-hero {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Hide desktop carousel */
    .tt-carousel-desktop {
        display: none;
    }
    
    /* Show mobile carousel (positioned after title in HTML) */
    .tt-carousel-mobile {
        display: block;
        margin: 30px 0;
    }
    
    .tt-main-headline {
        font-size: 26px;
    }
    
    .tt-logo-subtitle {
        font-size: 19px;
    }
}

@media (max-width: 768px) {
    .top-table-section {
        padding: 60px 0;
    }

    .top-table-container {
        padding: 0 20px;
    }

    .top-table-hero {
        gap: 0;
    }
    
    .tt-carousel-mobile {
        margin: 25px 0;
    }

    .tt-main-headline {
        font-size: 20px;
        margin-bottom: 25px;
    }

    /* TABADUL imge Section */
    .sf-TABADUL-imge {
        margin-bottom: 10px;
    }

    .sf-TABADUL-imge img {
        width: 20rem;
        height: auto;
    }

    .tt-logo-subtitle {
        font-size: 18px;
        letter-spacing: 1.5px;
    }

    .tt-description {
        font-size: 14px;
    }

    .tt-highlight {
        font-size: 14px;
    }

    .tt-closing {
        font-size: 14px;
    }

    .tt-carousel-wrapper {
        height: 350px;
    }
    
    .tt-carousel-dots {
        gap: 8px;
        margin-top: 15px;
    }
    
    .tt-carousel-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .top-table-section {
        padding: 50px 0;
    }
    
    .tt-carousel-mobile {
        margin: 20px 0;
    }

    .tt-main-headline {
        font-size: 17px;
        line-height: 1.4;
    }

    .tt-logo-subtitle {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .tt-description {
        font-size: 13px;
    }

    .tt-highlight {
        font-size: 13px;
    }

    .tt-closing {
        font-size: 13px;
    }

    .tt-cta-button {
        padding: 12px 30px;
        font-size: 12px;
        width: 100%;
        text-align: center;
    }

    .tt-carousel-wrapper {
        height: 300px;
    }
    
    .tt-carousel-dots {
        gap: 6px;
        margin-top: 12px;
    }
    
    .tt-carousel-dot {
        width: 8px;
        height: 8px;
    }
    
    .sf-TABADUL-imge img {
        width: 18rem;
    }
}

/* -------- ACCESSIBILITY -------- */
.tt-cta-button:focus {
    outline: 3px solid #ff8030;
    outline-offset: 4px;
}

/* -------- PRINT STYLES -------- */
@media print {
    .tt-carousel-mobile {
        display: none;
    }
    
    .tt-carousel-desktop {
        display: block;
    }
}

/* -------- APP DOWNLOAD BADGES -------- */
.tt-app-badges {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tt-app-badges a {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.tt-app-badges a:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

.tt-badge-img {
    height: 45px;
    width: auto;
    display: block;
    border-radius: 8px;
}

@media (max-width: 480px) {
    .tt-app-badges {
        gap: 10px;
    }
    
    .tt-badge-img {
        height: 40px;
    }
}

/* ============================================
   INTERVIEWS SECTION - SWIPER SLIDER
   Version: 3.0 - Fixed Background on Mobile
============================================ */

/* -------- SECTION WRAPPER -------- */
.sf-interviews-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

/* ============================================
   BACKGROUND IMAGE - ABSOLUTE
============================================ */
.sf-interviews-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sf-interviews-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Optional: Overlay for better readability */
.sf-interviews-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sf-interviews-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 10; /* Above background */
}

/* -------- SECTION HEADER -------- */
.sf-interviews-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.sf-interviews-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #00a8e8;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.sf-interviews-title {
    font-size: 48px;
    font-weight: 900;
    color: #1a1a2e;
    margin: 0 0 20px 0;
    line-height: 1.3;
    text-transform: uppercase;
}

.sf-interviews-line {
    width: 80px;
    height: 4px;
    background: #00a8e8;
    margin: 0 auto;
}

/* -------- SLIDER WRAPPER -------- */
.sf-interviews-slider-wrapper {
    position: relative;
    padding: 0 50px;
    z-index: 10; /* Above background */
}

/* -------- INTERVIEW CARD -------- */
.sf-interview-card {
    background: rgba(248, 249, 250, 0.95); /* Semi-transparent */
    backdrop-filter: blur(10px); /* Blur effect */
    border-radius: 20px;
    padding: 40px 30px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.sf-interview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.98); /* More opaque on hover */
}

/* Overlay Gradient */
.sf-interview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to top, rgba(0, 168, 232, 0.1), transparent);
    transition: height 0.4s ease;
    z-index: 0;
}

.sf-interview-card:hover .sf-interview-overlay {
    height: 100%;
}

/* Logo */
.sf-interview-logo {
    width: 100%;
    max-width: 180px;
    height: 100px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.sf-interview-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Content */
.sf-interview-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.sf-interview-company {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.sf-interview-text {
    text-align: justify;
    font-size: 15px;
    font-weight: 400;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* -------- SWIPER NAVIGATION -------- */
.sf-interviews-prev,
.sf-interviews-next {
    width: 50px;
    height: 50px;
    background: #00a8e8;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
    z-index: 20; /* Above everything */
}

.sf-interviews-prev:after,
.sf-interviews-next:after {
    font-size: 20px;
    font-weight: 900;
}

.sf-interviews-prev:hover,
.sf-interviews-next:hover {
    background: #0e8296;
    transform: scale(1.1);
}

.sf-interviews-prev {
    left: 0;
}

.sf-interviews-next {
    right: 0;
}

/* -------- SWIPER PAGINATION -------- */
.sf-interviews-pagination {
    position: relative;
    bottom: -40px !important;
    z-index: 20; /* Above everything */
}

.sf-interviews-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #cbd5e1;
    opacity: 1;
    transition: all 0.3s ease;
}

.sf-interviews-pagination .swiper-pagination-bullet-active {
    background: #00a8e8;
    width: 32px;
    border-radius: 6px;
}

/* -------- RESPONSIVE DESIGN -------- */

/* Large Desktop */
@media (max-width: 1400px) {
    .sf-interviews-container {
        max-width: 1200px;
    }
}

/* Desktop */
@media (max-width: 1199px) {
    .sf-interviews-section {
        padding: 80px 0;
    }
    
    .sf-interviews-title {
        font-size: 42px;
    }
    
    .sf-interview-card {
        height: 380px;
        padding: 35px 25px;
    }
}

/* ✅ TABLET & MOBILE - NO PARALLAX */
@media (max-width: 991px) {
    .sf-interviews-section {
        padding: 70px 0;
    }
    
    /* ✅ KEEP ABSOLUTE BUT DISABLE PARALLAX */
    .sf-interviews-bg-image {
        position: absolute;
        transform: none !important; /* Override parallax */
    }
    
    .sf-interviews-header {
        margin-bottom: 50px;
    }
    
    .sf-interviews-title {
        font-size: 36px;
    }
    
    .sf-interviews-slider-wrapper {
        padding: 0 40px;
    }
    
    .sf-interview-card {
        height: 360px;
    }
    
    .sf-interviews-prev,
    .sf-interviews-next {
        width: 45px;
        height: 45px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .sf-interviews-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    /* ✅ KEEP ABSOLUTE, NO PARALLAX */
    .sf-interviews-bg-image {
        position: absolute;
        transform: none !important;
    }
    
    /* ✅ ADD STRONGER OVERLAY FOR READABILITY */
    .sf-interviews-bg-image::after {
        background: rgba(0, 0, 0, 0.3);
    }
    
    .sf-interviews-header {
        margin-bottom: 40px;
    }
    
    .sf-interviews-title {
        font-size: 32px;
    }
    
    .sf-interviews-slider-wrapper {
        padding: 0 30px;
    }
    
    .sf-interview-card {
        height: 340px;
        padding: 30px 20px;
        background: rgba(255, 255, 255, 0.95); /* More opaque for readability */
    }
    
    .sf-interview-logo {
        max-width: 150px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .sf-interview-company {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .sf-interview-text {
        font-size: 14px;
    }
    
    .sf-interviews-prev,
    .sf-interviews-next {
        width: 40px;
        height: 40px;
    }
    
    .sf-interviews-prev:after,
    .sf-interviews-next:after {
        font-size: 18px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .sf-interviews-section {
        padding: 50px 0;
    }
    
    /* ✅ KEEP ABSOLUTE, NO PARALLAX */
    .sf-interviews-bg-image {
        position: absolute;
        transform: none !important;
    }
    
    .sf-interviews-title {
        font-size: 28px;
    }
    
    .sf-interviews-slider-wrapper {
        padding: 0 20px;
    }
    
    .sf-interview-card {
        height: 320px;
        padding: 25px 18px;
        background: rgba(255, 255, 255, 0.97); /* Even more opaque */
    }
    
    .sf-interview-logo {
        max-width: 130px;
        height: 70px;
    }
    
    .sf-interview-company {
        font-size: 17px;
    }
    
    .sf-interview-text {
        font-size: 13px;
    }
    
    .sf-interviews-prev,
    .sf-interviews-next {
        width: 35px;
        height: 35px;
    }
    
    .sf-interviews-prev:after,
    .sf-interviews-next:after {
        font-size: 16px;
    }
}

/* -------- PRINT STYLES -------- */
@media print {
    .sf-interviews-bg-image {
        display: none !important;
    }
    
    .sf-interviews-section {
        padding: 40px 0;
        background: #ffffff !important;
    }
    
    .sf-interviews-prev,
    .sf-interviews-next,
    .sf-interviews-pagination {
        display: none !important;
    }
    
    .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .sf-interview-card {
        break-inside: avoid;
    }
}


/* ============================================
   VIDEOS SECTION - SLIDER WITH MODAL
   Version: 2.0 - Improved Mobile Responsive
============================================ */

/* -------- SECTION WRAPPER -------- */
.sf-videos-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.sf-videos-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* -------- HEADER -------- */
.sf-videos-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease;
}

.sf-videos-subtitle {
    color: #00a8e8;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    display: inline-block;
    margin-bottom: 12px;
}

.sf-videos-title {
    color: #1a1a2e;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.3;
    max-width: 800px;
    margin: 0 auto 20px;
    letter-spacing: -0.5px;
}

.sf-videos-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00a8e8 0%, #0e8296 100%);
    margin: 0 auto;
    border-radius: 2px;
}

/* -------- SLIDER WRAPPER -------- */
.sf-videos-slider-wrapper {
    position: relative;
    overflow: visible;
    padding: 20px 0 80px;
}

.sf-videos-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
    padding: 0 60px;
    cursor: grab;
}

.sf-videos-slider:active {
    cursor: grabbing;
}

/* -------- VIDEO CARD -------- */
.sf-video-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    width: calc(25% - 22.5px);
}

.sf-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Video Thumbnail */
.sf-video-thumbnail {
    position: relative;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    background: #f8f9fa;
}

.sf-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.sf-video-card:hover .sf-video-thumbnail img {
    transform: scale(1.1);
}

/* Play Button */
.sf-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(0, 168, 232, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.sf-play-button svg {
    margin-left: 4px;
}

.sf-video-card:hover .sf-play-button {
    transform: translate(-50%, -50%) scale(1.15);
    background: #00a8e8;
    box-shadow: 0 0 30px rgba(0, 168, 232, 0.6);
}

/* Video Info */
.sf-video-info {
    padding: 20px;
}

.sf-video-title {
    color: #1a1a2e;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.sf-video-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* -------- NAVIGATION ARROWS -------- */
.sf-videos-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sf-videos-nav:hover {
    background: linear-gradient(135deg, #58c0ef 0%, #0e8296 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
}

.sf-videos-prev {
    left: 10px;
}

.sf-videos-next {
    right: 10px;
}

/* -------- DOTS -------- */
.sf-videos-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.sf-videos-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sf-videos-dot.active {
    background: #00a8e8;
    width: 30px;
    border-radius: 6px;
}

/* -------- VIDEO MODAL -------- */
.sf-video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.sf-video-modal.active {
    display: block;
}

.sf-video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.sf-video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80%;
    margin: 5% auto;
    z-index: 2;
}

.sf-video-modal-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: #dc3545;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sf-video-modal-close:hover {
    transform: scale(1.1);
    background: #c82333;
}

.sf-video-modal-player {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
}

.sf-video-modal-player video {
    width: 100%;
    height: 100%;
}

/* -------- ANIMATIONS -------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------- RESPONSIVE DESIGN -------- */

/* Large Desktop */
@media (max-width: 1400px) {
    .sf-videos-container {
        max-width: 1200px;
    }
}

/* Desktop - 3 videos */
@media (max-width: 1199px) {
    .sf-videos-section {
        padding: 70px 0;
    }
    
    .sf-videos-title {
        font-size: 36px;
    }
    
    .sf-video-card {
        width: calc(33.333% - 20px);
    }
    
    .sf-video-thumbnail {
        height: 230px;
    }
}

/* Tablet - 2 videos */
@media (max-width: 991px) {
    .sf-videos-section {
        padding: 60px 0;
    }
    
    .sf-videos-header {
        margin-bottom: 50px;
    }
    
    .sf-videos-title {
        font-size: 32px;
    }
    
    .sf-videos-slider {
        padding: 0 50px;
        gap: 25px;
    }
    
    .sf-video-card {
        width: calc(50% - 12.5px);
    }
    
    .sf-video-thumbnail {
        height: 220px;
    }
    
    .sf-videos-nav {
        width: 45px;
        height: 45px;
    }
}

/* ✅ MOBILE - 1 VIDEO FULL WIDTH */
@media (max-width: 767px) {
    .sf-videos-section {
        padding: 50px 0;
    }
    
    .sf-videos-header {
        margin-bottom: 40px;
    }
    
    .sf-videos-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }
    
    .sf-videos-title {
        font-size: 28px;
        padding: 0 10px;
    }
    
    .sf-videos-line {
        width: 60px;
        height: 3px;
    }
    
    .sf-videos-slider-wrapper {
        padding: 20px 0 60px;
    }
    
    /* ✅ FULL WIDTH CARDS ON MOBILE */
    .sf-videos-slider {
        padding: 0 50px;
        gap: 20px;
    }
    
    .sf-video-card {
        width: calc(100% - 0px);
        opacity: 1; /* ✅ Full opacity */
        transform: scale(1); /* ✅ Full size */
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }
    
    .sf-video-thumbnail {
        height: 220px;
    }
    
    .sf-play-button {
        width: 65px;
        height: 65px;
    }
    
    .sf-video-info {
        padding: 18px;
    }
    
    .sf-video-title {
        font-size: 17px;
        margin-bottom: 8px;
    }
    
    .sf-video-description {
        font-size: 14px;
    }
    
    /* ✅ NAVIGATION ARROWS */
    .sf-videos-nav {
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
    }
    
    .sf-videos-prev {
        left: 5px;
    }
    
    .sf-videos-next {
        right: 5px;
    }
    
    /* ✅ MODAL ON MOBILE */
    .sf-video-modal-content {
        width: 95%;
        height: auto;
        margin: 15rem 1rem 0rem;
    }
    
    .sf-video-modal-player {
        height: 250px;
    }
    
    .sf-video-modal-close {
        top: -50px;
        width: 45px;
        height: 45px;
    }
    
    /* ✅ DOTS */
    .sf-videos-dots {
        margin-top: 30px;
        gap: 8px;
    }
    
    .sf-videos-dot {
        width: 10px;
        height: 10px;
    }
    
    .sf-videos-dot.active {
        width: 25px;
    }
}

/* ✅ EXTRA SMALL MOBILE */
@media (max-width: 480px) {
    .sf-videos-section {
        padding: 40px 0;
    }
    
    .sf-videos-title {
        font-size: 24px;
        line-height: 1.4;
    }
    
    .sf-videos-slider {
        padding: 0 45px;
        gap: 15px;
    }
    
    .sf-video-card {
        width: 100%;
    }
    
    .sf-video-thumbnail {
        height: 200px;
    }
    
    .sf-play-button {
        width: 60px;
        height: 60px;
    }
    
    .sf-video-info {
        padding: 16px;
    }
    
    .sf-video-title {
        font-size: 16px;
    }
    
    .sf-video-description {
        font-size: 13px;
    }
    
    .sf-videos-nav {
        width: 38px;
        height: 38px;
    }
    
    .sf-video-modal-player {
        height: 220px;
    }
}

/* -------- PRINT STYLES -------- */
@media print {
    .sf-videos-nav,
    .sf-videos-dots,
    .sf-video-modal {
        display: none !important;
    }
    
    .sf-videos-slider {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        transform: none !important;
    }
    
    .sf-video-card {
        width: 100% !important;
        opacity: 1 !important;
        transform: none !important;
        break-inside: avoid;
    }
}
