/* =========================================================================
   Asaan Credit Limited - Main Stylesheet
   Theme: Dark Blue, White, Green Accents
========================================================================= */

/* --- CSS Variables --- */
:root {
    /* Primary Color: Dark Blue */
    --primary-dark: #00122e;
    /* Extra Dark Navy */
    --primary-main: #0B2545;
    /* Deep Navy Blue */
    --primary-light: #134074;
    /* Lighter Navy */

    /* Secondary Color: Deep Red */
    --secondary-main: #7a0909;
    /* Deep Red */
    --secondary-hover: #5a0707;
    --secondary-light: #fdeaea;
    /* Very Light Red bg */

    /* Accent / Neutral */
    --accent-main: #00A86B;
    /* Emerald Green (keeping for success/growth indicators) */
    --accent-hover: #008F5A;
    --accent-light: #E6F6ED;

    --text-dark: #1A1A1A;
    --text-main: #333333;
    --text-muted: #666666;

    --bg-main: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-card: #FFFFFF;

    --danger: #E63946;
    --warning: #F4A261;
    --low-risk: #2A9D8F;

    --font-primary: 'Inter', sans-serif;

    /* Premium Design Tokens */
    --primary-gradient: linear-gradient(135deg, var(--primary-main) 0%, var(--primary-dark) 100%);
    --accent-gradient: linear-gradient(135deg, var(--accent-main) 0%, var(--accent-hover) 100%);
    --surface-glass: rgba(255, 255, 255, 0.85);
    --border-glass: rgba(255, 255, 255, 0.3);

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Animation Utility Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.hover-lift {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.glass-morphism {
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
}


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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Account for sticky header */
}

body {
    font-family: var(--font-primary);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-main);
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--primary-dark);
}

.text-white {
    color: #fff;
}

.text-white h2,
.text-white p,
.text-white h3 {
    color: #fff;
}

.text-dark {
    color: var(--text-dark);
}

.text-dark h2,
.text-dark p,
.text-dark h3 {
    color: var(--text-dark);
}

.text-center {
    text-align: center;
}

.text-blue {
    color: var(--primary-main);
}

.text-red {
    color: var(--secondary-main);
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.ms-2 {
    margin-left: 0.5rem;
}

.w-100 {
    width: 100%;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary-main);
    color: #fff;
    border: 2px solid var(--secondary-main);
}

.btn-primary:hover {
    background-color: var(--primary-main);
    border-color: var(--primary-main);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 37, 69, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: var(--secondary-main);
    border-color: var(--secondary-main);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-main);
    border: 2px solid var(--primary-main);
}

.btn-outline-primary:hover {
    background-color: var(--secondary-main);
    border-color: var(--secondary-main);
    color: #fff;
    transform: translateY(-2px);
}

.block-btn {
    display: block;
    width: 100%;
    text-align: center;
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo-img {
    height: 60px;
    /* Adjust height to fit the navbar */
    max-width: 100%;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-main);
    transition: var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
}

.btn-nav {
    background-color: var(--secondary-main);
    color: #fff !important;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
}

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

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    transition: var(--transition-base);
    border-radius: 3px;
}

/* --- Sliding Hero Slider --- */
.hero-slider {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #f9fafc 0%, #eef2f8 100%);
    overflow: hidden;
    border-bottom: 1px solid #e2edf2;
    padding-top: 80px;
    /* Offset for sticky header */
}

.slides-container {
    position: relative;
    width: 100%;
    height: 800px;
    /* Consistent height for slider */
    overflow: hidden;
}

/* Each slide */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.4s;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-main); /* Fallback for slow loading images */
    z-index: 1;
    transition: transform 6s linear, opacity 0.5s ease-in-out;
}

.hero-slide.active .slide-bg {
    transform: scale(1.1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 18, 46, 0.85) 0%, rgba(11, 37, 69, 0.6) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.slide-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 10;
    padding: 3rem 1.5rem;
    width: 100%;
}

/* Left content */
.slide-content {
    flex: 1;
    min-width: 280px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 168, 107, 0.12);
    /* Use accent color */
    color: var(--accent-main);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: 40px;
    margin-bottom: 1.5rem;
    letter-spacing: -0.2px;
    backdrop-filter: blur(2px);
}

.badge i {
    font-size: 0.8rem;
}

