* {
    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-application-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mahindra-application-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-application-hero-content {
    position: relative;
    z-index: 2;
}

.mahindra-application-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-application-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.mahindra-application-process {
    padding: 6rem 0;
    background: white;
}

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

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

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

.mahindra-process-step {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mahindra-process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
}

.mahindra-process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.mahindra-step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.mahindra-process-step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.mahindra-process-step p {
    color: #64748b;
    line-height: 1.6;
}

.mahindra-application-form {
    padding: 6rem 0;
    background: #f8fafc;
}

.mahindra-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.mahindra-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.mahindra-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e293b;
}

.mahindra-form-group input,
.mahindra-form-group select,
.mahindra-form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.mahindra-form-group input:focus,
.mahindra-form-group select:focus,
.mahindra-form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.mahindra-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.mahindra-checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.mahindra-checkbox-text {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
}

.mahindra-loan-calculator {
    padding: 6rem 0;
    background: white;
}

.mahindra-calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.mahindra-calculator-form {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mahindra-calculator-result {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.3);
}

.mahindra-result-amount {
    font-size: 3rem;
    font-weight: 700;
    margin: 1rem 0;
}

.mahindra-result-details {
    margin-top: 2rem;
}

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

.mahindra-required-documents {
    padding: 6rem 0;
    background: #f8fafc;
}

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

.mahindra-document-category {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mahindra-document-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
}

.mahindra-document-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.mahindra-document-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.mahindra-document-category ul {
    list-style: none;
}

.mahindra-document-category ul li {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.mahindra-document-category ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 700;
}

.mahindra-application-status {
    padding: 6rem 0;
    background: white;
}

.mahindra-status-checker {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.mahindra-status-form {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mahindra-status-result {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.3);
}

.mahindra-status-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.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;
    font-family: inherit;
}

.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-form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .mahindra-calculator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mahindra-status-checker {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mahindra-process-steps {
        grid-template-columns: 1fr;
    }
    
    .mahindra-documents-grid {
        grid-template-columns: 1fr;
    }
    
    .mahindra-application-hero-title {
        font-size: 2.5rem;
    }
    
    .mahindra-section-title {
        font-size: 2rem;
    }
    
    .mahindra-form-container {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .mahindra-container {
        padding: 0 15px;
    }
    
    .mahindra-application-hero-title {
        font-size: 2rem;
    }
    
    .mahindra-section-title {
        font-size: 1.8rem;
    }
    
    .mahindra-form-container {
        padding: 1.5rem;
    }
    
    .mahindra-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .mahindra-result-amount {
        font-size: 2rem;
    }
}
