/* ===================================================================
   Shared Mobility Africa - Corporate Website Styles
   =================================================================== */

/* -------------------------------------------------------------------
   CSS Variables / Design Tokens
   ------------------------------------------------------------------- */
:root {
    /* Colors - Aligned with SMA Logo */
    --primary: #1B3B6F;        /* Deep navy blue from logo */
    --primary-dark: #0f2445;   /* Darker navy */
    --primary-light: #2E5C9A;  /* Lighter blue */
    --secondary: #F7941D;      /* Orange accent from logo */
    --secondary-dark: #d97d0d; /* Darker orange */
    --accent: #FFB81C;         /* Bright amber accent */
    --dark: #1A1A2E;
    --light: #F8F9FA;
    --gray: #6C757D;
    --gray-light: #E9ECEF;
    --white: #FFFFFF;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --section-padding-sm: 60px;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* -------------------------------------------------------------------
   Base Styles
   ------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* -------------------------------------------------------------------
   Utility Classes
   ------------------------------------------------------------------- */
.section {
    padding: var(--section-padding) 0;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray);
}

/* -------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------- */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-outline-light {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-light {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background-color: var(--light);
    border-color: var(--light);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* -------------------------------------------------------------------
   Navigation
   ------------------------------------------------------------------- */
.navbar {
    padding: 1rem 0;
    background-color: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

.navbar-brand img {
    height: 42px;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.navbar.scrolled .navbar-brand img {
    height: 38px;
    filter: none;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--white);
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--dark);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26, 26, 46, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--white);
        padding: 1rem;
        border-radius: var(--radius-md);
        margin-top: 1rem;
        box-shadow: var(--shadow-md);
    }

    .navbar-nav .nav-link {
        color: var(--dark);
    }

    .navbar-collapse .btn {
        margin-top: 1rem;
        width: 100%;
    }
}

/* -------------------------------------------------------------------
   Hero Section
   ------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* -------------------------------------------------------------------
   About Section
   ------------------------------------------------------------------- */
.about-section {
    background-color: var(--white);
}

.about-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.pillar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--light);
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--dark);
}

.pillar i {
    color: var(--primary);
    font-size: 1.25rem;
}

.about-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.visual-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.visual-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.visual-card span {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark);
}

.card-1 { top: 10%; left: 10%; }
.card-2 { top: 5%; right: 15%; }
.card-3 { bottom: 15%; left: 5%; }
.card-4 { bottom: 10%; right: 10%; }

@media (max-width: 991px) {
    .about-visual {
        height: 300px;
        margin-top: 2rem;
    }

    .visual-card {
        padding: 1rem 1.5rem;
    }

    .visual-card i {
        font-size: 1.5rem;
    }
}

/* -------------------------------------------------------------------
   Solutions Section
   ------------------------------------------------------------------- */
.solutions-section {
    background-color: var(--light);
}

.solution-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.solution-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5A7B8F 0%, #C9A961 100%);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.solution-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.solution-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.solution-card p {
    margin-bottom: 1.5rem;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.solution-link:hover {
    color: var(--secondary);
}

.solution-link i {
    transition: var(--transition);
}

.solution-link:hover i {
    transform: translateX(5px);
}

.solution-card-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
}

.solution-card-cta h3,
.solution-card-cta p {
    color: var(--white);
}

.solution-card-cta .solution-icon {
    background: rgba(255, 255, 255, 0.2);
}

.solution-card-cta:hover {
    transform: translateY(-5px);
}

/* -------------------------------------------------------------------
   Impact Section
   ------------------------------------------------------------------- */
.impact-section {
    background-color: var(--white);
}

.impact-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: var(--light);
    border-radius: var(--radius-md);
    height: 100%;
    transition: var(--transition);
}

.impact-card:hover {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
}

.impact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 50%;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-sm);
}

.impact-icon i {
    font-size: 1.25rem;
    color: var(--primary);
}

.impact-stat {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.impact-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.impact-card p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .impact-stat {
        font-size: 2rem;
    }

    .impact-card {
        padding: 1.5rem 1rem;
    }
}

/* -------------------------------------------------------------------
   Case Studies Section
   ------------------------------------------------------------------- */
.case-studies-section {
    background-color: var(--light);
}

.case-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.case-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.case-location {
    font-size: 0.875rem;
    color: var(--gray);
}

.case-location i {
    color: var(--secondary);
    margin-right: 0.25rem;
}

.case-type {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.25rem 0.75rem;
    background-color: var(--light);
    border-radius: 20px;
    color: var(--primary);
}

.case-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.case-content {
    flex-grow: 1;
}

.case-item {
    margin-bottom: 1rem;
}

.case-item strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.case-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.case-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* -------------------------------------------------------------------
   Partners Section
   ------------------------------------------------------------------- */
.partners-section {
    background-color: var(--white);
}

.partner-category {
    text-align: center;
    padding: 2rem;
    background-color: var(--light);
    border-radius: var(--radius-md);
    height: 100%;
    transition: var(--transition);
}

.partner-category:hover {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
}

.partner-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.partner-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.partner-category h4 {
    margin-bottom: 0.75rem;
}

