/* ==========================================
   GLOBAL VARIABLES & RESET
   ========================================== */
:root {
    --primary-color: #0B2E59;
    --secondary-color: #F4B400;
    --accent-color: #8B5A2B;
    --accent-light: #F4EBE1;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --text-dark: #212529;
    --text-muted: #6C757D;
    --font-poppins: 'Poppins', sans-serif;
    --transition-smooth: all 0.3s ease-in-out;
}

body {
    font-family: var(--font-poppins);
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Custom Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: 2px solid var(--primary-color);
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    border-radius: 4px;
}
.btn-primary-custom:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary-custom {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 4px;
}
.btn-secondary-custom:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

/* ==========================================
   TOP HEADER & NAVIGATION
   ========================================== */
.top-header {
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--secondary-color);
}
.top-header a {
    color: var(--bg-white);
}
.top-header a:hover {
    color: var(--secondary-color);
}

.navbar-custom {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition-smooth);
}
.navbar-custom .navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}
.navbar-custom .navbar-brand span {
    color: var(--secondary-color);
    display: block;
    font-size: 0.75rem;
    letter-spacing: 1px;
}
.navbar-custom .nav-link {
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-item.active .nav-link {
    color: var(--secondary-color);
}

/* ==========================================
   SECTIONS GENERAL
   ========================================== */
.section-padding {
    padding: 5rem 0;
}
.section-title {
    position: relative;
    margin-bottom: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}
.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.hero-slider {
    position: relative;
    height: 75vh;
    background: linear-gradient(rgba(11, 46, 89, 0.85), rgba(11, 46, 89, 0.85)), url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--bg-white);
}
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
}
.hero-content h1 span {
    color: var(--secondary-color);
}

.feature-box {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-bottom: 3px solid transparent;
    transition: var(--transition-smooth);
}
.feature-box:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--secondary-color);
}
.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.course-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    border: none;
    height: 100%;
}
.course-card:hover {
    transform: translateY(-5px);
}
.course-image {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.counter-section {
    background: linear-gradient(rgba(11, 46, 89, 0.95), rgba(11, 46, 89, 0.95)), url('https://images.unsplash.com/photo-1581092160607-ee22621dd758?auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
    color: var(--bg-white);
    padding: 4rem 0;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

footer {
    background-color: #051830;
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem 0;
    font-size: 0.95rem;
}
footer h5 {
    color: var(--bg-white);
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}
footer h5::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}
footer a {
    color: rgba(255,255,255,0.7);
}
footer a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.floating-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: var(--transition-smooth);
}
.float-btn:hover {
    transform: scale(1.1);
    color: white;
}
.float-whatsapp { background-color: #25D366; }
.float-call { background-color: #007bff; }
.float-top { 
    background-color: var(--secondary-color); 
    color: var(--primary-color);
    opacity: 0;
    visibility: hidden;
}
.float-top.show {
    opacity: 1;
    visibility: visible;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 30px;
}
.gallery-item img {
    transition: var(--transition-smooth);
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 46, 89, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.1); }

.timeline-container {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid var(--primary-color);
}
.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -41px;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 4px solid var(--primary-color);
}
