/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #DC1E2D; /* DTB Red */
    --secondary-color: #8B0000; /* Dark Red */
    --accent-color: #FF4444;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Arimo', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

html, body { margin: 0; padding: 0; }

.header,
.topbar,
.nav-container {
  margin: 0;
  padding: 0;            
  box-sizing: border-box;
}

.page-header,
.hero {
  margin-top: 0 !important;
  padding-top: 60px;
}

.header { position: relative; }


.topbar > *:empty { display: none; }


.header[style*="outline"], .topbar[style*="outline"], .nav-container[style*="outline"], .page-header[style*="outline"] {
  outline: none;
}


.topbar {
    background: var(--bg-light, #f8fafc);
    color: var(--text-dark, #222);
    font-size: 0.95rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0.45rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 50;
    height: 44px;
}

.topbar .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.topbar .contact-item i {
    color: var(--primary-color, #0b74de);
    font-size: 0.95rem;
    line-height: 1;
}

.topbar a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.topbar a:hover { 
    color: var(--primary-color, #0b74de); 
}


@media (min-width: 1024px) {
    .topbar {
        justify-content: flex-end;
        padding-right: calc((100% - 1140px) / 2 + 1.5rem);
        padding-left: calc((100% - 1140px) / 2 + 1.5rem);
    }
}


.header {
    position: relative;
    background: var(--white);
    z-index: 40;
}


.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-sizing: border-box;
}


.logo img {
    height: 48px;
    display: block;
}


.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    padding: 0.35rem 0.5rem;
    display: inline-block;
}

.nav-menu a.active {
    color: var(--primary-color);
}


.btn-primary {
    background: var(--primary-color);
    color: #fff;
    padding: 0.55rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform .15s ease, background .15s ease;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}


.mobile-toggle {
    display: none;
    font-size: 1.25rem;
    cursor: pointer;
}

@media (max-width: 900px) {
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    .topbar { display: none; }
    .nav-container { padding: 0.6rem 1rem; }
}


.hero {
    position: relative;
    color: white;
    padding: 96px 2rem 60px;
    margin-top: 0;
    overflow: hidden;
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-size: cover;
    background-position: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(220, 30, 45, 0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-cta-centered {
    max-width: 100%;
}

.hero-cta-left {
    text-align: left;
}

/* Hero Image (right column) */
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-app-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    animation: float 3s ease-in-out infinite;
}

/* Float animation for image */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Responsive: stack on mobile */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-image { order: 2; margin-top: 1rem; }
    .hero-cta-centered { order: 1; }
}

@media (max-width: 768px) {
    .hero-image { display: none; } /* hide image on very small screens */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s both;
    justify-content: left;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: left;
    gap: 0.5rem;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s;
    display: flex;
    align-items: left;
    gap: 0.5rem;
}

.btn-hero-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        padding: 72px 1.5rem 40px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero-cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    @media (max-width: 1024px) {
    .application-form .btn-primary {
        display: flex !important;
    }
}
}

/* Products Section */
.products {
    padding: 80px 2rem;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive product grid */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.product-card {
    background: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(220, 30, 45, 0.2);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Product icon: red pill in top-left of product image */
.product-image {
    position: relative; /* ensure absolute positioning inside */
    overflow: hidden;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px; 
    background-size: cover;
    background-position: center; /* Add this */
    background-repeat: no-repeat; /* Add this */
}
.product-image .product-icon {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-color, #DC1E2D);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    z-index: 5;
    text-shadow: none; /* override previous heavy shadow */
}

/* Slightly smaller on narrow screens */
@media (max-width: 900px) {
    .product-image .product-icon {
        top: 10px;
        left: 10px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-radius: 6px;
    }
}

.product-content {
    padding: 2rem;
}

.product-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.product-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features i {
    color: var(--primary-color);
}

.btn-product {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-product:hover {
    background: var(--secondary-color);
    transform: translateX(5px);
}

/* How It Works */
.how-it-works {
    padding: 80px 2rem;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 3rem;
    align-items: center;
}

.step {
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    transition: transform 0.3s;
}

.step:hover .step-number {
    transform: scale(1.1);
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.step-arrow {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
}

/* Calculator Section */
.calculator {
    position: relative;
    padding: 80px 2rem;
    color: white;
    overflow: hidden;
}

.calculator-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.calculator-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(220, 30, 45, 0.9);
}

.calculator-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.calculator-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.calculator-widget {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    color: var(--text-dark);
}

.calc-input-group {
    margin-bottom: 1.5rem;
}

.calc-input-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.calc-input-group input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    outline: none;
    background: #ddd;
}

.calc-input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

.calc-input-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
}

.calc-value {
    text-align: right;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.calc-result {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 5px;
    margin: 2rem 0;
    text-align: center;
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.result-amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.btn-calc {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-calc:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Testimonials */
.testimonials {
    padding: 80px 2rem;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.testimonial-image i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stars {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.testimonial-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
    text-align: center;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.client-info strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.client-info span {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.3rem;
}

/* CTA Section */
.cta {
    position: relative;
    padding: 80px 2rem;
    color: white;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 0, 0, 0.8);
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--primary-color);
    padding: 1rem 3rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Page Header */
.page-header {
    position: relative;
    padding: 150px 2rem 80px;
    text-align: center;
    color: white;
    margin-top: 70px;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(220, 30, 45, 0.5);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

/* Product Detail Pages */
.product-detail {
    padding: 80px 2rem;
}

.product-detail.alternate {
    background: var(--bg-light);
}

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

.product-detail-grid.reverse {
    direction: rtl;
}

.product-detail-grid.reverse > * {
    direction: ltr;
}

.product-detail-image {
    height: 500px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(135deg, rgba(220, 30, 45, 0.8) 0%, rgba(139, 0, 0, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.product-detail-icon {
    font-size: 6rem;
    color: white;
}

.product-detail-content h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-tagline {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.product-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.info-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-light);
    font-weight: bold;
}

.requirements {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

.requirements h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.requirements ul {
    list-style: none;
}

.requirements li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.requirements i {
    color: var(--primary-color);
}

.btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-apply:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 30, 45, 0.3);
}

/* Why Choose Us / Features */
.why-choose {
    padding: 80px 2rem;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: var(--bg-light);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(220, 30, 45, 0.1);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
}

/* About Page Styles */
.about-intro {
    padding: 80px 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    height: 500px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(135deg, rgba(220, 30, 45, 0.8) 0%, rgba(139, 0, 0, 0.8) 100%);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.about-stats-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(220, 30, 45, 0.95);
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.about-content h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.mv-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-top: 4px solid var(--primary-color);
}

.mv-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mv-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Values Section */
.values-section {
    padding: 80px 2rem;
    background: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-light);
}

/* Team Section */
.team-section {
    padding: 80px 2rem;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 4px solid var(--primary-color);
}

.member-image i {
    font-size: 3rem;
    color: var(--primary-color);
}

.team-member h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.team-member .position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-member .bio {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-member .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* Timeline Section */
.timeline-section {
    padding: 80px 2rem;
    background: var(--bg-light);
}

.timeline {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 3;
    text-align: left;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 2;
    grid-column: 2;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 560px;
    gap: 2rem;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-info a {
    text-decoration: none;
    color: var(--primary-color);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.method-content p {
    color: var(--text-dark);
    font-weight: 600;
    margin: 0.2rem 0;
}

.method-content span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Application Form */
.application-form {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-header p {
    color: var(--text-light);
}

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

.application-form .form-group {
    margin-bottom: 1.5rem;
}

.application-form .form-group.full-width {
    grid-column: span 2;
}

.application-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.application-form input,
.application-form select,
.application-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
}

.checkbox-group a {
    color: var(--primary-color);
}

.btn-submit-large {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-submit-large:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}


/* Map Section */
.map-section {
    height: 400px;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #e0e0e0;
}

.map-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.map-overlay i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 2rem;
    background: var(--bg-light);
}

.faq-grid {
    display: grid;
    gap: 1rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i:first-child {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.faq-question h3 {
    flex: 1;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.faq-question i:last-child {
    color: var(--text-light);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i:last-child {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 4.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 2rem 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col h3 img,
.footer-col h4 img {
    width: 100%;
    height: 40px;
}

.footer-col p {
    color: #ccc;
    line-height: 1.8;
}

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

.footer-col ul li {
    padding: 0.3rem 0;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scoped About page styles — only affect .about-page to avoid global side effects */
.about-page .about-intro {
    padding: 80px 1.5rem;
}

.about-page .about-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2.5rem;
    align-items: start;
    max-width: 1140px;
    margin: 0 auto;
}

.about-page .section-title {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.about-page .lead {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

/* mission / vision compact cards */
.about-page .about-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.about-page .about-card {
    display: flex;
    gap: 1rem;
    background: #fff;
    border-radius: 8px;
    padding: 0.95rem;
    align-items: flex-start;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border-top: 4px solid rgba(220,30,45,0.06);
}

.about-page .card-icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(220,30,45,0.08);
}

.about-page .about-card h3 {
    margin: 0 0 0.25rem 0;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.about-page .about-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.96rem;
}

/* Core values pills (scoped) */
.about-page .core-values { margin-top: 1.25rem; }
.about-page .core-values h4 { margin-bottom: 0.6rem; color: var(--text-dark); }
.about-page .value-pills { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.about-page .value-pill {
    background: #fff;
    color: var(--text-dark);
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Right image styling (scoped) */
.about-page .about-image {
    width: 100%;
    height: 360px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* Remove list markers only inside about page */
.about-page ul, .about-page li { list-style: none; margin: 0; padding: 0; }

/* Responsive adjustments (scoped) */
@media (max-width: 1024px) {
    .about-page .about-grid { grid-template-columns: 1fr; }
    .about-page .about-image { height: 260px; order: -1; margin-bottom: 1.2rem; }
    .about-page .about-cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .about-page .about-image { height: 200px; }
    .about-page .card-icon { width: 44px; height: 44px; font-size: 1rem; }
    .about-page .value-pill { padding: 0.45rem 0.6rem; font-size: 0.9rem; }
}

/* Hero Stats Section */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    animation: fadeInUp 1s ease 0.6s both;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: flex-start;
}

.stat {
    text-align: left;
    flex: 0 0 auto;
    min-width: fit-content;
}

.stat i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
    color: white;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.95;
    font-weight: 500;
}

/* Responsive stats */
@media (max-width: 900px) {
    .hero-stats {
        gap: 1.75rem;
        margin-top: 2rem;
        justify-content: flex-start;
    }
    .stat { text-align: left; }
    .stat-number { font-size: 1.6rem; }
    .stat-label { font-size: 0.85rem; }
}

/* Mobile hamburger toggle — MUST SHOW on small screens */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: auto;
    z-index: 100;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    position: relative;
    transition: all 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: inherit;
    transition: all 0.3s;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* SHOW hamburger on small screens */
@media (max-width: 1024px) {
    .nav-menu { display: none; }
    .btn-primary:not(.overlay-btn) { display: none; }
    .mobile-nav-toggle { display: flex !important; }
}

@media (max-width: 768px) {
    .topbar { display: none; }
    .mobile-nav-toggle { display: flex !important; }
}

/* Mobile overlay nav */
.nav-overlay {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
    pointer-events: none;
}

.nav-overlay.open {
    display: block;
    pointer-events: auto;
}

.nav-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    border: 0;
    cursor: pointer;
    pointer-events: auto;
    z-index: 1;
}

.nav-overlay-panel {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    max-width: 340px;
    height: 100%;
    background: white;
    box-shadow: -20px 0 60px rgba(0,0,0,0.2);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    pointer-events: auto;
    z-index: 10;
}

.overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.overlay-logo img {
    height: 36px;
}

.overlay-close {
    align-self: flex-end;
    background: transparent;
    border: 0;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    color: var(--text-dark);
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11;
}

.overlay-close:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.overlay-nav ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.overlay-nav a {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 0;
    transition: color 0.2s;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
}

.overlay-nav a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.overlay-btn {
    width: 100%;
    margin-top: auto;
    padding: 0.75rem 1rem;
    text-align: center;
    cursor: pointer;
    pointer-events: auto;
    display: block;
}

.overlay-apply {
    width: 100%;
    text-align: center;
}

/* How It Works responsive */
@media (max-width: 900px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    .step-arrow { display: none; }
    .step h3 { font-size: 1rem; }
    .step p { font-size: 0.85rem; }
    .step-number { width: 60px; height: 60px; font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .step-number { width: 70px; height: 70px; font-size: 1.8rem; }
    .step h3 { font-size: 1.1rem; }
}

/* Calculator responsive */
@media (max-width: 900px) {
    .calculator-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .calculator {
        padding: 60px 1.5rem;
    }
    .calculator-text h2 {
        font-size: 1.8rem;
    }
    .calculator-widget {
        padding: 1.5rem;
    }
    .calc-input-group {
        margin-bottom: 1rem;
    }
    .calc-result {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    .result-amount {
        font-size: 1.5rem;
    }
}
/* Tablet breakpoint */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr; /* stack vertically */
  }
  .application-form {
    max-width: 100%;
    padding: 2rem;
  }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .contact-section {
    padding: 40px 1rem; /* tighter spacing */
  }

  .contact-grid {
    grid-template-columns: 1fr; /* single column */
    gap: 1.5rem;
    
  }

  .application-form {
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  }

  .btn-submit-large {
    font-size: 1rem;
    padding: 0.9rem;
  }
}
