/* Go Trading - Modern CSS Styles */
:root {
    --primary-navy: #29376F;
    --secondary-gold: #C0903C;
    --accent-green: #7DA555;
    --light-blue: #e8f1fa;
    --light-gray: #f8f9fa;
    --dark-gray: #333;
    --white: #ffffff;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1a2850 50%, var(--accent-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    color: white;
    animation: preloaderFadeIn 1s ease;
}

.preloader-logo {
    margin-bottom: 30px;
}

.preloader-logo-img {
    width: 80px;
    height: 80px;
    animation: logoSpin 2s ease-in-out infinite alternate;
    filter: brightness(0) invert(1);
}

.preloader-spinner {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
}

.spinner-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid var(--secondary-gold);
    border-radius: 50%;
    animation: spinnerRotate 1s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    border-top-color: var(--accent-green);
    animation-duration: 1.5s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
    border-top-color: #fff;
    animation-duration: 2s;
}

.preloader-text h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-gold);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.preloader-text p {
    font-size: 1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.preloader-progress-container {
    width: 250px;
    margin: 0 auto 20px;
}

.preloader-progress {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.preloader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--secondary-gold), var(--accent-green), var(--secondary-gold));
    background-size: 200% 100%;
    border-radius: 3px;
    transition: width 0.4s ease;
    animation: progressShimmer 2s infinite;
}

.preloader-status {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-top: 10px;
    min-height: 20px;
    font-weight: 500;
}

@keyframes progressShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-gold), var(--accent-green));
    border-radius: 2px;
    animation: progressFill 3s ease;
    transform-origin: left;
}

@keyframes preloaderFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoSpin {
    from {
        transform: rotate(0deg) scale(1);
    }
    to {
        transform: rotate(360deg) scale(1.1);
    }
}

@keyframes spinnerRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes progressFill {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
    /* Hide main page scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Desktop padding for sticky navbar */
@media (min-width: 992px) {
    body {
        padding-top: 120px; /* Space for topbar (44px) + navbar (76px) */
        transition: padding-top 0.3s ease;
    }
}

/* Mobile padding - no sticky navbar */
@media (max-width: 991.98px) {
    body {
        padding-top: 0;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-navy);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Top Bar */
.top-bar {
    background: var(--primary-navy);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    z-index: 1001;
    height: 44px; /* Fixed height for consistent spacing */
    transition: transform 0.3s ease;
    position: relative;
}

/* Desktop: Fixed top bar */
@media (min-width: 992px) {
    .top-bar {
        position: fixed;
        top: 0;
        width: 100%;
    }
}

/* Mobile: Static top bar */
@media (max-width: 991.98px) {
    .top-bar {
        position: static;
    }
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: var(--secondary-gold);
}

.social-icons a {
    color: var(--white);
    margin: 0 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--secondary-gold);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(41, 55, 111, 0.1);
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 15px 0;
    min-height: 76px; /* Fixed height for consistent spacing */
}

/* Start of Selection */
/* Desktop: Fixed navbar with top positioning - ALWAYS VISIBLE */
@media (min-width: 992px) {
    .navbar {
        position: fixed;
        top: 44px; /* Below topbar (44px height) */
        width: 100%;
        z-index: 1000;
        background: rgba(255,255,255,0.95) !important;
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 20px rgba(41, 55, 111, 0.1);
        transition: all 0.4s ease;
    }
    
    .navbar.scrolled {
        background: rgba(255,255,255,0.98) !important;
        box-shadow: 0 4px 30px rgba(41, 55, 111, 0.15);
        top: 0; /* Move to top when scrolled */
        transform: translateY(0) !important; /* Always visible */
    }
    
    /* Body padding to prevent content overlap */
    body {
        padding-top: 120px; /* 44px (topbar) + 76px (navbar) */
    }
    
    /* When navbar is scrolled, reduce body padding */
    body.navbar-scrolled {
        padding-top: 76px; /* Only navbar height */
        transition: padding-top 0.3s ease;
    }
    
    /* Ensure main content doesn't overlap */
    main, .main-content, #home {
        margin-top: 0;
        position: relative;
        z-index: 1;
    }
    
    /* Hero section specific adjustments */
    .hero-section {
        margin-top: 0;
        padding-top: 20px;
    }
}
/* End of Selection */

