
:root {
    --tda-50: #f0f9ff;
    --tda-100: #e0f2fe;
    --tda-300: #7dd3fc;
    --tda-500: #0ea5e9;
    --tda-600: #0284c7;
    --tda-700: #0369a1;
    --tda-800: #075985;
    --tda-900: #0c4a6e;
    --primary-color: var(--tda-600);
    --primary-light: var(--tda-100);
    --primary-dark: var(--tda-800);
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --background-light: #f8fafc;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    padding-top: 80px;
}

/* Custom Bootstrap Color Classes */
.text-primary { color: var(--primary-color) !important; }
.text-primary-light { color: var(--tda-300) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.btn-primary { 
    background-color: var(--primary-color); 
    border-color: var(--primary-color);
}
.btn-primary:hover { 
    background-color: var(--primary-dark); 
    border-color: var(--primary-dark);
}
.btn-outline-primary { 
    color: var(--primary-color); 
    border-color: var(--primary-color);
}
.btn-outline-primary:hover { 
    background-color: var(--primary-color); 
    border-color: var(--primary-color);
}
.bg-primary-light { background-color: var(--primary-light) !important; }
.bg-primary-gradient {
    background: linear-gradient(135deg, var(--tda-50) 0%, var(--tda-100) 100%);
}
.text-gradient {
    background: linear-gradient(135deg, var(--tda-800) 0%, var(--tda-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero-section {
    min-height: 85vh;
    position: relative;
    background: linear-gradient(135deg, var(--tda-900) 0%, var(--tda-800) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 0.3;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
}

.hero-gradient {
    height: 80px;
    background: linear-gradient(to top, rgba(12, 74, 110, 0.9) 0%, transparent 100%);
}

/* Cards */
.glass-card,
.program-card,
.testimonial-card,
.news-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.glass-card:hover,
.program-card:hover,
.testimonial-card:hover,
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.nav-link {
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

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

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

/* Buttons */
.btn {
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Form Controls */
.form-control,
.form-select {
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(2, 132, 199, 0.25);
}

/* Image overlays */
.card-image img {
    transition: transform 0.3s ease;
}

.program-card:hover .card-image img,
.news-card:hover .card-image img {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
        text-align: center;
    }
    
    .hero-stats .stat-item {
        min-width: 120px;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section {
        padding-top: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Social links hover effects */
.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Badge styles */
.badge {
    font-weight: 600;
    font-size: 0.75rem;
}

/* Icon wrapper consistent styling */
.icon-wrapper {
    flex-shrink: 0;
}

/* Contact form styling */
.contact-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

/* Object fit support for older browsers */
.object-fit-cover {
    object-fit: cover;
    font-family: 'object-fit: cover;';
}

/* Hero background slides animation */
.hero-background .hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-background .hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-background .hero-slide:nth-child(3) { animation-delay: 10s; }
