/* Styles for the middle section with two columns */
.about---middle {
    width: 100%; /* Full width */
    display: grid; /* Use CSS Grid layout */
    grid-template-columns: 1fr 1fr; /* Create two equal columns */
    gap: 50px; /* 50px gap between columns */
    align-items: center; /* Vertically center items */
}

/* Header styling for the section with a maximum width and centered text */
.about-line-head {
    text-align: center; /* Center align text */
    max-width: 80%; /* Limit maximum width to 80% of the parent */
    margin: 0 auto; /* Center the element horizontally */
}

.about-line-head img {
    /* No specific styles for images in this selector */
}

/* Left section styles */
.about--left {
    /* No styles defined for this class */
}

.about--left img {
    min-height: 800px; /* Set minimum height for images */
    object-fit: cover; /* Ensure the image covers the container */
    object-position: right; /* Position the image to the right */
}

/* Media query for smaller screens (max-width: 767px) */
@media screen and (max-width: 767px) {
    /* Stacking the columns into one column on smaller screens */
    .about---middle {
        width: 100%; /* Full width */
        display: grid; /* Use CSS Grid layout */
        grid-template-columns: 1fr; /* One column layout */
        gap: 50px; /* 50px gap between elements */
        align-items: center; /* Vertically center items */
    }
}

/* Vertical section styles */
.v-m-section {
    width: 100%; /* Full width */
    padding: 50px; /* 50px padding */
    background: #c54208; /* Background color */
    overflow: hidden; /* Hide any content that overflows */
}

/* Column styles for inner content */
.v-col {
    max-width: 70%; /* Limit max width to 70% */
    margin: 0 auto; /* Center the column horizontally */
    padding-bottom: 50px; /* Add padding at the bottom */
    text-align: center; /* Center align text */
}

/* Subheading styling within the vertical column */
.v-col-sub {
    font-size: 24px; /* Font size */
    font-weight: 600; /* Bold font weight */
    color: #fff; /* White text color */
    line-height: 1; /* Line height for text */
    margin-bottom: 5px; /* Space below the subheading */
}

/* Main heading styling within the vertical column */
.v-col-main {
    font-size: 50px; /* Large font size for the main heading */
    font-weight: 500; /* Medium font weight */
    color: #fff; /* White text color */
    line-height: 1; /* Line height for text */
    margin-bottom: 10px; /* Space below the main heading */
}

/* Text content styling */
.v-col-text {
    color: #fff; /* White text color */
}

/* Media query for smaller screens (max-width: 850px) */
@media screen and (max-width: 850px) {
    .v-col {
        max-width: 100%; /* Full width on smaller screens */
        margin: 0 auto; /* Center the column horizontally */
        padding-bottom: 50px; /* Add padding at the bottom */
        text-align: center; /* Center align text */
    }
}

/* Relative positioning for the vertical section */
.v-m-section {
    position: relative; /* Enable absolute positioning of child elements */
}

/* After pseudo-element for watermark on the right side */
.v-m-section::after {
    content: ''; /* No content in the pseudo-element */
    position: absolute; /* Absolute positioning */
    background: url(images/water-mark.svg); /* Watermark image */
    background-repeat: no-repeat; /* No repeat for the background */
    background-position: right center; /* Position watermark to the right */
    background-size: 50%; /* Scale watermark to 50% size */
    width: 25%; /* Set width to 25% */
    height: 100%; /* Full height */
    top: 0; /* Align top edge */
    right: 0; /* Align right edge */
    opacity: 0.3; /* Make watermark semi-transparent */
}

/* Before pseudo-element for watermark on the left side */
.v-m-section::before {
    content: ''; /* No content in the pseudo-element */
    position: absolute; /* Absolute positioning */
    background: url(images/water-mark-left.svg); /* Watermark image on the left */
    background-repeat: no-repeat; /* No repeat for the background */
    background-position: left center; /* Position watermark to the left */
    background-size: 50%; /* Scale watermark to 50% size */
    width: 25%; /* Set width to 25% */
    height: 100%; /* Full height */
    top: 0; /* Align top edge */
    left: 0; /* Align left edge */
    opacity: 0.3; /* Make watermark semi-transparent */
}

/* Media query for screens with a max-width of 990px */
@media screen and (max-width: 990px) {
    /* Modify the size of the watermark images */
    .v-m-section::after {
        background: url(images/water-mark.svg); /* Watermark on the right */
        background-repeat: no-repeat; /* No repeat for the background */
        background-position: right center; /* Position watermark to the right */
        background-size: 50%; /* Scale watermark to 50% size */
        width: 50%; /* Set width to 50% */
    }
    .v-m-section::before {
        background: url(images/water-mark-left.svg); /* Watermark on the left */
        background-repeat: no-repeat; /* No repeat for the background */
        background-position: left center; /* Position watermark to the left */
        background-size: 50%; /* Scale watermark to 50% size */
        width: 50%; /* Set width to 50% */
    }
}

/* Media query for screens with a max-width of 550px */
@media screen and (max-width: 550px) {
    /* Full width watermark on the right */
    .v-m-section::after {
        background: url(images/water-mark.svg); /* Watermark on the right */
        background-repeat: no-repeat; /* No repeat for the background */
        background-position: right center; /* Position watermark to the right */
        background-size: 100%; /* Scale watermark to 100% size */
        width: 100%; /* Full width */
    }

    /* Hide the watermark on the left */
    .v-m-section::before {
        display: none; /* Hide the watermark */
    }
}
