/* ===== CSS Variables ===== */
:root {
    --primary-color: #0a2540;
    --secondary-color: #00d4ff;
    --accent-color: #ff6b35;
    --dark-color: #f0f2f5;
    --light-color: #333333;
    --text-muted: #666666;
    --card-bg: rgba(255, 255, 255, 0.9);
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    --body-bg: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
}

/* ===== Base Styles ===== */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--body-bg);
    color: var(--light-color);
    overflow-x: hidden;
}

.dark-theme {
    background: var(--body-bg);
    min-height: 100vh;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* ===== Navigation ===== */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand .logo-gradient {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
}

.nav-link {
    color: var(--light-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    color: var(--light-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(33, 37, 41, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Buttons ===== */
.btn-primary-gradient {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.4);
}

.btn-primary-gradient::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;
}

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

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    color: white;
}

.btn-outline-light {
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ===== Hero Section ===== */
.hero-section {
    padding-top: 100px;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.8)), url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.hero-illustration {
    position: relative;
    height: 400px;
    width: 100%;
    perspective: 1000px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 2rem;
    width: 200px;
    text-align: center;
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.floating-card h5 {
    color: var(--light-color);
}

.floating-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.floating-card.card-1 {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 2s;
}

.floating-card.card-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotateX(0);
    }
    50% {
        transform: translateY(-20px) rotateX(5deg);
    }
}

/* ===== Features ===== */
.feature-card {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-card h4 {
    color: var(--light-color);
}

.feature-card p {
    color: var(--text-muted);
}

.bg-gradient-1 { background: var(--gradient-1); }
.bg-gradient-2 { background: var(--gradient-2); }
.bg-gradient-3 { background: var(--gradient-3); }
.bg-gradient-4 { background: var(--gradient-4); }

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.05) 0%, 
        rgba(118, 75, 162, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102,126,234,0.1) 0%, transparent 70%);
    animation: pulse 10s infinite linear;
}

.cta-section h2 {
    color: var(--light-color);
}

.cta-section p {
    color: var(--text-muted);
}

.cta-section .btn-light {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cta-section .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

@keyframes pulse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== Footer ===== */
.footer {
    background: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.02);
}

.footer-brand .logo-gradient {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
}

.footer p {
    color: var(--text-muted);
}

.footer h5 {
    color: var(--light-color);
    font-weight: 700;
}

.footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ===== Utility Classes ===== */
.section-padding {
    padding: 5rem 0;
}

.bg-dark-variant {
    background: transparent;
}

.min-vh-100 {
    min-height: 100vh;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 120px;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .floating-card {
        position: relative !important;
        margin: 1rem auto;
        animation: none;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-illustration {
        height: auto;
        margin-top: 3rem;
    }
}

@media (max-width: 576px) {
    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}
/* ===== Additional Page Styles ===== */
.contact-form-wrapper,
.services-highlight {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 20px;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

/* Form Styles */
.form-control, .form-select {
    background-color: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
}

.form-control:focus, .form-select:focus {
    background-color: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    border-color: var(--secondary-color);
}

/* ===== About Page Cards ===== */
.mission-card, .vision-card,
.value-card, .team-card {
    background: white;
    border: none;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.mission-card:hover, .vision-card:hover,
.value-card:hover, .team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.team-card {
    text-align: center;
}

.team-img {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
