/* ============================================
   Dominium
Investment Limited - PREMIUM STYLESHEET
   BRAND COLOR: TOMATO RED (#E85D3E)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --primary: #E85D3E;
    --primary-dark: #C73F1F;
    --primary-light: #FF7A5C;
    --primary-soft: #FFF1ED;
    --secondary: #2C3E50;
    --secondary-dark: #1A2A3A;
    --accent: #F4A261;
    --dark: #1E2A3A;
    --gray-dark: #2D3A48;
    --gray: #5A6C7E;
    --gray-light: #A0AEC0;
    --gray-bg: #F8FAFE;
    --light: #F1F5F9;
    --white: #FFFFFF;
    --success: #27AE60;
    --danger: #E74C3C;
    --warning: #F39C12;
    --info: #3498DB;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 56px rgba(0,0,0,0.16);
    --shadow-2xl: 0 32px 72px rgba(0, 0, 0, 0.103);
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--white);
    overflow-x: hidden;
    font-size: 18px;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================
   TYPOGRAPHY - LARGER & ROBUST
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter' !important;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: 72px; letter-spacing: -0.02em; margin-bottom: 24px; }
h2 { font-size: 56px; letter-spacing: -0.01em; margin-bottom: 24px; }
h3 { font-size: 32px; margin-bottom: 20px; }
h4 { font-size: 24px; margin-bottom: 16px; }
h5 { font-size: 20px; margin-bottom: 12px; }

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 56px;
    color: var(--dark);
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 4px;
}

.section-title p {
    font-size: 20px;
    color: var(--gray);
    max-width: 800px;
    margin: 32px auto 0;
    line-height: 1.6;
}

/* ============================================
   BUTTONS - LARGER
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn:hover:before {
    left: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-4px);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-light);
}

.btn-light:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-4px);
    border-color: var(--primary);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(255,255,255,0.98);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.logo-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 30px;
    font-weight: 800;
    box-shadow: var(--shadow-md);
}

.logo-text h1 {
    font-size: 28px;
    color: var(--dark);
    margin: 0;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
}

.logo-text span {
    font-size: 13px;
    color: var(--gray);
    display: block;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    font-size: 17px;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-dark);
    font-size: 17px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 260px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 100;
    padding: 16px 0;
    margin-top: 16px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 14px 28px;
    color: var(--gray-dark);
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: var(--primary-soft);
    color: var(--primary);
    padding-left: 36px;
}

.header-buttons {
    display: flex;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--dark);
}

/* ============================================
   PAGE HERO BANNER - LARGER
   ============================================ */
.page-hero {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 96px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.page-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.75), rgba(0,0,0,0.65));
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: var(--white);
    font-size: 72px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-hero p {
    color: rgba(255,255,255,0.95);
    font-size: 24px;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.2s both;
    line-height: 1.5;
}

/* Hero Background Images */
.hero-home {
    background-image: url('../images/hero-home-bg.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .hero-home {
        background-position: center;
    }
}
/* About Page Hero - Text at Top */
.hero-about {
    background-image: url('../images/about-us.jpeg');
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.hero-about:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
    z-index: 1;
}

.hero-about .container {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 60px;
}

/* Add a semi-transparent background behind text for readability */
.hero-about .hero-text-wrapper {
    background: rgba(0,0,0,0.5);
    display: inline-block;
    padding: 20px 40px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

/* Mobile */
@media (max-width: 768px) {
    .hero-about {
        background-position: center 35%;
        min-height: 480px;
    }
    
    .hero-about .container {
        margin-top: 40px;
    }
    
    .hero-about .hero-text-wrapper {
        padding: 15px 25px;
    }
    
    .hero-about h1 {
        font-size: 28px !important;
    }
}

@media (max-width: 480px) {
    .hero-about {
        background-position: center 40%;
        min-height: 450px;
    }
    
    .hero-about .container {
        margin-top: 30px;
    }
    
    .hero-about .hero-text-wrapper {
        padding: 12px 20px;
    }
}
.hero-loans {
    background-image: url('../images/loans.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .hero-loans {
        background-position: center;
    }
}
.hero-investments {
    background-image: url('../images/investment.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .hero-investments {
        background-position: center;
    }
}
.hero-savings {
    background-image: url(https://t3.ftcdn.net/jpg/04/51/41/12/240_F_451411207_sgR1olhwRtE9q8hmpdw2N5HqQr5sfu4Q.jpg);
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .hero-savings {
        background-position: center;
    }
}

.hero-faqs {
    background-image: url('../images/faqs.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .hero-faqs {
        background-position: center;
    }
}
.hero-contact{
    background-image: url('../images/contact.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .hero-contact {
        background-position: center;
    }
}
.hero-blog{
    background-image: url('../images/blog.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .hero-blog {
        background-position: center;
    }
}
.hero-calculator { background-image: url('https://images.unsplash.com/photo-1554224154-26032ffc0f07?w=1920'); }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    background: var(--gray-bg);
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--gray);
}

.breadcrumb-content a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.breadcrumb-content a:hover {
    color: var(--primary-dark);
}

/* ============================================
   FEATURES / SERVICES CARDS - LARGER & ROBUST
   ============================================ */
.features-section {
    padding: 120px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 48px 36px;
    border-radius: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.feature-card:hover:before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
}

