﻿/* =========================
   🌟 Modern Arabic Styling
   ========================= */

/* === Arabic Font: SST Arabic === */
@font-face {
    font-family: 'SST Arabic';
    src: url('../fonts/arfonts-sst-arabic-light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'SST Arabic';
    src: url('../fonts/arfonts-sst-arabic-regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'SST Arabic';
    src: url('../fonts/arfonts-sst-arabic-medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'SST Arabic';
    src: url('../fonts/arfonts-sst-arabic-bold.ttf') format('truetype');
    font-weight: 700;
}

/* === Base Global Styling === */
html, body {
    font-family: 'SST Arabic', 'Segoe UI', Tahoma, sans-serif;
    font-weight: 400;
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    max-width: none;
    color: #222;
    background: linear-gradient( 135deg, #f8fafc 0%, #ffffff 20%, rgba(245,130,32,0.15) 45%, /* برتقالي خفيف */
    rgba(27,58,92,0.20) 70%, /* أزرق خفيف */
    #eef4ff 100% );
    scroll-behavior: smooth;
}

html {
    font-size: 16px;
    overflow-y: scroll;
    position: relative;
    min-height: 100%;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

/* === Headings === */
h1, h2, h3, h4 {
    font-family: 'SST Arabic';
    font-weight: 700;
    color: #1B3A5C;
    margin: 0 0 10px 0;
}



.light-text {
    font-weight: 300;
}

/* === Containers === */
.container {
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: none;
}

/* العربية RTL */
.lang-ar {
    direction: rtl;
    text-align: right;
}

/* الإنجليزية LTR */
.lang-en {
    direction: ltr;
    text-align: left;
}

/* المراسيم الخاصة بالـ Global Opportunities */
.lang-ar .intro-text,
.lang-ar .story-card,
.lang-ar .story-content {
    text-align: right;
}

.lang-en .intro-text,
.lang-en .story-card,
.lang-en .story-content {
    text-align: left;
}



/* ======================
   🌄 Hero Section
   ====================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    max-height: 500px;
    overflow: hidden;
    background: #000;
}

.hero-slider, .slide {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease, transform 6s ease;
}

    .slide.active {
        opacity: 1;
        transform: scale(1);
    }

/* === Overlay Text Box === */
.overlay {
    position: absolute;
    background: rgba(0, 0, 0, 0.8); /* كانت 0.3 — الآن أوضح */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.3); /* نصف شفاف */
    color: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 80%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: overlayFade 3s infinite alternate; /* وميض */
}

@keyframes overlayFade {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.95);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.95);
    }
}

.animate-text, .animate-subtext {
    animation: fadeUp 1s forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.9;
}

    .hero-logo img {
        height: 80px;
        transition: transform 0.5s ease, opacity 0.5s ease;
    }

.slide.active .hero-logo img {
    transform: scale(1);
    opacity: 1;
}

@media (max-width: 768px) {
    .overlay {
        padding: 20px;
        font-size: 15px;
    }

    .hero-logo img {
        height: 60px;
    }
}




/* ======================
   🧭 Modern Navbar Layout
   ====================== */
nav {
    background: linear-gradient(180deg, #1B3A5C, #0f2840); /* نفس خلفية الفوتر */
    color: #e9e9f0;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 2px 15px rgba(0,0,0,0.25);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    max-width: none;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    height: 80px; /* 👈 غير الرقم حسب رغبتك */
    padding: 0; /* إلغاء padding الافتراضي */
}

.nav-logo {
    display: flex;
    align-items: center;
    background: transparent;
    padding: 8px;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

nav p,
nav span,
nav li,
nav a {
    line-height: 1.7;
    color: white; /* Dark gray */
}
    .nav-logo:hover {
        transform: scale(1.02);
        opacity: 0.9;
    }

    

.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-grow: 1;
}

    .nav-links a {
        color: #d6d6e6; /* فاتح يناسب الخلفية الداكنة */
        text-decoration: none;
        margin: 0 10px;
        padding: 16px 32px;
        border-radius: 8px;
        font-weight: 500;
        font-size: 16px;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #d6d6e6; /* مناسب للخلفية الداكنة */
        text-decoration: none;
        padding: 8px 18px; /* يقلل الارتفاع بشكل واضح */
        border-radius: 8px; /* أو var(--radius-md) */
        font-weight: 500;
        font-size: 15px;
        transition: all 0.3s ease; /* أو var(--transition-base) */
        position: relative;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        gap: 6px; /* أو var(--spacing-xs) */
    }


.nav-links a i {
    font-size: 18px;
    color: #d6d6e6;
    transition: all 0.3s ease;
    display: none;
}

        .nav-links a:hover i {
            transform: scale(1.15);
            color: #F58220;
        }

        .nav-links a.active i {
            color: #ffffff;
        }

        .nav-links a:hover {
            color: #ffffff;
            background: rgba(255,255,255,0.08);
            transform: translateY(-1px);
        }

        .nav-links a.active {
            background: #F58220;
            color: #ffffff;
            font-weight: 600;
            border-radius: 25px;
            padding: 16px 32px;
            box-shadow: 0 4px 15px rgba(245, 130, 32, 0.35);
        }

            .nav-links a.active i {
                color: #ffffff;
            }

/* 🌐 Language Switcher */
.lang-btn {
    background: #F58220;
    color: #ffffff;
    border: 2px solid #F58220;
    border-radius: 20px;
    padding: 4px 12px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'SST Arabic', 'Segoe UI', sans-serif;
    outline: none;
}

    .lang-btn:hover {
        background: #ffffff;
        color: #1B3A5C;
        border-color: #ffffff;
        transform: scale(1.05);
    }

.lang-switcher {
    margin-left: 20px;
}

    .lang-switcher select {
        background: #F58220;
        color: #ffffff;
        border: 2px solid #F58220;
        border-radius: 20px;
        padding: 6px 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: 'SST Arabic', 'Segoe UI', sans-serif;
        outline: none;
    }

        .lang-switcher select:hover {
            background: #ffffff;
            color: #1B3A5C;
            border-color: #ffffff;
            transform: scale(1.05);
        }

@media (max-width: 768px) {
    nav {
        padding: 8px 16px;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 10px;
    }

    .nav-links {
        margin-bottom: 0;
        background: linear-gradient(180deg, #1B3A5C, #0f2840);
    }

    .lang-switcher {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
    }



    /* ======================
   NAVBAR HEIGHT CONTROL
   ====================== */
    

    .nav-container {
        height: 100%;
        display: flex;
        align-items: center; /* توسيط العناصر عموديًا */
    }




    /* Arabic RTL menu */
    .lang-ar .nav-links {
        left: auto;
        right: -100%;
        border-right: none;
        border-left: 3px solid rgba(255,255,255,0.2);
        box-shadow: -5px 0 30px rgba(0,0,0,0.5);
        transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
        
    }

        .lang-ar .nav-links.active {
            right: 0;
            left: auto;
            background: linear-gradient(180deg, #1B3A5C, #0f2840);
        }
}



/* ======================
   🧩 Services Modern
   ====================== */
.services-modern {
    padding: 100px 20px;
    
    text-align: center;
}


.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1B3A5C;
    margin-bottom: 10px;
}

    .section-title span {
        color: #F58220;
    }

.section-subtitle {
    color: #777;
    font-size: 16px;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

    /* إزالة الخط من جميع الروابط داخل قسم الخدمات */
    .services-grid a {
        text-decoration: none;
    }

        /* عند المرور بالماوس يظهر تأثير أنيق بدل الخط */
        .services-grid a:hover {
            text-decoration: none;
            transform: translateY(-5px);
            transition: transform 0.3s ease;
        }
.service-card {
    background: linear-gradient(135deg, #1B3A5C 0%, #2a4d73 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(27, 58, 92, 0.25);
    animation: fadeInDown 0.6s ease;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 300px;
        height: 300px;
        background: rgba(245, 130, 32, 0.15);
        border-radius: 50%;
    }

    .service-card::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 200px;
        height: 200px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
    }
    /* Hover */
    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    }

.icon {
    font-size: 3rem;
    color: #0078ff;
    margin-bottom: 15px;
}

.clickable-card:hover {
    background: linear-gradient(145deg, #0078ff, #00b4d8);
    color: #fff;
}

    .clickable-card:hover .icon {
        color: #fff;
    }

/* ======================
   🎥 Video Modern
   ====================== */
.video-modern {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    position: relative;
    color: #333;
    text-align: center;
    padding: 80px 20px;
}

    .video-modern::before {
        content: "";
        position: absolute;
        inset: 0;
        background: transparent;
    }

.video-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

    .video-content h2 {
        font-size: 34px;
        margin-bottom: 10px;
        color: #1B3A5C;
        font-weight: 700;
    }

    .video-content p {
        font-size: 17px;
        color: #666;
        margin-bottom: 30px;
        font-weight: 400;
    }

.video-modern video {
    width: 100%;
    max-width: 900px;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 
                0 10px 30px rgba(0, 0, 0, 0.15),
                0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-modern video:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3), 
                0 15px 40px rgba(0, 0, 0, 0.2),
                0 8px 20px rgba(0, 0, 0, 0.15);
}


/* ======================
💧 Watermark Full Height Repeater
====================== */
.watermark-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image: url('~/images/WaterMark14.jpeg');
    background-repeat: repeat-y; /* تكرار عمودي */
    background-position: left top; /* بدء من أعلى اليسار */
    background-size: auto 200px; /* التحكم في حجم الصورة */
    opacity: 0.05; /* شفافية خفيفة */
}

/* تحسين التكرار حسب حجم الشاشة */
@media (max-width: 992px) {
    .watermark-bg {
        background-size: auto 150px;
    }
}

@media (max-width: 768px) {
    .watermark-bg {
        background-size: auto 100px;
    }
}

@media (max-width: 480px) {
    .watermark-bg {
        background-size: auto 80px;
    }
}

/* ======================
   ⚓ Footer
   ====================== */
footer {
    background: #1B3A5C;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
}

    footer .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    footer .footer-logo img {
        height: 60px;
    }

    footer .footer-links {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }

        footer .footer-links a {
            color: #F58220;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

            footer .footer-links a:hover {
                color: #fff;
            }

    footer .footer-text {
        width: 100%;
        margin-top: 15px;
        font-size: 13px;
        color: #ccc;
    }

@media (max-width: 768px) {
    footer .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

.news-ticker {
    position: relative;
    margin: 0 auto 20px auto;
    width: calc(100% - 40px);
    max-width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #1B3A5C, #F58220);
    color: #ffffff;
    padding: 12px 0;
    font-weight: 700;
    font-family: 'SST Arabic', sans-serif;
    white-space: nowrap;
    z-index: 10;
    border-radius: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

    .news-ticker p {
        display: inline-block;
        padding-left: 100%;
        animation: ticker 15s linear infinite;
        margin: 0;
        color: #ffffff;
        font-size: 16px;
        font-weight: 700;
    }

    /* إيقاف الحركة عند تمرير الماوس أو لمس الشاشة */
    .news-ticker:hover p,
    .news-ticker:active p {
        animation-play-state: paused;
    }

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* لجعل الشريط متجاوب */
@media (max-width: 768px) {
    .news-ticker {
        font-size: 14px;
        padding: 6px 0;
    }
    
    .video-modern {
        padding: 60px 15px;
    }
    
    .video-modern video {
        max-width: 100%;
        max-height: 400px;
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2), 
                    0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    .video-content h2 {
        font-size: 28px;
    }
    
    .video-content p {
        font-size: 15px;
    }
}



/* =========================
   💎 Our Values Modern Style
   ========================= */

.values-modern-section {
    /*background: linear-gradient(135deg, #f8fafc, #eef4ff);*/
    padding: 100px 20px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Animated Background Elements */
.values-modern-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 130, 32, 0.1), transparent);
    border-radius: 50%;
    animation: floatValues 20s ease-in-out infinite;
    z-index: 0;
}

.values-modern-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(27, 58, 92, 0.1), transparent);
    border-radius: 50%;
    animation: floatValues 15s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes floatValues {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-30px, -30px) scale(1.1);
    }
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeInDownValues 1s ease forwards;
}

