/* Housing Loans Page Styles */

/* Housing Hero Section */
.housing-hero-section {
    background: linear-gradient(135deg, #17adb8 0%, #0d8a94 50%, #0a6b73 100%);
    color: white;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.housing-hero-section::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.02"/><circle cx="10" cy="50" r="0.5" fill="white" opacity="0.02"/><circle cx="90" cy="30" r="0.5" fill="white" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.housing-hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1400px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 12px 20px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-badge i {
    color: #ffd700;
    font-size: 1rem;
}

/* Hero Content */
.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0px;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1;
    color: #ffffff;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 500px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #17adb8;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 450px;
    height: 450px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
    margin-left: 100px;
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hero-image-container:hover .hero-img {
    transform: scale(1.05);
}

/* Service Highlights */
.service-highlights {
    position: absolute;
    bottom: -60px;
    left: -60px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 3;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: slideInLeft 0.6s ease-out forwards;
}

.highlight-card:nth-child(2) {
    animation-delay: 0.2s;
}

.highlight-card:nth-child(3) {
    animation-delay: 0.4s;
}

.highlight-card:nth-child(4) {
    animation-delay: 0.6s;
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: #333;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.highlight-card:nth-child(4) .card-icon {
    background: none;
    color: #333;
}

.highlight-card:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #17adb8 0%, #0d8a94 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
    flex-shrink: 0;
}

.card-content h4 {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.card-content p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Decorative Elements */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation: pulse 4s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation: pulse 4s ease-in-out infinite reverse;
}

.decoration-dots {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.dots-1 {
    top: 20%;
    left: 10%;
}

.dots-1::before,
.dots-1::after,
.dots-2::before,
.dots-2::after {
    content: '';
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: block;
}

.dots-2 {
    bottom: 20%;
    right: 10%;
}

/* Loan Types Section */
.loan-types-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
}

.loan-types-section .container {
    max-width: 1400px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #17adb8 0%, #0d8a94 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(23, 173, 184, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.section-badge i {
    font-size: 1rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #333 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.loan-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.loan-type-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(23, 173, 184, 0.1);
}

.loan-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.loan-type-card .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #17adb8 0%, #0d8a94 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(23, 173, 184, 0.3);
}

.loan-type-card h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.loan-type-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.loan-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.loan-features li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: #555;
}

.loan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #17adb8;
    font-weight: bold;
}

/* Eligibility Section */
.eligibility-section {
    padding: 100px 0;
    background: white;
}

.eligibility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.eligibility-card, .documents-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.eligibility-card .card-header, .documents-card .card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.eligibility-card .card-header i, .documents-card .card-header i {
    font-size: 2rem;
    color: #17adb8;
}

.eligibility-card .card-header h3, .documents-card .card-header h3 {
    color: #333;
    font-size: 1.5rem;
    margin: 0;
}

.eligibility-list {
    list-style: none;
    padding: 0;
}

.eligibility-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    color: #555;
}

.eligibility-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #17adb8;
    font-weight: bold;
}

.eligibility-list strong {
    color: #333;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.doc-category h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.doc-category ul {
    list-style: none;
    padding: 0;
}

.doc-category li {
    margin-bottom: 8px;
    color: #666;
    font-size: 0.9rem;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.process-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #17adb8;
    margin-bottom: 15px;
    font-weight: 700;
}

.process-section .section-subheader {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
}

.process-timeline {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.process-step {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 250px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    color: #17adb8;
    font-size: 1.5rem;
    font-weight: bold;
}

.process-step .step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #17adb8 0%, #0d8a94 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step .step-content h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.process-step .step-content p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    background: white;
}

.benefits-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #17adb8;
    margin-bottom: 15px;
    font-weight: 700;
}

.benefits-section .section-subheader {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-item {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(23, 173, 184, 0.1);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #17adb8 0%, #0d8a94 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(23, 173, 184, 0.3);
}

.benefit-item h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* Calculator Section */
.calculator-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.calculator-content h2 {
    font-size: 2.5rem;
    color: #17adb8;
    margin-bottom: 15px;
    font-weight: 700;
}

.calculator-content p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #17adb8;
}