/* Mobile: Static navbar */
@media (max-width: 991.98px) {
    .navbar {
        position: static;
        top: auto;
    }
}

.brand-logo {
    width: 50px;
    height: auto;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--dark-gray) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link:focus {
    color: var(--primary-navy) !important;
    background: var(--light-blue);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary-navy) !important;
    background: var(--light-blue);
}

/* CTA Button in Navbar */
.navbar-cta {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-gold) 100%);
    color: var(--white) !important;
    border: none;
    padding: 10px 24px !important;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(41, 55, 111, 0.3);
    position: relative;
    overflow: hidden;
}

.navbar-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(41, 55, 111, 0.4);
    color: var(--white) !important;
}

.navbar-cta: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: all 0.6s ease;
}

.navbar-cta:hover:before {
    left: 100%;
}

/* Language Dropdown - Navbar Style */
.nav-item .dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(41, 55, 111, 0.15);
    border-radius: 12px;
    overflow: hidden;
    min-width: 180px;
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    animation: dropdownFadeIn 0.2s ease;
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.nav-item .dropdown-menu::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.nav-item .dropdown-item {
    padding: 10px 16px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item .dropdown-item:hover {
    background: linear-gradient(135deg, var(--light-blue), rgba(224, 240, 255, 0.8));
    color: var(--primary-navy);
    transform: translateX(3px);
    padding-left: 20px;
}

/* Language Selector Button in Navbar */
.nav-link.dropdown-toggle {
    background: rgba(41, 55, 111, 0.1);
    border-radius: 8px;
    padding: 8px 12px !important;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer !important;
    user-select: none;
}

.nav-link.dropdown-toggle:hover {
    background: rgba(41, 55, 111, 0.15);
    border-color: rgba(41, 55, 111, 0.2);
    transform: translateY(-1px);
}

.nav-link.dropdown-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(41, 55, 111, 0.2);
}

.nav-link.dropdown-toggle::after {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.nav-link.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Fix for language dropdown on mobile */
@media (max-width: 991.98px) {
    .language-dropdown {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .navbar-nav {
        align-items: flex-start;
    }
    
    .navbar-collapse {
        padding: 15px 0;
    }
    
    .navbar-collapse .navbar-nav {
        margin-bottom: 10px;
    }
    
    .navbar-collapse .navbar-cta {
        margin-top: 10px;
        display: block;
        width: 100%;
    }
    
    /* Mobile language selector */
    .nav-link.dropdown-toggle {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        margin: 5px 0;
    }
    
    .nav-link.dropdown-toggle:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
    }
    
    .nav-item .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        margin: 10px 0;
        width: 100%;
    }
}

/* Brand Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-gold) 100%);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(41, 55, 111, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(41, 55, 111, 0.4);
}

.btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.btn-primary:hover:before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(41, 55, 111, 0.3);
}

.btn-outline-primary {
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
    background: transparent;
    border-radius: 25px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(41, 55, 111, 0.3);
}

.btn-lg {
    padding: 14px 35px;
    font-size: 18px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&q=80') center/cover no-repeat;
    padding: 150px 0 100px;
    color: white;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
}

/* Hero Section Responsive Adjustments */
@media (min-width: 1601px) {
    .hero-section {
        min-height: 90vh;
        padding: 150px 0 100px;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .hero-content p {
        font-size: 1.3rem;
    }
}

@media (max-width: 1600px) and (min-width: 1201px) {
    .hero-section {
        min-height: 95vh;
        padding: 130px 0 80px;
    }
}

@media (max-width: 1200px) {
    .hero-section {
        min-height: 90vh;
        padding: 100px 0 60px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        min-height: 80vh;
        padding: 80px 0 50px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        height: 100vh;
        padding: 120px 0 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 20px;
        padding: 0 15px;
    }
    
    .hero-buttons {
        margin-bottom: 20px;
    }
    
    .hero-cta {
        margin-bottom: 10px;
        margin-right: 0;
        display: block;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 15px;
    }
    
    .btn-outline-primary {
        display: block;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Advanced Floating Elements */
.floating-element {
    position: absolute;
    z-index: 2;
    opacity: 0.8;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.floating-element:hover {
    transform: scale(1.1) translateY(-10px);
    opacity: 1;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.5));
    background: rgba(255, 255, 255, 0.15);
}

.floating-element img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1);
}

