/* ============================================
   MILA COMPANY - Teckko Template Styles
   ============================================ */

:root {
    /* Couleurs basées sur le logo MILA COMPANY */
    --primary-color: #1e3a8a; /* Bleu foncé du logo */
    --secondary-color: #d4af37; /* Or/doré du logo */
    --accent-color: #f4d03f; /* Or clair */
    --dark-color: #0a1929; /* Bleu très foncé (fond du logo) */
    --light-color: #f7fafc;
    --text-color: #4a5568;
    --gold-color: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8941f;
    --blue-dark: #1e3a8a;
    --blue-darker: #0a1929;
    --font-primary: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
.top-bar {
    background-color: var(--dark-color);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--secondary-color);
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s;
    margin: 0 5px;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.navbar {
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

/* Logo Wrapper */
.logo-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-radius: 12px;
    padding: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(30, 58, 138, 0.15);
}

.navbar-brand:hover .logo-wrapper {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2) 0%, rgba(212, 175, 55, 0.2) 100%);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    transform: scale(1.1);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.navbar-brand:hover .logo-img {
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.4));
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--secondary-color);
}

/* Hero Section - Microsoft Grade Design */
.hero-section-modern {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: #0a0e27;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a1929 0%, #1e3a8a 25%, #3b82f6 50%, #d4af37 75%, #f4d03f 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    opacity: 0.85;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(30, 58, 138, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(30, 58, 138, 0.12) 0%, transparent 50%);
    opacity: 0.5;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.2) 0%, rgba(212, 175, 55, 0.18) 50%, rgba(30, 58, 138, 0.15) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    animation: float 20s infinite ease-in-out;
    box-shadow: 0 0 50px rgba(30, 58, 138, 0.3), 0 0 80px rgba(212, 175, 55, 0.2);
}

/* Structures moléculaires abstraites */
.molecular-structure {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        radial-gradient(6px 6px at 15% 25%, rgba(212, 175, 55, 0.8), transparent),
        radial-gradient(5px 5px at 35% 45%, rgba(244, 208, 63, 0.7), transparent),
        radial-gradient(6px 6px at 55% 15%, rgba(212, 175, 55, 0.75), transparent),
        radial-gradient(5px 5px at 75% 35%, rgba(244, 208, 63, 0.7), transparent),
        radial-gradient(6px 6px at 85% 65%, rgba(212, 175, 55, 0.8), transparent),
        radial-gradient(5px 5px at 25% 75%, rgba(244, 208, 63, 0.75), transparent),
        radial-gradient(6px 6px at 45% 85%, rgba(212, 175, 55, 0.7), transparent),
        radial-gradient(5px 5px at 65% 55%, rgba(244, 208, 63, 0.8), transparent),
        radial-gradient(4px 4px at 10% 50%, rgba(212, 175, 55, 0.7), transparent),
        radial-gradient(5px 5px at 90% 20%, rgba(244, 208, 63, 0.75), transparent);
    background-size: 100% 100%;
    animation: molecularFloat 25s ease-in-out infinite;
    opacity: 0.9;
    pointer-events: none;
    filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.5));
}

/* Particules géométriques animées */
.geometric-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        radial-gradient(8px 8px at 20% 30%, rgba(212, 175, 55, 0.7), transparent),
        radial-gradient(6px 6px at 40% 50%, rgba(244, 208, 63, 0.6), transparent),
        radial-gradient(10px 10px at 60% 20%, rgba(212, 175, 55, 0.7), transparent),
        radial-gradient(6px 6px at 80% 40%, rgba(244, 208, 63, 0.6), transparent),
        radial-gradient(8px 8px at 30% 70%, rgba(212, 175, 55, 0.7), transparent),
        radial-gradient(6px 6px at 50% 80%, rgba(244, 208, 63, 0.6), transparent),
        radial-gradient(10px 10px at 70% 60%, rgba(212, 175, 55, 0.7), transparent),
        radial-gradient(6px 6px at 90% 30%, rgba(244, 208, 63, 0.6), transparent),
        radial-gradient(8px 8px at 10% 60%, rgba(212, 175, 55, 0.7), transparent),
        radial-gradient(6px 6px at 25% 90%, rgba(244, 208, 63, 0.6), transparent),
        radial-gradient(7px 7px at 55% 45%, rgba(212, 175, 55, 0.65), transparent),
        radial-gradient(5px 5px at 75% 75%, rgba(244, 208, 63, 0.65), transparent);
    background-size: 200% 200%;
    animation: particleOrbit 30s linear infinite;
    opacity: 0.8;
    pointer-events: none;
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.4));
}

/* Réseau triangulaire moderne */
.triangle-network {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        linear-gradient(30deg, transparent 0%, rgba(212, 175, 55, 0.25) 50%, transparent 100%),
        linear-gradient(150deg, transparent 0%, rgba(244, 208, 63, 0.25) 50%, transparent 100%),
        linear-gradient(270deg, transparent 0%, rgba(212, 175, 55, 0.25) 50%, transparent 100%);
    background-size: 300px 300px, 250px 250px, 350px 350px;
    background-position: 0% 0%, 50% 50%, 100% 100%;
    animation: triangleRotate 20s linear infinite;
    opacity: 0.6;
    pointer-events: none;
    filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.3));
}