.partner-category p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    min-height: 50px;
}

.partner-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background-color: var(--white);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.partner-logo-link:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-sm);
}

.partner-logo {
    max-width: 100px;
    max-height: 45px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: var(--transition);
}

.partner-logo-link:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-placeholder {
    width: 60px;
    height: 40px;
    background-color: var(--gray-light);
    border-radius: var(--radius-sm);
}

/* -------------------------------------------------------------------
   Why Section
   ------------------------------------------------------------------- */
.why-section {
    background-color: var(--light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.why-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.why-card:hover {
    box-shadow: var(--shadow-md);
}

.why-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-sm);
}

.why-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.why-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.why-content p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------
   Vision Section
   ------------------------------------------------------------------- */
.vision-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.vision-section .section-label {
    color: var(--secondary);
}

.vision-section .section-title {
    color: var(--white);
}

.vision-section .lead {
    color: rgba(255, 255, 255, 0.85);
}

.vision-cards {
    margin-top: 3rem;
}

.vision-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    height: 100%;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.vision-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.vision-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.vision-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.vision-card h4 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.vision-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* -------------------------------------------------------------------
   CTA Section
   ------------------------------------------------------------------- */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    padding: 80px 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 1.75rem;
    }
}

/* -------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------- */
.footer {
    background-color: var(--dark);
    padding: 60px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary);
}

.footer-title {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 0.25rem;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 0.875rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 1.5rem;
}

.footer-legal:hover {
    color: var(--secondary);
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-legal {
        display: block;
        margin: 0.5rem 0;
    }
}

/* -------------------------------------------------------------------
   Animations
   ------------------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* -------------------------------------------------------------------
   Responsive Adjustments
   ------------------------------------------------------------------- */
@media (max-width: 991px) {
    .section {
        padding: var(--section-padding-sm) 0;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 50px 0;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .btn-lg {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* -------------------------------------------------------------------
   Terms and Conditions Section
   ------------------------------------------------------------------- */
.terms-container {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.terms-content h4 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-light);
}

.terms-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.terms-content ul li {
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.ncr-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #5A7B8F 0%, #C9A961 100%);
    color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.ncr-badge i {
    font-size: 2.5rem;
    opacity: 0.9;
}

.ncr-badge strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.ncr-badge p {
    margin: 0;
    opacity: 1;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.contact-box {
    background: var(--light);
    padding: 2rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
}

.contact-box h4 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

.contact-box i {
    color: var(--primary);
    margin-right: 0.5rem;
    width: 20px;
}

@media (max-width: 768px) {
    .terms-container {
        padding: 2rem 1.5rem;
    }
    
    .ncr-badge {
        flex-direction: column;
        text-align: center;
    }
}
/* -------------------------------------------------------------------
   Internal Page Hero
   ------------------------------------------------------------------- */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.03)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.03)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.02)"/></svg>');
    opacity: 0.5;
}

.page-hero > .container {
    position: relative;
    z-index: 1;
}

.page-hero-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 auto 2rem;
    backdrop-filter: blur(10px);
}

.page-hero-icon i {
    font-size: 2.5rem;
    color: var(--secondary);
}

.page-hero-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.page-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero-title {
        font-size: 2rem;
    }

    .page-hero-subtitle {
        font-size: 1rem;
    }

    .page-hero-icon {
        width: 80px;
        height: 80px;
    }

    .page-hero-icon i {
        font-size: 2rem;
    }
}

/* -------------------------------------------------------------------
   Stats Grid
   ------------------------------------------------------------------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--white);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* -------------------------------------------------------------------
   Feature List
   ------------------------------------------------------------------- */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--gray);
}

.feature-list li i {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-list li i.text-danger {
    color: #dc3545;
}

.feature-list li i.text-success {
    color: #28a745;
}

/* -------------------------------------------------------------------
   Process Steps
   ------------------------------------------------------------------- */
.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    height: 100%;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.process-step h4 {
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.process-step p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* -------------------------------------------------------------------
   Feature Cards (Enhanced)
   ------------------------------------------------------------------- */
.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card .feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.feature-card .feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--gray);
}

/* -------------------------------------------------------------------
   Benefit Items (Page Style)
   ------------------------------------------------------------------- */
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.benefit-item:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.benefit-item > i {
    font-size: 1.5rem;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.benefit-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.benefit-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--gray);
}

/* -------------------------------------------------------------------
   Background Utilities
   ------------------------------------------------------------------- */
.bg-light {
    background-color: var(--light) !important;
}

/* -------------------------------------------------------------------
   Loan Product Cards
   ------------------------------------------------------------------- */
.loan-product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    position: relative;
}

.loan-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.loan-product-card.featured {
    border: 2px solid var(--secondary);
}

.loan-product-badge {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--secondary);
    color: var(--white);
    padding: 0.25rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    transform: rotate(45deg);
}

.loan-product-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 2rem;
    text-align: center;
    color: var(--white);
}

.loan-product-header i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.loan-product-header h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.loan-amount {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
    opacity: 0.9;
}

.loan-product-body {
    padding: 2rem;
}

