/* Base Styles */
:root {
    --primary-color: #2E7D32;
    --primary-color-light: #4CAF50;
    --primary-color-dark: #1B5E20;
    --secondary-color: #0277BD;
    --secondary-color-light: #039BE5;
    --accent-color: #FFC107;
    --text-color: #333333;
    --text-color-light: #757575;
    --bg-color: #FFFFFF;
    --bg-color-light: #F5F5F5;
    --success-color: #4CAF50;
    --error-color: #F44336;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-max-width: 1200px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color-light);
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    font-weight: 600;
    line-height: 1.3;
}


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

a:hover {
    color: var(--primary-color-dark);
}

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

ul {
    list-style: none;
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(46, 125, 50, 0.1);
    transform: translateY(-2px);
}

/* Header & Navigation */header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    width: 160px;
    height: 50px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
    z-index: 1001;
}

/* Desktop nav */
.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(76, 175, 80, 0.1);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: var(--text-color);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--primary-color);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item.dropdown .nav-link i {
    margin-left: 5px;
    font-size: 12px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 60%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 20px;
        gap: 15px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        z-index: 999;
    }

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

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        padding-left: 10px;
        display: none;
        box-shadow: none;
        background: transparent;
    }

    .dropdown-menu a {
        padding: 6px 0;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }
}


/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    /* background-color: var(--bg-color);
    border-bottom: 1px solid #e0e0e0; */
}

.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb li {
    font-size: 14px;
    color: darkgreen;
}

.breadcrumb li:not(:last-child)::after {
    content: ">";
    margin-left: 8px;
    color: darkgreen;
}

.breadcrumb a {
    color:darkgreen;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color-dark);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.animated-text {
    display: block;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s ease infinite;
}

.animated-text.delay {
    animation-delay: 1.5s;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color-dark);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color-dark);
}

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

/* Loan Hero Section */
.loan-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.loan-hero-content {
    max-width: 100%;
    padding: 2rem 4rem;
    box-sizing: border-box;
}

.loan-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color-dark);
}

.loan-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.features-list {
    margin-bottom: 40px;
}

.feature {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 40px;
    text-align: center;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.feature p {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--text-color-light);
}

/* Loan Details Section */
.loan-details {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.loan-details h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color-dark);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

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

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.detail-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.detail-card p {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Eligibility Section */
.eligibility {
    padding: 80px 0;
    background-color: var(--bg-color-light);
}

.eligibility h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color-dark);
}

.eligibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.eligibility-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.eligibility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.eligibility-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color-light);
}

.eligibility-card ul {
    padding-left: 20px;
    list-style-type: disc;
}

.eligibility-card ul li {
    margin-bottom: 8px;
    color: var(--text-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color-dark) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
}

/* Calculator Section */
.calculator-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.calculator-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color-dark);
}

.calculator-section > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 50px;
    color: var(--text-color-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.calculator-form {
    padding: 40px;
}

.calculator-result {
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    color: white;
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input[type="number"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
    margin-bottom: 10px;
}

.range-slider {
    position: relative;
    width: 100%;
}

.range-slider input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    margin-top: 10px;
}

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

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

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-color-light);
    margin-top: 5px;
}

.result-card {
    text-align: center;
    margin-bottom: 30px;
}

.result-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.emi-amount {
    font-size: 2.5rem;
    font-weight: 700;
}

.result-details {
    flex-grow: 1;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.result-item:last-child {
    border-bottom: none;
}

.calculator-result .btn {
    margin-top: 30px;
}
/* Hidden Class */
.hidden {
    display: none !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .calculator-container {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right-100% !important;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        padding: 40px 20px;
        transition: 0.4s;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0 !important;
    }
    
    .nav-item {
        margin-bottom: 20px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        background: transparent;
    }
    
    .feature-grid, .details-grid, .eligibility-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p, .loan-hero p {
        font-size: 1rem;
    }
    
    .loan-hero h1, .features h2, .loan-details h2, .eligibility h2, .cta-section h2, .calculator-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .calculator-form, .calculator-result {
        padding: 20px;
    }
    
  
}

/* home-page-crousel */
.cc-section-container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            gap: 20px;
        }

        .cc-card {
            height: 250px;
            width: 420px;
            border-radius: 10px;
            overflow: hidden;
            background-size: cover;
            background-position: center;
        }

        .cc-static-card-1 {
            background-image: url('https://i.ibb.co/Q3wPDZ7s/4.png');
        }

        .cc-static-card-2 {
            background-image: url('https://i.ibb.co/jvP38J9Y/5.png');
        }

        .cc-carousel-card {
            position: relative;
        }

        .cc-carousel-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 10px;
            opacity: 0;
            transition: opacity 0.5s ease-in-out;
            background-size: cover;
            background-position: center;
            display: block;
        }

        .cc-carousel-slide.cc-mobile-only {
            display: none;
        }

        .cc-carousel-slide.cc-active {
            opacity: 1;
        }

        /* Mobile styles */
        @media (max-width: 768px) {
            .cc-section-container {
                flex-direction: column;
                align-items: center;
                padding: 10px;
            }

            .cc-static-card-1,
            .cc-static-card-2 {
                display: none;
            }

            .cc-carousel-card {
                width: 100%;
                height: auto;
                aspect-ratio: 420/250;
                max-width: 420px;
                flex: none;
            }

            .cc-carousel-slide {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                aspect-ratio: 420/250;
            }
        }
