/* Custom CSS for Tusua Academy Institutional Design */
:root {
    --brand-primary: #0a3951; /* deep teal */
    --brand-secondary: #f2a900; /* gold */
    --brand-accent: #e63946; /* red */
    --font-primary: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #212529;
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--brand-primary);
}

.glass-card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: transform .3s, box-shadow .3s;
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    border: none;
    transition: all .3s;
}
.btn-primary-custom:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--brand-primary);
}
.timeline-item {
    margin-bottom: 2rem;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.25rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: var(--brand-secondary);
    border-radius: 50%;
    border: 3px solid #fff;
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 6px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.testimonial-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: block;
    border: 4px solid var(--brand-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.hero-section {
    position: relative;
    background: url('../images/hero_background.png') center/cover no-repeat;
    color: #fff;
    padding: 6rem 0;
    z-index: 1;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
} 

/* CTA Section */
.cta-section {
    position: relative;
    background: url('../images/train.jpg') center/cover no-repeat;
    color: #fff;
    padding: 5rem 0;
    z-index: 1;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Services Page Enhancements */

/* Hero with background image for services */
.hero-services {
    position: relative;
    background: url('../images/services_bg.jpg') center/cover no-repeat;
    color: #fff;
    padding: 6rem 0;
    z-index: 1;
}
.hero-services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: -1;
}

/* Glassmorphism service cards */
.glass-service-card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: transform .3s, box-shadow .3s;
    overflow: hidden;
    position: relative;
}
.glass-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

/* Service icon color */
.service-icon {
    color: var(--brand-accent);
    font-size: 1.5rem;
}


.footer-custom {
    background: linear-gradient(135deg, #5C3317, #7B3F00);
}