/* ========================================
   BAĞIŞ - Modern Responsive Website
   Renkler: Lacivert, Kırmızı, Beyaz
   ======================================== */

:root {
    --primary-navy: #0a1628;
    --secondary-navy: #1a2a4a;
    --accent-red: #c41e3a;
    --accent-red-hover: #a01830;
    --pure-white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --text-dark: #1a1a1a;
    --text-gray: #6c757d;
    --gold-accent: #d4af37;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* White Section Text Colors */
.features-section h2,
.features-section h3,
.features-section p,
section[style*="background: var(--pure-white)"] h2,
section[style*="background: var(--pure-white)"] h3,
section[style*="background: var(--pure-white)"] p,
section[style*="background: var(--off-white)"] h2,
section[style*="background: var(--off-white)"] h3 {
    color: var(--primary-navy) !important;
}

.features-section p,
section[style*="background: var(--pure-white)"] p,
section[style*="background: var(--off-white)"] p {
    color: var(--text-gray) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--off-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   HEADER STYLES
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
}

.header.scrolled {
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-strong);
    padding: 0;
}

.header-top {
    background: linear-gradient(90deg, var(--accent-red) 0%, #e63950 100%);
    padding: 8px 0;
    transition: var(--transition-smooth);
}

.header.scrolled .header-top {
    padding: 5px 0;
}

.header-top-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact-info {
    display: flex;
    gap: 25px;
    align-items: center;
}

.header-contact-info a {
    color: var(--pure-white);
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.header-contact-info a:hover {
    opacity: 0.8;
    transform: translateX(3px);
}

.header-contact-info i {
    font-size: 14px;
}

.header-social {
    display: flex;
    gap: 15px;
}

.header-social a {
    color: var(--pure-white);
    font-size: 14px;
    transition: var(--transition-smooth);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.header-social a:hover {
    background: var(--pure-white);
    color: var(--accent-red);
    transform: translateY(-3px);
}

/* Main Header */
.header-main {
    padding: 15px 0;
    transition: var(--transition-smooth);
}

.header.scrolled .header-main {
    padding: 10px 0;
}

.header-main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.header.scrolled .logo-img img {
    max-height: 40px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-red) 0%, #ff4757 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--pure-white);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    transition: var(--transition-smooth);
}

.header.scrolled .logo-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
}

.logo:hover .logo-icon {
    transform: rotate(10deg) scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--pure-white);
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.2;
}

.header.scrolled .logo-title {
    font-size: 20px;
}

.logo-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.header.scrolled .logo-subtitle {
    font-size: 10px;
}

/* Navigation */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--pure-white);
    text-decoration: none;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-red);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-item.active .nav-link::before {
    width: 80%;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--pure-white);
}

.nav-item.active .nav-link {
    background: rgba(196, 30, 58, 0.2);
}

.nav-link i {
    font-size: 12px;
    transition: var(--transition-smooth);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--pure-white);
    min-width: 280px;
    border-radius: 12px;
    box-shadow: var(--shadow-strong);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    padding: 15px 0;
    margin-top: 10px;
    border: 1px solid var(--light-gray);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 30px;
    width: 16px;
    height: 16px;
    background: var(--pure-white);
    transform: rotate(45deg);
    border-left: 1px solid var(--light-gray);
    border-top: 1px solid var(--light-gray);
}

.dropdown-item {
    display: block;
    padding: 12px 25px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: var(--off-white);
    color: var(--accent-red);
    border-left-color: var(--accent-red);
    padding-left: 30px;
}

.dropdown-divider {
    height: 1px;
    background: var(--light-gray);
    margin: 10px 20px;
}

.dropdown-header {
    padding: 10px 25px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mega Menu for Bilgi Bankası */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 900px;
    max-width: 95vw;
    background: var(--pure-white);
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    padding: 40px;
    margin-top: 10px;
    border: 1px solid var(--light-gray);
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: var(--pure-white);
    border-left: 1px solid var(--light-gray);
    border-top: 1px solid var(--light-gray);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.mega-menu-column h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
}

.mega-menu-column ul {
    list-style: none;
}

.mega-menu-column ul li {
    margin-bottom: 12px;
}

.mega-menu-column ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-menu-column ul li a::before {
    content: '›';
    color: var(--accent-red);
    font-size: 18px;
    font-weight: 700;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-smooth);
}

.mega-menu-column ul li a:hover {
    color: var(--accent-red);
    padding-left: 5px;
}