.feature-icon {
    width: 88px;
    height: 88px;
    background: var(--primary-soft);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.feature-icon i {
    font-size: 44px;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon i {
    color: var(--white);
}

.feature-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 18px;
}

/* ============================================
   STATS SECTION - LARGER NUMBERS
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--dark), var(--secondary-dark));
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.stats-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="none"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="20" r="3" fill="rgba(255,255,255,0.05)"/></svg>');
    background-repeat: repeat;
    opacity: 0.3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item h3 {
    font-size: 64px;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
}

.stat-item p {
    color: rgba(255,255,255,0.85);
    font-size: 20px;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ============================================
   TESTIMONIALS - LARGER
   ============================================ */
.testimonials-section {
    padding: 120px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 48px;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 100px;
    color: rgba(232,93,62,0.1);
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.testimonial-text {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.8;
    font-size: 18px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--light);
    padding-top: 28px;
}

.author-avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 22px;
}

.author-info h4 {
    margin-bottom: 6px;
    font-size: 20px;
    font-family: 'Inter', sans-serif;
}

.author-info p {
    font-size: 16px;
    color: var(--gray-light);
}

/* ============================================
   TEAM CAROUSEL - LIKE SYTIAMO
   ============================================ */
.team-section {
    padding: 80px 0;
    background: var(--gray-bg);
    overflow: hidden;
}

.team-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.team-section .section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.team-section .section-title p {
    font-size: 16px;
    color: var(--gray);
}

/* Carousel Container */
.team-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Moving Track */
.team-carousel-track {
    display: flex;
    animation: scrollTeam 30s linear infinite;
    width: fit-content;
}

/* Pause on Hover */
.team-carousel-container:hover .team-carousel-track {
    animation-play-state: paused;
}

/* Individual Team Card */
.team-carousel-card {
    flex-shrink: 0;
    width: 280px;
    margin: 0 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-carousel-card:hover {
    transform: translateY(-8px);
}

/* Team Image Container */
.team-carousel-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 20px;
    background: #f0f0f0;
}

.team-carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Team Info */
.team-carousel-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px;
    color: var(--dark);
}

.team-carousel-card p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

/* Animation - Smooth Infinite Scroll */
@keyframes scrollTeam {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .team-carousel-card {
        width: 260px;
        margin: 0 15px;
    }
    
    .team-carousel-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .team-carousel-card {
        width: 240px;
        margin: 0 12px;
    }
    
    .team-carousel-image {
        height: 280px;
    }
    
    .team-carousel-card h3 {
        font-size: 16px;
    }
    
    .team-carousel-card p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .team-carousel-card {
        width: 220px;
        margin: 0 10px;
    }
    
    .team-carousel-image {
        height: 260px;
    }
}

/* ============================================
   FAQ SECTION - ACCORDION
   ============================================ */
.faq-section {
    padding: 120px 0;
    background: var(--white);
}

.faq-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 20px;
    color: var(--dark);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--primary-soft);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary);
    font-size: 22px;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: var(--gray);
    line-height: 1.8;
    font-size: 18px;
}

.faq-answer.show {
    padding: 0 32px 28px 32px;
    max-height: 400px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 120px 0;
    background: var(--gray-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-card {
    background: var(--white);
    padding: 56px;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--light);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
}

.contact-details strong {
    display: block;
    margin-bottom: 12px;
    font-size: 20px;
    color: var(--dark);
}

.contact-details p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 18px;
}

.contact-form {
    background: var(--white);
    padding: 56px;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 28px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid var(--light);
    border-radius: 20px;
    font-size: 18px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(232,93,62,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
}

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-section {
    padding: 100px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.blog-card {
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
}

.blog-image {
    height: 280px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-image i {
    font-size: 70px;
    color: rgba(255,255,255,0.9);
}

.blog-date {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.blog-content {
    padding: 32px;
}

.blog-content h3 {
    font-size: 24px;
    margin-bottom: 16px;
    line-height: 1.4;
    font-family: 'Playfair Display', serif;
}

.blog-content h3 a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.blog-content h3 a:hover {
    color: var(--primary);
}

.blog-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--gray-light);
}

.blog-meta i {
    margin-right: 8px;
}

.blog-excerpt {
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 16px;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    font-size: 16px;
}

.read-more:hover {
    gap: 16px;
    color: var(--primary-dark);
}

/* ============================================
   CALCULATOR SECTION
   ============================================ */
.calculator-section {
    padding: 120px 0;
    background: var(--gray-bg);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--white);
    padding: 64px;
    border-radius: 48px;
    box-shadow: var(--shadow-xl);
}

.calculator-result {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 56px;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calculator-result h4 {
    color: rgba(255,255,255,0.95);
    margin-bottom: 24px;
    font-size: 24px;
}

.result-amount {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
    font-family: 'Inter', sans-serif;
}

/* ============================================
   FOOTER - PREMIUM
   ============================================ */
footer {
    background: var(--secondary-dark);
    color: var(--white);
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo .logo-icon {
    background: var(--white);
    color: var(--primary);
}

.footer-logo .logo-text h1 {
    color: var(--white);
}

.footer-logo .logo-text span {
    color: var(--gray-light);
}

.footer-logo p {
    color: var(--gray-light);
    margin-top: 24px;
    line-height: 1.7;
    font-size: 16px;
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
    color: var(--white);
    margin-bottom: 28px;
    font-size: 20px;
    position: relative;
    padding-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.footer-links h4:after,
.footer-contact h4:after,
.footer-newsletter h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 16px;
}

.footer-links ul li a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.footer-links ul li a:hover {
    color: var(--primary);
    transform: translateX(8px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--gray-light);
    margin-bottom: 18px;
    font-size: 16px;
}

.footer-contact i {
    width: 32px;
    color: var(--primary);
    font-size: 18px;
}

.social-footer {
    display: flex;
    gap: 20px;
    margin-top: 32px;
}

.social-footer a {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    font-size: 22px;
}

.social-footer a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.newsletter-form {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 16px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 16px;
}

.newsletter-form input::placeholder {
    color: var(--gray-light);
}

.newsletter-form button {
    padding: 16px 28px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray-light);
    font-size: 15px;
}

/* Floating WhatsApp Button - Smaller Size */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.whatsapp-float a:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-xl);
}