@keyframes molecularFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translate(30px, -20px) scale(1.1);
        opacity: 0.9;
    }
    50% {
        transform: translate(-20px, 30px) scale(0.9);
        opacity: 0.8;
    }
    75% {
        transform: translate(20px, 20px) scale(1.05);
        opacity: 0.85;
    }
}

@keyframes particleOrbit {
    0% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 80% 20%, 20% 80%, 60% 40%, 40% 60%, 90% 10%, 10% 90%, 30% 70%;
        transform: rotate(0deg);
    }
    25% {
        background-position: 25% 25%, 75% 75%, 60% 40%, 60% 40%, 40% 60%, 70% 50%, 50% 50%, 70% 30%, 30% 70%, 50% 50%;
        transform: rotate(90deg);
    }
    50% {
        background-position: 50% 50%, 50% 50%, 70% 30%, 40% 60%, 60% 20%, 50% 70%, 70% 40%, 50% 50%, 50% 50%, 70% 30%;
        transform: rotate(180deg);
    }
    75% {
        background-position: 75% 75%, 25% 25%, 40% 60%, 20% 80%, 80% 40%, 30% 50%, 50% 30%, 30% 70%, 70% 10%, 50% 10%;
        transform: rotate(270deg);
    }
    100% {
        background-position: 100% 100%, 0% 0%, 30% 70%, 0% 100%, 100% 0%, 10% 30%, 30% 0%, 10% 30%, 90% 10%, 70% 90%;
        transform: rotate(360deg);
    }
}

@keyframes triangleRotate {
    0% {
        background-position: 0% 0%, 50% 50%, 100% 100%;
        transform: rotate(0deg);
    }
    33% {
        background-position: 33% 33%, 66% 66%, 0% 0%;
        transform: rotate(120deg);
    }
    66% {
        background-position: 66% 66%, 33% 33%, 50% 50%;
        transform: rotate(240deg);
    }
    100% {
        background-position: 100% 100%, 50% 50%, 0% 0%;
        transform: rotate(360deg);
    }
}

/* Animations IT - Particules et effets technologiques */
.hero-shapes::before,
.hero-shapes::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.hero-shapes::before {
    background-image:
        radial-gradient(4px 4px at 20% 30%, rgba(212, 175, 55, 0.7), transparent),
        radial-gradient(4px 4px at 60% 70%, rgba(244, 208, 63, 0.6), transparent),
        radial-gradient(3px 3px at 50% 50%, rgba(212, 175, 55, 0.7), transparent),
        radial-gradient(3px 3px at 80% 10%, rgba(244, 208, 63, 0.65), transparent),
        radial-gradient(4px 4px at 90% 50%, rgba(212, 175, 55, 0.65), transparent),
        radial-gradient(3px 3px at 33% 60%, rgba(244, 208, 63, 0.6), transparent),
        radial-gradient(4px 4px at 10% 80%, rgba(212, 175, 55, 0.7), transparent),
        radial-gradient(5px 5px at 45% 25%, rgba(244, 208, 63, 0.7), transparent),
        radial-gradient(4px 4px at 75% 75%, rgba(212, 175, 55, 0.65), transparent),
        radial-gradient(3px 3px at 15% 55%, rgba(244, 208, 63, 0.6), transparent),
        radial-gradient(4px 4px at 65% 15%, rgba(212, 175, 55, 0.6), transparent),
        radial-gradient(3px 3px at 35% 85%, rgba(244, 208, 63, 0.6), transparent);
    background-size: 200% 200%;
    animation: particleMove 20s linear infinite;
    opacity: 0.7;
    filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.4));
}

.hero-shapes::after {
    background-image:
        linear-gradient(0deg, transparent 0%, rgba(30, 58, 138, 0.1) 50%, transparent 100%),
        linear-gradient(90deg, transparent 0%, rgba(30, 58, 138, 0.1) 50%, transparent 100%),
        linear-gradient(45deg, transparent 0%, rgba(147, 51, 234, 0.1) 50%, transparent 100%);
    background-size: 100% 100%, 100% 100%, 200% 200%;
    animation: gridPulse 8s ease-in-out infinite;
    opacity: 0.4;
}

