/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    --primary-color: #0F2C59;
    /* Navy Blue */
    --secondary-color: #F26522;
    /* Orange */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #F4F7F6;
    --white: #FFFFFF;
    --border-radius: 16px;
    --box-shadow: 0 8px 24px rgba(15, 44, 89, 0.06);
    --box-shadow-hover: 0 16px 40px rgba(15, 44, 89, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Outfit', 'Noto Sans Gujarati', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section {
    padding: 40px 0;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color);
    font-weight: 700;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
}

.section-title h2 {
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.header .btn {
    padding: 10px 24px;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(242, 101, 34, 0.3);
}

.btn-primary:hover {
    background-color: #d95a1e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(242, 101, 34, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline-white {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
    backdrop-filter: blur(5px);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ==========================================================================
   Translate Widget (Floating)
   ========================================================================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.custom-translate-wrapper {
    background: var(--white);
    border-radius: 50px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(15, 44, 89, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.custom-translate-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 101, 34, 0.15);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.custom-translate-wrapper i {
    font-size: 1.2rem;
}

body > .skiptranslate {
    display: none !important;
}
.goog-te-banner-frame {
    display: none !important;
}
body { top: 0 !important; }

/* Hamburger Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 2.5rem;
    color: var(--primary-color);
    cursor: pointer;
    background: rgba(15, 44, 89, 0.05);
    padding: 2px 6px;
    border-radius: 6px;
    line-height: 1;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transform: scale(1.15);
    transform-origin: left center;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-color);
    transition: var(--transition);
    font-size: 1.05rem;
}

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

/* ==========================================================================
   Hero Section with Auto Slider
   ========================================================================== */
.hero {
    position: relative;
    padding: 80px 0 60px;
    /* Reduced padding to move content up */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    /* For 2 slides side by side */
    height: 100%;
    z-index: 1;
    display: flex;
    animation: simpleSlide 12s ease-in-out infinite;
}

.hero-bg-slider .slide {
    width: 50%;
    /* Each slide takes half of the 200% width (so 100% of viewport) */
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-bg-slider .slide-1 {
    background-image: url('../img/slider_new_1.png');
}

.hero-bg-slider .slide-2 {
    background-image: url('../img/slider_new_2.png');
}

@keyframes simpleSlide {

    0%,
    45% {
        transform: translateX(0);
    }

    50%,
    95% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.85) 0%, rgba(15, 44, 89, 0.75) 100%);
    z-index: 2;
}

.hero-container-flex {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 50vh;
    /* Reduced min-height */
}

.hero-content-wide {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-bottom: 60px;
}

.hero-text-left {
    text-align: left;
    color: var(--white);
    max-width: 800px;
}

.hero-subtitle {
    display: inline-block;
    background: rgba(242, 101, 34, 0.2);
    color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 20px;
    border: 1px solid rgba(242, 101, 34, 0.3);
}

.hero-text-left h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    line-height: 1.15;
    color: var(--white);
}

.hero-text-left .highlight {
    color: var(--secondary-color);
}

.hero-text-left p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons-left {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.hero-stats-glass {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 25px 40px;
    width: 100%;
    gap: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    flex: 1;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 50%;
}

.stat-item div {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.stat-item span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   About Section - Refined
   ========================================================================== */
.about-section {
    background-color: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ==========================================================================
   Why Us Section - Refined
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

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

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

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(242, 101, 34, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.8rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--secondary-color);
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ==========================================================================
   Types of Loan Section - Premium Look
   ========================================================================== */
.loans-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 44, 89, 0.05) 0%, rgba(242, 101, 34, 0.05) 100%);
    padding: 25px 35px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
    border: 2px solid rgba(15, 44, 89, 0.1);
}

.loan-top-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.loan-top-text i {
    color: var(--secondary-color);
    font-size: 2rem;
}

.loan-top-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.small-loan-card {
    background: var(--white);
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.small-loan-card:hover {
    transform: translateY(-3px);
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(15, 44, 89, 0.2);
}

.small-loan-card i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.small-loan-card:hover i {
    color: var(--white);
}

.loans-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-bottom: 60px;
}

.loan-image-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.loan-image-wrapper {
    position: relative;
    padding: 0;
    background: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 260px;
}

.loan-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.loan-image-card:hover .loan-image-wrapper img {
    transform: scale(1.05);
}

.loan-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(242, 101, 34, 0.2);
}