.whatsapp-float i {
    font-size: 30px;
    color: var(--white);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37,211,102,0.4);
    }
    70% {
        transform: scale(1.03);
        box-shadow: 0 0 0 12px rgba(37,211,102,0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37,211,102,0);
    }
}

/* Even Smaller for Mobile */
@media (max-width: 768px) {
    .whatsapp-float a {
        width: 48px;
        height: 48px;
    }
    
    .whatsapp-float i {
        font-size: 26px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   PARTNERS SECTION - ENHANCED & PROFESSIONAL
   ============================================ */
.partners-section {
    padding: 100px 0;
    background: var(--gray-bg);
    position: relative;
}

.partners-section .section-title {
    margin-bottom: 60px;
}

.partners-section .section-title h2 {
    font-size: 56px;
    margin-bottom: 24px;
}

.partners-section .section-title p {
    font-size: 20px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-item {
    text-align: center;
    transition: all 0.3s ease;
    flex: 0 1 auto;
    min-width: 140px;
    padding: 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Partner Logo Images */
.partner-logo-img {
    width: 120px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 16px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: none;
    transition: transform 0.3s ease;
}

.partner-item:hover .partner-logo-img {
    transform: scale(1.05);
}

/* Partner Name Text */
.partner-item p {
    margin-top: 12px;
    font-weight: 600;
    color: var(--gray-dark);
    font-size: 14px;
    letter-spacing: 0.3px;
    text-align: center;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 992px) {
    .partners-grid {
        gap: 30px 40px;
    }
    
    .partner-item {
        min-width: 130px;
        padding: 16px;
    }
    
    .partner-logo-img {
        width: 100px;
        height: 85px;
    }
    
    .partner-item p {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }
    
    .partners-section .section-title h2 {
        font-size: 40px;
    }
    
    .partners-section .section-title p {
        font-size: 18px;
    }
    
    .partners-grid {
        gap: 25px;
        justify-content: center;
    }
    
    .partner-item {
        min-width: 110px;
        padding: 12px;
    }
    
    .partner-logo-img {
        width: 80px;
        height: 70px;
    }
    
    .partner-item p {
        font-size: 11px;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .partner-item {
        min-width: 100px;
        padding: 10px;
    }
    
    .partner-logo-img {
        width: 70px;
        height: 60px;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .container { padding: 0 30px; }
    h1 { font-size: 56px; }
    h2 { font-size: 44px; }
    .features-grid { gap: 30px; }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .partners-grid { gap: 40px 60px; }
    .partner-logo-img { max-width: 120px; max-height: 90px; }
}

@media (max-width: 992px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 50px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .calculator-wrapper { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 48px; }
    .page-hero p { font-size: 20px; }
    .partners-section { padding: 80px 0; }
    .partners-grid { gap: 40px 50px; }
    .partner-item { min-width: 130px; padding: 12px 16px; }
    .partner-logo-img { max-width: 110px; max-height: 80px; }
    .partner-item p { font-size: 14px; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-menu {
        position: fixed;
        top: 96px;
        left: -100%;
        width: 85%;
        height: calc(100vh - 96px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
        z-index: 999;
        overflow-y: auto;
    }
     .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .nav-menu.active { left: 0; }
    .nav-links { flex-direction: column; width: 100%; gap: 24px; }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    .dropdown:hover .dropdown-menu { display: block; }
    .header-buttons { margin-top: 30px; width: 100%; flex-direction: column; }
    .features-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .page-hero { min-height: 450px; margin-top: 80px; }
    .page-hero h1 { font-size: 36px; }
    .page-hero p { font-size: 18px; }
    .container { padding: 0 20px; }
    .feature-card { padding: 36px 28px; }
    .section-title h2 { font-size: 40px; }
    .section-title p { font-size: 18px; }
    .partners-section { padding: 60px 0; }
    .partners-section .section-title h2 { font-size: 40px; }
    .partners-section .section-title p { font-size: 18px; }
    .partners-grid { gap: 30px 40px; justify-content: center; }
    .partner-item { min-width: 110px; padding: 10px 12px; }
    .partner-logo-img { max-width: 90px; max-height: 70px; }
    .partner-item p { font-size: 12px; margin-top: 12px; }
}

@media (max-width: 480px) {
    .partners-grid { gap: 25px; }
    .partner-item { min-width: 100px; padding: 8px 10px; }
    .partner-logo-img { max-width: 75px; max-height: 60px; }
    .partner-item p { font-size: 11px; }
}

/* ============================================
   PARTNERS CAROUSEL - STRAIGHT LINE WITH ANIMATION
   ============================================ */
.partners-section {
    padding: 80px 0;
    background: var(--gray-bg);
    position: relative;
    overflow: hidden;
}

.partners-section .section-title {
    margin-bottom: 50px;
}

.partners-section .section-title h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.partners-section .section-title p {
    font-size: 18px;
    color: var(--gray);
}

/* Carousel Container */
.partners-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* The moving track */
.partners-track {
    display: flex;
    animation: scrollPartners 25s linear infinite;
    width: fit-content;
    height: fit-content;
    padding: 20px 0;
}

/* Pause animation on hover */
.partners-carousel-container:hover .partners-track {
    animation-play-state: paused;
}

/* Individual Partner Card */
.partner-card {
    flex-shrink: 0;
    width: 180px;
    margin: 0 25px;
    text-align: center;
    background: var(--white);
    padding: 20px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.partner-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.partner-card img {
    width: 100px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 12px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.partner-card p {
    margin: 0;
    font-weight: 600;
    color: var(--gray-dark);
    font-size: 13px;
    text-align: center;
}

/* Animation */
@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .partner-card {
        width: 140px;
        margin: 0 15px;
        padding: 15px 10px;
    }
    
    .partner-card img {
        width: 70px;
        height: 60px;
    }
    
    .partner-card p {
        font-size: 11px;
    }
    
    @keyframes scrollPartners {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
}

/* For responsive - adjust speed and size */
@media (max-width: 768px) {
    .partner-carousel-item {
        width: 140px;
        margin: 0 20px;
    }
    .partner-carousel-item img {
        max-width: 100px;
        max-height: 70px;
    }
}

/* Fixed Navbar - Consistent Size */
header {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: auto;
    min-height: 90px;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    min-height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 26px;
    font-weight: 800;
}

.logo-text h1 {
    font-size: 24px;
    color: var(--dark);
    margin: 0;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
}

.logo-text span {
    font-size: 11px;
    color: var(--gray);
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    font-size: 15px;
    white-space: nowrap;
}

.header-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.header-buttons .btn {
    padding: 10px 24px;
    font-size: 14px;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .nav-links {
        gap: 20px;
    }
    .nav-links a {
        font-size: 14px;
    }
    .header-buttons .btn {
        padding: 8px 18px;
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 90px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
        z-index: 999;
        overflow-y: auto;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }
    .nav-links a {
        font-size: 16px;
        padding: 8px 0;
    }
    .header-buttons {
        margin-top: 20px;
        width: 100%;
        flex-direction: column;
    }
    .header-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* Hero headline using Inter font instead of Playfair */
.page-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

/* Keep other headings (h2, h3) with Playfair for contrast */
h2, h3, h4, .section-title h2 {
    font-family: 'Playfair Display', serif;
}

/* ============================================
   FOOTER - CLEAN & PROFESSIONAL
   ============================================ */
footer {
    background: var(--secondary-dark);
    color: var(--white);
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

/* Footer Columns */
.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

/* Logo Section */
.footer-logo .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    font-weight: 800;
}

.footer-logo .logo-text h1 {
    color: var(--white);
    font-size: 22px;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.footer-logo .logo-text span {
    color: var(--gray-light);
    font-size: 11px;
    display: block;
}

.footer-logo p {
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Social Icons */
.social-footer {
    display: flex;
    gap: 15px;
}

.social-footer a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-footer a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Quick Links List */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list li a {
    color: var(--gray-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links-list li a:before {
    content: '›';
    font-size: 16px;
    transition: transform 0.3s ease;
}

.footer-links-list li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links-list li a:hover:before {
    transform: translateX(3px);
}

/* Contact List */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact-list li i {
    width: 20px;
    color: var(--primary);
    font-size: 16px;
    margin-top: 2px;
}

.footer-contact-list li span {
    flex: 1;
}

/* Newsletter Section */
.newsletter-text {
    color: var(--gray-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-newsletter-form input {
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.footer-newsletter-form input::placeholder {
    color: var(--gray-light);
}

.footer-newsletter-form input:focus {
    outline: none;
    background: rgba(255,255,255,0.15);
}

.footer-newsletter-form button {
    padding: 12px 20px;
    font-size: 14px;
    width: 100%;
}

.install-text {
    margin-top: 20px;
    font-size: 12px;
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.install-text i {
    color: var(--primary);
    font-size: 14px;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray-light);
    font-size: 13px;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 50px 0 25px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-col h4 {
        margin-bottom: 18px;
    }
    
    .footer-links-list li {
        margin-bottom: 10px;
    }
    
    .footer-contact-list li {
        margin-bottom: 14px;
    }
}

/* Logo Image Styles */
.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* If you want to replace text completely with just the logo */
.logo-with-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img-only {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
    
    .logo-text span {
        font-size: 9px;
    }
}

a {
    text-decoration: none;
}

/* Footer Grid - 3 Columns */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

/* ============================================
   COMPLETE MOBILE RESPONSIVENESS - FIXED
   ============================================ */

/* Base Mobile Styles First */
@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    /* Typography - Mobile */
    h1 {
        font-size: 28px !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
    }
    
    h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
    }
    
    h3 {
        font-size: 20px !important;
        word-wrap: break-word !important;
    }
    
    p {
        font-size: 15px !important;
        line-height: 1.5 !important;
        word-wrap: break-word !important;
    }
    
    .section-title h2 {
        font-size: 28px !important;
    }
    
    .section-title p {
        font-size: 15px !important;
        padding: 0 10px !important;
    }
    
    /* Header Mobile */
    header {
        min-height: 70px !important;
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        background: white !important;
    }
    
    .header-wrapper {
        padding: 12px 0 !important;
        min-height: 70px !important;
    }
    
    .logo {
        gap: 8px !important;
    }
    
    .logo-img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .logo-text h1 {
        font-size: 18px !important;
    }
    
    .logo-text span {
        font-size: 9px !important;
    }
    
    .mobile-menu-btn {
        display: block !important;
        font-size: 24px !important;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 70px !important;
        left: -100% !important;
        width: 80% !important;
        height: calc(100vh - 70px) !important;
        background: white !important;
        padding: 25px !important;
        transition: left 0.3s ease !important;
        z-index: 999 !important;
        overflow-y: auto !important;
        box-shadow: 2px 0 20px rgba(0,0,0,0.1) !important;
    }
    
    .nav-menu.active {
        left: 0 !important;
    }
    
    .nav-links {
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
    }
    
    .nav-links li {
        width: 100% !important;
    }
    
    .nav-links a {
        font-size: 16px !important;
        padding: 8px 0 !important;
        display: block !important;
    }
    
    .dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        padding-left: 20px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none !important;
        width: 100% !important;
        background: #f8f9fa !important;
        margin-top: 5px !important;
        border-radius: 10px !important;
    }
    
    .dropdown.active .dropdown-menu {
        display: block !important;
    }
    
    .header-buttons {
        margin-top: 20px !important;
        width: 100% !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .header-buttons .btn {
        width: 100% !important;
        text-align: center !important;
        padding: 10px !important;
        font-size: 14px !important;
    }
    
    /* Hero Section Mobile */
    .page-hero {
        margin-top: 70px !important;
        min-height: 400px !important;
        padding: 40px 0 !important;
    }
    
    .page-hero .container {
        padding: 0 16px !important;
    }
    
    .page-hero h1 {
        font-size: 28px !important;
        word-wrap: break-word !important;
    }
    
    .page-hero p {
        font-size: 15px !important;
        padding: 0 !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Grid Layouts - All Single Column */
    .features-grid,
    .services-grid,
    .team-grid,
    .testimonials-grid,
    .blog-grid,
    .stats-grid,
    .footer-grid,
    .packages-four-grid,
    .steps-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Cards Mobile */
    .feature-card {
        padding: 24px 20px !important;
    }
    
    .feature-card h3 {
        font-size: 20px !important;
    }
    
    .feature-card p {
        font-size: 14px !important;
    }
    
    .feature-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .feature-icon i {
        font-size: 28px !important;
    }
    
    /* Stats Section Mobile */
    .stats-section {
        padding: 50px 0 !important;
    }
    
    .stat-item {
        margin-bottom: 30px !important;
    }
    
    .stat-item h3 {
        font-size: 36px !important;
    }
    
    .stat-item p {
        font-size: 14px !important;
    }
    
    /* Team Cards Mobile */
    .team-card .team-image {
        height: 220px !important;
    }
    
    .team-card h3 {
        font-size: 18px !important;
    }
    
    .team-card p {
        font-size: 13px !important;
    }
    
    /* Testimonial Cards Mobile */
    .testimonial-card {
        padding: 24px !important;
    }
    
    .testimonial-text {
        font-size: 14px !important;
    }
    
    .author-avatar {
        width: 50px !important;
        height: 50px !important;
    }
    
    .author-info h4 {
        font-size: 16px !important;
    }
    
    /* Blog Cards Mobile */
    .blog-card .blog-image {
        height: 180px !important;
    }
    
    .blog-content {
        padding: 20px !important;
    }
    
    .blog-content h3 {
        font-size: 18px !important;
    }
    
    .blog-excerpt {
        font-size: 13px !important;
    }
    
    /* Calculator Mobile */
    .calculator-wrapper {
        padding: 20px !important;
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .calculator-result {
        padding: 25px !important;
    }
    
    .result-amount {
        font-size: 36px !important;
    }
    
    /* Contact Page Mobile */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .contact-info-card,
    .contact-form {
        padding: 24px !important;
    }
    
    .contact-item {
        gap: 15px !important;
        margin-bottom: 25px !important;
    }
    
    .contact-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 20px !important;
    }
    
    .contact-details strong {
        font-size: 16px !important;
    }
    
    .contact-details p {
        font-size: 14px !important;
    }
    
    /* Map Section Mobile */
    .map-section iframe {
        height: 300px !important;
    }
    
    /* Form Elements Mobile */
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 16px !important;
        font-size: 14px !important;
    }
    
    /* Footer Mobile - Critical Fix */
    footer {
        padding: 40px 0 20px !important;
        text-align: center !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }
    
    .footer-col {
        text-align: center !important;
        width: 100% !important;
    }
    
    .footer-col h4 {
        text-align: center !important;
        display: inline-block !important;
        margin: 0 auto 20px !important;
    }
    
    .footer-col h4:after {
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 50px !important;
    }
    
    .footer-logo {
        text-align: center !important;
    }
    
    .footer-logo .logo {
        justify-content: center !important;
        margin-bottom: 15px !important;
    }
    
    .footer-logo p {
        text-align: center !important;
        padding: 0 10px !important;
    }
    
    .footer-links-list {
        text-align: center !important;
        padding: 0 !important;
    }
    
    .footer-links-list li {
        text-align: center !important;
    }
    
    .footer-links-list li a {
        justify-content: center !important;
        text-align: center !important;
    }
    
    .footer-contact-list {
        text-align: center !important;
    }
    
    .footer-contact-list li {
        justify-content: center !important;
        text-align: center !important;
    }
    
    .social-footer {
        justify-content: center !important;
    }
    
    .install-text {
        text-align: center !important;
        justify-content: center !important;
    }
    
    .footer-bottom {
        text-align: center !important;
        padding-top: 20px !important;
    }
    
    .footer-bottom p {
        font-size: 12px !important;
    }
    
    /* Partners Carousel Mobile */
    .partners-carousel-section {
        padding: 40px 0 !important;
    }
    
    .partner-carousel-item {
        width: 110px !important;
        margin: 0 10px !important;
    }
    
    .partner-carousel-item img {
        max-width: 70px !important;
        max-height: 55px !important;
    }
    
    .partner-carousel-item p {
        font-size: 10px !important;
    }
    
    /* FAQ Mobile */
    .faq-question {
        padding: 16px 20px !important;
        font-size: 15px !important;
    }
    
    .faq-answer {
        font-size: 14px !important;
    }
    
    .faq-answer.show {
        padding: 0 20px 16px 20px !important;
    }
    
    /* Breadcrumb Mobile */
    .breadcrumb-content {
        font-size: 12px !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    
    /* WhatsApp Button Mobile */
    .whatsapp-float {
        bottom: 20px !important;
        right: 20px !important;
    }
    
    .whatsapp-float a {
        width: 50px !important;
        height: 50px !important;
    }
    
    .whatsapp-float i {
        font-size: 26px !important;
    }
    
    /* App Download Section Mobile */
    .app-download-section {
        padding: 50px 0 !important;
    }
    
    .app-download-section .btn {
        width: 100% !important;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px !important;
    }
    
    h1 {
        font-size: 24px !important;
    }
    
    h2 {
        font-size: 22px !important;
    }
    
    .section-title h2 {
        font-size: 24px !important;
    }
    
    .page-hero {
        min-height: 350px !important;
    }
    
    .btn {
        padding: 10px 18px !important;
        font-size: 13px !important;
    }
    
    .feature-card {
        padding: 20px 16px !important;
    }
    
    .stat-item h3 {
        font-size: 28px !important;
    }
    
    .footer-logo .logo-text h1 {
        font-size: 20px !important;
    }
    
    .footer-logo .logo-text span {
        font-size: 10px !important;
    }
}

/* Fix for iOS Notch */
@supports (padding: max(0px)) {
    .container {
        padding-left: max(16px, env(safe-area-inset-left)) !important;
        padding-right: max(16px, env(safe-area-inset-right)) !important;
    }
    
    .whatsapp-float {
        bottom: max(20px, env(safe-area-inset-bottom)) !important;
        right: max(20px, env(safe-area-inset-right)) !important;
    }
    
    header {
        padding-top: env(safe-area-inset-top) !important;
    }
}


/* Mobile Header Fixes */
@media (max-width: 768px) {
    header {
        min-height: 70px;
    }
    
    .header-wrapper {
        padding: 12px 0;
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 28px;
        cursor: pointer;
        color: var(--dark);
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 85%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 25px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-xl);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        font-size: 18px;
        padding: 8px 0;
        display: block;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        width: 100%;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .header-buttons {
        margin-top: 25px;
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }
    
    .header-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}


/* ============================================
   MOBILE RESPONSIVENESS FOR INSTALL APP SECTION
   ============================================ */

@media (max-width: 992px) {
    /* Install App Section - Tablet */
    .install-app-section,
    section[style*="linear-gradient(135deg, var(--primary-dark), var(--primary))"] {
        padding: 60px 0 !important;
    }
    
    .install-app-section .grid,
    section[style*="linear-gradient(135deg, var(--primary-dark), var(--primary))"] > .container > div {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center !important;
    }
    
    .install-app-section .left-content,
    section[style*="linear-gradient(135deg, var(--primary-dark), var(--primary))"] > .container > div > div:first-child {
        text-align: center !important;
    }
    
    .install-app-section .features-list,
    section[style*="linear-gradient(135deg, var(--primary-dark), var(--primary))"] > .container > div > div:first-child > div:nth-child(3) {
        display: inline-block !important;
        text-align: left !important;
        margin: 0 auto !important;
    }
    
    .install-app-section .install-buttons,
    section[style*="linear-gradient(135deg, var(--primary-dark), var(--primary))"] > .container > div > div:first-child > div:nth-child(4) {
        justify-content: center !important;
    }
    
    /* Phone Mockup */
    .phone-mockup {
        max-width: 280px !important;
        margin: 0 auto !important;
    }
    
    .floating-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    .floating-icon i {
        font-size: 22px !important;
    }
}

@media (max-width: 768px) {
    /* Install App Section - Mobile */
    .install-app-section h2,
    section[style*="linear-gradient(135deg, var(--primary-dark), var(--primary))"] h2 {
        font-size: 32px !important;
    }
    
    .install-app-section p,
    section[style*="linear-gradient(135deg, var(--primary-dark), var(--primary))"] p {
        font-size: 15px !important;
        max-width: 100% !important;
    }
    
    /* Features List - Stack on mobile */
    .features-list div,
    section[style*="linear-gradient(135deg, var(--primary-dark), var(--primary))"] .features-list > div,
    section[style*="linear-gradient(135deg, var(--primary-dark), var(--primary))"] > .container > div > div:first-child > div:nth-child(3) > div {
        justify-content: center !important;
        text-align: center !important;
    }
    
    /* Install Button */
    .install-app-btn,
    section[style*="linear-gradient(135deg, var(--primary-dark), var(--primary))"] .install-app-btn {
        padding: 12px 24px !important;
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
    }
    
    .install-app-btn i,
    section[style*="linear-gradient(135deg, var(--primary-dark), var(--primary))"] .install-app-btn i {
        font-size: 24px !important;
    }
    
    .install-app-btn div span:first-child,
    section[style*="linear-gradient(135deg, var(--primary-dark), var(--primary))"] .install-app-btn div span:first-child {
        font-size: 10px !important;
    }
    
    .install-app-btn div span:last-child,
    section[style*="linear-gradient(135deg, var(--primary-dark), var(--primary))"] .install-app-btn div span:last-child {
        font-size: 14px !important;
    }
    
    /* Phone Mockup - Smaller on mobile */
    .phone-mockup {
        max-width: 240px !important;
        transform: scale(0.9) !important;
    }
    
    .phone-mockup .phone-frame {
        padding: 8px !important;
    }
    
    .phone-mockup .phone-screen {
        padding: 15px !important;
    }
    
    .phone-mockup .app-logo {
        width: 45px !important;
        height: 45px !important;
    }
    
    .phone-mockup .app-logo span {
        font-size: 22px !important;
    }
    
    .phone-mockup .app-title {
        font-size: 14px !important;
    }
    
    .phone-mockup .install-instruction {
        padding: 10px !important;
        margin-bottom: 12px !important;
    }
    
    .phone-mockup .install-instruction i {
        font-size: 16px !important;
    }
    
    .phone-mockup .install-instruction p {
        font-size: 11px !important;
    }
    
    .phone-mockup .balance-card {
        padding: 12px !important;
        margin-bottom: 10px !important;
    }
    
    .phone-mockup .balance-card p:first-child {
        font-size: 9px !important;
    }
    
    .phone-mockup .balance-card p:last-child {
        font-size: 18px !important;
    }
    
    .phone-mockup .quick-actions {
        gap: 6px !important;
    }
    
    .phone-mockup .quick-actions div div {
        padding: 6px !important;
    }
    
    .phone-mockup .quick-actions i {
        font-size: 14px !important;
    }
    
    .phone-mockup .quick-actions p {
        font-size: 8px !important;
    }
    
    /* Floating icons - Hide or reposition on mobile */
    .floating-icon-top {
        width: 45px !important;
        height: 45px !important;
        top: -10px !important;
        right: -10px !important;
    }
    
    .floating-icon-bottom {
        width: 40px !important;
        height: 40px !important;
        bottom: 20px !important;
        left: -15px !important;
    }
    
    .floating-icon-top i,
    .floating-icon-bottom i {
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    /* Small Mobile */
    .install-app-section h2,
    section[style*="linear-gradient(135deg, var(--primary-dark), var(--primary))"] h2 {
        font-size: 28px !important;
    }
    
    .install-app-section .features-list div span,
    section[style*="linear-gradient(135deg, var(--primary-dark), var(--primary))"] .features-list div span {
        font-size: 14px !important;
    }
    
    .features-list div div,
    section[style*="linear-gradient(135deg, var(--primary-dark), var(--primary))"] .features-list > div > div {
        width: 32px !important;
        height: 32px !important;
    }
    
    .features-list div div i,
    section[style*="linear-gradient(135deg, var(--primary-dark), var(--primary))"] .features-list > div > div i {
        font-size: 16px !important;
    }
    
    /* Phone Mockup - Even smaller */
    .phone-mockup {
        max-width: 200px !important;
        transform: scale(0.85) !important;
    }
    
    .install-instruction-text {
        font-size: 10px !important;
    }
    
    .install-app-btn {
        padding: 10px 20px !important;
        max-width: 240px !important;
    }
    
    .install-app-btn i {
        font-size: 22px !important;
    }
    
    .install-app-btn div span:first-child {
        font-size: 9px !important;
    }
    
    .install-app-btn div span:last-child {
        font-size: 13px !important;
    }
}

/* Animation for floating icons */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-icon-top,
.floating-icon-bottom {
    animation: float 3s ease-in-out infinite;
}

/* ============================================
   ADDITIONAL MOBILE FIXES FOR ALL SECTIONS
   ============================================ */

@media (max-width: 768px) {
    /* General container fixes */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Hero section */
    .page-hero h1 {
        font-size: 32px !important;
        line-height: 1.3 !important;
    }
    
    .page-hero p {
        font-size: 16px !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        text-align: center !important;
        margin-right: 0 !important;
    }
    
    /* Stats section */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
    
    .stat-item h3 {
        font-size: 32px !important;
    }
    
    .stat-item p {
        font-size: 13px !important;
    }
    
    /* Features grid */
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .feature-card {
        padding: 25px 20px !important;
    }
    
    .feature-card h3 {
        font-size: 22px !important;
    }
    
    .feature-card p {
        font-size: 14px !important;
    }
    
    /* Loan steps */
    .steps-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .testimonial-card {
        padding: 25px !important;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
        text-align: center !important;
    }
    
    .footer-col h4:after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .footer-logo .logo {
        justify-content: center !important;
    }
    
    .footer-links-list li a {
        justify-content: center !important;
        display: inline-flex !important;
    }
    
    .footer-contact-list li {
        justify-content: center !important;
    }
    
    .social-footer {
        justify-content: center !important;
    }
    
    /* WhatsApp button */
    .whatsapp-float {
        bottom: 20px !important;
        right: 20px !important;
    }
    
    .whatsapp-float a {
        width: 48px !important;
        height: 48px !important;
    }
    
    .whatsapp-float i {
        font-size: 26px !important;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .stat-item h3 {
        font-size: 28px !important;
    }
    
    .btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    
    .section-title h2 {
        font-size: 28px !important;
    }
    
    .section-title p {
        font-size: 15px !important;
    }
}


/* Map Section Mobile Responsive */
@media (max-width: 768px) {
    .map-responsive-section {
        margin-top: 40px;
        background: var(--gray-bg);
    }
    
    .map-responsive-section iframe {
        height: 300px !important;
    }
    
    .map-locations-wrapper {
        background: var(--white);
        border-top: 1px solid var(--light);
        width: 100%;
        padding: 25px 20px !important;
    }
    
    .locations-flex-container {
        display: flex;
        flex-direction: column;
        gap: 35px;
        margin-bottom: 25px;
    }
    
    .location-card-item {
        width: 100%;
    }
    
    .location-card-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .location-icon-bg {
        width: 45px;
        height: 45px;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .location-icon-bg i {
        color: white;
        font-size: 20px;
    }
    
    .location-card-header h3 {
        font-size: 18px;
        margin: 0;
    }
    
    .location-address-text {
        color: var(--gray);
        margin-bottom: 8px;
        font-size: 14px;
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }
    
    .location-address-text i {
        margin-top: 3px;
        flex-shrink: 0;
    }
    
    .location-address-text span {
        flex: 1;
    }
    
    .location-phone-text {
        color: var(--gray);
        margin-bottom: 18px;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .directions-btn-mobile {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: var(--primary);
        color: white;
        padding: 8px 20px;
        border-radius: 40px;
        text-decoration: none;
        font-weight: 500;
        font-size: 13px;
    }
    
    .rating-hours-mobile {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding-top: 20px;
        border-top: 1px solid var(--light);
    }
    
    .stars-row {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hours-row {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .share-copy-row {
        display: flex;
        gap: 15px;
        justify-content: center;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .map-responsive-section iframe {
        height: 250px !important;
    }
    
    .map-locations-wrapper {
        padding: 20px 15px !important;
    }
    
    .stars-row span, .hours-row span {
        font-size: 12px;
    }
}

/* Contact Section Mobile Responsive */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0 !important;
    }
    
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .contact-info-card {
        padding: 30px 25px !important;
    }
    
    .contact-info-card h3 {
        margin-bottom: 25px !important;
        font-size: 24px !important;
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 12px !important;
        margin-bottom: 25px !important;
        padding-bottom: 20px !important;
    }
    
    .contact-icon {
        width: 55px !important;
        height: 55px !important;
        margin: 0 auto !important;
    }
    
    .contact-icon i {
        font-size: 24px !important;
    }
    
    .contact-details strong {
        font-size: 18px !important;
        margin-bottom: 8px !important;
        display: block;
    }
    
    .contact-details p {
        font-size: 14px !important;
        margin-bottom: 5px !important;
        word-break: break-word;
    }
    
    .social-footer {
        justify-content: center !important;
        margin-top: 20px !important;
    }
    
    .social-footer a {
        width: 42px !important;
        height: 42px !important;
    }
}

/* Make loan step icons smaller */
.steps-grid .feature-icon,
.loan-steps .feature-icon,
.features-grid .feature-card .feature-icon {
    width: 65px !important;
    height: 65px !important;
}

.steps-grid .feature-icon i,
.loan-steps .feature-icon i,
.features-grid .feature-card .feature-icon i {
    font-size: 28px !important;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .steps-grid .feature-icon,
    .loan-steps .feature-icon,
    .features-grid .feature-card .feature-icon {
        width: 55px !important;
        height: 55px !important;
    }
    
    .steps-grid .feature-icon i,
    .loan-steps .feature-icon i,
    .features-grid .feature-card .feature-icon i {
        font-size: 24px !important;
    }
}

/* App Image Responsive */
.app-download-image {
    max-width: 100%;
    height: auto;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .app-download-image {
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }
}


/* Blog Post Hero Image */
.blog-post-header {
    position: relative;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    margin-top: 96px;
}

@media (max-width: 1024px) {
    .blog-post-header {
        min-height: 400px;
        background-position: center;
    }
}

@media (max-width: 768px) {
    .blog-post-header {
        min-height: 320px;
        margin-top: 80px;
        background-position: center 30%;
    }
}

@media (max-width: 480px) {
    .blog-post-header {
        min-height: 250px;
        background-position: center 40%;
    }
}