@keyframes particleMove {
    0% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 80% 20%, 90% 50%, 30% 60%, 10% 80%;
    }
    25% {
        background-position: 25% 25%, 75% 75%, 60% 40%, 60% 40%, 70% 60%, 50% 50%, 30% 60%;
    }
    50% {
        background-position: 50% 50%, 50% 50%, 70% 30%, 40% 60%, 50% 70%, 70% 40%, 50% 40%;
    }
    75% {
        background-position: 75% 75%, 25% 25%, 40% 60%, 20% 80%, 30% 50%, 50% 30%, 70% 20%;
    }
    100% {
        background-position: 100% 100%, 0% 0%, 30% 70%, 0% 100%, 10% 30%, 30% 0%, 90% 0%;
    }
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* Lignes de connexion réseau animées - style moléculaire */
.shape-1::before,
.shape-2::before,
.shape-3::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 120px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(212, 175, 55, 0.6) 30%,
        rgba(244, 208, 63, 0.6) 50%,
        rgba(212, 175, 55, 0.6) 70%,
        transparent 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    animation: connectionLine 3s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* Points de connexion moléculaires */
.shape-1::after,
.shape-2::after,
.shape-3::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.8) 0%, rgba(244, 208, 63, 0.6) 50%, transparent 100%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: nodePulse 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6), 0 0 35px rgba(212, 175, 55, 0.3);
}

.shape-2::after {
    background: radial-gradient(circle, rgba(244, 208, 63, 0.8) 0%, rgba(212, 175, 55, 0.6) 50%, transparent 100%);
    box-shadow: 0 0 20px rgba(244, 208, 63, 0.6), 0 0 35px rgba(244, 208, 63, 0.3);
    animation-delay: 0.7s;
}

.shape-3::after {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.8) 0%, rgba(244, 208, 63, 0.6) 50%, transparent 100%);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6), 0 0 35px rgba(212, 175, 55, 0.3);
    animation-delay: 1.4s;
}

@keyframes nodePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 1;
    }
}

.shape-2::before {
    animation-delay: 1s;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(30, 58, 138, 0.6) 50%,
        transparent 100%);
    box-shadow: 0 0 10px rgba(30, 58, 138, 0.5);
}

.shape-3::before {
    animation-delay: 2s;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(147, 51, 234, 0.6) 50%,
        transparent 100%);
    box-shadow: 0 0 10px rgba(147, 51, 234, 0.5);
}

@keyframes connectionLine {
    0%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(45deg) scaleY(0);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(45deg) scaleY(1);
    }
}

/* Effet de pulsation technologique */
.shape-1 {
    animation: float 20s infinite ease-in-out,
               techPulse 4s ease-in-out infinite,
               techGlitch 10s ease-in-out infinite;
}

.shape-2 {
    animation: float 20s infinite ease-in-out 5s,
               techPulse 4s ease-in-out infinite 1.3s,
               techGlitch 10s ease-in-out infinite 3s;
}

.shape-3 {
    animation: float 20s infinite ease-in-out 10s,
               techPulse 4s ease-in-out infinite 2.6s,
               techGlitch 10s ease-in-out infinite 6s;
}

@keyframes techPulse {
    0%, 100% {
        box-shadow: 0 0 40px rgba(30, 58, 138, 0.2),
                    0 0 60px rgba(30, 58, 138, 0.1),
                    inset 0 0 20px rgba(30, 58, 138, 0.1);
    }
    50% {
        box-shadow: 0 0 60px rgba(30, 58, 138, 0.4),
                    0 0 100px rgba(30, 58, 138, 0.2),
                    inset 0 0 30px rgba(30, 58, 138, 0.2);
    }
}

/* Particules flottantes supplémentaires - style moléculaire */
.shape-1 {
    position: relative;
}

.shape-1::before {
    /* Les lignes de connexion sont déjà définies ci-dessus */
}

.shape-2::before {
    animation-delay: 1s;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(244, 208, 63, 0.6) 30%,
        rgba(212, 175, 55, 0.6) 50%,
        rgba(244, 208, 63, 0.6) 70%,
        transparent 100%);
    box-shadow: 0 0 15px rgba(244, 208, 63, 0.5);
}

.shape-3::before {
    animation-delay: 2s;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(212, 175, 55, 0.6) 30%,
        rgba(244, 208, 63, 0.6) 50%,
        rgba(212, 175, 55, 0.6) 70%,
        transparent 100%);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(30px, -30px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translate(-20px, -50px) scale(0.8);
        opacity: 0.8;
    }
    75% {
        transform: translate(20px, -20px) scale(1.1);
        opacity: 0.9;
    }
}

/* Effet de scan technologique */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(30, 58, 138, 0.1) 50%,
        transparent 100%);
    animation: techScan 8s linear infinite;
    pointer-events: none;
}

@keyframes techScan {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Effet de glitch subtil */
@keyframes techGlitch {
    0%, 100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    20% {
        transform: translate(-2px, 2px);
        filter: hue-rotate(5deg);
    }
    40% {
        transform: translate(-2px, -2px);
        filter: hue-rotate(-5deg);
    }
    60% {
        transform: translate(2px, 2px);
        filter: hue-rotate(3deg);
    }
    80% {
        transform: translate(2px, -2px);
        filter: hue-rotate(-3deg);
    }
}

/* Les animations sont déjà définies ci-dessus pour chaque shape */

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 10%;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.min-vh-hero {
    min-height: calc(100vh - 200px);
}

/* Hero Content */
.hero-content-wrapper {
    position: relative;
    z-index: 3;
    color: white;
    animation: fadeInUp 1s ease-out;
    padding-right: 20px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 24px;
}

.badge-text {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.3) 0%, rgba(30, 58, 138, 0.3) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    animation: slideInLeft 0.8s ease-out;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 3;
}

