
body, html{
    overflow-x: hidden;
}
.sec1-item3 h3{
    font-weight: 200;
    letter-spacing: 3px;
}
.Gallery{
    display: flex;
    flex-direction: column;
    margin-top: 60px;
    padding: 20px 0;
}

/* Ensure proper spacing from fixed navbar */
.main-body {
    padding-top: 20px;
    min-height: calc(100vh - 200px); /* Ensure minimum height to prevent footer overlap */
}
.row-header{
    width: 100%;
    flex-grow: 1;
    margin-bottom: 17px;
}
.row-header h1{
    max-width: 1000px;
    font-weight: 500;
    color: #242323b7;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 3px;
} 
.row-header p{
    color: #5a5a5a;
    max-width: 600px;
    font-weight: 200;
    line-height: 30px;
    font-size: 16px;
    margin-top: 10px;
    padding: 15px 0 15px 0 ;
}
.row{
    margin-bottom: 100px;
}
.slideRow{
    margin-bottom: 100px;
}
.no-margin{
    margin-bottom: 0;
}
 .card{
    width: 100%;
    height: 700px;
}
/* .row1 .card3{
    width: 510px;
} */
.card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.Gallery h3{
    font-weight: 200;
    font-size: 15px;
}
/* CSS for the dropdown menu */
.navbar {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    margin-top: -1px;
    display: none;
    position: absolute;
    background-color: #FFFFFE;
    min-width: 160px;
    z-index: 1;
}

.dropdown-content a {
    padding: 0;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background: none;
    color: #F32B36;
    transition: 0.5s;
}

.navbar:hover .dropdown-content {
    display: block;
}

.slideshow-container {
    width: 100%;
    position: relative;
    height: 700px; /* Set the height of the slideshow container to 300px */
}

.mySlides, .mySlides-2, .mySlides-3 {
    display: none;
    height: 700px;
}

.mySlides img,   .mySlides-2 img,   .mySlides-3 img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    color: #fff;
    font-weight: bold;
    font-size: 40px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
.prev:hover, .next:hover{
    color: #F32B36;
}
.blackarrow {
    color: #242323b7;
}
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.text {
    color: #000;
    font-size: 25px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}       

.dots, .dots_2, .dots_3 {
    text-align: center;
}

.dot, .dot_2, .dot_3 {
cursor: pointer;
height: 10px;
width: 10px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-flex;
transition: background-color 0.6s ease;
}

.dots .active, .dot:hover, .dots_2 .active, .dot_2:hover, .dots_3 .active, .dot_3:hover {
background-color: transparent;
border: 1px solid #bbb;
}

/* Mobile Responsive Fixes */
@media (max-width: 952px) {
    .text {
        font-size: 20px;
    }
    .slideshow-container {
        height: 300px; /* Adjust height for smaller screens */
    }
    .mySlides img, .mySlides-2 img, .mySlides-3 img {
        height: 300px;
    }
    .card {
        height: 300px;
    }
    
    /* Fix navbar overlap issues */
    .Gallery {
        margin-top: 100px; /* Increase top margin to prevent navbar overlap */
    }
    
    .row-header h1 {
        font-size: 18px;
        letter-spacing: 2px;
    }
    
    .row-header p {
        font-size: 14px;
        line-height: 25px;
        padding: 10px 0;
    }
    
    .row {
        margin-bottom: 60px; /* Reduce bottom margin on mobile */
    }
}

/* Tablet responsive */
@media (max-width: 768px) {
    .Gallery {
        margin-top: 120px;
        padding: 0 15px;
    }
    
    .row-header h1 {
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .row-header p {
        font-size: 13px;
        line-height: 22px;
    }
    
    .slideshow-container {
        height: 250px;
    }
    
    .mySlides img, .mySlides-2 img, .mySlides-3 img {
        height: 250px;
    }
    
    .card {
        height: 250px;
    }
    
    .prev, .next {
        font-size: 30px;
    }
    
    .text {
        font-size: 18px;
        padding: 6px 10px;
    }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .Gallery {
        margin-top: 100px;
        padding: 0 10px;
    }
    
    .row-header h1 {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .row-header p {
        font-size: 12px;
        line-height: 20px;
        padding: 8px 0;
    }
    
    .slideshow-container {
        height: 200px;
    }
    
    .mySlides img, .mySlides-2 img, .mySlides-3 img {
        height: 200px;
    }
    
    .card {
        height: 200px;
    }
    
    .prev, .next {
        font-size: 25px;
    }
    
    .text {
        font-size: 16px;
        padding: 5px 8px;
    }
    
    .dot, .dot_2, .dot_3 {
        height: 8px;
        width: 8px;
        margin: 0 1px;
    }
    
    .row {
        margin-bottom: 40px;
    }
}