.ship-element {
    top: 20%;
    left: 8%;
    width: 140px;
    height: 140px;
    animation: advancedFloat 12s ease-in-out infinite, gentleRotate 30s linear infinite;
    background: linear-gradient(135deg, rgba(41, 55, 111, 0.2), rgba(192, 144, 60, 0.2));
}

.globe-element {
    bottom: 25%;
    right: 10%;
    width: 120px;
    height: 120px;
    animation: advancedFloat 10s ease-in-out infinite 2s, gentleRotate 25s linear infinite reverse;
    background: linear-gradient(135deg, rgba(125, 165, 85, 0.2), rgba(41, 55, 111, 0.2));
}

.box-element {
    top: 55%;
    left: 15%;
    width: 100px;
    height: 100px;
    animation: advancedFloat 14s ease-in-out infinite 1s, pulse 8s ease-in-out infinite;
    background: linear-gradient(135deg, rgba(192, 144, 60, 0.2), rgba(125, 165, 85, 0.2));
}

/* Responsive Floating Elements */
@media (max-width: 1200px) {
    .ship-element {
        width: 100px;
    }
    
    .globe-element {
        width: 80px;
    }
    
    .box-element {
        width: 70px;
    }
}

@media (max-width: 992px) {
    .ship-element {
        width: 90px;
        top: 12%;
    }
    
    .globe-element {
        width: 70px;
        bottom: 15%;
    }
    
    .box-element {
        width: 60px;
        top: 50%;
    }
}

@media (max-width: 768px) {
    .floating-element {
        opacity: 0.6;
    }
}

@keyframes advancedFloat {
    0% {
        transform: translateY(0) translateX(0) scale(1);
    }
    25% {
        transform: translateY(-15px) translateX(5px) scale(1.02);
    }
    50% {
        transform: translateY(-25px) translateX(0) scale(1.05);
    }
    75% {
        transform: translateY(-15px) translateX(-5px) scale(1.02);
    }
    100% {
        transform: translateY(0) translateX(0) scale(1);
    }
}

@keyframes gentleRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1);
    }
}

/* Animated Background Pattern */
.hero-section::after {
    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%, rgba(255, 255, 255, 0) 8%),
                      radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 8%),
                      radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 8%),
                      radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 8%);
    z-index: -1;
    opacity: 0.7;
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(41, 55, 111, 0.9) 0%, rgba(192, 144, 60, 0.8) 100%);
    z-index: -1;
    animation: gradientAnimation 15s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background: linear-gradient(135deg, rgba(41, 55, 111, 0.9) 0%, rgba(192, 144, 60, 0.8) 100%);
    }
    50% {
        background: linear-gradient(135deg, rgba(41, 55, 111, 0.85) 20%, rgba(192, 144, 60, 0.9) 80%, rgba(125, 165, 85, 0.8) 100%);
    }
    100% {
        background: linear-gradient(135deg, rgba(41, 55, 111, 0.9) 0%, rgba(192, 144, 60, 0.8) 100%);
    }
}

