/* Global icon styles */
svg {
    color: #477eb2;
    fill: currentColor;
    width: 100%;
    height: auto;
    display: block;
}

/* Specific fix for footer icons to prevent full width expansion */
#footer svg {
    width: 100%;
    height: auto;
    max-width: 24px;
    max-height: 24px;
}
/* Re-override for icons that have specific containers */
.d-flex > span > svg {
     width: 100%;
     height: 100%;
     max-width: none;
     max-height: none;
}

:root {
    --bs-primary: #477eb2;
    --bs-primary-rgb: 71, 126, 178;
    --bs-link-color: #477eb2;
    --bs-link-hover-color: #346294;
    --primary-gradient: linear-gradient(135deg, #64b3f4 0%, #477eb2 100%);
    --secondary-gradient: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
    --card-hover-transform: none;
    --card-shadow: 0 10px 20px rgba(0,0,0,0.1);
    --card-hover-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #f8f9fa;
}

.hero-section {
    background: var(--primary-gradient);
    color: white;
    padding: 2.5rem 1.5rem;
    border-radius: 1rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-title {
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.brand-text {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.1rem, 4vw, 1.8rem);
    background: linear-gradient(90deg, #477eb2 0%, #64b3f4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    padding-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-section svg {
    color: #e0f2f1;
}


.course-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    height: 100%;
}

.course-card .card-body {
    padding: 2rem;
}

.course-title {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.course-meta {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 1.5rem;
}

.btn-primary-custom {
    background: var(--primary-gradient);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary-custom:hover {
    filter: brightness(1.5);
}

.btn-outline-primary {
    --bs-btn-color: #477eb2;
    --bs-btn-border-color: #477eb2;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #477eb2;
    --bs-btn-hover-border-color: #477eb2;
    --bs-btn-active-bg: #477eb2;
    --bs-btn-active-border-color: #477eb2;
}

.btn-outline-primary:hover svg {
    color: white;
}