.mega-menu-column ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-donate {
    background: linear-gradient(135deg, var(--accent-red) 0%, #ff4757 100%);
    color: var(--pure-white);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.btn-donate:hover {
    background: linear-gradient(135deg, var(--accent-red-hover) 0%, var(--accent-red) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.5);
}

.btn-login {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-login:hover {
    background: var(--pure-white);
    color: var(--primary-navy);
    border-color: var(--pure-white);
    transform: translateY(-3px);
}

/* LUXURY Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 12px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.mobile-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-red), #ff6b6b);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.mobile-toggle.active {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

.mobile-toggle.active::before {
    opacity: 1;
}

.mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--pure-white);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 1;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    width: 26px;
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    width: 26px;
}

/* ========================================
   LUXURY MOBILE MENU - CORPORATE EDITION
   ======================================== */

/* Premium Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

/* Luxury Mobile Menu Container */
.mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: #ffffff;
    z-index: 1001;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    transition: right 0.4s ease;
}

.mobile-menu.active {
    right: 0;
}

/* Animated Background Pattern */
.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(196, 30, 58, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 42, 74, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Premium Header */
.mobile-menu-header {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 50%, #0d2137 100%);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

.mobile-menu-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.2) 0%, transparent 70%);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--pure-white);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.mobile-menu-close:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    transform: rotate(90deg);
}

.mobile-menu-close i {
    pointer-events: none;
}

.mobile-menu-logo {
    color: var(--pure-white);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 3px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.mobile-menu-logo::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red), transparent);
    margin-top: 10px;
    border-radius: 2px;
}

/* Premium Navigation */
.mobile-menu-nav {
    padding: 30px;
    position: relative;
}

/* Luxury Menu Items */
.mobile-nav-item {
    margin-bottom: 8px;
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active .mobile-nav-item {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.active .mobile-nav-item:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-nav-item:nth-child(2) { transition-delay: 0.22s; }
.mobile-menu.active .mobile-nav-item:nth-child(3) { transition-delay: 0.29s; }
.mobile-menu.active .mobile-nav-item:nth-child(4) { transition-delay: 0.36s; }
.mobile-menu.active .mobile-nav-item:nth-child(5) { transition-delay: 0.43s; }
.mobile-menu.active .mobile-nav-item:nth-child(6) { transition-delay: 0.5s; }
.mobile-menu.active .mobile-nav-item:nth-child(7) { transition-delay: 0.57s; }

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: var(--pure-white);
    border-radius: 16px;
    color: var(--primary-navy);
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-red), #ff6b6b);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    border-radius: 16px 0 0 16px;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-color: rgba(196, 30, 58, 0.2);
    box-shadow: 0 8px 30px rgba(196, 30, 58, 0.15);
    transform: translateX(8px);
    color: var(--accent-red);
}

.mobile-nav-link:hover::before,
.mobile-nav-link:active::before {
    transform: scaleY(1);
}

/* Premium Dropdown Toggle */
.mobile-dropdown-toggle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: var(--primary-navy);
}

.mobile-dropdown-toggle.active {
    background: var(--accent-red);
    color: var(--pure-white);
    transform: rotate(180deg);
}

/* Luxury Dropdown */
.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0;
    padding: 0 15px;
}

.mobile-dropdown.active {
    max-height: 800px;
    opacity: 1;
    margin-top: 12px;
    padding-bottom: 10px;
}

.mobile-dropdown-item {
    display: block;
    padding: 16px 25px 16px 45px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 12px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(-10px);
}

.mobile-dropdown.active .mobile-dropdown-item {
    opacity: 1;
    transform: translateY(0);
}

.mobile-dropdown.active .mobile-dropdown-item:nth-child(1) { transition-delay: 0.08s; }
.mobile-dropdown.active .mobile-dropdown-item:nth-child(2) { transition-delay: 0.12s; }
.mobile-dropdown.active .mobile-dropdown-item:nth-child(3) { transition-delay: 0.16s; }
.mobile-dropdown.active .mobile-dropdown-item:nth-child(4) { transition-delay: 0.2s; }
.mobile-dropdown.active .mobile-dropdown-item:nth-child(5) { transition-delay: 0.24s; }
.mobile-dropdown.active .mobile-dropdown-item:nth-child(6) { transition-delay: 0.28s; }

.mobile-dropdown-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-red);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-dropdown-item:hover {
    background: rgba(196, 30, 58, 0.05);
    color: var(--accent-red);
    padding-left: 50px;
}

.mobile-dropdown-item:hover::before {
    opacity: 1;
}

/* Category Headers in Dropdown */
.mobile-dropdown > div[style*="color: var(--accent-red)"] {
    font-size: 11px !important;
    letter-spacing: 2px;
    margin-top: 20px !important;
    margin-bottom: 10px !important;
    padding-left: 25px !important;
}