/* Floating Elements */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('https://cdn-icons-png.flaticon.com/512/2271/2271068.png'),
        url('https://cdn-icons-png.flaticon.com/512/3028/3028626.png'),
        url('https://cdn-icons-png.flaticon.com/512/2438/2438006.png'),
        url('https://cdn-icons-png.flaticon.com/512/5741/5741333.png'),
        url('https://cdn-icons-png.flaticon.com/512/2271/2271113.png');
    background-repeat: no-repeat;
    background-size: 80px, 60px, 70px, 50px, 65px;
    background-position: 
        10% 20%,
        85% 15%,
        75% 75%,
        15% 85%,
        90% 40%;
    opacity: 0.15;
    z-index: -1;
    animation: floatingIcons 15s infinite ease-in-out;
}

@keyframes floatingIcons {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-logo {
    max-width: 120px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.2s;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.4s;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.hero-cta {
    margin-right: 15px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-cta .btn-text {
    margin-right: 10px;
}

.hero-cta .btn-icon {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.hero-cta:hover .btn-icon {
    opacity: 1;
    transform: translateX(0);
}

.hero-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Stats Container */
.stats-container {
    display: flex;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-item {
    text-align: center;
    padding: 0 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating 3D cards */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    z-index: 2;
    transform: rotate(-5deg);
    animation: float 6s infinite ease-in-out;
    min-width: 200px;
    transition: all 0.5s ease;
}

.floating-card.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 25%;
    right: 10%;
    animation-delay: 1s;
}

/* Responsive Floating Cards */
@media (max-width: 1200px) {
    .floating-card {
        min-width: 180px;
        padding: 12px;
    }
}

@media (max-width: 992px) {
    .floating-card {
        min-width: 160px;
        padding: 10px;
    }
    
    .floating-card.card-1 {
        top: 15%;
        left: 5%;
    }
    
    .floating-card.card-2 {
        bottom: 20%;
        right: 5%;
    }
}

@media (max-width: 768px) {
    .floating-card {
        opacity: 0.8;
        min-width: 140px;
    }
}

@keyframes float {
    0% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(-2deg); }
    100% { transform: translateY(0) rotate(-5deg); }
}

/* Hero Contact Button Hover */
.btn-outline-primary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Animated background pattern */
.hero-section {
    position: relative;
}

.hero-section .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 8%), 
                      radial-gradient(circle at 75% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 8%);
    background-size: 60px 60px;
    background-position: 0 0;
    animation: patternMove 60s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes patternMove {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 1000px; }
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    transition: all 0.3s ease;
}

.glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
}

/* Feature Icons */
.feature-icon {
    font-size: 2.2rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    background: var(--light-blue);
    padding: 20px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(41, 55, 111, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    overflow: hidden;
}

/* Hero Section Feature Icons - Special Styling */
.hero-section .feature-icon {
    font-size: 2.2rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(41, 55, 111, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-icon:hover::before {
    opacity: 1;
}

.feature-icon:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(41, 55, 111, 0.2);
}

/* Hero Section Feature Icons Hover Effect */
.hero-section .feature-icon::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
}

.hero-section .feature-icon:hover {
    background: var(--secondary-gold);
    color: var(--white);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Testimonial Carousel */
.testimonial-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateX(50px);
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(41, 55, 111, 0.12);
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(41, 55, 111, 0.08);
}

.testimonial-content {
    flex: 1;
    padding-bottom: 20px;
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: -10px;
    left: -5px;
    font-size: 2rem;
    color: var(--secondary-gold);
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    color: var(--dark);
}

.testimonial-rating {
    color: var(--secondary-gold);
    font-size: 1.1rem;
    margin-top: auto;
}

.testimonial-author {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-right: 15px;
}

.testimonial-info {
    flex: 1;
}

.author-name {
    margin: 0;
    font-weight: 600;
    color: var(--primary-navy);
}

.author-title {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(41, 55, 111, 0.2);
}

/* Hover effect for avatar */
.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.1);
}

