/* Main Page (Home) Styles */

/* 1. About Preview Section */
.home-about-section {
    padding: 100px 0;
    background: #f8f9fa;
    /* Light Gray */
}

.home-about-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.home-about-text {
    flex: 1;
}

.home-about-label {
    display: inline-block;
    color: #4dabf7;
    /* Light Blue */
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.home-about-title {
    font-size: 2.5rem;
    color: #1a1a1a;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 30px;
}

.home-about-desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

.home-about-image {
    flex: 1;
    position: relative;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.home-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-about-image:hover img {
    transform: scale(1.03);
}


/* 2. Practice Preview Section */
.home-practice-section {
    padding: 100px 0;
    background: #fff;
}

.section-header.center {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .sub-title {
    color: #001a72;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #111;
    font-weight: 800;
}

.home-practice-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.practice-preview-card {
    background: #fcfcfc;
    border: 1px solid #eee;
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.practice-preview-card:hover {
    background: #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-10px);
    border-color: #4dabf7;
}

.practice-icon-box {
    width: 60px;
    height: 60px;
    background: #eef1f6;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: #001a72;
    transition: all 0.3s;
}

.practice-preview-card:hover .practice-icon-box {
    background: #001a72;
    color: white;
}

.practice-preview-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.practice-preview-card p {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.5;
}


/* 3. Success Cases Preview Section */
.home-success-section {
    padding: 100px 0;
    background: #0b1120;
    /* Dark Navy Background */
    color: white;
}

.home-success-section .section-header h2 {
    color: white;
}

.home-success-section .section-header .sub-title {
    color: #4dabf7;
}

.home-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Reusing/Simplifying the Branded Card for Home */
.home-case-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.home-case-card:hover {
    transform: translateY(-10px);
}

.home-case-visual {
    background: #fff;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #eee;
    height: 220px;
    position: relative;
}

/* Minimal Visual Style */
.home-case-visual-inner {
    width: 80%;
    height: 80%;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.home-visual-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #001a72;
    height: 6px;
}

.home-visual-text {
    font-size: 1.8rem;
    color: #001a72;
    font-weight: 800;
}

.home-case-info {
    padding: 25px;
}

.home-case-cat {
    display: inline-block;
    font-size: 0.8rem;
    color: #0045ff;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.home-case-title {
    font-size: 1.2rem;
    color: #111;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.home-case-date {
    font-size: 0.85rem;
    color: #888;
}

/* Responsive */
@media (max-width: 1024px) {
    .home-about-layout {
        flex-direction: column;
    }

    .home-about-image {
        height: 300px;
        width: 100%;
    }

    .home-practice-grid,
    .home-case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .home-practice-grid,
    .home-case-grid {
        grid-template-columns: 1fr;
    }
}

/* 4. Location Section (Redesigned) */
.home-location-section {
    position: relative;
    height: 800px;
    /* Increased to 800px */
    background: #f8f9fa;
    overflow: hidden;
}

.home-map-container {
    width: 100%;
    height: 100%;
    filter: grayscale(0.2);
    transition: filter 0.3s;
}

.home-map-container:hover {
    filter: grayscale(0);
}

.home-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Floating Info Card */
.home-location-card {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    width: 350px;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

@media (max-width: 768px) {
    .home-location-section {
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .home-map-container {
        height: 300px;
        order: 2;
    }

    .home-location-card {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        order: 1;
        box-shadow: none;
        border-bottom: 1px solid #eee;
    }
}

.loc-label {
    font-size: 0.8rem;
    color: #4dabf7;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.loc-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
}

.loc-info-item {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.loc-info-label {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 5px;
}

.loc-info-text {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.btn-map-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px 0;
    margin-top: 10px;
    background: #001a72;
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-map-link:hover {
    background: #0033cc;
}


/* 5. Consultation Section */
.home-consult-section {
    padding: 100px 0;
    background: #fcfcfc;
}

.consult-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.consult-text {
    flex: 1;
    padding-top: 20px;
}

.consult-sub-label {
    color: #0045ff;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.consult-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 30px;
    color: #111;
}

.consult-desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

.home-consult-card {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #efefef;
}

@media (max-width: 900px) {
    .consult-layout {
        flex-direction: column;
    }

    .consult-text,
    .home-consult-card {
        width: 100%;
    }
}

/* Contact Form Styles (Inherited from contact.html) */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0045ff;
    background: white;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.btn-primary.btn-block {
    width: 100%;
    background: #0045ff;
    /* Bright Blue */
    color: white;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary.btn-block:hover {
    background: #0033cc;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
}

.checkbox-container input {
    margin-right: 8px;
}

.btn-text {
    background: none;
    border: none;
    text-decoration: underline;
    color: #888;
    cursor: pointer;
    font-size: 0.85rem;
}


/* Common Button Style (Restored) */
.btn-home-more {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s;
    background: transparent;
    text-decoration: none;
    margin-top: 30px;
}

.btn-home-more:hover {
    background: #001a72;
    color: white;
    border-color: #001a72;
}

.home-success-section .btn-home-more {
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.home-success-section .btn-home-more:hover {
    background: white;
    color: #001a72;
}