/* ====== Global Styles ====== */
:root {
    --primary-color: #001a4d;
    --primary-light: #003d99;
    --secondary-color: #00d4ff;
    --secondary-dark: #00b8d4;
    --accent-color: #00ff88;
    --text-color: #1a1a1a;
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-light: #f5f7fa;
    --border-color: #e0e8f0;
    --shadow-sm: 0 2px 8px rgba(0, 26, 77, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 26, 77, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 26, 77, 0.15);
    --transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* ====== Navigation ====== */
.navbar {
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-brand i {
    margin-right: 8px;
}

.nav-link {
    margin-right: 10px !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* ====== Hero Section ====== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.hero-section h1 {
    animation: slideInDown 0.8s ease;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section .lead {
    animation: slideInUp 0.8s ease;
    font-size: 1.3rem;
}

/* ====== Animations ====== */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ====== Cards ====== */
.card {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.card-body {
    padding: 1.5rem;
}

/* ====== Buttons ====== */
.btn {
    border-radius: 8px !important;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none !important;
    padding: 12px 28px !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%) !important;
    color: var(--primary-color) !important;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.4);
    color: var(--primary-color) !important;
}

.btn-light {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--primary-color) !important;
    border-radius: 8px !important;
    padding: 12px 28px !important;
    font-weight: 600;
}

.btn-light:hover {
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.btn-outline-light {
    border-radius: 8px !important;
    padding: 12px 28px !important;
    border-width: 2px !important;
    border-color: var(--secondary-color) !important;
    color: var(--secondary-color) !important;
    background: transparent;
    font-weight: 600;
}

.btn-outline-light:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2);
    transform: translateY(-3px);
}

/* ====== Sections ====== */
section {
    padding: 60px 0;
}

section h2 {
    color: var(--text-color);
    margin-bottom: 40px;
}

.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-light {
    background: #f8f9fa !important;
}

/* ====== Forms ====== */
.form-control {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ====== Footer ====== */
footer {
    background: #1a1a1a;
    margin-top: 80px;
}

footer h5 {
    color: white;
    margin-bottom: 20px;
}

footer p {
    color: #ccc;
    font-size: 0.95rem;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: var(--primary-color);
}

footer .btn-sm {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
}

/* ====== Badges ====== */
.badge {
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* ====== Responsive Design ====== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ====== Utilities ====== */
.text-primary {
    color: var(--primary-color) !important;
}

.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-5 {
    margin-top: 3rem;
}

.fw-bold {
    font-weight: 700;
}

.rounded {
    border-radius: 10px;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.shadow-sm {
    box-shadow: var(--shadow);
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ====== RTL Support ====== */
[dir="rtl"] .me-2 {
    margin-right: 0.5rem !important;
    margin-left: 0;
}

[dir="rtl"] .me-3 {
    margin-right: 0.75rem !important;
    margin-left: 0;
}

[dir="rtl"] .ms-auto {
    margin-left: 0 !important;
    margin-right: auto;
}
/* Button Hover Effects */
.btn:hover {
    transform: translateY(-2px);
}

/* Card Hover Effects */
.card:hover {
    border-color: rgba(0, 212, 255, 0.4) !important;
}

/* Link Hover Effects */
a {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Form Controls */
.form-control {
    transition: all 0.3s ease;
    border-color: rgba(0, 212, 255, 0.2) !important;
}

.form-control:focus {
    border-color: #00d4ff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25) !important;
    background-color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-2 {
        font-size: 2.2rem !important;
    }
    
    .display-5 {
        font-size: 1.8rem !important;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
}