.slide-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.highlight {
    background: linear-gradient(120deg, rgba(0, 168, 107, 0.3) 0%, rgba(0, 168, 107, 0.3) 40%, transparent 60%);
    padding: 0 0.2rem;
    display: inline-block;
    color: var(--accent-main);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 1.25rem 0 1.8rem 0;
    max-width: 520px;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

/* Right visual */
.slide-visual {
    flex: 1;
    min-width: 260px;
    display: flex;
    justify-content: center;
}

.visual-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 2rem;
    padding: 1.6rem;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease;
}

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

.icon-big {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--accent-main);
}

.visual-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-main);
}

.visual-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.rating-stars {
    margin-top: 1rem;
    color: #fbbf24;
    font-size: 0.85rem;
}

/* Navigation dots */
.slider-nav {
    position: absolute;
    bottom: 28px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 14px;
    z-index: 15;
}

.dot {
    width: 42px;
    height: 5px;
    background-color: #cbd5e1;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
}

.dot.active {
    background-color: var(--accent-main);
    width: 56px;
}

/* Arrow buttons */
.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 60px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    color: var(--primary-main);
    font-size: 1.2rem;
}

.arrow-btn:hover {
    background-color: var(--accent-main);
    color: white;
    border-color: var(--accent-main);
}

.arrow-left {
    left: 20px;
}

.arrow-right {
    right: 20px;
}

/* Feature strip (below carousel) */
.feature-strip {
    max-width: 1280px;
    margin: -1rem auto 2rem auto;
    /* Overlap with hero slightly */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    background: white;
    border-radius: 28px;
    padding: 1rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
    position: relative;
    z-index: 50;
}

.feature-strip-item {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary-main);
    font-size: 0.9rem;
}

.feature-strip-item i {
    font-size: 1.4rem;
    color: var(--accent-main);
}

@media (max-width: 880px) {
    .slide-inner {
        flex-direction: column;
        text-align: center;
    }

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-group {
        justify-content: center;
    }

    .arrow-btn {
        width: 36px;
        height: 36px;
    }

    .feature-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-top: 1rem;
    }

    .feature-strip-item {
        justify-content: flex-start;
    }

    .slides-container {
        min-height: 620px;
    }
}

@media (max-width: 550px) {
    .hero-slide {
        padding: 2rem 1rem 3rem 1rem;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .arrow-btn {
        display: none;
    }

    .dot {
        width: 28px;
    }

    .dot.active {
        width: 38px;
    }
}

/* --- Section Titles --- */
.section-title {
    margin-bottom: 4rem;
}

.subtitle {
    display: inline-block;
    color: var(--accent-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

/* --- Statistics Section --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid rgba(11, 37, 69, 0.05);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-main);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-main);
    margin-bottom: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-main);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-card p {
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* --- Location Tabs & Search --- */
.location-controls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

.location-tabs {
    display: flex;
    gap: 1rem;
    background: #f1f3f5;
    padding: 0.5rem;
    border-radius: 50px;
}

.tab-btn {
    padding: 0.75rem 2rem;
    border: none;
    background: none;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-base);
}

.tab-btn.active {
    background: var(--primary-main);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.search-container {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.search-container i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 50px;
    border: 1px solid rgba(11, 37, 69, 0.1);
    font-size: 1rem;
    transition: var(--transition-base);
}

.search-input:focus {
    border-color: var(--primary-main);
    box-shadow: 0 0 0 4px rgba(11, 37, 69, 0.1);
    outline: none;
}

.load-more-container {
    text-align: center;
    margin-top: 4rem;
}

/* Branch card refined for dynamic rendering */
.branch-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(11, 37, 69, 0.1);
    transition: var(--transition-base);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-main);
}

.branch-info-content {
    flex: 1;
}

.manager-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100px;
    text-align: center;
}

.manager-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-light);
}

.manager-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-main);
    line-height: 1.2;
}

.branch-card i.main-icon {
    font-size: 1.5rem;
    color: var(--secondary-main);
    margin-bottom: 1rem;
    display: block;
}

.branch-card h4 {
    font-size: 1.1rem;
    color: var(--primary-main);
    margin-bottom: 0.75rem;
}

