﻿:root {
    --primary-color: #6C1E32;
    --accent-color: #C19A5B;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.max-w-700 { max-width: 700px; margin: 0 auto; }

h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 1rem; color: var(--primary-color); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 1.5rem; color: var(--primary-color); }
h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-dark); }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--primary-color); }
p { margin-bottom: 1rem; color: var(--text-light); }
.subtitle { font-weight: bold; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-color); margin-bottom: 1rem; }
.section-title { text-align: center; margin-bottom: 3rem; }

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary:hover { background-color: #501524; }
.btn-large { padding: 1rem 2rem; font-size: 1.1rem; margin-top: 1.5rem; }
.btn-block { width: 100%; text-align: center; }

header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.logo img { height: 100px; }
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--primary-color); }

#nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 3px;
}

section { padding: 5rem 0; }

.hero-section {
    background: linear-gradient(rgba(108, 30, 50, 0.85), rgba(108, 30, 50, 0.95)), url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 8rem 0 6rem;
    text-align: center;
}
.hero-section h1 { color: var(--white); }
.hero-text { color: var(--white); font-size: 1.4rem; opacity: 0.9; max-width: 800px; margin: 0 auto 1.5rem; font-weight: 500;}
.hero-subtext, .hero-credibility { color: #f0f0f0; max-width: 800px; margin: 0 auto 1rem;}
.hero-section .subtitle { color: var(--accent-color); text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }

.hero-section .btn-primary {
    background-color: var(--accent-color);
    color: #000000;
    box-shadow: 0 4px 15px rgba(193, 154, 91, 0.4);
}

.hero-section .btn-primary:hover {
    background-color: #e0b46c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 154, 91, 0.6);
}

.card-grid { display: grid; gap: 2rem; }
.three-col { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.two-col { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.four-col { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card {
    background: var(--white);
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.border-card { border-top: 4px solid var(--accent-color); }

.card-content {
    padding: 2rem;
    flex-grow: 1;
	text-align: center;
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--accent-color);
}

.problem-intro { font-size: 1.2rem; text-align: center; margin-bottom: 3rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.problem-conclusion { text-align: center; font-size: 1.5rem; margin-top: 3rem; color: var(--primary-color); }
.problem-section h2 { text-align: center; }

.program-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.check-list { list-style: none; margin: 1.5rem 0; }
.check-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.8rem; color: var(--text-light); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-color); font-weight: bold; }

.program-content {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
}

.program-content:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.outcome {
    background: #fdf8f2;
    padding: 1.5rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
    margin-top: 2rem;
    color: var(--text-dark);
}

.different-section .icon-card {
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.different-section .icon-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.different-section .icon-card:nth-child(1) { background-color: #Fdf2f4; border-bottom: 4px solid var(--primary-color); }
.different-section .icon-card:nth-child(2) { background-color: #Fcf8ed; border-bottom: 4px solid var(--accent-color); }
.different-section .icon-card:nth-child(3) { background-color: #F0f4f8; border-bottom: 4px solid #4a90e2; }
.different-section .icon-card:nth-child(4) { background-color: #F4f0f6; border-bottom: 4px solid #9b59b6; }
.different-section .icon-card h4 { margin-bottom: 1rem; color: var(--text-dark); }
.different-section .icon-card p { color: #444; margin: 0; }

.about-flex { display: flex; gap: 4rem; align-items: center; }
.about-image { flex: 1; }
.about-image img { border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.about-text { flex: 1.2; }
.about-quote { font-size: 1.25rem; font-style: italic; color: var(--primary-color); margin-top: 2rem; padding-left: 1rem; border-left: 3px solid var(--accent-color); }

.students-section { background: var(--primary-color); color: var(--white); }
.students-section h2, .students-section p { color: var(--white); }
.highlight-text { color: var(--accent-color); font-size: 1.2rem; font-weight: bold; }

.form-container { display: flex; gap: 4rem; }
.contact-text, .contact-form-wrapper { flex: 1; }
.form-group { margin-bottom: 1.5rem; }
#enquiry-form { display: flex; flex-wrap: wrap; gap: 0 2%; }
.half-width { width: 49%; }
.form-group:not(.half-width) { width: 100%; }

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-top: 4px solid var(--accent-color);
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1.5px solid #e1e1e1;
    border-radius: 6px;
    background-color: #fafafa;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(108, 30, 50, 0.1);
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.custom-select {
    position: relative;
    font-family: inherit;
    width: 100%;
}

.select-selected {
    background-color: #fafafa;
    border: 1.5px solid #e1e1e1;
    border-radius: 6px;
    padding: 0.9rem 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    user-select: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236C1E32' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1rem;
    transition: all 0.3s ease;
}

.select-selected.select-arrow-active {
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(108, 30, 50, 0.1);
}

.select-items {
    position: absolute;
    background-color: var(--white);
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    margin-top: 5px;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #e1e1e1;
    overflow: hidden;
}

.select-hide {
    display: none;
}

.select-items div {
    padding: 0.9rem 1.2rem;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid #f9f9f9;
    color: var(--text-dark);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.select-items div:last-child {
    border-bottom: none;
}

.select-items div:hover {
    background-color: rgba(108, 30, 50, 0.05);
    color: var(--primary-color);
}

.contact-form-wrapper .btn-primary {
    padding: 1.2rem;
    font-size: 1.1rem;
    border-radius: 6px;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(108, 30, 50, 0.2);
}

.contact-form-wrapper .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 30, 50, 0.3);
}

.contact-text {
    padding-right: 2rem;
}

.contact-text h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

footer { background: var(--text-dark); color: var(--white); padding: 4rem 0 0; }
.footer-content { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 3rem; }
.footer-brand h3 { color: var(--white); margin-bottom: 0.5rem; }
.footer-brand p { color: #aaa; margin-bottom: 0.2rem; }
.footer-brand .tagline { color: var(--accent-color); font-style: italic; }
.footer-links { text-align: right; }
.footer-links p { color: #aaa; margin-bottom: 1rem; }
.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.social-links a { 
    color: var(--white); 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a svg {
    transition: transform 0.3s ease;
}

.social-links a:hover { 
    color: var(--accent-color); 
}

.social-links a:hover svg {
    transform: scale(1.15);
}
.footer-bottom { text-align: center; padding: 1.5rem 0; background: #222; }
.footer-bottom p { margin: 0; color: #777; font-size: 0.9rem; }

#scrollToTopBtn {
    position: fixed;
    bottom: 105px; 
    right: 30px; 
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollToTopBtn:hover {
    background-color: var(--accent-color);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px; 
    right: 30px; 
    width: 60px;
    height: 60px;
    background-color: #25d366; 
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: pulse-animation 2s infinite;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 992px) {
    .program-split, .about-flex, .form-container { grid-template-columns: 1fr; flex-direction: column; gap: 3rem; }
    
    .menu-toggle { display: flex; }

    #nav-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    #nav-wrapper.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .footer-content { flex-direction: column; gap: 2rem; text-align: center; }
    .footer-links { text-align: center; }
    .social-links a { margin: 0 0.5rem; }
    .social-links { 
        justify-content: center;
    }
    .contact-form-wrapper { padding: 2rem; }
    .contact-text { padding-right: 0; text-align: center; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .half-width { width: 100%; }
    .card-grid { grid-template-columns: 1fr; }
    
    #scrollToTopBtn {
        bottom: 90px; 
        right: 20px;
        width: 45px;
        height: 45px;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}
/* --- SPLIT HERO SECTION UPDATES --- */

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center; /* Vertically centers the two columns */
}

/* Force left alignment on desktop */
.hero-split .hero-col-1,
.hero-split .hero-col-2 {
    text-align: left;
}

.hero-section h1,
.hero-section .hero-text,
.hero-section .hero-subtext,
.hero-section .hero-credibility,
.hero-section .subtitle {
    text-align: left;
    margin-left: 0;
}

/* Add a bit of breathing room above the button */
.hero-split .btn-large {
    margin-top: 1.5rem;
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .hero-split {
        grid-template-columns: 1fr; /* Stacks columns vertically on mobile */
        gap: 2.5rem;
    }
    
    /* Re-center text on smaller screens */
    .hero-split .hero-col-1,
    .hero-split .hero-col-2,
    .hero-section h1,
    .hero-section .hero-text,
    .hero-section .hero-subtext,
    .hero-section .hero-credibility,
    .hero-section .subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-col-1 h1.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.1;
}

.hero-col-1 h2.hero-subtitle {
    color: var(--accent-color);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-col-1 .hero-text {
    font-size: 1.35rem;
    font-weight: 400;
    opacity: 1; 
}

.hero-col-2 {
    border-left: 2px solid rgba(193, 154, 91, 0.4); 
    padding-left: 3rem; 
}

.hero-col-2 .hero-subtext, 
.hero-col-2 .hero-credibility {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.85; 
    margin-bottom: 1.25rem;
}

@media (max-width: 992px) {
    .hero-col-2 {
        border-left: none;
        border-top: 2px solid rgba(193, 154, 91, 0.4);
        padding-left: 0;
        padding-top: 2.5rem; 
    }
}