/* ========================================
   NAJMI INTERNATIONAL LTD - THEME VARIABLES
   Colors: Blue, White & Maroon
   ======================================== */


:root {
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --primary-blue-light: #3b82f6;
    --primary-maroon: #800020;
    --primary-maroon-dark: #660019;
    --primary-maroon-light: #a00028;
    --primary-white: #ffffff;
    --gray-bg: #f3f4f6;
    --text-dark: #374151;
    --text-light: #6b7280;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: var(--gray-bg);
    color: var(--text-dark);
}


.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-maroon));
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}


.nav-link.active {
    color: var(--primary-blue) !important;
}

.nav-link.active::before {
    width: 100%;
}


.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 32px;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background-color: var(--primary-maroon);
    color: white;
    padding: 12px 32px;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-secondary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-secondary:hover {
    background-color: var(--primary-maroon-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(128, 0, 32, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 10px 30px;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.3);
}


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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.25);
}


.service-card .icon-circle {
    transition: all 0.3s ease;
}

.service-card:hover .icon-circle {
    transform: scale(1.1);
}

.service-card:hover .icon-circle i {
    color: white !important;
}

.service-card:hover .icon-circle.bg-blue-100 {
    background-color: var(--primary-blue);
}

.service-card:hover .icon-circle.bg-maroon-100 {
    background-color: var(--primary-maroon);
}


.service-card ul li {
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover ul li {
    transform: translateX(5px);
}

.service-card ul li:hover {
    color: var(--primary-blue);
}

.service-card ul li:hover i {
    color: var(--primary-maroon);
}


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

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.25);
}

.team-card .team-image {
    transition: transform 0.6s ease;
}

.team-card:hover .team-image {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(128, 0, 32, 0.9));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-overlay a {
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.team-card:hover .team-overlay a {
    transform: translateY(0);
}

.team-overlay a:hover {
    transform: scale(1.1);
    background: white !important;
}


.counter {
    transition: all 0.5s ease;
}

.counter-box {
    transition: all 0.3s ease;
}

.counter-box:hover {
    transform: scale(1.05);
}


.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-maroon));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5);
}


.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #e5e7eb;
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 10;
}


.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}


footer ul li a {
    transition: all 0.3s ease;
    display: inline-block;
}

footer ul li a:hover {
    transform: translateX(8px);
    color: var(--primary-blue) !important;
}


.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--primary-blue) !important;
}


.hover-zoom {
    overflow: hidden;
}

.hover-zoom img {
    transition: transform 0.5s ease;
}

.hover-zoom:hover img {
    transform: scale(1.1);
}


.glow-card {
    transition: all 0.3s ease;
    position: relative;
}

.glow-card:hover {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}


.read-more {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-maroon));
    transition: width 0.3s ease;
}

.read-more:hover::after {
    width: 100%;
}


@media (max-width: 768px) {
    .hero-swiper h1 {
        font-size: 2.5rem;
    }
    
    .hero-swiper p {
        font-size: 1.125rem;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}


::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-maroon));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-maroon-dark));
}


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

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }


.bg-maroon-100 { background-color: #fce4ec; }
.bg-maroon-600 { background-color: #800020; }
.bg-maroon-700 { background-color: #660019; }
.bg-maroon-900 { background-color: #4a0012; }
.text-maroon-500 { color: #a00028; }
.text-maroon-600 { color: #800020; }
.text-maroon-400 { color: #c00030; }
.hover\:bg-maroon-700:hover { background-color: #660019; }
.border-maroon-600 { border-color: #800020; }

.bg-blue-600 { background-color: #2563eb; }
.bg-blue-700 { background-color: #1d4ed8; }
.hover\:bg-blue-700:hover { background-color: #1d4ed8; }
.text-blue-600 { color: #2563eb; }


.icon-circle {
    transition: all 0.3s ease;
}


.stats-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-card:hover .counter {
    transform: scale(1.05);
    display: inline-block;
}