.branch-card p {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.branch-card p i {
    width: 16px;
    color: var(--secondary-main);
}

.manager-profile-link {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

.manager-profile-link:hover .manager-img {
    border-color: var(--secondary-main);
    transform: scale(1.05);
}

.manager-profile-link:hover .manager-name {
    color: var(--secondary-main);
}

/* --- Projects & Updates Page Styles --- */
.projects-section {
    padding: 6rem 0;
}

.featured-project {
    background: var(--dark-blue);
    color: var(--white);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 992px) {
    .featured-project {
        flex-direction: row;
        height: 500px;
    }
}

.featured-img {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 300px;
}

.featured-content {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: center;
    justify-content: space-between;
}

.filter-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-select {
    padding: 0.8rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    color: var(--text-main);
    background: var(--white);
    cursor: pointer;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.project-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-open {
    background: #e6f4ea;
    color: #1e7e34;
}

.status-ongoing {
    background: #fff4e5;
    color: #b95000;
}

.status-closed {
    background: #fdeaea;
    color: #d11a1a;
}

.project-card-content {
    padding: 2rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* --- Modal Styles --- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 37, 69, 0.8);
    z-index: 2000;
    backdrop-filter: blur(5px);
    overflow-y: auto;
    padding: 2rem 1rem;
}

.modal.active {
    display: block;
}

.modal-content {
    background: var(--white);
    max-width: 800px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    animation: modalSlide 0.4s ease;
}

@keyframes modalSlide {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    height: 300px;
    background-size: cover;
    background-position: center;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
}

.modal-header-text {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--dark-blue);
    font-size: 1.2rem;
    border: none;
    transition: var(--transition-base);
}

.close-modal:hover {
    background: var(--accent-red);
    color: var(--white);
}

.modal-body {
    padding: 3rem;
}

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

.detail-item i {
    color: var(--accent-red);
    margin-right: 0.5rem;
}

.doc-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8fbff;
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    transition: var(--transition-base);
    border: 1px solid transparent;
}

.doc-link:hover {
    background: #eef5ff;
    border-color: var(--secondary-main);
    transform: translateX(10px);
}

.doc-link i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #ff4d4d;
}

.branch-card .btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-main);
    font-weight: 600;
    margin-top: 1rem;
    text-decoration: none;
    font-size: 0.85rem;
}

/* --- Overview Features --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid rgba(11, 37, 69, 0.1);
}

.feature-card:hover {
    border-color: var(--primary-main);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* --- About Us --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-main-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--secondary-main);
    color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header.active,
.header-subpage {
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
}

.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mv-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.mv-item i {
    color: var(--accent-main);
    font-size: 1.5rem;
    background-color: var(--accent-light);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- Page Headers --- */
.page-header {
    background: var(--primary-dark);
    padding: 140px 0 60px;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    color: #fff;
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Mission, Vision & Values --- */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mv-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(11, 37, 69, 0.1);
    transition: var(--transition-base);
    text-align: center;
}

.mv-card:hover {
    border-color: var(--secondary-main);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mv-card i {
    font-size: 2.5rem;
    color: var(--secondary-main);
    margin-bottom: 1.5rem;
}

.mv-card h4 {
    margin-bottom: 1rem;
    color: var(--primary-main);
}

/* --- Risk Badges --- */
.risk-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.risk-badge.low {
    background: #e6f4ea;
    color: #1e7e34;
}

.risk-badge.medium {
    background: #fff4e5;
    color: #b95000;
}

.risk-badge.high {
    background: #fdeaea;
    color: #d11a1a;
}

/* --- Investment Calculator --- */
.roi-calculator {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(11, 37, 69, 0.05);
}

.roi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: flex-end;
}

.total-return-box {
    background: var(--primary-main);
    color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 2rem;
}

.total-return-box h4 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.total-return-box .return-value {
    font-size: 2rem;
    font-weight: 700;
}

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

.team-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid rgba(11, 37, 69, 0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-main);
}

.team-img {
    width: 100%;
    height: 300px;
    background-color: #eee;
    background-position: center;
    background-size: cover;
    position: relative;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h4 {
    color: var(--primary-main);
    margin-bottom: 0.25rem;
}

.team-info p {
    color: var(--secondary-main);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

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

.team-social a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.team-social a:hover {
    color: var(--secondary-main);
}

/* --- Trust & Compliance --- */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.compliance-card {
    background: #fdfdfd;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px dashed rgba(11, 37, 69, 0.2);
}

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

.compliance-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.compliance-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* --- Contact Form Focus --- */
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-main);
    box-shadow: 0 0 0 4px rgba(11, 37, 69, 0.1);
    outline: none;
}