/* Testimonial Navigation */
.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.testimonial-nav-btn {
    background: var(--white);
    border: none;
    color: var(--primary-navy);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-nav-btn:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(41, 55, 111, 0.2);
}

.testimonial-indicators {
    display: flex;
    gap: 8px;
}

.testimonial-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-indicator.active {
    background: var(--secondary-gold);
    transform: scale(1.2);
}

/* Testimonial Animation */
@keyframes testimonialFadeIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes testimonialFadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50px);
    }
}

/* Partners Section */
.partners {
    padding: 60px 0;
}

.partner-logo {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(41, 55, 111, 0.1), transparent);
    transition: left 0.8s ease;
}

.partner-logo:hover::before {
    left: 100%;
}

.partner-logo img {
    max-height: 45px;
    max-width: 120px;
    opacity: 0.8;
    filter: grayscale(70%) contrast(1.1);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.partner-logo:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.partner-logo:hover img {
    opacity: 1;
    filter: grayscale(0%) contrast(1.2);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .partner-logo {
        height: 80px;
        padding: 15px;
    }
    
    .partner-logo img {
        max-height: 35px;
        max-width: 100px;
    }
}

/* FAQ Accordion */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(41, 55, 111, 0.1);
}

.accordion-button {
    background: var(--white);
    border: none;
    padding: 20px;
    font-weight: 600;
    color: var(--primary-navy);
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: var(--light-blue);
    color: var(--primary-navy);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(41, 55, 111, 0.25);
}

.accordion-body {
    padding: 20px;
    background: var(--light-gray);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(41, 55, 111, 0.15);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 0.2rem rgba(41, 55, 111, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

/* WhatsApp Button */
.sticky-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: whatsappPulse 2s infinite;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
}

.sticky-whatsapp.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.sticky-whatsapp:hover {
    transform: scale(1.15) rotate(10deg);
    color: var(--white);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    animation: none;
}

.sticky-whatsapp:active {
    transform: scale(0.95);
}

.sticky-whatsapp i {
    transition: all 0.3s ease;
}

.sticky-whatsapp:hover i {
    animation: whatsappBounce 0.75s ease infinite;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

@keyframes whatsappBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Enhanced Animated Footer */
footer {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1a2850 50%, var(--accent-green) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23footerPattern)"/></svg>');
    pointer-events: none;
    animation: patternMove 20s linear infinite;
}

/* Footer Animation Layer */
.footer-animation-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.15;
}

/* Floating Ships Animation */
.floating-ship {
    position: absolute;
    font-size: 24px;
    color: var(--secondary-gold);
    animation: floatShip 15s ease-in-out infinite;
    opacity: 0.6;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.floating-ship.ship-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.floating-ship.ship-2 {
    top: 60%;
    left: 80%;
    animation-delay: 5s;
    animation-duration: 18s;
}

.floating-ship.ship-3 {
    top: 40%;
    left: 60%;
    animation-delay: 10s;
    animation-duration: 22s;
}

/* Floating Trade Icons */
.floating-trade {
    position: absolute;
    font-size: 20px;
    color: var(--accent-green);
    animation: floatTrade 12s ease-in-out infinite;
    opacity: 0.4;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}

.floating-trade.trade-1 {
    top: 15%;
    left: 70%;
    animation-delay: 2s;
}

.floating-trade.trade-2 {
    top: 70%;
    left: 20%;
    animation-delay: 6s;
}

.floating-trade.trade-3 {
    top: 45%;
    left: 85%;
    animation-delay: 8s;
}

/* Animated Dots */
.animated-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--secondary-gold);
    border-radius: 50%;
    animation: pulseDot 3s ease-in-out infinite;
    opacity: 0.5;
    box-shadow: 0 0 15px var(--secondary-gold);
}

.animated-dot.dot-1 {
    top: 25%;
    left: 15%;
    animation-delay: 0s;
}

.animated-dot.dot-2 {
    top: 65%;
    left: 45%;
    animation-delay: 1s;
}