.title-line-1,
.title-line-2 {
    display: block;
    color: white;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.title-line-3 {
    display: block;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #f4d03f 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    position: relative;
    z-index: 3;
}

.hero-actions {
    animation: fadeInUp 0.8s ease-out 0.8s both;
    position: relative;
    z-index: 3;
}

.hero-trust {
    position: relative;
    z-index: 3;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero-primary {
    background: white;
    color: #1e3a8a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    background: #f8f9fa;
}

.btn-hero-secondary {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2) 0%, rgba(212, 175, 55, 0.2) 100%);
    backdrop-filter: blur(15px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-trust {
    margin-top: 48px;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.trust-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.3) 0%, rgba(30, 58, 138, 0.3) 100%);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.trust-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hero Visual */
.hero-visual-wrapper {
    position: relative;
    z-index: 1;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-visual {
    position: relative;
}

.hero-swiper-3d {
    width: 100%;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.hero-swiper-3d .swiper-slide {
    width: 100%;
    height: 100%;
}

.hero-slide-content-modern {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.slide-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-swiper-3d .swiper-slide-active .slide-image {
    transform: scale(1.02);
}

.hero-swiper-3d .swiper-slide:not(.swiper-slide-active) .slide-image {
    transform: scale(1);
}

.slide-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
    opacity: 1;
    transition: opacity 0.6s ease;
    z-index: 2;
}

.hero-swiper-3d .swiper-slide:not(.swiper-slide-active) .slide-overlay-modern {
    opacity: 0;
}

.slide-content-inner {
    color: white;
    animation: slideUpFade 0.8s ease-out 0.3s both;
}

.hero-swiper-3d .swiper-slide-active .slide-content-inner {
    animation: slideUpFade 0.8s ease-out 0.3s both;
}

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

.slide-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.4) 0%, rgba(30, 58, 138, 0.4) 100%);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.3);
}

