* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --agrim-primary: #ff6b35;
    --agrim-primary-dark: #e55a2b;
    --agrim-primary-light: #ff8c69;
    --agrim-secondary: #4ecdc4;
    --agrim-accent: #45b7d1;
    --agrim-success: #96ceb4;
    --agrim-warning: #feca57;
    --agrim-error: #ff6b6b;
    --agrim-text-primary: #2c3e50;
    --agrim-text-secondary: #7f8c8d;
    --agrim-text-light: #bdc3c7;
    --agrim-bg-primary: #ffffff;
    --agrim-bg-secondary: #f8f9fa;
    --agrim-bg-accent: #ecf0f1;
    --agrim-bg-dark: #2c3e50;
    --agrim-border: #e9ecef;
    --agrim-border-light: #f1f3f4;
    --agrim-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    --agrim-shadow-light: 0 10px 30px rgba(0, 0, 0, 0.05);
    --agrim-shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.08);
    --agrim-gradient: linear-gradient(135deg, #ff6b35 0%, #4ecdc4 100%);
    --agrim-gradient-light: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --agrim-gradient-dark: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --agrim-gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff8c69 50%, #4ecdc4 100%);
    --agrim-gradient-card: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--agrim-text-primary);
    background-color: var(--agrim-bg-primary);
    overflow-x: hidden;
}

.agrim-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.agrim-cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--agrim-border);
    box-shadow: var(--agrim-shadow-light);
    z-index: 1000;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.agrim-cookies-banner.show {
    transform: translateY(0);
}

.agrim-cookies-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.agrim-cookies-content p {
    color: var(--agrim-text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.agrim-cookies-accept {
    background: var(--agrim-gradient);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: var(--agrim-shadow-light);
}

.agrim-cookies-accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--agrim-shadow-medium);
}

.agrim-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--agrim-border-light);
    z-index: 999;
    transition: all 0.3s ease;
}

.agrim-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.company-logo {
    width: 320px;
    height: 80px;
    background: var(--agrim-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
    box-shadow: var(--agrim-shadow-light);
    transition: all 0.3s ease;
}

.company-logo:hover {
    transform: translateY(-2px);
    box-shadow: var(--agrim-shadow-medium);
}

.company-logo::before {
    content: '🏠';
    font-size: 32px;
    margin-right: 16px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: agrim-logo-pulse 3s ease-in-out infinite;
}

@keyframes agrim-logo-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.company-logo::after {
    content: 'AGRIM Housing Finance Private Limited';
    color: white;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
    flex: 1;
    text-align: left;
}

.agrim-nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.agrim-nav-link {
    text-decoration: none;
    color: var(--agrim-text-primary);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.agrim-nav-link:hover,
.agrim-nav-link.agrim-active {
    color: var(--agrim-primary);
}

.agrim-nav-link.agrim-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--agrim-gradient);
    border-radius: 2px;
}

.agrim-nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.agrim-bar {
    width: 24px;
    height: 2px;
    background: var(--agrim-text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.agrim-hero {
    padding: 120px 0 80px;
    background: var(--agrim-bg-primary);
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.agrim-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.agrim-hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.agrim-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--agrim-gradient);
    opacity: 0.08;
}

.agrim-shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.agrim-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.agrim-shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 10%;
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
}

.agrim-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.agrim-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    background: var(--agrim-gradient-light);
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid var(--agrim-border);
}

.agrim-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--agrim-success);
    border-radius: 50%;
    animation: agrim-pulse 2s infinite;
}

@keyframes agrim-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.agrim-badge-text {
    color: var(--agrim-text-secondary);
    font-size: 14px;
    font-weight: 600;
}

.agrim-hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 32px;
    color: var(--agrim-text-primary);
}

.agrim-title-line {
    display: block;
}

.agrim-title-main {
    color: var(--agrim-text-primary);
}

.agrim-title-accent {
    background: var(--agrim-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.agrim-hero-subtitle {
    font-size: 1.25rem;
    color: var(--agrim-text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

.agrim-product-navigation {
    padding: 40px 0;
    background: var(--agrim-bg-secondary);
    border-bottom: 1px solid var(--agrim-border);
}

.agrim-nav-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.agrim-tab {
    background: var(--agrim-bg-primary);
    border: 2px solid var(--agrim-border);
    padding: 16px 24px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--agrim-text-secondary);
    min-width: 180px;
    justify-content: center;
}

.agrim-tab:hover {
    border-color: var(--agrim-primary);
    color: var(--agrim-primary);
    transform: translateY(-2px);
}

.agrim-tab.agrim-tab-active {
    background: var(--agrim-gradient);
    border-color: var(--agrim-primary);
    color: white;
    box-shadow: var(--agrim-shadow-light);
}

.agrim-tab i {
    font-size: 18px;
}

.agrim-product-content {
    padding: 80px 0;
    background: var(--agrim-bg-primary);
}

.agrim-tab-content {
    display: none;
}

.agrim-tab-content.agrim-tab-active {
    display: block;
}

.agrim-product-section {
    margin-bottom: 80px;
}

.agrim-section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.agrim-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    background: var(--agrim-gradient-light);
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid var(--agrim-border);
}

.agrim-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--agrim-text-primary);
    line-height: 1.2;
}

.agrim-section-subtitle {
    font-size: 1.25rem;
    color: var(--agrim-text-secondary);
    line-height: 1.6;
    font-weight: 400;
}

.agrim-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.agrim-product-card {
    background: var(--agrim-gradient-card);
    padding: 40px 32px;
    border-radius: 24px;
    box-shadow: var(--agrim-shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--agrim-border-light);
    position: relative;
    overflow: hidden;
}