.loan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.loan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.95rem;
    color: var(--gray);
}

.loan-features li:last-child {
    border-bottom: none;
}

.loan-features li i {
    color: var(--secondary);
    font-size: 0.875rem;
}

/* -------------------------------------------------------------------
   Testimonials
   ------------------------------------------------------------------- */
.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    height: 100%;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.testimonial-quote {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: 50%;
}

.testimonial-quote i {
    font-size: 1.25rem;
    color: var(--secondary);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1.5rem;
    padding-right: 3rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
}

.author-avatar i {
    font-size: 1.25rem;
    color: var(--white);
}

.testimonial-author h5 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--gray);
}
/* -------------------------------------------------------------------
   Hero Section Enhancements - Background Image & Particles
   ------------------------------------------------------------------- */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1494515843206-f3117d3f51b7?w=1920&q=80') center center / cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    opacity: 0.15;
    color: var(--white);
    animation: float 15s ease-in-out infinite;
}

.particle i {
    font-size: 2rem;
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.particle-2 {
    top: 60%;
    left: 20%;
    animation-delay: -5s;
    animation-duration: 18s;
}

.particle-3 {
    top: 30%;
    right: 15%;
    animation-delay: -2s;
    animation-duration: 22s;
}

.particle-4 {
    top: 70%;
    right: 25%;
    animation-delay: -7s;
    animation-duration: 16s;
}

.particle-5 {
    top: 45%;
    left: 50%;
    animation-delay: -3s;
    animation-duration: 19s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(30px) rotate(-5deg);
    }
}

/* -------------------------------------------------------------------
   About Section Image Styles
   ------------------------------------------------------------------- */
.about-image-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.about-main-image {
    width: 100%;
    max-width: 500px;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    max-width: 500px;
    height: 350px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

.about-stats-badge {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.about-stats-badge .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
}

.about-stats-badge .stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* -------------------------------------------------------------------
   Impact Section Decorations
   ------------------------------------------------------------------- */
.impact-section {
    position: relative;
    overflow: hidden;
}

.impact-bg-decoration {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    opacity: 0.05;
    pointer-events: none;
}

.impact-stat .counter {
    display: inline;
}

/* -------------------------------------------------------------------
   Case Studies Image Styles
   ------------------------------------------------------------------- */
.case-image {
    width: 100%;
    height: 180px;
    margin: -2rem -2rem 1.5rem -2rem;
    width: calc(100% + 4rem);
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

/* -------------------------------------------------------------------
   Pulse Animation for Icons
   ------------------------------------------------------------------- */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 148, 29, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(247, 148, 29, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(247, 148, 29, 0);
    }
}

.solution-icon {
    animation: pulse 2s infinite;
}

.partner-icon {
    animation: pulse 3s infinite;
}

/* -------------------------------------------------------------------
   Gradient Text Animation
   ------------------------------------------------------------------- */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-title {
    background: linear-gradient(135deg, var(--white) 0%, var(--accent) 50%, var(--white) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease infinite;
}

/* Fallback for browsers that don't support background-clip */
@supports not (background-clip: text) {
    .hero-title {
        background: none;
        -webkit-text-fill-color: var(--white);
        color: var(--white);
    }
}

/* -------------------------------------------------------------------
   Hover Lift Animation
   ------------------------------------------------------------------- */
.pillar {
    transition: var(--transition);
}

.pillar:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    background-color: var(--white);
}

.pillar:hover i {
    color: var(--secondary);
}

/* -------------------------------------------------------------------
   Icon Bounce Animation
   ------------------------------------------------------------------- */
@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.why-icon:hover i,
.vision-icon:hover i {
    animation: iconBounce 0.5s ease;
}

/* -------------------------------------------------------------------
   Shimmer Effect for Cards
   ------------------------------------------------------------------- */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: none;
    pointer-events: none;
}

.solution-card {
    position: relative;
    overflow: hidden;
}

.solution-card:hover::before {
    animation: shimmer 0.8s ease;
}

/* -------------------------------------------------------------------
   Loading Animation for Images
   ------------------------------------------------------------------- */
.about-main-image,
.case-image img {
    background: linear-gradient(90deg, var(--gray-light) 25%, var(--light) 50%, var(--gray-light) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.about-main-image[src],
.case-image img[src] {
    animation: none;
    background: transparent;
}

/* -------------------------------------------------------------------
   Responsive adjustments for new elements
   ------------------------------------------------------------------- */
@media (max-width: 991px) {
    .about-image-wrapper {
        max-width: 450px;
        margin: 0 auto 2rem;
    }

    .about-main-image,
    .about-image-accent {
        height: 280px;
    }

    .about-image-accent {
        display: none;
    }

    .particle i {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-main-image {
        height: 220px;
    }

    .about-stats-badge {
        bottom: -15px;
        left: 15px;
        padding: 0.75rem 1rem;
    }

    .about-stats-badge .stat-number {
        font-size: 1.5rem;
    }

    .case-image {
        height: 150px;
    }

    .hero-particles .particle {
        display: none;
    }

    .hero-bg-image {
        opacity: 0.1;
    }
}