/* --- Map & Info --- */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 4rem;
    border: 1px solid rgba(11, 37, 69, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.working-hours {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row span:last-child {
    font-weight: 600;
    color: var(--primary-main);
}

/* --- Quick Contact Buttons --- */
.quick-contact-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-quick {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-base);
}

.btn-call {
    background: var(--primary-main);
    color: #fff;
}

.btn-email {
    background: var(--secondary-main);
    color: #fff;
}

.btn-quick:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
    box-shadow: var(--shadow-md);
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(11, 37, 69, 0.1);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    border-color: var(--secondary-main);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-header i {
    font-size: 2.5rem;
    color: var(--secondary-main);
    background: rgba(122, 9, 9, 0.05);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.service-card h3 {
    margin-bottom: 0;
    color: var(--primary-main);
}

.service-card p {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 2.5rem;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.service-features i {
    color: var(--primary-main);
    font-size: 1rem;
}

/* --- Process Section --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--secondary-main);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 10px #fff;
}

.process-step h4 {
    color: var(--primary-main);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.process-step p {
    color: var(--text-muted);
}

/* Desktop Connector Line */
@media (min-width: 992px) {
    .process-grid::before {
        content: '';
        position: absolute;
        top: 50px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: rgba(11, 37, 69, 0.1);
        z-index: 1;
    }
}

/* --- Investment & EMI --- */
.investment-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid rgba(11, 37, 69, 0.1);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition-base);
}

.pricing-card:hover {
    border-color: var(--primary-main);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary-main);
    transform: scale(1.05);
    z-index: 1;
}

.popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--secondary-main);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.risk-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.risk-badge.low {
    background-color: rgba(42, 157, 143, 0.1);
    color: var(--low-risk);
}

.risk-badge.medium {
    background-color: rgba(244, 162, 97, 0.1);
    color: var(--warning);
}

.risk-badge.high {
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--danger);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 1rem 0 2rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pricing-features li i {
    color: var(--accent-main);
}

/* Calculator */
.emi-calculator {
    background: var(--primary-dark);
    border-radius: 12px;
    padding: 3rem;
    color: #fff;
    margin-top: 4rem;
}

.calculator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-header h3 {
    color: #fff;
}

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

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

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.input-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-main);
    background: rgba(255, 255, 255, 0.1);
}

.calc-results {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-box {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-main);
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.breakdown-item span {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Testimonials Slider --- */
.testimonials-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    /* Space for arrows */
}

.testimonials-viewport {
    overflow: hidden;
    width: 100%;
    cursor: grab;
}

.testimonials-viewport:active {
    cursor: grabbing;
}

.testimonials-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.testimonial-slide {
    flex: 0 0 33.333%;
    /* 3 slides on desktop */
    padding: 1rem;
    box-sizing: border-box;
    display: flex;
}

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    position: relative;
    border: 1px solid rgba(11, 37, 69, 0.05);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-main);
}

.quote-icon {
    font-size: 3rem;
    color: rgba(11, 37, 69, 0.05);
    position: absolute;
    top: 1.5rem;
    right: 2rem;
}

.quote-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-main);
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent-light);
    color: var(--accent-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.client-info h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-main);
    font-size: 1.1rem;
}

.client-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Testimonial Nav */
.test-nav-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 3rem;
}

.test-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.test-dot.active {
    background: var(--primary-main);
    transform: scale(1.3);
}

.test-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #fff;
    border: 1px solid #e2edf2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-main);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.test-arrow:hover {
    background: var(--primary-main);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.test-arrow-prev {
    left: -10px;
}

.test-arrow-next {
    right: -10px;
}

/* Responsive Testimonials */
@media (max-width: 992px) {
    .testimonial-slide {
        flex: 0 0 50%;
        /* 2 slides on tablet */
    }
}

@media (max-width: 600px) {
    .testimonial-slide {
        flex: 0 0 100%;
        /* 1 slide on mobile */
    }

    .testimonials-container {
        padding: 0 20px;
    }

    .test-arrow {
        display: none;
        /* Hide arrows on mobile for swipe focus */
    }
}