.slide-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-subtitle {
    font-size: 1rem;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Hero Navigation */
.hero-nav-next,
.hero-nav-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-nav-next:hover,
.hero-nav-prev:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-nav-next:active,
.hero-nav-prev:active {
    transform: scale(0.95);
}

.hero-nav-next::after,
.hero-nav-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.hero-pagination {
    bottom: 20px !important;
    z-index: 10;
}

.hero-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 6px;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: white;
    width: 30px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    z-index: 3;
    animation: fadeIn 1s ease-out 1.5s both;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Legacy Hero Section */
.hero-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.min-vh-50 {
    min-height: 60vh;
}

/* About Section with Scroll Animations */
.about-section {
    position: relative;
    padding: 60px 0 !important;
}

.min-vh-80 {
    min-height: auto;
}

/* Service Scroll Items */
.service-scroll-item {
    position: relative;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 30px;
}

.service-scroll-item.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.service-scroll-item.scroll-visible-up {
    opacity: 1;
    transform: translateY(0);
}

/* Service Content Scroll */
.service-content-scroll {
    padding: 20px 30px;
    position: relative;
}

.service-content-scroll h3 {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.service-scroll-item.scroll-visible .service-content-scroll h3,
.service-scroll-item.scroll-visible-up .service-content-scroll h3 {
    opacity: 1;
    transform: translateX(0);
}

.service-content-scroll p {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
}

.service-scroll-item.scroll-visible .service-content-scroll p,
.service-scroll-item.scroll-visible-up .service-content-scroll p {
    opacity: 1;
    transform: translateX(0);
}

.service-content-scroll ul {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s;
}

.service-scroll-item.scroll-visible .service-content-scroll ul,
.service-scroll-item.scroll-visible-up .service-content-scroll ul {
    opacity: 1;
    transform: translateX(0);
}

.service-content-scroll .btn {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s;
}

.service-scroll-item.scroll-visible .service-content-scroll .btn,
.service-scroll-item.scroll-visible-up .service-content-scroll .btn {
    opacity: 1;
    transform: translateY(0);
}

/* Service Image Scroll */
.service-image-scroll {
    position: relative;
    opacity: 0;
    transform: translateX(100px) scale(0.9);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-scroll-item[data-scroll-item="2"] .service-image-scroll {
    transform: translateX(-100px) scale(0.9);
}

.service-scroll-item.scroll-visible .service-image-scroll,
.service-scroll-item.scroll-visible-up .service-image-scroll {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.service-image-scroll img {
    transition: transform 0.6s ease;
    width: 100%;
    height: auto;
}

.service-scroll-item.scroll-visible .service-image-scroll img,
.service-scroll-item.scroll-visible-up .service-image-scroll img {
    transform: scale(1);
}

/* Service Icon Scroll */
.service-icon-scroll {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-scroll-item.scroll-visible .service-icon-scroll,
.service-scroll-item.scroll-visible-up .service-icon-scroll {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.icon-circle-scroll {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #1e3a8a 0%, #d4af37 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.4);
    transition: all 0.6s ease;
}

.service-scroll-item.scroll-visible .icon-circle-scroll,
.service-scroll-item.scroll-visible-up .icon-circle-scroll {
    animation: iconPulse 2s infinite ease-in-out;
    box-shadow: 0 30px 80px rgba(30, 58, 138, 0.6);
}

.icon-circle-scroll i {
    font-size: 3.5rem;
    color: white;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Reverse animations for even items */
.service-scroll-item[data-scroll-item="2"] .service-content-scroll h3,
.service-scroll-item[data-scroll-item="2"] .service-content-scroll p,
.service-scroll-item[data-scroll-item="2"] .service-content-scroll ul {
    transform: translateX(50px);
}

.service-scroll-item[data-scroll-item="2"].scroll-visible .service-content-scroll h3,
.service-scroll-item[data-scroll-item="2"].scroll-visible .service-content-scroll p,
.service-scroll-item[data-scroll-item="2"].scroll-visible .service-content-scroll ul,
.service-scroll-item[data-scroll-item="2"].scroll-visible-up .service-content-scroll h3,
.service-scroll-item[data-scroll-item="2"].scroll-visible-up .service-content-scroll p,
.service-scroll-item[data-scroll-item="2"].scroll-visible-up .service-content-scroll ul {
    transform: translateX(0);
}

.about-bg-decoration {
    pointer-events: none;
    z-index: 0;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    animation: float 20s infinite ease-in-out;
}

.decoration-circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.decoration-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

.decoration-circle-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.about-swiper-3d-wrapper {
    position: relative;
    padding: 60px 0;
    z-index: 1;
}

.about-swiper-3d {
    width: 100%;
    height: 700px;
    padding-bottom: 80px;
}

.about-swiper-3d .swiper-slide {
    width: 500px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-swiper-3d .swiper-slide-active {
    transform: scale(1.05);
    z-index: 10;
}

.about-swiper-3d .swiper-slide-prev,
.about-swiper-3d .swiper-slide-next {
    opacity: 0.6;
    transform: scale(0.9);
}

/* Service Card 3D */
.service-card-3d {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    perspective: 1000px;
}

.about-swiper-3d .swiper-slide-active .service-card-3d {
    transform: rotateY(0deg) translateZ(50px);
}

.about-swiper-3d .swiper-slide-prev .service-card-3d {
    transform: rotateY(25deg) translateZ(-50px);
}

.about-swiper-3d .swiper-slide-next .service-card-3d {
    transform: rotateY(-25deg) translateZ(-50px);
}

.service-image-wrapper-3d {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.service-img-3d {
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1.1);
}

.about-swiper-3d .swiper-slide-active .service-img-3d {
    transform: scale(1);
}

.service-gradient-overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.service-icon-3d {
    z-index: 2;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.icon-wrapper-3d {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(212, 175, 55, 0.9) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.icon-wrapper-3d i {
    font-size: 4rem;
    animation: pulse 2s infinite;
}

.about-swiper-3d .swiper-slide-active .icon-wrapper-3d {
    transform: scale(1.1);
    box-shadow: 0 30px 80px rgba(30, 58, 138, 0.5);
}

.about-swiper-3d .swiper-slide-active .service-icon-3d h2 {
    animation: slideInUp 0.6s ease-out;
}

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

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

.service-content-3d {
    background: white;
    transition: all 0.6s ease;
}

.about-swiper-3d .swiper-slide-active .service-content-3d {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.service-icon-badge-3d {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.about-swiper-3d .swiper-slide-active .service-icon-badge-3d {
    animation: rotateIn 0.6s ease-out 0.4s both;
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Navigation */
.about-nav-next,
.about-nav-prev {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a8a 0%, #d4af37 100%);
    border-radius: 50%;
    color: white;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
}

.about-nav-next:hover,
.about-nav-prev:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.6);
}

.about-nav-next::after,
.about-nav-prev::after {
    font-size: 24px;
    font-weight: bold;
}

/* Pagination */
.about-pagination {
    bottom: 20px !important;
}

.about-pagination .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: rgba(30, 58, 138, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 8px;
}

.about-pagination .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #1e3a8a 0%, #d4af37 100%);
    transform: scale(1.3);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.5);
}

/* Progress Bar */
.swiper-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(30, 58, 138, 0.1);
    z-index: 10;
}

.swiper-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    transition: width 0.3s ease;
    animation: progress 5s linear infinite;
}

@keyframes progress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

.about-swiper-3d.swiper-autoplay-paused .swiper-progress-fill {
    animation-play-state: paused;
}

/* Service Cards Legacy */
.service-card {
    transition: all 0.3s;
    border: 1px solid #e2e8f0 !important;
}

.service-icon {
    color: var(--primary-color);
}

.rounded-4 {
    border-radius: 1rem !important;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(180deg,
        #f8fafc 0%,
        #f1f5f9 30%,
        #e2e8f0 60%,
        #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(244, 208, 63, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    background-size: 600px 600px, 500px 500px, 700px 700px;
    background-position: 0% 0%, 100% 100%, 50% 50%;
    animation: backgroundShift 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.about-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(45deg, transparent 0%, rgba(212, 175, 55, 0.03) 50%, transparent 100%),
        linear-gradient(-45deg, transparent 0%, rgba(244, 208, 63, 0.03) 50%, transparent 100%);
    background-size: 200px 200px;
    background-position: 0% 0%, 100% 100%;
    animation: patternMove 30s linear infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

@keyframes backgroundShift {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
    }
    33% {
        background-position: 20% 30%, 80% 70%, 60% 40%;
    }
    66% {
        background-position: 30% 20%, 70% 80%, 40% 60%;
    }
}

@keyframes patternMove {
    0% {
        background-position: 0% 0%, 100% 100%;
    }
    100% {
        background-position: 100% 100%, 0% 0%;
    }
}

.about-section .container {
    position: relative;
    z-index: 1;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #d4af37 100%);
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 700;
}

/* Portfolio Filter Section */
.portfolio-filter {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.btn-filter {
    margin: 5px 8px;
    border-radius: 50px;
    padding: 10px 30px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    background: transparent;
    color: #64748b;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-filter:hover {
    border-color: rgba(30, 58, 138, 0.5);
    color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

.btn-filter.active {
    background: linear-gradient(135deg, #1e3a8a 0%, #d4af37 100%);
    border-color: #3b82f6;
    color: #fff;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
}

/* Portfolio Grid Section */
.portfolio-grid {
    padding: 100px 0;
    background: linear-gradient(180deg,
        #ffffff 0%,
        #f8fafc 30%,
        #f1f5f9 60%,
        #ffffff 100%);
    position: relative;
}

.portfolio-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(244, 208, 63, 0.05) 0%, transparent 50%);
    background-size: 700px 700px, 600px 600px;
    background-position: 0% 0%, 100% 100%;
    pointer-events: none;
    z-index: 0;
}

.portfolio-grid .container {
    position: relative;
    z-index: 1;
}

.portfolio-item {
    cursor: pointer;
    margin-bottom: 30px;
}

.portfolio-card-modern {
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.portfolio-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.5);
}

.portfolio-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(30, 58, 138, 0.1) 100%);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card-modern:hover .portfolio-image {
    transform: scale(1.15);
}

.portfolio-icon-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(30, 58, 138, 0.95) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.portfolio-card-modern:hover .portfolio-icon-overlay {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.6);
}

.portfolio-overlay-modern {
    background: linear-gradient(135deg,
        rgba(30, 58, 138, 0.95) 0%,
        rgba(30, 58, 138, 0.95) 50%,
        rgba(147, 51, 234, 0.95) 100%);
    backdrop-filter: blur(10px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-overlay-modern {
    opacity: 1 !important;
}

.portfolio-overlay-modern h4 {
    font-size: 1.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.portfolio-overlay-modern p {
    font-size: 1rem;
    line-height: 1.7;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

.btn-portfolio {
    background: white;
    color: #3b82f6;
    border: none;
    padding: 10px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-portfolio:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #f8fafc;
    color: #2563eb;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.portfolio-tags .badge {
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .portfolio-image-wrapper {
        height: 250px;
    }

    .portfolio-icon-overlay {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        top: 15px;
        right: 15px;
    }

    .portfolio-overlay-modern h4 {
        font-size: 1.5rem;
    }

    .portfolio-overlay-modern p {
        font-size: 0.9rem;
    }
}

/* Testimonials */
.testimonial-card {
    transition: transform 0.3s;
}

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

/* About Content Section */
.about-content {
    padding: 80px 0;
    background: linear-gradient(180deg,
        #ffffff 0%,
        #f8fafc 30%,
        #f1f5f9 60%,
        #ffffff 100%);
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(244, 208, 63, 0.05) 0%, transparent 50%);
    background-size: 700px 700px, 600px 600px;
    background-position: 0% 0%, 100% 100%;
    pointer-events: none;
    z-index: 0;
}

.about-content .container {
    position: relative;
    z-index: 1;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
}

.about-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-wrapper:hover .about-main-image {
    transform: scale(1.05);
}

.service-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.service-image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.25);
    border-color: rgba(212, 175, 55, 0.4);
}

.service-card-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.9) 100%);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-image-card:hover .service-card-overlay {
    transform: translateY(0);
}

.service-card-overlay h5 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.service-card-overlay p {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

.value-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
}

.value-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.team-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.25);
    border-color: rgba(212, 175, 55, 0.4);
}

.team-card img {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(212, 175, 55, 0.2);
}

.team-card:hover img {
    transform: scale(1.05);
    border-color: rgba(212, 175, 55, 0.4);
}

/* Services Detail Section */
.services-detail {
    padding: 100px 0;
    background: linear-gradient(180deg,
        #ffffff 0%,
        #f8fafc 30%,
        #f1f5f9 60%,
        #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(244, 208, 63, 0.06) 0%, transparent 50%);
    background-size: 800px 800px, 600px 600px;
    background-position: 0% 0%, 100% 100%;
    pointer-events: none;
    z-index: 0;
}

.services-detail .container {
    position: relative;
    z-index: 1;
}

.service-detail-card-modern {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.service-detail-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.25);
    border-color: rgba(212, 175, 55, 0.4);
}

.service-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(30, 58, 138, 0.1) 100%);
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-detail-card-modern:hover .service-card-image {
    transform: scale(1.1);
}

.service-card-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.service-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(30, 58, 138, 0.95) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.4);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-detail-card-modern:hover .service-icon-circle {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.6);
}

.service-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-content h3 {
    font-size: 1.75rem;
    color: #1e293b;
    margin-bottom: 16px;
}

.service-card-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 24px;
}

.service-features {
    margin-top: auto;
}

.service-features li {
    font-size: 0.95rem;
    color: #475569;
    display: flex;
    align-items: center;
}

.service-features i {
    font-size: 1.1rem;
}

.cta-box-modern {
    background: linear-gradient(135deg,
        rgba(10, 25, 41, 0.95) 0%,
        rgba(30, 58, 138, 0.95) 50%,
        rgba(212, 175, 55, 0.95) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-box-modern h3,
.cta-box-modern p {
    position: relative;
    z-index: 1;
}

.btn-cta {
    background: white;
    color: #1e3a8a;
    border: none;
    padding: 12px 40px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #f8fafc;
    color: #2563eb;
}

@media (max-width: 768px) {
    .service-card-image-wrapper {
        height: 200px;
    }

    .service-icon-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .service-card-content {
        padding: 20px;
    }
}

/* Footer */
.footer-section {
    padding: 60px 0 20px;
}

.footer-section a {
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color) !important;
}

.footer-section a strong {
    transition: all 0.3s ease;
}

.footer-section a:hover strong {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.back-to-top.show {
    display: flex;
}

/* Page Header */
.page-header {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a1929 0%, #1e3a8a 50%, #d4af37 100%) !important;
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: rgba(255, 255, 255, 0.7);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg,
        #ffffff 0%,
        #f8fafc 30%,
        #f1f5f9 60%,
        #ffffff 100%);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(244, 208, 63, 0.05) 0%, transparent 50%);
    background-size: 700px 700px, 600px 600px;
    background-position: 0% 0%, 100% 100%;
    pointer-events: none;
    z-index: 0;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.alert-modern {
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.2);
    padding: 20px 25px;
    font-weight: 500;
}

/* Contact Info Modern */
.contact-info-modern {
    position: sticky;
    top: 100px;
}

.contact-info-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    position: relative;
    padding-bottom: 20px;
}

.contact-info-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #1e3a8a 0%, #d4af37 100%);
    border-radius: 2px;
}

.contact-card-modern {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.4);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a8a 0%, #d4af37 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
}

