.front-page .landing
{
    height: 620px;
    background-size: contain;
    background-position: no-repeat;
}

.front-page  section
{
    margin-bottom: 40px;
}

.front-page .landing-heading h1, .front-page .landing-heading h2, .front-page .landing-heading h3, .front-page .landing-body a, .front-page .landing-body p
{
    color: white
}

.front-page .landing-body
{
    padding-top: 100px;
    background-color: rgba(1,1,1,0.4);
    width: auto;
    height: 100%;
}

.blog-picture
{
    height: 300px;
    overflow: hidden;
}

.front-page .landing-heading h1
{
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bolder;
    /* font-size: 60px; */
}

.front-page .high_res, .front-page .blog_section
{
    background-color: #f0f0f0;
    padding: 80px;
}

.front-page .high_res .inner-div h1
{
    padding-top: 50px;
    /* font-size: 40px; */
    font-weight: bolder;
}

.image-container {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.image-container img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.image-container:hover img {
    transform: scale(1.05);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

.overlay-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.image-container:hover .overlay-text {
    opacity: 1;
}

.login_left
{
    height: 100vh;
    background-position: center;
    background-size: cover;
}

.login_right
{
    padding-top: 4%;
}

.btn-color, .bg-color
{
    background-color: #29a29f !important;
    color: white !important;
}

.text-color, .label-color, .link-color
{
    color: #29a29f !important
}

.leftleft a
{
    text-decoration: none !important;
}

ul li
{
    list-style-type: none;
}

.photo_details
{
    padding-top:8px;
    padding-bottom:8px;
}

.cat-blocks
{
    height: 150px;
    padding-top:50px;
    border: 1px solid rgba(1,1,1,0.2);
}
.cat-blocks a
{
    display: block;
}

.icon-size
{
    font-size: 50px;
}

.small-info-text
{
    font-size: 10px;
    font-weight: bold;
    padding: 3px;

}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 0 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    /* box-shadow: 0 4px 8px rgba(0,0,0,0.1); */
    flex: 1 1 300px;
    max-width: 400px;
    height: 300px;
    padding: 0px;
    margin: 15px;
    /* margin-bottom: 10px !important; */
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    transition: transform 0.3s ease;
    
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 0px;
    margin:0px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.image-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: center;
}

/* Top section - icon aligned right */
.top-section {
    text-align: right;
}

.gallery-text
{
    vertical-align: top;
}

.icon {
    font-size: 0.8rem;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 9px;
    border-radius: 5px;;
    color: gold;
}

/* Middle section - centered heading */
.middle-section {
    text-align: center;
    margin: 20px 0;
}

.middle-section h2 {
    font-family: Arial, sans-serif;
    color: #333;
}

.top-right {
    position: absolute;
    top: 10px;
    right: 10px;
}

.bottom-left {
    position: absolute;
    bottom: 0px;
    left: 10px;
}

/* Bottom section - text aligned left */
.bottom-section {
    position: absolute;
    bottom: 20px;
    left: 20px;
    text-align: left;
}

.bottom-text {
    font-size: 1rem;
    color: #666;
}


  
  .slide-in-text {
    animation: slideIn 5s ease-in forwards, letterSpacing 2s ease-in forwards;
    /* opacity: 0; */
    letter-spacing: 10px; /* Start with wide spacing */
  }
  
  @keyframes letterSpacing {
    to {
      letter-spacing: normal;
    }
  }


  a
  {
    text-decoration: none !important ;
  }

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .gallery {
        /* gap: 10px; */
        /* padding: 0 5px; */
    }
    
    .gallery-item {
        flex: 1 1 100%;
        max-width: 100%;
        height: 200px;
        margin-bottom: 10px;
    }
    
    .image-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        height: 180px;
    }
    
    .image-title {
        font-size: 1rem;
    }
    
    .gallery-overlay {
        padding: 10px;
    }
}

/* For very small devices */
@media (max-width: 400px) {
    .gallery-item {
        /* height: 150px; */
    }
    .hide-on-small
    {
        display: none !important;
    }
}

@media (max-width: 700px) {
    .hide-on-medium
    {
        display: none !important;
    }
}

/* Category grid */
.category-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-item:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.category-item:hover:after {
    background: rgba(0, 0, 0, 0.1);
}

.cat-block
{
    height: 320px;
}

.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

nav a:hover, .nav-link:hover, .nav-link:focus{
    color: #29a29f !important;
} 

nav .nav-link.active {
    color: #29a29f !important;
    font-weight: bold;
}   



nav a{
    font-weight: 500 !important;
    font-size: 12px !important;
}

.dropdown-item a {
    color: #000 !important;
    display:block;
}
.dropdown-item a:hover {
    color: #29a29f !important;
}



.page, .container
{
    min-height: 560px;
}
body
{
    /* background-color: #dcf7ff !important; */
}

#dropdownMenu li a:hover
{
    background-color: aqua !important;
    font-size: bold;
}

.similar-image-bg {
    transition: transform 0.35s cubic-bezier(.4,2,.6,1), box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: relative;
}
.similar-image-bg .hover-info {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.65);
    color: #fff;
    padding: 16px 10px 10px 10px;
    opacity: 0;
    transition: opacity 0.3s;
    text-align: center;
    font-size: 1rem;
    z-index: 3;
}
.similar-image-bg:hover .hover-info {
    opacity: 1;
}

footer
{
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.08) 0%, rgba(231, 76, 60, 0.08) 100%);
    /* padding: 60px 0 20px; */
    /* min-height: 300px; */
    
    overflow: hidden;
}

footer a
{
    color: #eaefef !important;
    text-decoration: none !important;
}

footer a:hover
{
    color: gold !important;
    text-decoration: none !important;
}

footer > section
{
    padding-left: 10%;
    padding-right: 10%;
}

.admin_dash_row:hover
{
    background-color: rgba(1,1,1,0.04);
    transition: background-color 0.3s ease;
}
.admin_dash_row
{
    height: 50px;
}

#topNav li a
{
    font-size: 16px !important;
    color:#000 ;
}

/* #services
{
    margin-top: -80px;
    margin-bottom: 60px;
} */
@media (max-width: 768px) {
    #sidebar {
        display: none !important;
    }
}

#auth-login input[type="email"], #auth-login input[type="password"], #auth-register input[type="text"], #auth-register input[type="email"], #auth-register input[type="password"], #auth-register input[type="password_confirmation"]{
    border-radius: 0px !important;
    box-shadow: none !important;
    border: 1px solid #ced4da !important;
    font-size: 15px !important;
    padding: 10px 15px !important;
    width: 100% !important;
    margin-bottom: 15px !important;
}

#auth-register form, #auth-login form
{
    padding: 20px;
    border: 1px solid rgba(1,1,1,0.1);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

#auth-register form, #auth-login form
{
    margin-bottom: 200px !important;
}