/* ===== CSS Variables ===== */
:root {
    --yellow: #F5C518;
    --yellow-dark: #D4A815;
    --yellow-light: #FFF3B0;
    --yellow-bg: #FFFBEB;
    --dark: #1a1a2e;
    --dark-2: #16213e;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray-100: #f0f0f0;
    --gray-200: #e0e0e0;
    --gray-300: #cccccc;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
    --font-primary: 'Inter', -apple-system, sans-serif;
    --font-display: 'Playfair Display', serif;
    --max-width: 1200px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Skip Link (Accessibility) ===== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--yellow);
    color: var(--dark);
    padding: 10px 20px;
    z-index: 10000;
    font-weight: 600;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* ===== Focus Styles (Accessibility) ===== */
:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 2px;
}

/* ===== Sticky Navigation ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--yellow-dark);
    z-index: 1001;
}

.logo-icon {
    font-size: 28px;
}

.logo-highlight {
    color: var(--yellow-dark);
}

.logo-text {
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--yellow-dark);
    transition: background var(--transition), color var(--transition);
}

.nav-link:hover,
.nav-link:focus {
    background: var(--yellow-bg);
    color: var(--yellow-dark);
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    color: var(--text);
    transition: background var(--transition), color var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle:hover {
    background: var(--yellow-bg);
    color: var(--yellow-dark);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== Search Bar ===== */
.search-bar {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    padding: 15px 0;
    display: none;
    z-index: 999;
}

.search-bar.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: var(--font-primary);
    transition: border-color var(--transition);
    outline: none;
}

.search-input:focus {
    border-color: var(--yellow);
}

.search-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    padding: 4px 8px;
    line-height: 1;
    transition: color var(--transition);
}

.search-close:hover {
    color: var(--text);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    display: none;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: background var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-result-item:hover,
.search-result-item:focus {
    background: var(--yellow-bg);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-icon {
    font-size: 24px;
}

.search-result-text {
    font-weight: 500;
    color: var(--dark);
}

.search-result-desc {
    font-size: 13px;
    color: var(--text-light);
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--yellow);
    color: var(--dark);
    border-color: var(--yellow);
}

.btn-primary:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 197, 24, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-2px);
}

/* ===== Section Common Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: var(--yellow-bg);
    color: var(--yellow-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.text-highlight {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(245, 197, 24, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(245, 197, 24, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(245, 197, 24, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    padding: 120px 20px 80px;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 197, 24, 0.15);
    color: var(--yellow);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    border: 1px solid rgba(245, 197, 24, 0.2);
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .text-highlight {
    -webkit-text-fill-color: var(--yellow);
    background: none;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--yellow);
    line-height: 1;
}

.stat-plus {
    font-size: 20px;
    color: var(--yellow);
    font-weight: 700;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* ===== Features / Courses Section ===== */
.features {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
    cursor: default;
}

.feature-card:hover {
    border-color: var(--yellow);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 42px;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--yellow-dark);
    transition: gap var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.feature-link:hover {
    gap: 8px;
}

/* ===== Branches Section ===== */
.branches {
    padding: 100px 0;
    background: var(--off-white);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.branch-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow);
}

.branch-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.branch-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: var(--yellow-bg);
}

.branch-info {
    padding: 24px;
}

.branch-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.branch-address {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.5;
}

.branch-phone {
    font-size: 15px;
    font-weight: 600;
    color: var(--yellow-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.branch-phone:hover {
    color: var(--dark);
}

/* ===== Enquiry Section ===== */
.enquiry {
    padding: 100px 0;
    background: var(--white);
}

.enquiry-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start;
}

.enquiry-form {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-primary);
    transition: border-color var(--transition);
    background: var(--white);
    color: var(--text);
    outline: none;
}

.form-input:focus {
    border-color: var(--yellow);
}

.form-input.error {
    border-color: #dc3545;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='%23666' d='M6 8L1 3h10z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-error {
    display: block;
    font-size: 13px;
    color: #dc3545;
    margin-top: 4px;
    min-height: 20px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--yellow);
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 17px;
    position: relative;
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0,0,0,0.2);
    border-top-color: var(--dark);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn-submit.loading .btn-text { visibility: hidden; }
.btn-submit.loading .btn-loader { display: inline-block; position: absolute; }

.form-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Enquiry Info Sidebar */
.enquiry-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background: var(--yellow-bg);
    border: 1px solid rgba(245, 197, 24, 0.2);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform var(--transition);
}

.info-card:hover {
    transform: translateY(-2px);
}

.info-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 12px;
}

.info-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.info-card a,
.info-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.5;
}

.info-card a:hover {
    color: var(--yellow-dark);
}

/* ===== Map Section ===== */
.map-section {
    padding: 100px 0 0;
    background: var(--off-white);
}

.map-container {
    width: 100%;
    margin-top: 40px;
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--yellow);
    border-radius: 2px;
}

.footer-text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--yellow);
    color: var(--dark);
    transform: translateY(-2px);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '→';
    font-size: 12px;
    transition: transform var(--transition);
}

.footer-links a:hover {
    color: var(--yellow);
    transform: translateX(4px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

.contact-icon {
    flex-shrink: 0;
    font-size: 16px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.65);
}

.footer-contact a:hover {
    color: var(--yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
    color: var(--yellow);
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: all var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

/* ===== Animations ===== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.55); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .branches-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 4px;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active { right: 0; }

    .nav-link {
        width: 100%;
        padding: 14px 16px;
        font-size: 16px;
    }

    .search-bar { top: 70px; }

    .hero-title { font-size: 40px; }
    .hero-subtitle { font-size: 16px; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 28px; }

    .section-title { font-size: 30px; }

    .features-grid { grid-template-columns: 1fr; }
    .branches-grid { grid-template-columns: 1fr; }

    .enquiry-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .enquiry-form {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 32px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .section-title { font-size: 26px; }
    .feature-card { padding: 24px; }
}