@keyframes fadeInDownValues {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

    .values-header h2.section-title {
        font-size: 38px;
        background: linear-gradient(90deg, #1B3A5C, #F58220);
        background-size: 200% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 700;
        margin-bottom: 10px;
        animation: gradientShiftValues 3s ease infinite;
    }
    
    @keyframes gradientShiftValues {
        0%, 100% {
            background-position: 0% center;
        }
        50% {
            background-position: 100% center;
        }
    }

    .values-header .section-subtitle {
        color: #777;
        font-size: 17px;
    }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 👈 3 أعمدة ثابتة */
    gap: 30px;
    position: relative;
    z-index: 1;
    align-items: stretch;
}

@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr); /* تابلت = عمودين */
    }
}

@media (max-width: 600px) {
    .values-grid {
        grid-template-columns: 1fr; /* موبايل = عمود واحد */
    }
}



.value-card {
    /*background: rgba(255, 255, 255, 0.95);*/
    backdrop-filter: blur(12px);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 
                0 5px 15px rgba(0, 0, 0, 0.1),
                0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 40px 25px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    border-top: 5px solid #1B3A5C;
    border: 1px solid rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpValuesCard 0.8s ease forwards;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
}

/* Staggered animation delays for each card */
.value-card:nth-child(1) { animation-delay: 0.2s; }
.value-card:nth-child(2) { animation-delay: 0.4s; }
.value-card:nth-child(3) { animation-delay: 0.6s; }
.value-card:nth-child(4) { animation-delay: 0.8s; }
.value-card:nth-child(5) { animation-delay: 1s; }
.value-card:nth-child(6) { animation-delay: 1.2s; }
.value-card:nth-child(7) { animation-delay: 1.4s; }
.value-card:nth-child(8) { animation-delay: 1.6s; }

