:root {
    --primary: #1a3a52;
    --primary-dark: #0f2a3d;
    --secondary: #c9a84c;
    --secondary-light: #e0c068;
    --text: #2c3e50;
    --text-light: #6c757d;
    --bg: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #f0f2f5;
    --border: #e0e0e0;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.12);
    --radius: 8px;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    background: var(--primary);
    color: white;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand .logo-main {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer-brand .logo-sub {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--secondary);
    letter-spacing: 1px;
}

.powered-by {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
    border-left: 1px solid rgba(255,255,255,0.3);
    padding-left: 12px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.btn-primary {
    background: var(--secondary);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--secondary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid rgba(255,255,255,0.4);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.btn-large {
    padding: 14px 32px;
    font-size: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

/* Hero */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    background: linear-gradient(rgba(26, 58, 82, 0.70), rgba(15, 42, 61, 0.70)), url('hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.hero-content > * {
    animation: fadeUp 0.8s ease both;
}

.hero-content > *:nth-child(2) {
    animation-delay: 0.15s;
}

.hero-content > *:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-content > *:nth-child(4) {
    animation-delay: 0.45s;
}

.hero-stats {
    animation: fadeUp 0.8s ease 0.6s both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.2);
}

.badge-icon {
    color: var(--secondary);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 28px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
    padding: 14px 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
}

.stat-card {
    background: transparent;
    padding: 10px 28px;
    border-radius: 0;
    border-right: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: none;
    text-align: center;
}

.stat-card:last-child {
    border-right: none;
}

.stat-card:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 2px;
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.75);
    white-space: nowrap;
    line-height: 1.2;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* Programs */
.programs {
    background: var(--bg-light);
}

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

.program-card {
    background: white;
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--secondary);
}

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

.program-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.program-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.program-title {
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 16px;
}

.program-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.program-features {
    list-style: none;
    margin-bottom: 24px;
}

.program-features li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text);
    font-size: 0.95rem;
}

.program-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* About */
.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.about-subtitle {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-badges {
    display: flex;
    gap: 12px;
    margin: 24px 0 32px;
}

.badge {
    background: var(--bg-dark);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border);
}

.quote-card {
    background: var(--primary);
    color: white;
    padding: 40px;
    border-radius: var(--radius);
    position: relative;
}

.quote-card p {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
}

.quote-author {
    color: var(--secondary);
    font-weight: 600;
}

/* Why Us */
.why-us {
    background: var(--bg-light);
}

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

.feature-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 2rem;
    margin-bottom: 18px;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(201, 168, 76, 0.25);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.25), rgba(201, 168, 76, 0.1));
    border-color: rgba(201, 168, 76, 0.4);
    transform: translateY(-2px);
}

.feature-card h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.cta-section {
    text-align: center;
    margin-top: 48px;
}

/* Process */
.process {
    background: linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)), url('our process.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}

.contact-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.25);
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(201, 168, 76, 0.35);
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.lendwize-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: var(--radius);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-brand .logo-img {
    height: 72px;
    width: auto;
    object-fit: contain;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-newsletter h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-newsletter p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.1);
    color: white;
    font-family: inherit;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
}

.footer-legal p {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.legal-links {
    display: flex;
    gap: 16px;
}

.legal-links span {
    color: rgba(255,255,255,0.5);
}

.legal-links img {
    max-height: 24px;
    height: auto;
    align-self: center;
    filter: brightness(0) invert(1);
}

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

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

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

    .process-steps {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }
}
