* {
    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-breadcrumb {
    background: #f8fafc;
    padding: 1rem 0;
    margin-top: 80px;
    border-bottom: 1px solid #e2e8f0;
}

.mahindra-breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.mahindra-breadcrumb-nav a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mahindra-breadcrumb-nav a:hover {
    color: #1d4ed8;
}

.mahindra-breadcrumb-separator {
    color: #64748b;
}

.mahindra-breadcrumb-current {
    color: #64748b;
    font-weight: 500;
}

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

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

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

.mahindra-founding {
    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-founding-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

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

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

.mahindra-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.mahindra-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #2563eb, #3b82f6);
    transform: translateX(-50%);
}

.mahindra-timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.mahindra-timeline-item:nth-child(odd) {
    flex-direction: row;
}

.mahindra-timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.mahindra-timeline-marker {
    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.1rem;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    z-index: 2;
    position: relative;
}

.mahindra-timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    flex: 1;
    max-width: 300px;
    transition: all 0.3s ease;
}

.mahindra-timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

.mahindra-timeline-content p {
    color: #64748b;
    line-height: 1.6;
}

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

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

.mahindra-expansion-card {
    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-expansion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
}

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

.mahindra-expansion-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.mahindra-expansion-card:hover img {
    transform: scale(1.1);
}

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

.mahindra-expansion-card p {
    color: #64748b;
    line-height: 1.6;
}

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

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

.mahindra-innovation-timeline {
    position: relative;
}

.mahindra-innovation-timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #2563eb, #3b82f6);
}

.mahindra-innovation-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.mahindra-innovation-year {
    width: 80px;
    height: 80px;
    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.2rem;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    z-index: 2;
    margin-right: 2rem;
}

.mahindra-innovation-details {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex: 1;
    transition: all 0.3s ease;
}

.mahindra-innovation-details:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.mahindra-innovation-details p {
    color: #64748b;
    line-height: 1.6;
}

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

.mahindra-future-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mahindra-future-card {
    background: #f8fafc;
    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-future-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

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

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

.mahindra-future-card ul {
    list-style: none;
}

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

.mahindra-future-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 700;
}

.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-founding-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mahindra-timeline::before {
        left: 30px;
    }
    
    .mahindra-timeline-item {
        flex-direction: row !important;
    }
    
    .mahindra-timeline-content {
        margin-left: 2rem;
        margin-right: 0;
        max-width: none;
    }
    
    .mahindra-innovation-timeline::before {
        left: 40px;
    }
    
    .mahindra-innovation-year {
        width: 60px;
        height: 60px;
        font-size: 1rem;
        margin-right: 1.5rem;
    }
    
    .mahindra-future-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mahindra-expansion-grid {
        grid-template-columns: 1fr;
    }
    
    .mahindra-history-hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .mahindra-container {
        padding: 0 15px;
    }
    
    .mahindra-history-hero-title {
        font-size: 2rem;
    }
    
    .mahindra-section-title {
        font-size: 2rem;
    }
    
    .mahindra-timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .mahindra-timeline-content {
        padding: 1.5rem;
        margin-left: 1.5rem;
    }
    
    .mahindra-innovation-year {
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
        margin-right: 1rem;
    }
    
    .mahindra-innovation-details {
        padding: 1rem;
    }
}