.animated-dot.dot-3 {
    top: 35%;
    left: 75%;
    animation-delay: 2s;
}

.animated-dot.dot-4 {
    top: 80%;
    left: 65%;
    animation-delay: 1.5s;
}

.animated-dot.dot-5 {
    top: 10%;
    left: 90%;
    animation-delay: 0.5s;
}

/* Trade Routes Lines */
.trade-route {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--secondary-gold) 50%, 
        transparent 100%);
    height: 2px;
    opacity: 0.3;
    animation: tradeRoute 8s linear infinite;
    box-shadow: 0 0 8px var(--secondary-gold);
}

.trade-route.route-1 {
    top: 30%;
    left: 0%;
    width: 40%;
    animation-delay: 0s;
}

.trade-route.route-2 {
    top: 55%;
    left: 30%;
    width: 50%;
    animation-delay: 3s;
}

.trade-route.route-3 {
    top: 75%;
    left: 10%;
    width: 35%;
    animation-delay: 6s;
}

/* Animation Keyframes for Footer */
@keyframes floatShip {
    0%, 100% { 
        transform: translateY(0) translateX(0) rotate(0deg); 
        opacity: 0.6; 
    }
    25% { 
        transform: translateY(-15px) translateX(10px) rotate(2deg); 
        opacity: 0.8; 
    }
    50% { 
        transform: translateY(-8px) translateX(-5px) rotate(-1deg); 
        opacity: 0.4; 
    }
    75% { 
        transform: translateY(-20px) translateX(15px) rotate(3deg); 
        opacity: 0.7; 
    }
}

@keyframes floatTrade {
    0%, 100% { 
        transform: translateY(0) scale(1) rotate(0deg); 
        opacity: 0.4; 
    }
    50% { 
        transform: translateY(-25px) scale(1.1) rotate(10deg); 
        opacity: 0.7; 
    }
}

@keyframes pulseDot {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.5; 
        box-shadow: 0 0 15px var(--secondary-gold);
    }
    50% { 
        transform: scale(1.8); 
        opacity: 1; 
        box-shadow: 0 0 25px var(--secondary-gold);
    }
}

@keyframes tradeRoute {
    0% { 
        transform: translateX(-100%); 
        opacity: 0; 
    }
    10% { 
        opacity: 0.3; 
    }
    90% { 
        opacity: 0.3; 
    }
    100% { 
        transform: translateX(200%); 
        opacity: 0; 
    }
}

.footer-section {
    position: relative;
    z-index: 2;
}

.footer-section h5 {
    color: var(--secondary-gold);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links a {
    color: #e0e6ed;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-gold);
    transform: translateX(5px);
}

.social-links a {
    color: var(--white);
    margin-right: 15px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-gold);
    transform: translateY(-3px);
}

/* Animations */
.fadein {
    opacity: 1; /* Make content visible by default */
    transform: translateY(0);
    transition: all 0.8s ease;
}

.fadein.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero CTA Button */
.hero-cta {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
    box-shadow: 0 10px 25px rgba(192, 144, 60, 0.3);
}

.hero-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(192, 144, 60, 0.4);
}

.hero-cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.8s ease;
}

.hero-cta:hover:before {
    left: 100%;
}

