.section1 {
    padding: 3% 15% 4% 15%;
    font-family: Arial, sans-serif;
}
.section-title {
    font-size: 29px;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    line-height: 45px;
    color: black;
    margin-bottom: 4%;
}
.section-title::before {
    content: '•';
    font-size: 40px;
    color: #CC1B1A;
    margin-right: 30px;
}
.section-paragraph {
    position: relative;
    margin-bottom: 20px;
    padding-left: 20px;
    font-size: 20px;
}
.section-paragraph::before {
    content: '–';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: black;
}


.image-grid {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.image-item {
    position: relative;
}

.image-grid img {
    width: 100%;
    height: auto;
}

.image-text {
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: 'Kanit', sans-serif;
    transform: translate(-100%, -70%);
    color: black;
    font-weight: bold;
    font-size: 20px;
    display: flex;
    align-items: center;
    /* padding: 5px 10px;  */
}
.image-text::before {
    content: '•';
    font-size: 40px;
    color: #CC1B1A;
    margin-right: 20px;
}

/* .image-section1 {
    text-align: center;
    padding-left: 13%;
    padding-right: 13%;
}
.image-item.center {
    grid-column: span 2;
    justify-self: center;
    width: 50%;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; 
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}


@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr; 
    }

    .image-section1 {
        padding-left: 10%;
        padding-right: 10%;
    }
} */

.image-section1 {
    text-align: center;
    padding-left: 12%;
    padding-right: 12%;
    margin-bottom: 3%;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 18px; 
    justify-items: center; 
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.image-item.center {
    grid-column: span 2;
    display: flex;
    justify-content: center; 
}

.image-item.center img {
    grid-column: span 2;
    justify-self: center;
    min-width: 50%;
}


@media (max-width: 1400px) {
    
    .image-item.center {
        grid-column: span 2;
        display: flex;
        width: 50%;
        height: auto;
        justify-content: center; 
    }
}


@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr; 
        justify-items: center; 
    }

    .image-item.center {
        grid-column: span 1; 
        justify-content: center; 

        width: 100%;
    }

    /* .image-item.center img {
        min-width: 80%; 
    } */

    .image-section1 {
        padding-left: 10%;
        padding-right: 10%;
    }
}




.responsive-section {
   padding-left: 12%;
   padding-right: 12%;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns for larger screens */
    gap: 80px;
}

.grid-item {
    text-align: center;
}

.title {
    font-size: 1.5em; 
    margin-bottom: 8%;
    color: #CC1B1A;
    font-weight: bold;
    font-family: 'Kanit', sans-serif;
}

.image-row {
    display: flex;
    justify-content: space-between; /* Ensures images are side by side */
    gap: 10px; /* Adjust the space between images */
}

.image-row .image {
    width: 48%; /* Adjusts the image width to fit side by side */
    height: auto;
    border-radius: 8px;
}

.grid-item .btn {
    margin-top: 8%;
    padding: 12px 20px;
    background-color: #CC1B1A;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.grid-item.center-grid {
    grid-column: span 1; /* Make this grid span two columns to center it */
    justify-self: center; /* Center the grid item */
    text-align: center;
}

/* Responsive styles */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr; /* Single column layout for smaller screens */
    }

    .grid-item {
        padding: 10px; /* Add padding for better spacing on small screens */
    }

    .image-row {
        flex-direction: column; /* Stack images vertically on small screens */
        align-items: center; /* Center images in the column layout */
    }

    .image-row .image {
        width: 90%; /* Make images full width in a single column layout */
        margin-bottom: 10px; /* Add space between images */
    }

    .grid-item.center-grid {
        grid-column: span 1; /* On small screens, it takes up one column */
        justify-self: center; /* Center it horizontally */
    }
}



.form-group input[type="file"] {
    margin-top: 3%;
    margin-left: 4%;
    background-color: #CC1B1A; /* Red background */
    color: white; /* White text */
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
  }

  .form-group input[type="file"]::-webkit-file-upload-button {
    background-color: #CC1B1A; /* Red background */
    color: white; /* White text */
    border: none;
    padding: 8px 16px;
    cursor: pointer;
  }

  .form-group input[type="file"]::-moz-file-upload-button {
    background-color: #CC1B1A; /* Red background */
    color: white; /* White text */
    border: none;
    padding: 8px 16px;
    cursor: pointer;
  }