/* Compact Premium Language Switcher */
.mobile-language-switcher {
    padding: 15px 25px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-language-switcher h4 {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.mobile-language-options {
    display: flex;
    gap: 8px;
}

.mobile-language-btn {
    flex: 1;
    padding: 10px 12px;
    border: 1.5px solid var(--light-gray);
    border-radius: 10px;
    background: var(--pure-white);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.mobile-language-btn span:first-child {
    font-size: 16px;
}

.mobile-language-btn.active {
    background: linear-gradient(135deg, var(--accent-red) 0%, #ff4757 100%);
    color: var(--pure-white);
    border-color: var(--accent-red);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.25);
}

.mobile-language-btn:not(.active):hover {
    border-color: var(--accent-red);
    background: rgba(196, 30, 58, 0.02);
}

/* Premium Bottom Buttons */
.mobile-menu-buttons {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: var(--pure-white);
}

.mobile-menu-buttons .btn {
    justify-content: center;
    padding: 20px;
    font-size: 16px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-buttons .btn-donate {
    background: linear-gradient(135deg, var(--accent-red) 0%, #ff4757 100%);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);
}

.mobile-menu-buttons .btn-donate:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(196, 30, 58, 0.4);
}

.mobile-menu-buttons .btn-login {
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    background: transparent;
}

.mobile-menu-buttons .btn-login:hover {
    background: var(--primary-navy);
    color: var(--pure-white);
    transform: translateY(-3px);
}

.mobile-menu-header {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    padding: 30px 25px;
    position: relative;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--pure-white);
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-logo {
    color: var(--pure-white);
    font-size: 24px;
    font-weight: 800;
}

.mobile-menu-nav {
    padding: 20px 0;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.mobile-nav-link:hover {
    background: var(--off-white);
    color: var(--accent-red);
}

.mobile-dropdown-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.mobile-dropdown-toggle.active {
    background: var(--accent-red);
    color: var(--pure-white);
    transform: rotate(180deg);
}

.mobile-dropdown {
    display: none;
    background: var(--off-white);
    padding: 10px 0;
}

.mobile-dropdown.active {
    display: block;
}

.mobile-dropdown-item {
    display: block;
    padding: 12px 25px 12px 45px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.mobile-dropdown-item:hover {
    color: var(--accent-red);
    padding-left: 50px;
}

.mobile-menu-buttons {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu-buttons .btn {
    justify-content: center;
    padding: 16px;
    font-size: 16px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 50%, #0d2137 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--pure-white);
    line-height: 1.3;
    margin-bottom: 25px;
}

.hero-text h1 .highlight {
    color: var(--accent-red);
    position: relative;
    display: inline;
}

.hero-text h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(196, 30, 58, 0.3);
    z-index: -1;
}

.hero-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--accent-red) 0%, #ff4757 100%);
    color: var(--pure-white);
    padding: 18px 40px;
    font-size: 16px;
    box-shadow: 0 8px 30px rgba(196, 30, 58, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.5);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 18px 40px;
    font-size: 16px;
}

.btn-hero-secondary:hover {
    background: var(--pure-white);
    color: var(--primary-navy);
    border-color: var(--pure-white);
    transform: translateY(-5px);
}

.hero-image {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--pure-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-strong);
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-red);
    display: block;
}

.stat-label {
    font-size: 13px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #070f1a 100%);
    color: var(--pure-white);
    padding-top: 80px;
}

.footer-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-brand .logo {
    margin-bottom: 25px;
}

.footer-brand .logo-img img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 18px;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--accent-red);
    transform: translateY(-5px);
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-red);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--accent-red);
    padding-left: 10px;
}

.footer-links a::before {
    content: '›';
    color: var(--accent-red);
    font-size: 20px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--accent-red);
    font-size: 18px;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--accent-red);
    text-decoration: none;
}

/* ========================================
   PAGE TRANSITIONS
   ======================================== */

/* Page Load Animation */
.page-wrapper {
    opacity: 0;
    transform: translateY(20px);
    animation: pageLoad 0.6s ease forwards;
}

@keyframes pageLoad {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Exit Animation */
.page-exit {
    animation: pageExit 0.4s ease forwards;
}

@keyframes pageExit {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Content Fade In Stagger */
.content-fade-in > * {
    opacity: 0;
    transform: translateY(30px);
    animation: contentFadeIn 0.6s ease forwards;
}

.content-fade-in > *:nth-child(1) { animation-delay: 0.1s; }
.content-fade-in > *:nth-child(2) { animation-delay: 0.2s; }
.content-fade-in > *:nth-child(3) { animation-delay: 0.3s; }
.content-fade-in > *:nth-child(4) { animation-delay: 0.4s; }
.content-fade-in > *:nth-child(5) { animation-delay: 0.5s; }

@keyframes contentFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Link Hover Underline Animation */
.link-animate {
    position: relative;
    text-decoration: none;
}

.link-animate::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: width 0.3s ease;
}

.link-animate:hover::after {
    width: 100%;
}

/* Button Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* ========================================
   ENHANCED ANIMATIONS
   ======================================== */

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Gradient Animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease forwards;
}