.calculate-btn {
    background: linear-gradient(135deg, #17adb8 0%, #0d8a94 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23, 173, 184, 0.3);
}

.calculator-results {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.result-card {
    text-align: center;
    margin-bottom: 30px;
}

.result-card h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.emi-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #17adb8;
}

.result-details {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.detail-item {
    text-align: center;
    flex: 1;
}

.detail-item span:first-child {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.detail-item span:last-child {
    display: block;
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: white;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #17adb8;
    margin-bottom: 15px;
    font-weight: 700;
}

.testimonials-section .section-subheader {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #17adb8;
}

.testimonial-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.testimonial-author div h4 {
    color: #333;
    margin: 0;
    font-size: 1rem;
}

.testimonial-author div span {
    color: #666;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #17adb8 0%, #0d8a94 50%, #0a6b73 100%);
    color: white;
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    align-items: center;
    text-align: center;
}

.cta-icon {
    font-size: 4rem;
    color: #ffd700;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.cta-features .feature i {
    color: #ffd700;
}

.cta-features .feature span {
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .cta-btn.primary {
    background: linear-gradient(45deg, #ffd700, #ffb347);
    color: #0a6b73;
}

.cta-buttons .cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

.cta-buttons .cta-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-buttons .cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Housing Footer */
.housing-footer {
    background: linear-gradient(135deg, #333 0%, #222 100%);
    color: white;
    padding: 80px 0 40px;
}

.housing-footer .container {
    max-width: 1400px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section h3 i {
    color: #17adb8;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #17adb8;
    transform: translateY(-3px);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #17adb8;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-item i {
    color: #17adb8;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-item span {
    color: #ccc;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #ccc;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #17adb8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .housing-hero-section .container {
        gap: 50px;
    }

    .hero-content h1 {
        font-size: 3.2rem;
    }

    .hero-content h2 {
        font-size: 2.8rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .service-highlights {
        left: -40px;
        bottom: -40px;
    }

    .highlight-card {
        padding: 18px;
    }

    .hero-image-container {
        width: 400px;
        height: 400px;
        margin-left: 50px;
    }
}

@media (max-width: 768px) {
    .housing-hero-section {
        padding: 100px 0 80px;
        min-height: auto;
    }

    .housing-hero-section .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content h2 {
        font-size: 2.4rem;
    }

    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
        padding: 18px 30px;
        font-size: 1.1rem;
        min-height: 56px;
    }

    .hero-visual {
        order: -1;
    }

    .service-highlights {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 30px;
        gap: 15px;
        flex-wrap: wrap;
    }

    .highlight-card {
        flex: 1;
        min-width: 200px;
        max-width: 280px;
        padding: 18px;
        transition: all 0.3s ease;
    }

    .highlight-card:hover {
        transform: translateY(-5px);
    }

    .card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .card-content h4 {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }

    .card-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .hero-image-container {
        width: 320px;
        height: 320px;
        transform: none;
        margin: 0 auto;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

    .circle-1,
    .circle-2 {
        display: none;
    }

    .decoration-dots {
        display: none;
    }

    .eligibility-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .housing-hero-section {
        padding: 80px 0 60px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .hero-content h2 {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 10px 16px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .hero-cta {
        gap: 12px;
    }

    .cta-btn {
        padding: 16px 24px;
        font-size: 1rem;
        min-height: 52px;
    }

    .service-highlights {
        gap: 12px;
        margin-top: 25px;
        padding: 0 15px;
    }

    .highlight-card {
        min-width: 160px;
        max-width: 240px;
        padding: 16px;
        border-radius: 12px;
    }

    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .card-content h4 {
        font-size: 0.9rem;
        margin-bottom: 3px;
    }

    .card-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .hero-image-container {
        width: 280px;
        height: 280px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    }

    /* Disable hover effects on small mobile for better touch experience */
    .highlight-card:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .loan-types-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        flex-direction: column;
        gap: 20px;
    }

    .process-step:not(:last-child)::after {
        content: none;
    }

    .result-details {
        flex-direction: column;
        gap: 15px;
    }
}