/* Button Loading State */
.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure all content is visible */
section {
    position: relative;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease both;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        padding-top: 80px; /* Space for sticky navbar on mobile */
    }
    
    .navbar {
        position: fixed !important;
        top: 0;
        width: 100%;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .hero-logo {
        width: 60px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .sticky-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 22px;
        bottom: 15px;
        right: 15px;
    }
    
    .navbar-cta {
        display: inline-block;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
    
    /* Mobile Footer Animations */
    .footer-animation-layer {
        opacity: 0.08;
    }
    
    .floating-ship {
        font-size: 18px;
        animation-duration: 25s;
    }
    
    .floating-trade {
        font-size: 16px;
        animation-duration: 15s;
    }
    
    .animated-dot {
        width: 6px;
        height: 6px;
    }
    
    .trade-route {
        height: 1px;
        animation-duration: 12s;
    }
}

@media (max-width: 576px) {
    .btn-lg {
        padding: 12px 25px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Language Switch Animation */
.language-switch {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.language-switch.active {
    opacity: 1;
    transform: translateY(0);
}

.language-link.active {
    background-color: rgba(41, 55, 111, 0.1);
    font-weight: 600;
}

/* Language Notification */
.language-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    color: var(--text-dark);
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.language-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.language-notification.success {
    border-left: 4px solid var(--success);
}

.language-notification.error {
    border-left: 4px solid var(--danger);
}

.language-notification.loading {
    border-left: 4px solid var(--primary-navy);
}

.language-notification .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(41, 55, 111, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-navy);
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Language Transition */
.language-switch * {
    transition: opacity 0.3s ease;
}

.language-switch {
    position: relative;
}

.language-switch::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.language-switch.active::before {
    opacity: 1;
}

/* Form Validation States */
.form-control.is-valid {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 0.2rem rgba(125, 165, 85, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--primary-navy);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-gold);
    transform: translateY(-3px);
}

/* Enhanced Language Dropdown Styles */
.dropdown-menu {
    min-width: 180px;
    max-height: 300px;
    overflow-y: auto;
    border: none;
    box-shadow: 0 10px 40px rgba(41, 55, 111, 0.15);
    border-radius: 12px;
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    animation: dropdownFadeIn 0.2s ease;
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.dropdown-menu::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.dropdown-header {
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 0.8rem;
    padding: 8px 16px 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(41, 55, 111, 0.1);
    margin-bottom: 4px;
}

.dropdown-item.language-link {
    padding: 10px 16px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
}

.dropdown-item.language-link:hover {
    background: linear-gradient(135deg, var(--light-blue), rgba(224, 240, 255, 0.8));
    color: var(--primary-navy);
    transform: translateX(3px);
    padding-left: 20px;
}

.dropdown-item.language-link.active {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-gold));
    color: white;
    font-weight: 600;
    position: relative;
}

.dropdown-item.language-link.active:hover {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-gold));
    color: white;
    transform: translateX(3px);
    padding-left: 20px;
}

.dropdown-item.language-link.active::after {
    content: '✓';
    position: absolute;
    right: 16px;
    font-size: 0.8rem;
    opacity: 0.8;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Google Translate hiding */
.goog-te-banner-frame,
.goog-te-gadget,
.goog-te-combo {
    display: none !important;
}

body {
    top: 0px !important;
}

.goog-te-gadget {
    color: transparent !important;
}

.goog-te-gadget .goog-te-combo {
    color: #333 !important;
}

/* Enhanced language notification with better styling */
.language-notification {
    min-width: 250px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.language-notification.success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
}

.language-notification.error {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    color: white;
    border: none;
}

.language-notification.loading {
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-green));
    color: white;
    border: none;
}

/* Contact Section with Satellite Map Background */
.contact-section-with-map {
    background: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.35)), 
                url('assets/imgs/image.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 600px;
}

.contact-section-with-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(41, 55, 111, 0.15), transparent 80%);
    pointer-events: none;
}

.contact-section-with-map .container {
    position: relative;
    z-index: 2;
}

.contact-section-with-map .contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border-radius: 20px;
    padding: 40px;
}

.contact-section-with-map .contact-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

/* Enhanced Contact Info Styling */
.contact-section-with-map .col-md-6:first-child {
    position: relative;
}

.contact-section-with-map .col-md-6:first-child::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Responsive Design for Satellite Map */
@media (max-width: 768px) {
    .contact-section-with-map {
        background-attachment: scroll;
        min-height: auto;
    }
    
    .contact-section-with-map .contact-form {
        padding: 30px 20px;
    }
    
    .contact-section-with-map .col-md-6:first-child::before {
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
    }
}