.contact-card-modern:hover .contact-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.5);
}

.contact-card-content {
    flex: 1;
}

.contact-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.contact-card-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

.contact-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Contact Form Modern */
.contact-form-modern {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.contact-form-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

.form-group-modern {
    margin-bottom: 0;
}

.form-label-modern {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
    display: block;
    font-size: 0.95rem;
}

.form-label-modern i {
    color: #3b82f6;
}

.form-control-modern {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    color: #1e293b;
}

.form-control-modern:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.form-control-modern::placeholder {
    color: #94a3b8;
}

.form-control-modern.is-invalid {
    border-color: #ef4444;
}

.form-control-modern.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.btn-contact-submit {
    background: linear-gradient(135deg, #1e3a8a 0%, #d4af37 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.5);
    background: linear-gradient(135deg, #2563eb 0%, #5b21b6 100%);
    color: white;
}

.btn-contact-submit i {
    transition: transform 0.3s ease;
}

.btn-contact-submit:hover i {
    transform: translateX(5px);
}

/* Map Container Modern */
.map-container-modern {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.map-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #d4af37 100%);
    padding: 20px 30px;
    color: white;
}

.map-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
}

.map-wrapper {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 992px) {
    .contact-info-modern {
        position: static;
        margin-bottom: 40px;
    }

    .contact-form-modern {
        padding: 30px 20px;
    }

    .map-wrapper {
        height: 350px;
    }
}

/* Blog Posts Section */
.blog-posts {
    padding: 100px 0;
    background: linear-gradient(180deg,
        #ffffff 0%,
        #f8fafc 30%,
        #f1f5f9 60%,
        #ffffff 100%);
    position: relative;
}

.blog-posts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(244, 208, 63, 0.05) 0%, transparent 50%);
    background-size: 800px 800px, 600px 600px;
    background-position: 0% 0%, 100% 100%;
    pointer-events: none;
    z-index: 0;
}

.blog-posts .container {
    position: relative;
    z-index: 1;
}

.blog-card-modern {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.4);
}

