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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

.mahindra-logo {
    width: 180px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

.mahindra-logo-text {
    font-weight: 700;
    color: #1e293b;
    font-size: 18px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.mahindra-logo-text::before {
    content: 'MAHINDRA';
    display: block;
    font-size: 18px;
    line-height: 1;
    color: #2563eb;
    font-weight: 700;
}

.mahindra-logo-text::after {
    content: 'RURAL HOUSING';
    display: block;
    font-size: 10px;
    font-weight: 500;
    margin-top: 2px;
    color: #64748b;
    letter-spacing: 0.5px;
}

.mahindra-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mahindra-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mahindra-nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.mahindra-nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.mahindra-nav-link:hover,
.mahindra-nav-link.active {
    color: #2563eb;
}

.mahindra-nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transition: width 0.3s ease;
}

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

.mahindra-nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mahindra-nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.mahindra-products-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mahindra-products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.mahindra-products-hero-content {
    position: relative;
    z-index: 2;
}

.mahindra-products-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mahindra-products-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.mahindra-home-loan,
.mahindra-renovation-loan,
.mahindra-resale-loan,
.mahindra-refinance,
.mahindra-small-loan {
    padding: 6rem 0;
}

.mahindra-home-loan,
.mahindra-resale-loan,
.mahindra-small-loan {
    background: white;
}

.mahindra-renovation-loan,
.mahindra-refinance {
    background: #f8fafc;
}

.mahindra-product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mahindra-product-content.mahindra-reverse {
    direction: rtl;
}

.mahindra-product-content.mahindra-reverse > * {
    direction: ltr;
}

.mahindra-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
    position: relative;
}

.mahindra-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 2px;
}

.mahindra-product-text p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.mahindra-product-features {
    margin-bottom: 2rem;
}

.mahindra-feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #64748b;
}

.mahindra-feature-icon {
    color: #2563eb;
    font-weight: 700;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.mahindra-product-visual {
    position: relative;
}

.mahindra-product-visual img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mahindra-product-visual:hover img {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.mahindra-btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.mahindra-btn-primary {
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    color: white;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.mahindra-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.mahindra-btn-secondary {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border: 2px solid #2563eb;
}

.mahindra-btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.mahindra-company-info {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.mahindra-company-info-content {
    max-width: 800px;
    margin: 0 auto;
}

.mahindra-company-info-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.mahindra-company-info-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.mahindra-footer {
    background: #1e293b;
    color: white;
    padding: 4rem 0 2rem;
}

.mahindra-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.mahindra-footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #60a5fa;
}

.mahindra-footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
    line-height: 1.6;
}

.mahindra-footer-section ul {
    list-style: none;
}

.mahindra-footer-section ul li {
    margin-bottom: 0.5rem;
}

.mahindra-footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.mahindra-footer-section ul li a:hover {
    opacity: 1;
    color: #60a5fa;
}

.mahindra-footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .mahindra-nav-menu {
        display: none;
    }
    
    .mahindra-nav-toggle {
        display: flex;
    }
    
    .mahindra-product-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .mahindra-product-content.mahindra-reverse {
        direction: ltr;
    }
    
    .mahindra-products-hero-title {
        font-size: 2.5rem;
    }
    
    .mahindra-section-title {
        font-size: 2rem;
    }
    
    .mahindra-section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .mahindra-container {
        padding: 0 15px;
    }
    
    .mahindra-products-hero-title {
        font-size: 2rem;
    }
    
    .mahindra-section-title {
        font-size: 1.8rem;
    }
    
    .mahindra-product-text p {
        font-size: 1rem;
    }
    
    .mahindra-feature-item {
        font-size: 0.9rem;
    }
    
    .mahindra-btn {
        width: 100%;
        max-width: 300px;
    }
}