.agrim-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--agrim-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.agrim-product-card:hover::before {
    transform: scaleX(1);
}

.agrim-product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--agrim-shadow);
}

.agrim-product-featured {
    border: 2px solid var(--agrim-primary);
    transform: scale(1.05);
}

.agrim-product-featured:hover {
    transform: scale(1.05) translateY(-12px);
}

.agrim-product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--agrim-gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.agrim-product-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.agrim-product-icon {
    width: 60px;
    height: 60px;
    background: var(--agrim-gradient-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--agrim-border-light);
}

.agrim-product-icon i {
    font-size: 28px;
    color: var(--agrim-primary);
}

.agrim-product-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--agrim-text-primary);
}

.agrim-product-features {
    margin-bottom: 32px;
}

.agrim-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--agrim-text-secondary);
    font-weight: 500;
}

.agrim-feature-item i {
    color: var(--agrim-success);
    font-size: 16px;
}

.agrim-product-cta {
    text-align: center;
}

.agrim-btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    position: relative;
    overflow: hidden;
}

.agrim-btn-primary {
    background: var(--agrim-gradient);
    color: white;
    box-shadow: var(--agrim-shadow-light);
}

.agrim-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--agrim-shadow-medium);
}

.agrim-btn-outline {
    background: transparent;
    color: var(--agrim-primary);
    border: 2px solid var(--agrim-primary);
}

.agrim-btn-outline:hover {
    background: var(--agrim-primary);
    color: white;
    transform: translateY(-2px);
}

.agrim-rate-comparison {
    padding: 120px 0;
    background: var(--agrim-bg-secondary);
}

.agrim-rate-table {
    background: var(--agrim-bg-primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--agrim-shadow-light);
    border: 1px solid var(--agrim-border-light);
}

.agrim-rate-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: var(--agrim-gradient);
    color: white;
    font-weight: 700;
}

.agrim-rate-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--agrim-border-light);
    transition: background-color 0.3s ease;
}

.agrim-rate-row:hover {
    background: var(--agrim-bg-secondary);
}

.agrim-rate-row:last-child {
    border-bottom: none;
}

.agrim-rate-cell {
    padding: 20px 24px;
    font-weight: 500;
    color: var(--agrim-text-primary);
}

.agrim-rate-header .agrim-rate-cell {
    color: white;
    font-weight: 700;
}

.agrim-product-advantages {
    padding: 120px 0;
    background: var(--agrim-bg-primary);
}

.agrim-advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.agrim-advantage-card {
    background: var(--agrim-gradient-card);
    padding: 48px 32px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--agrim-shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--agrim-border-light);
    position: relative;
    overflow: hidden;
}

.agrim-advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--agrim-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.agrim-advantage-card:hover::before {
    transform: scaleX(1);
}

.agrim-advantage-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--agrim-shadow);
}

.agrim-advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--agrim-gradient-light);
    border-radius: 20px;
    border: 1px solid var(--agrim-border-light);
}

.agrim-advantage-icon i {
    font-size: 32px;
    color: var(--agrim-primary);
}

.agrim-advantage-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--agrim-text-primary);
    margin-bottom: 16px;
}

.agrim-advantage-description {
    color: var(--agrim-text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.agrim-footer {
    background: var(--agrim-bg-dark);
    color: white;
    padding: 100px 0 40px;
}

.agrim-footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.agrim-footer-logo {
    width: 320px;
    height: 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0 20px;
    box-shadow: var(--agrim-shadow-light);
    transition: all 0.3s ease;
}

.agrim-footer-logo:hover {
    transform: translateY(-2px);
    box-shadow: var(--agrim-shadow-medium);
}

.agrim-footer-logo::before {
    content: '🏠';
    font-size: 32px;
    margin-right: 16px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    animation: agrim-logo-pulse 3s ease-in-out infinite;
}

.agrim-footer-logo::after {
    content: 'AGRIM Housing Finance Private Limited';
    color: var(--agrim-text-primary);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.3;
    flex: 1;
    text-align: left;
}

.agrim-footer-description {
    color: var(--agrim-text-light);
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

.agrim-footer-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
}

.agrim-footer-links {
    list-style: none;
}

.agrim-footer-links li {
    margin-bottom: 16px;
}

.agrim-footer-links a {
    color: var(--agrim-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.agrim-footer-links a:hover {
    color: white;
}

.agrim-contact-info p {
    color: var(--agrim-text-light);
    margin-bottom: 12px;
    font-weight: 400;
    line-height: 1.6;
}

.agrim-footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 48px;
    text-align: center;
    color: var(--agrim-text-light);
    font-weight: 400;
}

@media (max-width: 1024px) {
    .agrim-nav-menu {
        gap: 24px;
    }
    
    .agrim-product-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
    }
    
    .agrim-advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .agrim-rate-header,
    .agrim-rate-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .agrim-rate-cell {
        border-bottom: 1px solid var(--agrim-border-light);
        padding: 12px 24px;
    }
    
    .agrim-rate-cell:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .agrim-nav-menu {
        display: none;
    }
    
    .agrim-nav-toggle {
        display: flex;
    }
    
    .agrim-hero-title {
        font-size: 2.5rem;
    }
    
    .agrim-section-title {
        font-size: 2rem;
    }
    
    .agrim-nav-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .agrim-tab {
        width: 100%;
        max-width: 300px;
    }
    
    .agrim-product-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .agrim-product-featured {
        transform: none;
    }
    
    .agrim-product-featured:hover {
        transform: translateY(-12px);
    }
    
    .agrim-advantages-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .agrim-footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
