.about {
    .first-section {
        width: 100%;
        min-height: 200px;
        padding-top: 100px;
        padding-bottom: 20px;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
        
        h1, h4 {
            padding: 0 15px;
        }
    }

    .second-section {
        width: 100%;
        min-height: 300px;
        padding: 40px 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;

        .img-block {
            width: 48%;
            min-height: 300px;

            img {
                width: 100%;
                height: 100%;
                max-width: 100%;
                max-height: 100%;
                object-fit: contain;
            }
        }

        .text-block {
            width: 48%;
        }
        
        @media (max-width: 768px) {
            flex-direction: column;
            
            .img-block, .text-block {
                width: 100%;
                margin-bottom: 20px;
            }
        }
    }

    .third-section {
        width: 100%;
        min-height: 400px;
        padding: 20px;
        position: relative;
        overflow: hidden;

        .img-block {
            width: 100%;
            height: 100%;
            padding: 20px;
            z-index: 1;

            img {
                width: 100%;
                height: 100%;
                max-width: 100%;
                max-height: 100%;
                box-shadow: 20px 19px 4px rgba(0, 0, 0, 0.25);
                object-fit: cover;
            }
        }

        .top-left-square {
            width: 300px;
            height: 200px;
            background: black;
            z-index: -1;
            position: absolute;
            top: 20px;
        }

        .mask-white {
            width: 300px;
            height: 200px;
            background: white;
            position: absolute;
            top: -50px;
            right: -100px;
            transform: rotate(45deg);
        }

        .bottom-right-black-square {
            width: 300px;
            height: 200px;
            background: black;
            z-index: -1;
            position: absolute;
            bottom: 30px;
            right: 30px;
        }
        
        @media (max-width: 768px) {
            .top-left-square, .mask-white, .bottom-right-black-square {
                width: 150px;
                height: 100px;
            }
            
            .mask-white {
                top: -30px;
                right: -50px;
            }
            
            .bottom-right-black-square {
                bottom: 15px;
                right: 15px;
            }
        }
        
        @media (max-width: 480px) {
            .top-left-square, .mask-white, .bottom-right-black-square {
                width: 100px;
                height: 70px;
            }
        }
    }

    .fourth-section {
        width: 100%;
        min-height: 300px;
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;

        .title-block {
            width: 45%;
            min-height: 100px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .text-block {
            width: 50%;
        }
        
        @media (max-width: 768px) {
            flex-direction: column;
            
            .title-block, .text-block {
                width: 100%;
                text-align: center;
                margin-bottom: 20px;
            }
            
            .title-block h1 {
                text-align: center;
            }
        }
    }

    .fifth-section {
        width: 100%;
        min-height: 300px;
        padding: 20px;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-wrap: wrap;

        .img-block {
            width: 48%;
            min-height: 300px;
            border: 1px solid black;
            box-shadow: 6px 6px 2px black;

            img {
                width: 100%;
                height: 100%;
                max-width: 100%;
                max-height: 100%;
                object-fit: cover;
            }
        }

        h5 {
            width: 48%;
        }
        
        @media (max-width: 768px) {
            flex-direction: column;
            
            .img-block, h5 {
                width: 100%;
                margin-bottom: 20px;
            }
            
            h5 {
                text-align: center;
            }
        }
    }

    .sixth-section {
        width: 100%;
        padding: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 20px;

        h1 {
            text-align: center;
        }
        
        p {
            text-align: center;
            padding: 0 15px;
        }

        .card-block {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;

            .card {
                width: 30%;
                min-height: 250px;
                padding: 20px;
                background: #c6c6c6;
                border-radius: 20px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                flex-direction: column;
                gap: 20px;

                img {
                    width: 50px;
                    height: 50px;
                    object-fit: contain;
                }

                h3 {
                    text-align: center;
                }

                p {
                    text-align: center;
                }
            }
            
            @media (max-width: 768px) {
                flex-direction: column;
                
                .card {
                    width: 80%;
                    margin-bottom: 20px;
                }
            }
        }

        .org-chart {
            width: 100%;
            text-align: center;
            
            img {
                max-width: 100%;
                height: auto;
                max-height: 800px;
                object-fit: contain;
            }
        }
    }

    .seventh-section {
        width: 100%;
        padding: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;

        .img-block {
            width: 48%;

            img {
                width: 100%;
                height: 100%;
                max-width: 100%;
                max-height: 100%;
                object-fit: cover;
            }
        }

        .owner {
            width: 48%;
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        
        @media (max-width: 768px) {
            flex-direction: column;
            
            .img-block, .owner {
                width: 100%;
                margin-bottom: 20px;
            }
            
            .owner {
                text-align: center;
            }
        }
    }

    .eighth-section {
        width: 100%;
        padding: 30px;
        background: #D9D9D9;
        display: flex;
        flex-direction: column;
        gap: 30px;

        h1 {
            text-align: center;
        }

        .card-block {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 20px;

            .group {
                width: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 20px;
                flex-wrap: wrap;

                .card {
                    width: 30%;
                    min-height: 250px;
                    padding: 20px;
                    border-radius: 20px;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    flex-direction: column;
                    gap: 20px;
                    background: white;

                    img {
                        width: 100%;
                        height: 200px;
                        max-width: 100%;
                        max-height: 100%;
                        object-fit: cover;
                    }
                    
                    p {
                        text-align: center;
                    }
                }
                
                @media (max-width: 768px) {
                    flex-direction: column;
                    
                    .card {
                        width: 80%;
                        margin-bottom: 20px;
                    }
                }
            }
        }
    }
}

button {
    background: linear-gradient(to right, #4CAF50, #81C784);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

button:active {
    transform: scale(0.98);
}

.text {
    text-align: center;
    margin-bottom: 20px;
}

.text h1 {
    font-size: 1.8rem;
    color: #333;
}

.text p {
    font-size: 1rem;
    color: #666;
}

footer {
    .footer-appointment {
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../ASSETS/appointmentbg.jpg');
    }
}

.about {
    .first-section {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../ASSETS/appointmentbg.jpg');
        background-position: center;
        background-size: cover;
    }

    .sixth-section {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('../ASSETS/appointmentbg.jpg');
        background-blend-mode: normal;
        background-position: center;
        background-size: cover;
    }
}

.map-wrapper {
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.map-title {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #333;
}

.map-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 250px;
    }
}

.map-container {
    .top-block {
        min-height: 200px;
        padding: 30px;
        margin-bottom: 20px;
        background-color: #4db224;
        text-align: left;
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 20px;

        h2, p {
            color: white;
        }

        p {
            width: 80%;
        }
        
        @media (max-width: 768px) {
            padding: 20px;
            
            p {
                width: 100%;
            }
        }
    }

    .container {
        width: 100%;
        height: auto;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        gap: 20px;
        flex-wrap: wrap;

        form {
            max-width: 40%;
            flex-grow: 1;
            display: flex;
            justify-content: start;
            align-items: start;
            flex-direction: column;
            gap: 20px;
        }

        input, textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid black;
            outline: none;
            box-shadow: none;
        }

        textarea {
            min-height: 150px;
            resize: vertical;
        }

        button {
            border: none;
            color: white;
            background: rgb(17, 17, 172);
        }

        .map {
            max-width: 60%;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            align-items: start;
        }

        .maps {
            width: 100%;
        }

        .location {
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .location p {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        h3, .imp {
            color: blue;
            text-align: left;
        }
        
        @media (max-width: 768px) {
            flex-direction: column;
            
            form, .map {
                max-width: 100%;
                width: 100%;
            }
            
            .location p {
                font-size: 14px;
            }
        }
    }
}