/* ====================================
   ENHANCED MODERN STYLES FOR BNW
   Interactive Animations & Effects
   ==================================== */

/* Root variables for theming */
:root {
    --primary-gold: #D4AF37;
    --dark-navy: #0A1429;
    --light-text: #ffffff;
    --accent-red: #C41E3A;
    --gray-text: #c0c0c0;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ====================================
   GLOBAL IMPROVEMENTS
   ==================================== */

* {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* ====================================
   ENHANCED VISION-MISSION SECTION
   ==================================== */

.vision-mission {
    padding: 80px 20px !important;
    background: linear-gradient(135deg, var(--dark-navy) 0%, rgba(10, 20, 41, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.vision-mission::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-slow 6s ease-in-out infinite;
}

.vision-mission::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-slow 8s ease-in-out infinite reverse;
}

.vision-mission .cl-container {
    position: relative;
    z-index: 2;
}

.vision-mission .content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.vision-mission .content > div {
    width: 100%;
    max-width: none !important;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 50px 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.vision-mission .content > div::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.vision-mission .content > div:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
}

.vision-mission .content > div:hover::before {
    left: 100%;
}

.vision-mission .content h2 {
    font-size: 48px !important;
    font-weight: 800 !important;
    color: var(--primary-gold) !important;
    margin-bottom: 25px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.vision-mission .content p,
.vision-mission .content li {
    color: #e0e0e0 !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
    font-weight: 400 !important;
    position: relative;
    z-index: 1;
}

.vision-mission .content p {
    margin: 0 !important;
    text-align: justify;
}

.vision-mission .list-text {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
}

.vision-mission .list-text li {
    margin-bottom: 20px !important;
    padding-left: 30px;
    position: relative;
    transition: var(--transition-smooth);
}

.vision-mission .list-text li:last-child {
    margin-bottom: 0 !important;
}

.vision-mission .list-text li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-size: 20px;
    animation: pulse-dot 2s ease-in-out infinite;
}

.vision-mission .content > div:hover .list-text li {
    transform: translateX(10px);
    color: var(--primary-gold) !important;
}

/* ====================================
   ANIMATION KEYFRAMES
   ==================================== */

@keyframes float-slow {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(20px, -20px);
    }
    50% {
        transform: translate(-10px, 20px);
    }
    75% {
        transform: translate(15px, 10px);
    }
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow-border {
    0%, 100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.3), inset 0 0 20px rgba(212, 175, 55, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.5), inset 0 0 30px rgba(212, 175, 55, 0.15);
    }
}

/* Animation classes */
.animate-slide-left {
    animation: slide-in-left 0.8s ease-out forwards;
}

.animate-slide-right {
    animation: slide-in-right 0.8s ease-out forwards;
}

.animate-fade-up {
    animation: fade-in-up 0.8s ease-out forwards;
}

/* ====================================
   IMPROVED SECTIONS WITH ANIMATIONS
   ==================================== */

.section-animate {
    opacity: 0;
}

.section-animate.in-view {
    animation: fade-in-up 0.8s ease-out forwards;
}

/* Enhanced why-invest section */
.why-invest {
    background: linear-gradient(135deg, rgba(10, 20, 41, 0.95) 0%, rgba(15, 25, 50, 0.98) 100%);
    border-top: 2px solid rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.why-invest::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.03), transparent);
    animation: sweep 3s linear infinite;
}

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

.why-invest .content > div {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--primary-gold);
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.why-invest .content > div:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

/* ====================================
   INTERACTIVE BUTTONS & CONTROLS
   ==================================== */

.btn-interactive {
    position: relative;
    overflow: hidden;
    background: var(--primary-gold);
    color: var(--dark-navy);
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.btn-interactive:hover {
    background: var(--accent-red);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(196, 30, 58, 0.3);
}

.btn-interactive:hover::before {
    width: 300px;
    height: 300px;
}

/* ====================================
   RESPONSIVE DESIGN IMPROVEMENTS
   ==================================== */

@media (max-width: 768px) {
    .vision-mission {
        padding: 60px 15px !important;
    }

    .vision-mission .content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .vision-mission .content > div {
        padding: 30px 20px;
    }

    .vision-mission .content h2 {
        font-size: 36px !important;
    }

    .vision-mission .content p,
    .vision-mission .content li {
        font-size: 16px !important;
    }

    .vision-mission::before,
    .vision-mission::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .vision-mission {
        padding: 40px 10px !important;
    }

    .vision-mission .content > div {
        padding: 20px 15px;
    }

    .vision-mission .content h2 {
        font-size: 28px !important;
    }

    .vision-mission .content p,
    .vision-mission .content li {
        font-size: 14px !important;
    }
}

/* ====================================
   TEXT SHADOW & GLOW EFFECTS
   ==================================== */

.text-glow {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5),
                 0 0 20px rgba(212, 175, 55, 0.3);
}

.card-glow {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

/* ====================================
   SCROLL REVEAL ANIMATIONS
   ==================================== */

.reveal {
    position: relative;
    opacity: 0;
}

.reveal.active {
    animation: fade-in-up 0.8s ease-out forwards;
}

.reveal-stagger-1 { animation-delay: 0.1s; }
.reveal-stagger-2 { animation-delay: 0.2s; }
.reveal-stagger-3 { animation-delay: 0.3s; }
.reveal-stagger-4 { animation-delay: 0.4s; }
.reveal-stagger-5 { animation-delay: 0.5s; }

/* ====================================
   SMOOTH PAGE TRANSITIONS
   ==================================== */

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

/* ====================================
   ENHANCED HOVER EFFECTS
   ==================================== */

.hover-lift {
    transition: var(--transition-smooth);
}

.hover-lift:hover {
    transform: translateY(-8px);
}

.hover-glow:hover {
    animation: glow-border 0.8s ease-in-out;
}

/* ====================================
   GRADIENT TEXT EFFECTS
   ==================================== */

.gradient-text {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ====================================
   LOADING ANIMATIONS
   ==================================== */

.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ====================================
   IMAGE HOVER EFFECTS
   ==================================== */

.image-hover {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.image-hover img {
    transition: var(--transition-smooth);
}

.image-hover:hover img {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(1.1);
}

/* ====================================
   FLOATING ELEMENTS
   ==================================== */

.float-element {
    animation: float-slow 4s ease-in-out infinite;
}

.float-element-delay {
    animation: float-slow 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* ====================================
   ENHANCED GLASS MORPHISM
   ==================================== */

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.glass-hover:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

/* ====================================
   COUNTER ANIMATION
   ==================================== */

.counter {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-gold);
}

@keyframes count-up {
    from {
        counter-increment: counter 0;
    }
}

/* ====================================
   INTERACTIVE FORM ELEMENTS
   ==================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    transition: var(--transition-smooth);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: rgba(224, 224, 224, 0.5);
}

/* ====================================
   MEGA MENU ENHANCEMENT
   ==================================== */

.mega-menu {
    background: linear-gradient(135deg, rgba(10, 20, 41, 0.98) 0%, rgba(15, 25, 50, 0.99) 100%);
    border-top: 2px solid var(--primary-gold);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.mega-menu a {
    transition: var(--transition-smooth);
}

.mega-menu a:hover {
    color: var(--primary-gold) !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}