/* --- Contact --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.info-card {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-card i {
    width: 48px;
    height: 48px;
    background: #fff;
    color: var(--primary-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.map-placeholder {
    width: 100%;
    height: 200px;
    background: #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #dee2e6;
}

.contact-form-wrapper {
    background: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-main);
    box-shadow: 0 0 0 3px rgba(19, 49, 92, 0.1);
}

.error-msg {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error input,
.form-group.error textarea {
    border-color: var(--danger);
}

.form-group.error .error-msg {
    display: block;
}

.hidden {
    display: none;
}

.form-success {
    background: var(--accent-light);
    color: var(--accent-hover);
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

/* --- Footer --- */
.footer {
    background: var(--primary-dark);
    color: #fff;
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    background: rgba(255, 255, 255, 0.1);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--accent-main);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links ul li a:hover {
    color: var(--accent-main);
}

.footer-bottom {
    background: #040c17;
    padding: 1.5rem 0;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

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

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

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 992px) {

    .about-container,
    .contact-container,
    .calculator-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .experience-badge {
        bottom: 10px;
        right: 10px;
    }

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

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

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        padding-top: 4rem;
        text-align: center;
    }

    .hero-cta {
        flex-direction: column;
        padding: 0 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-base: 14px;
    }

    .section {
        padding: 4rem 0;
    }

    .features-grid,
    .services-grid,
    .investment-pricing,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .calculator-body {
        padding: 1rem;
    }

    .emi-calculator {
        padding: 2rem 1.5rem;
    }
}

/* --- Asaan News Page Styles --- */
.news-section {
    padding: 6rem 0;
}

.featured-news {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 4rem;
    border: 1px solid rgba(11, 37, 69, 0.05);
}

.featured-news-img {
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.featured-news-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-grid-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid rgba(11, 37, 69, 0.05);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.news-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary-main);
    color: white;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 1px;
}

.news-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.news-card h4 {
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--primary-main);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.category-pill {
    padding: 0.6rem 1.5rem;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-base);
    color: var(--text-main);
}

.category-pill:hover,
.category-pill.active {
    background: var(--primary-main);
    color: white;
    border-color: var(--primary-main);
}

.news-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border: 1px solid rgba(11, 37, 69, 0.05);
}

.sidebar-widget h5 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--secondary-main);
}

.recent-post-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #f0f0f0;
}

.recent-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-post-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    background-size: cover;
    flex-shrink: 0;
}

.recent-post-info h6 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.recent-post-info p {
    font-size: 0.75rem;
    margin: 0;
    color: #888;
}

@media (max-width: 992px) {
    .featured-news {
        grid-template-columns: 1fr;
    }

    .news-grid-container {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .featured-news-content {
        padding: 2rem;
    }
}

/* --- Premium Hero --- */
.premium-hero {
    position: relative;
    padding: 10rem 0 8rem;
    background: var(--primary-gradient);
    color: #fff;
    overflow: hidden;
}

.premium-hero h1 {
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.premium-hero .subtitle {
    color: var(--accent-main);
    letter-spacing: 4px;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 168, 107, 0.15);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(11, 37, 69, 0.3);
    bottom: -50px;
    left: -50px;
}

/* --- About Section Enhancement --- */
.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--primary-main);
}

.about-feature-item i {
    font-size: 1.25rem;
}

/* --- Team Section Modernization --- */
.team-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-img-wrapper {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.1);
}

.team-social-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(11, 37, 69, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
    transition: bottom var(--transition-base);
}

.team-card:hover .team-social-overlay {
    bottom: 0;
}

.team-social-overlay a {
    color: #fff;
    font-size: 1.25rem;
}

.team-social-overlay a:hover {
    color: var(--accent-main);
}

/* --- Final Utility Styles --- */
.bg-primary-soft {
    background: rgba(11, 37, 69, 0.1);
    color: var(--primary-main);
}

.bg-accent-soft {
    background: rgba(0, 168, 107, 0.1);
    color: var(--accent-main);
}

.bg-secondary-soft {
    background: rgba(122, 9, 9, 0.1);
    color: var(--secondary-main);
}

.mv-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.bg-primary {
    background: var(--primary-main);
}

.bg-accent {
    background: var(--accent-main);
}

.bg-secondary {
    background: var(--secondary-main);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-main);
    margin-bottom: 1rem;
    transition: var(--transition-base);
}

.compliance-card:hover .icon-circle {
    background: var(--primary-main);
    color: #fff;
}

.premium-cta {
    background: var(--primary-gradient);
    position: relative;
    padding: 8rem 0;
}

.cta-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 168, 107, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
}

.opacity-90 {
    opacity: 0.9;
}

.text-accent {
    color: var(--accent-main);
}