@keyframes fadeUpValuesCard {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

    .value-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 
                    0 10px 25px rgba(0, 0, 0, 0.15),
                    0 5px 12px rgba(0, 0, 0, 0.1);
        border-top-color: #F58220;
    }

.icon-wrapper {
    background: linear-gradient(145deg, #1B3A5C, #2a4d73);
    color: #fff;
    font-size: 2.5rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.value-card:hover .icon-wrapper {
    background: linear-gradient(145deg, #F58220, #ff9a4a);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(245, 130, 32, 0.4);
}

.value-title {
    font-size: 20px;
    font-weight: 700;
    color: #1B3A5C;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.value-card:hover .value-title {
    color: #F58220;
}

.value-text {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    transition: color 0.3s ease;
    flex-grow: 1;
    display: flex;
    align-items: inherit;
    justify-content: center;
}

.value-card:hover .value-text {
    color: #000;
}

/* Animation removed - now handled above with staggered delays */

/* Arabic alignment fix */
.lang-ar .value-card {
    text-align: right;
}

.lang-en .value-card {
    text-align: left;
}


/* ===== Modern Footer (isolated) ===== */
.modern-footer {
    background: linear-gradient(180deg, #1B3A5C, #0f2840);
    color: #e9e9f0;
    padding: 48px 20px 24px;
    font-family: 'SST Arabic', 'Segoe UI', Tahoma, sans-serif;
}

/* container grid */
.modern-footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    align-items: start;
}

/* columns */
.mf-col {
}

/* Logo column */
.mf-about .mf-logo {
    width: 140px;
    display: block;
    margin-bottom: 14px;
}

.mf-about-text {
    color: #cfcfe6;
    line-height: 1.7;
    font-size: 15px;
    margin: 0;
}

/* Titles */
.mf-title {
    color: #F58220;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 700;
}

/* Lists */
.mf-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .mf-list li {
        margin-bottom: 10px;
    }

.mf-link {
    color: #d6d6e6;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    transition: color .2s ease, transform .15s ease;
}

    .mf-link:hover {
        color: #ffffff;
        transform: translateX(6px);
    }

/* contact rows */
.mf-contact {
    color: #d0d0e0;
    font-size: 14px;
}

/* bottom */
.modern-footer-bottom {
    max-width: 1300px;
    margin: 26px auto 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 16px;
    text-align: center;
    color: #bdbdd3;
    font-size: 13px;
}

/* RTL / LTR handling: if page adds lang-ar or lang-en to footer */
.modern-footer.lang-ar {
    direction: rtl;
    text-align: right;
}

.modern-footer.lang-en {
    direction: ltr;
    text-align: left;
}

/* ensure image not blurred on small screens */
@media (max-width: 768px) {
    .mf-about .mf-logo {
        width: 120px;
    }

    .modern-footer-inner {
        gap: 18px;
    }
}


/* =========================
   🎬 HOME PAGE ANIMATIONS
   ========================= */

/* Floating Shapes Background */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.floating-shapes .shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #1B3A5C, #F58220);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shapes .shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #F58220, #1B3A5C);
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.floating-shapes .shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #1B3A5C, #F58220);
    bottom: 10%;
    left: 50%;
    animation-delay: 10s;
}

/* Animated Section */
.animated-section {
    position: relative;
    overflow: hidden;
}

/* Fade In Down Animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
    opacity: 0;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

/* Floating Animation for Icons */
@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.icon.floating i {
    animation: floatIcon 3s ease-in-out infinite;
}

/* Gradient Text Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-text {
    background: linear-gradient(90deg, #1B3A5C, #F58220, #1B3A5C, #F58220);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

/* Float Animation for Shapes */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Enhanced Service Card Hover */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 25px 60px rgba(27, 58, 92, 0.2),
        0 15px 30px rgba(245, 130, 32, 0.15),
        0 8px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover .icon {
    transform: scale(1.2) rotate(5deg);
}

/* Hero Section Entrance Animation */
.hero-content {
    animation: heroEnter 1s ease-out;
}

@keyframes heroEnter {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Video Section Animations */
.video-modern {
    animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.video-modern video {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-modern video:hover {
    transform: translateY(-10px) scale(1.02);
}

/* News Ticker Animation */
.news-ticker {
    animation: slideInDown 0.8s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Title Animation */
.section-title {
    position: relative;
    overflow: hidden;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1B3A5C, #F58220);
    border-radius: 2px;
    animation: lineGrow 0.8s ease-out 0.3s forwards;
    transform-origin: center;
    scale: 0;
}

@keyframes lineGrow {
    to {
        scale: 1;
    }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Pulse Animation for CTA Buttons */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(245, 130, 32, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(245, 130, 32, 0);
    }
}

.btn-primary {
    animation: pulse 2s infinite;
}

/* Bounce Animation on Hover */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.service-card:hover .icon i {
    animation: bounce 0.8s ease;
}

/* Responsive Animation Adjustments */
@media (max-width: 768px) {
    .floating-shapes .shape {
        display: none; /* Hide floating shapes on mobile */
    }
    
    .fade-in-up,
    .fade-in-down {
        animation-duration: 0.5s; /* Faster animations on mobile */
    }
}


.mf-about-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

    .mf-about-list li {
        position: relative;
        padding-inline-start: 22px;
        margin-bottom: 10px;
        line-height: 1.7;
        font-size: 0.95rem;
        color: #dcdcdc;
        opacity: 0;
        transform: translateY(10px);
        animation: fadeUp 0.6s ease forwards;
    }

        .mf-about-list li::before {
            content: "•";
            position: absolute;
            inset-inline-start: 0;
            color: #00c6ff;
            font-size: 1.3rem;
            top: 0;
        }

        /* Animation delay per line */
        .mf-about-list li:nth-child(1) {
            animation-delay: 0.1s;
        }

        .mf-about-list li:nth-child(2) {
            animation-delay: 0.3s;
        }

        .mf-about-list li:nth-child(3) {
            animation-delay: 0.5s;
        }

        .mf-about-list li:nth-child(4) {
            animation-delay: 0.7s;
        }

@@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile optimization */
@@media (max-width: 768px) {
    .mf-about-list li {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

 