/* Slide In Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease forwards;
}

/* Zoom In */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-zoomIn {
    animation: zoomIn 0.6s ease forwards;
}

/* Rotate In */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

.animate-rotateIn {
    animation: rotateIn 0.8s ease forwards;
}

/* Bounce In */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-bounceIn {
    animation: bounceIn 0.8s ease forwards;
}

/* Shake Animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.animate-shake:hover {
    animation: shake 0.5s ease;
}

/* Glow Effect */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(196, 30, 58, 0.5); }
    50% { box-shadow: 0 0 20px rgba(196, 30, 58, 0.8), 0 0 40px rgba(196, 30, 58, 0.4); }
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Typing Effect */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

.animate-typing {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40, end);
}

/* Morphing Blob */
@keyframes morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

.animate-morph {
    animation: morph 8s ease-in-out infinite;
}

/* Pulse Ring */
@keyframes pulseRing {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid var(--accent-red);
    animation: pulseRing 2s ease-out infinite;
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Magnetic Button Effect */
.magnetic-btn {
    transition: transform 0.2s ease;
}

/* Stagger Animation Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Card Hover Effects */
.card-hover {
    position: relative;
    overflow: hidden;
}

.card-hover::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 ease;
}

.card-hover:hover::before {
    left: 100%;
}

/* Text Reveal Animation */
.text-reveal {
    position: relative;
    overflow: hidden;
}

.text-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-red);
    animation: textReveal 1s ease forwards;
}

@keyframes textReveal {
    to { width: 0; }
}

/* Underline Expand */
.underline-expand {
    position: relative;
}

.underline-expand::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.underline-expand:hover::after {
    width: 100%;
}

/* Icon Spin on Hover */
.icon-spin {
    transition: transform 0.5s ease;
}

.icon-spin:hover {
    transform: rotate(360deg);
}

/* Border Draw Animation */
@keyframes borderDraw {
    0% { clip-path: polygon(0 0, 0 0, 0 0, 0 0); }
    25% { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
    50% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    75% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

.border-draw {
    position: relative;
}

.border-draw::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--accent-red);
    animation: borderDraw 2s ease forwards;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .nav-desktop {
        display: none;
    }
    
    .header-buttons {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .mega-menu {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 42px;
        min-height: auto;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
        min-height: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        display: block;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 30px;
        justify-content: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Page Content Responsive */
    section[style*="padding: 100px"] {
        padding: 60px 20px !important;
    }
    
    section h2 {
        font-size: 32px !important;
    }
    
    section h3 {
        font-size: 20px !important;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-text h1 {
        font-size: 32px;
        line-height: 1.4;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 13px;
    }
    
    /* Page Headers Responsive */
    section[style*="background: linear-gradient"] h1 {
        font-size: 32px !important;
    }
    
    section[style*="background: linear-gradient"] p {
        font-size: 16px !important;
    }
    
    /* Grid Layouts Responsive */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(350px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }
    
    div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }
    
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Cards Responsive */
    article[style*="border-radius: 20px"] {
        margin: 0 10px;
    }
    
    /* Tables Responsive */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* Forms Responsive */
    form[style*="max-width: 600px"] {
        padding: 0 15px !important;
    }
    
    input, select, textarea {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 15px 40px;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .hero-text h1 {
        font-size: 26px;
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    .hero-text p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 30px;
    }
    
    .hero-image-wrapper {
        border-radius: 15px;
    }
    
    .hero-stats {
        padding: 15px;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
    }
    
    .logo-title {
        font-size: 18px;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    /* Extra Small Screen Fixes */
    section h2 {
        font-size: 24px !important;
    }
    
    section h3 {
        font-size: 18px !important;
    }
    
    .mobile-menu {
        max-width: 100%;
    }
    
    .mobile-nav-link {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .mobile-dropdown-item {
        padding: 14px 20px 14px 40px;
        font-size: 14px;
    }
    
    /* Timeline Responsive */
    div[style*="position: absolute; left: 50%"] {
        left: 20px !important;
    }
    
    div[style*="padding-right: 60px"],
    div[style*="padding-left: 60px"] {
        padding-left: 50px !important;
        padding-right: 20px !important;
    }
    
    div[style*="width: 45%"] {
        width: 100% !important;
    }
    
    /* Stats Responsive */
    div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Contact Info Responsive */
    .footer-contact li {
        flex-direction: column;
        gap: 8px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-pulse {
    animation: pulse 2s ease infinite;
}

/* Cursor Glow */
.cursor-glow {
    mix-blend-mode: screen;
}

/* Text Scramble Character */
.text-scramble-char {
    color: var(--accent-red);
    font-weight: 700;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-navy);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Language Switcher Desktop */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--pure-white);
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    color: var(--accent-red);
    background: var(--pure-white);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-red) 0%, #ff4757 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.5);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red-hover);
}
