/* Machinery Loans Page Styles - Based on About Us Page */

/* About Hero Section - Redesigned */
.about-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;
}

.about-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;
}

.about-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;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    z-index: 10;
}

.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;
    animation: fadeInRight 1s ease-out 0.6s both;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.hero-image-container:hover .hero-img {
    transform: scale(1.05);
}

/* Service Highlights */
.service-highlights {
    position: absolute;
    top: -50px;
    left: -50px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 300px;
}

.highlight-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #17adb8 0%, #0d8a94 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.card-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #2c3e50;
}

.card-content p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0;
}

.loan-amount-highlight {
    font-size: 1.4rem !important;
    color: #17adb8 !important;
}

/* Content Sections */
.content-section {
    padding: 100px 0;
    background: #ffffff;
}

.content-section.alternate-bg {
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #17adb8 0%, #0d8a94 100%);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* Loan Definition */
.loan-definition {
    margin-bottom: 80px;
}

.definition-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.definition-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #34495e;
    margin-bottom: 20px;
}

.definition-text p:first-child {
    font-weight: 600;
    color: #2c3e50;
}

.definition-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.definition-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ecf0f1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #17adb8 0%, #0d8a94 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Machinery Types Grid */
.machinery-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.machinery-type-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ecf0f1;
}

.machinery-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.type-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #17adb8 0%, #0d8a94 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.machinery-type-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.machinery-type-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.machinery-type-card ul {
    list-style: none;
    padding: 0;
}

.machinery-type-card li {
    color: #34495e;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.machinery-type-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Benefits Section */
.benefits-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.benefits-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #17adb8 0%, #0d8a94 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.benefit-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

.benefits-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #17adb8 0%, #0d8a94 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(23, 173, 184, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
    color: white;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    color: white;
}

/* Eligibility Section */
.eligibility-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.eligibility-criteria h3,
.requirements-documents h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

.criteria-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.criteria-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #17adb8;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.criteria-item i {
    color: #27ae60;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.criteria-item span {
    color: #34495e;
    line-height: 1.5;
}

.documents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.document-category {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.document-category h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
}

.document-category ul {
    list-style: none;
    padding: 0;
}

.document-category li {
    color: #34495e;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.document-category li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #17adb8;
    font-weight: bold;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.process-step {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #17adb8 0%, #0d8a94 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.step-content p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #17adb8 0%, #0d8a94 50%, #0a6b73 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn.large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: #1a252f;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #17adb8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #17adb8;
    transform: translateY(-3px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #bdc3c7;
}

.contact-info i {
    color: #17adb8;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #95a5a6;
    text-decoration: none;
    font-size: 0.9rem;
    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 fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero-section .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .service-highlights {
        position: static;
        width: 100%;
        margin-top: 40px;
    }

    .definition-content,
    .benefits-content,
    .eligibility-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid,
    .machinery-types-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .benefits-main {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* 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;
}

/* Responsive Calculator */
@media (max-width: 768px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Home Page Footer Styles */
.footer .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer .social-icons a {
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #17adb8 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border: none !important;
    outline: none !important;
}

.footer .social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #17adb8;
    border-radius: 50% !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.footer .social-icons a:hover {
    color: white;
    transform: translateY(-2px);
}

.footer .social-icons a i {
    font-size: 16px !important;
    line-height: 1 !important;
}

.footer .social-icons a:nth-child(1):hover::before {
    background: #1877f2;
    opacity: 1;
}

.footer .social-icons a:nth-child(2):hover::before {
    background: #1da1f2;
    opacity: 1;
}

.footer .social-icons a:nth-child(3):hover::before {
    background: #e4405f;
    opacity: 1;
}

.footer .social-icons a:nth-child(4):hover::before {
    background: #0077b5;
    opacity: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: #ccc;
}

.contact-item i {
    color: #17adb8;
    width: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item span {
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Responsive Footer Styles */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-item {
        flex-direction: column;
        text-align: left;
    }

    .contact-item i {
        margin-bottom: 5px;
        margin-right: 0;
    }
}