:root {
    --primary-color: #0f172a; 
    --accent-color: #d4af37; 
    --bg-color: #ffffff; 
    --card-bg: #f8fafc;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--primary-color);
    -webkit-font-smoothing: antialiased;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-brand img {
    height: 90px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-brand img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-accent {
    background-color: var(--accent-color);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-accent:hover {
    background-color: #b8962e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.hero-split {
    display: flex;
    min-height: 85vh;
    background-color: var(--bg-color);
}

.hero-text-side {
    flex: 1;
    padding: 4rem 8% 4rem 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
}

.hero-image-side {
    flex: 1;
    background: url('/images/hero_bg.png') center/cover no-repeat;
    min-height: 100%;
}

.hero-logo-clean {
    max-width: 250px;
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease-out;
}

.hero-title-clean {
    font-size: 3.2rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    animation: fadeIn 1s ease-out;
}

.hero-subtitle-clean {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.6;
    animation: fadeIn 1.2s ease-out;
}

.hero-text-clean {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: fadeIn 1.4s ease-out;
}

.features-section {
    padding: 5rem 5%;
    background-color: var(--card-bg);
}

.pedagogy-section {
    background-color: var(--primary-color);
    color: white;
    padding: 6rem 5%;
    text-align: center;
    position: relative;
}

footer.footer-custom {
    background-color: #0b0f19; /* Darker than primary for contrast */
    color: white;
    padding: 3rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.social-section {
    margin-bottom: 2rem;
}

.social-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #ffffff;
}

.social-icons {
    display: flex;
    gap: 1.2rem;
}

.social-icons a {
    color: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-copyright {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    text-align: left;
}

.pedagogy-content {
    max-width: 900px;
    margin: 0 auto;
}

.pedagogy-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    line-height: 1.4;
    font-style: italic;
}

.pedagogy-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #e2e8f0; 
    margin-bottom: 1.5rem;
    font-weight: 300;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}
.feature-card h3 {
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}
.feature-card p {
    color: var(--text-muted);
    line-height: 1.5;
}

/* Floating WhatsApp Button */
.float-whatsapp {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: bounceIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.float-whatsapp svg {
    width: 40px;
    height: 40px;
}

.float-whatsapp:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 25px rgba(18, 140, 126, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 85px;
    background-color: white;
    color: var(--primary-color);
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(20px);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}

.float-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* Course Section */
.course-section {
    padding: 6rem 5%;
    background-color: var(--primary-color);
    color: white;
}

.course-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.course-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.course-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.course-image-wrapper:hover .course-image {
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 1rem;
    border-radius: 50%;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    font-family: 'Playfair Display', serif;
    border: 4px solid var(--primary-color);
}

.course-kicker {
    color: var(--accent-color);
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.course-title {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.course-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.course-features li {
    margin-bottom: 1.2rem;
    padding-left: 2.2rem;
    position: relative;
    font-size: 1.1rem;
}

.course-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.4rem;
}

.course-features li span {
    color: #cbd5e1;
    font-size: 0.95rem;
    display: block;
    margin-top: 0.2rem;
}

.course-info-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.course-info-box .info-item {
    font-size: 1rem;
}

.course-info-box .highlight {
    color: #f87171; /* bright red */
    font-weight: bold;
}

@media (max-width: 900px) {
    .course-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }
    .nav-brand img {
        height: 60px;
        margin-bottom: 1rem;
    }
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }
    .nav-links a.btn-primary {
        display: block;
        width: 100%;
    }
    
    .hero-split {
        flex-direction: column;
    }
    .hero-image-side {
        min-height: 300px;
        order: -1;
    }
    .hero-text-side {
        padding: 2rem 5%;
    }
    .hero-title-clean {
        font-size: 2.2rem;
    }
    .pedagogy-title {
        font-size: 2rem;
    }
    
    .course-info-box {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        align-items: center;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-copyright {
        text-align: center;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}