.loan-info {
    padding: 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.loan-info h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.loan-info p {
    font-size: 1.05rem;
    color: var(--text-light);
}

.loan-info small {
    display: block;
    margin-top: 8px;
    color: #888;
    font-size: 0.9rem;
}

.loan-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.badge {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(242, 101, 34, 0.4);
    transition: var(--transition);
}

.badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 101, 34, 0.6);
}

.badge i {
    color: var(--white);
    font-size: 1.3rem;
}

/* ==========================================================================
   What We Do Section (Services) - Refined
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 25px;
}

.service-item {
    background: var(--white);
    padding: 35px 20px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

.service-number {
    position: absolute;
    top: -10px;
    right: 0px;
    font-size: 4.5rem;
    font-weight: 800;
    color: rgba(15, 44, 89, 0.03);
    line-height: 1;
    transition: var(--transition);
}

.service-item:hover .service-number {
    color: rgba(242, 101, 34, 0.05);
    transform: scale(1.1) translateX(-10px);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 18px;
    z-index: 1;
}

.service-item h4 {
    font-size: 1.15rem;
    color: var(--primary-color);
    z-index: 1;
}

/* ==========================================================================
   Certificate Section - Clean
   ========================================================================== */
.certificate-content {
    display: flex;
    justify-content: center;
}

.cert-box {
    background: var(--white);
    padding: 60px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 650px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.cert-icon {
    font-size: 5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.cert-box h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.cert-box p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Footer Section - Clean and Modern
   ========================================================================== */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo-wrapper {
    background: var(--white);
    display: inline-block;
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.footer-logo {
    height: 55px;
    display: block;
}

.footer-company-name {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.footer-brand-col .tagline {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-desc {
    color: #a0b2c6;
    font-size: 1rem;
    line-height: 1.6;
}

.footer h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links-col a {
    color: #a0b2c6;
    transition: var(--transition);
    display: inline-block;
    font-size: 1.05rem;
}

.footer-links-col a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.icon-circle {
    width: 45px;
    height: 45px;
    background-color: rgba(242, 101, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle i {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-item a {
    color: #a0b2c6;
    transition: var(--transition);
    font-size: 1.05rem;
}

.contact-item a:hover {
    color: var(--white);
}

.social-links-new {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    padding: 12px 20px;
    border-radius: 8px;
    color: #a0b2c6;
    transition: var(--transition);
    font-size: 1.05rem;
}

.social-btn i {
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.social-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.social-btn:hover i {
    color: var(--white);
}

.footer-bottom {
    background-color: #0b2042;
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    color: #8da4be;
    font-size: 1rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-content-wide {
        justify-content: center;
    }
    
    .hero-text-left {
        text-align: center;
    }

    .hero-buttons-left {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        height: auto;
    }

    .logo img {
        height: 45px;
        transform: scale(1.05);
    }

    .menu-toggle {
        display: block;
    }

    .navbar {
        width: 100%;
        display: none;
        padding-top: 15px;
    }

    .navbar.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }

    .nav-links li a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        text-align: center;
    }
    
    .header-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        display: none;
        padding-top: 15px;
        gap: 15px;
    }

    .header-actions.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .custom-translate-wrapper {
        justify-content: center;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .hero-text-left h1 {
        font-size: 2.6rem;
    }
    
    .hero-buttons-left {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .section {
        padding: 40px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-stats-glass {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
    }
    
    .stat-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .loans-top-row {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .loan-top-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .small-loan-card {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text-left h1 {
        font-size: 2.2rem;
    }

    .section-title {
        margin-bottom: 25px;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .cert-box {
        padding: 40px 20px;
    }
}