/* Base Styles */
:root {
    --primary-color: #d79118;
    --secondary-color: hsl(244, 76%, 35%);
    --white-color: #ffffff;
    --dark-color: #d79118;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #000000;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: var(--secondary-color);
}

/* Header Styles */
.custom-navbar {
    background-color: #000000; /* black background */
}

.navbar .nav-link {
    color: #d79118 !important; /* gold text */
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #ffffff !important; /* white on hover/active */
    background-color: transparent; /* optional: keep background clean */
}


/* Hero Sections */
.hero-section, .about-hero, .programs-hero, .gallery-hero, .register-hero, .login-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    margin-bottom: 50px;
}


/* Section Titles */
.section-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 10px;
    font-weight: 700;
    color: var(--dark-color);
}

.section-title span {
    position: relative;
}

.section-title span:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.news-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.event-card {
    position: relative;
}

.event-date {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.event-date .day {
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.event-date .month {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.program-card {
    position: relative;
}

.program-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 1;
}

/* Quick Links */
.quick-links-card {
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.quick-link-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stats Card */
.stats-card {
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.stat-item:last-child {
    border-bottom: none;
}

/* Founder Card */
.founder-card {
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.founder-quote {
    background-color: white;
    border-radius: 10px;
    position: relative;
}

.founder-quote:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}

/* Fast Facts */
.fast-facts {
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.fact-icon {
    font-size: 1.2rem;
}

/* Gallery */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Marquee */
.marquee-container {
    overflow: hidden;
    margin-top: 30px;
}

.marquee {
    display: flex;
    animation: marquee 20s linear infinite;
}

.marquee:hover {
    animation-play-state: paused;
}

.marquee-item {
    flex: 0 0 auto;
    width: 200px;
    margin-right: 20px;
    position: relative;
}

.marquee-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.marquee-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px;
    font-size: 0.8rem;
    text-align: center;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Form Styles */
.form-control, .form-select {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(215, 145, 24, 0.25);
}

.fee-display {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #c58215;
    border-color: #c58215;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
}

footer a {
    color: white;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary-color);
}

.social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section, .about-hero, .programs-hero, .gallery-hero, .register-hero, .login-hero {
        padding: 60px 0;
    }
    
    .section-title span:after {
        left: 50%;
        transform: translateX(-50%);
    }
}