.blog-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(30, 58, 138, 0.1) 100%);
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-modern:hover .blog-image {
    transform: scale(1.15);
}

.blog-category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.badge-category {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(30, 58, 138, 0.95) 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
}

.blog-date-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card-modern:hover .blog-title {
    color: #3b82f6;
}

.blog-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: #64748b;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    font-size: 0.9rem;
    color: #94a3b8;
}

.blog-author,
.blog-read-time {
    display: flex;
    align-items: center;
}

.blog-author i,
.blog-read-time i {
    color: #3b82f6;
}

.btn-blog {
    background: linear-gradient(135deg, #1e3a8a 0%, #d4af37 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-blog:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.5);
    background: linear-gradient(135deg, #2563eb 0%, #5b21b6 100%);
    color: white;
}

.btn-blog i {
    transition: transform 0.3s ease;
}

.btn-blog:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .blog-image-wrapper {
        height: 220px;
    }

    .blog-content {
        padding: 20px;
    }

    .blog-title {
        font-size: 1.25rem;
    }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Team Cards */
.team-card img {
    transition: transform 0.3s;
}

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

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #d4af37 100%);
}

.cta-box {
    background: linear-gradient(135deg, #1e3a8a 0%, #d4af37 100%);
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section-modern {
        min-height: auto;
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-content-wrapper {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .hero-visual-wrapper {
        margin-top: 20px;
    }

    .btn-hero {
        padding: 14px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .hero-swiper-3d {
        height: 350px;
    }

    .slide-image-wrapper {
        height: 100%;
    }

    .slide-overlay-modern {
        padding: 24px;
    }

    .slide-title {
        font-size: 1.5rem;
    }

    .slide-subtitle {
        font-size: 0.9rem;
    }

    .slide-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .scroll-indicator {
        display: none;
    }

    .hero-section {
        padding: 60px 0;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .hero-swiper-3d {
        padding: 30px 0;
    }

    .hero-swiper-3d .swiper-slide {
        width: 250px;
        height: 350px;
    }

    .hero-swiper-3d .swiper-button-next,
    .hero-swiper-3d .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .hero-swiper-3d .swiper-button-next::after,
    .hero-swiper-3d .swiper-button-prev::after {
        font-size: 16px;
    }

    /* About Section Mobile */
    .about-section {
        padding: 40px 0 !important;
    }

    .service-scroll-item {
        margin-bottom: 20px;
    }

    .min-vh-80 {
        min-height: auto;
        padding: 20px 0;
    }

    .service-content-scroll {
        padding: 15px;
        text-align: center;
    }

    .icon-circle-scroll {
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }

    .icon-circle-scroll i {
        font-size: 2.5rem;
    }

    .service-content-scroll h3 {
        font-size: 2rem;
    }

    .service-content-scroll p {
        font-size: 1rem;
    }
}

/* Swiper 3D Styles */
.hero-swiper-3d {
    width: 100%;
    padding: 50px 0;
    overflow: visible;
}

.hero-swiper-3d .swiper-slide {
    width: 300px;
    height: 400px;
    position: relative;
}

.hero-swiper-3d .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.hero-slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.hero-swiper-3d .swiper-slide-active .slide-overlay {
    transform: translateY(0);
}

.hero-swiper-3d .swiper-button-next,
.hero-swiper-3d .swiper-button-prev {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.hero-swiper-3d .swiper-button-next:hover,
.hero-swiper-3d .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.hero-swiper-3d .swiper-button-next::after,
.hero-swiper-3d .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.hero-swiper-3d .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.hero-swiper-3d .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.3);
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: linear-gradient(180deg,
        #ffffff 0%,
        #f8fafc 50%,
        #ffffff 100%);
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(244, 208, 63, 0.06) 0%, transparent 50%);
    background-size: 800px 800px, 600px 600px;
    background-position: 0% 0%, 100% 100%;
    pointer-events: none;
    z-index: 0;
}

.gallery-section .container {
    position: relative;
    z-index: 1;
}

.gallery-item-wrapper {
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
}

.gallery-item-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 1) 100%);
}

.gallery-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    border: 2px solid rgba(212, 175, 55, 0.1);
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: rgba(212, 175, 55, 0.3);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1 !important;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-image {
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    width: 100%;
}

.gallery-overlay {
    background: linear-gradient(135deg,
        rgba(30, 58, 138, 0.85) 0%,
        rgba(30, 58, 138, 0.85) 50%,
        rgba(147, 51, 234, 0.85) 100%);
    backdrop-filter: blur(10px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay h5 {
    font-size: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.gallery-overlay p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

@media (max-width: 768px) {
    .gallery-item-wrapper {
        margin-bottom: 20px;
    }

    .gallery-image {
        height: 250px;
    }
}

/* Utility Classes */
.transition {
    transition: all 0.3s ease;
}

.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Styles Bootstrap personnalisés basés sur le logo */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}
