.gallery-section {
    /*background: linear-gradient(180deg, #1e3c72, #2a5298);
     Deep blue tones */

    color: #ffcc00;
    text-align: center;
    box-shadow: 0px 0px 0px 0px rgba(255, 0, 153, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #0f187b url(img/foterbg.jpg) no-repeat;
    background-size: cover;
}

.image-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid #000;
    box-shadow:
        0.5rem 1rem 6rem rgba(27, 40, 50, 0.06),
        0.2rem 0.4rem 2.5rem rgba(27, 40, 50, 0.04),
        0.1rem 0.2rem 1.3rem rgba(27, 40, 50, 0.035),
        0 0 0 0.06rem rgba(27, 40, 50, 0.015);
}

.image-box:hover {
    border: 2px solid #fff;
}

.image-box img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease-in-out, filter 0.5s ease-in-out;

}

.image-box:hover img {
    transform: scale(1.1);
    filter: brightness(70%);
}

.image-box .overlay {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #ffcc00;
    padding: 15px;
    text-align: center;
    font-size: 18px;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

.image-box:hover .overlay {
    transform: translateY(0);
}

.image-box .overlay a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.image-box .overlay a:hover {
    color: #ff6600;
}

.content-area {
    background: #ffffff;
    color: #4e4e4e;
    text-align: left;
    box-shadow:
        0.5rem 1rem 6rem rgba(27, 40, 50, 0.06),
        0.2rem 0.4rem 2.5rem rgba(27, 40, 50, 0.04),
        0.1rem 0.2rem 1.3rem rgba(27, 40, 50, 0.035),
        0 0 0 0.06rem rgba(27, 40, 50, 0.015);
    border-radius: 10px;
    margin: 20px 0;
}


.content-area p {
    font-size: 17px;
    margin: 0 auto 20px;
    text-align: left;
}

.content-area p img.left {
    float: left;
    /* Float the image to the left */
    margin-right: 15px;
    /* Add space to the right of the image */
    margin-bottom: 10px;
    /* Add space below the image */
    max-width: 150px;
    /* Set a maximum width for the image */
    height: auto;
    /* Maintain the aspect ratio */
    border-radius: 8px;
    /* Optional: Add rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Optional: Add a subtle shadow */
}

.content-area p img.right {
    float: right;
    /* Float the image to the left */
    margin-right: 15px;
    /* Add space to the right of the image */
    margin-bottom: 10px;
    /* Add space below the image */
    max-width: 150px;
    /* Set a maximum width for the image */
    height: auto;
    /* Maintain the aspect ratio */
    border-radius: 8px;
    /* Optional: Add rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Optional: Add a subtle shadow */
}

.content-area p::after {
    content: "";
    display: table;
    clear: both;
}

.content-area a {
    color: #4e4e4e;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.content-area a:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {

    .content-area p img.right,
    .content-area p img.left {
        float: none;
        /* Remove the float */
        display: block;
        /* Make the image a block element */
        max-width: 100%;
        /* Make the image full width */
        margin: 10px 0;
        /* Add some vertical spacing */
        height: auto;
        /* Maintain aspect ratio */
        width: 100%;
    }

    .content-area h2 {
        font-size: 24px;
    }

    .content-area p {
        font-size: 18px;
    }
}

.footer {
    /*background: linear-gradient(330deg, #ff7b00, #ff0099);
     Vibrant gradient */
    /* Slightly darker for contrast */
    color: white;
    box-shadow: 0 0px 0px rgba(255, 0, 153, 0.3);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    background: #0f187b url(img/foterbg.jpg) no-repeat;
    background-size: cover;
    padding: 30px 0;
}

.footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: auto;
}


.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer h3 {
    font-size: 1.3em;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffd200;
    margin: 5px 0px;
    padding-bottom: 8px;
}

.footer ul li {
    margin: 0;
    padding: 0;
}

.footer li a {

    display: block;

    font-size: 1.1em;

    color: #FFF;

    padding: 5px 15px;

    background: url(img/footer-bullet.png) no-repeat 0;

    -moz-transition: all 0.2s linear;

    -webkit-transition: all 0.2s linear;

    -o-transition: all 0.2s linear;

    -ms-transition: all 0.2s linear;

}

.footer li a:hover {

    color: #fd1700;

    margin-left: 5px;

    -moz-transition: all 0.2s linear;

    -webkit-transition: all 0.2s linear;

    -o-transition: all 0.2s linear;

    -ms-transition: all 0.2s linear;

}

/* Responsive Design */
@media (max-width: 992px) {
    .footer .col-3 {
        width: 48%;
        /* Two columns on tablets */
    }
}

@media (max-width: 600px) {
    .footer .col-3 {
        width: 100%;
        /* Full width on mobile */
    }
}

.footer2 {
    color: #fff;
    background-color: #000;
    /* Smooth gradient */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.5);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.footer2 a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
    display: inline-block;
    padding: 5px 15px;
}

.footer2 a:hover {
    color: #ffd200;
    /* Attractive red hover */
    transform: translateY(-3px);
    /* Smooth lift effect */
}

.footer2 p {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 10px;
}