*{
    margin: 0;
    padding: 0;
}

html{
    scroll-behavior: smooth;
}

.background-image{
    background-image: url('./Fort-Galle.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    height:109vh;
    padding: 50px;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
}

.logo img{
    width: 40px;
    height: 40px;
}

.navigation a{
    position: relative;
    right: 100px;
    color:aqua;
    font-size: 25px;
    font-weight: 500;
    outline: none;
    text-decoration: none;
    margin-left: 40px;
}
.navigation a::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: aqua;
    border-radius: 50px;
    transform: scaleX(0);
    transition: transform .5s;
}
.navigation a:hover::after{
    transform: scaleX(1);
}
.sidebar{
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    z-index: 999;
    background-color: #0d55d22d;
    padding: 1px;
    height: 300px;
}
  
.sidebar .social-icons{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 50px;
  }
  
.sidebar .social-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    position: relative;
    border-radius: 50%;
}
  
.sidebar .social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
  
.sidebar .social-icon.facebook:hover {
    box-shadow: 0 0 10px rgba(32, 58, 224, 0.7), 0 0 20px rgba(32, 58, 224, 0.5), 0 0 30px rgba(32, 58, 224, 0.3);
}
  
.sidebar .social-icon.twitter:hover {
    box-shadow: 0 0 10px rgba(6, 116, 185, 0.7), 0 0 20px rgba(6, 116, 185, 0.5), 0 0 30px rgba(6, 116, 185, 0.3);
}
  
.sidebar .social-icon.instagram:hover {
    box-shadow: 0 0 10px rgba(246, 42, 110, 0.7), 0 0 20px rgba(246, 42, 110, 0.5), 0 0 30px rgba(246, 42, 110, 0.3);
}
  
  

.main-section{
    position: absolute;
    margin-top: 120px;
    right: 30px;
    font-size: 30px;
    padding: 20px;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
}
.main-section h1{
    font-size: 80px;    
}

.content{
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    background-color: #044085;
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
}
.content h1{
    margin-top: 25px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 75px;
    padding-left:25px;
}
#about{
    background-color: #f5ede558;
    margin-top: 5%;
    text-align: center;
}
.sec01 h3{
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(21, 4, 131);
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .5); 
    backdrop-filter: blur(30px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
}
.Details{
    position: relative;
    display: inline-block;
}
.overlay {
position: absolute;
top: 0;
left: 0;
display: none;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
padding: 20px;
}
.overlay h3{
margin: 4px;
color: #d3f53c;
}
.sec01 .overlay p{
margin: 2px;
color: #8d9a55;
}
.Details:hover .overlay{
display: block;
}
.sec01 p{
    color: rgb(21, 4, 131);
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
}

.list{
    display: grid;
    padding-top: 15px;
    text-align: left;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    marging-top: 50px;
}
.list div{
    background-color: rgb(50, 175, 248);
    padding: 40px;
    font-weight: 300;
    border-right: 10px;
    transition: background 0.5s, transform 0.5s;
}
.list ul{
    color: rgb(31, 7, 183);
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
}
.list div:hover{
    background: #a1e996;
    transform: translateY(-10px);
}
#additional{
    display: none;
}
#toggle-button{
    margin-top: 10px;
    transform: translateY(-50%);
    border: 2px solid rgb(21, 4, 131);
    background: rgb(21, 4, 131, 0.1);
    cursor: pointer;
}
#toggle-button:hover{
    background: #9efb25;
}

#gallery{
    text-align: center;
}
.sec02{
    display: inline-block;
    margin: 10px;
    position: relative;
} 
.sec02 h1{
    font-size: 40px;
    font-family: 'Times New Roman', Times, serif;
}
.sec02 img{
    position: inherit;
    width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
} 
.sec02 .tooltip{
    margin-left: 750px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 16px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.sec02:hover img{
    transform: scale(1.15);
}
.sec02:hover .tooltip{
    opacity: 1;
}
.slider{
    left: 500px;
}
.slider-container{
  display: inline-block;
  overflow: hidden;
  width: 600px; 
  height: 400px; 

}
.slider-container img{
  width: 100%;
  height: auto;
}
.slider button{
  margin-top: 10px;
  position: inline-block;
  bottom: 20px;
  left: 50%;
  transform: translateY(-50%);
  width: 45px;
  border: 2px solid white;
  background: rgba(255,255,255,0.1);
  cursor: pointer;
}
.slider button:hover{
    background: aqua;
}
.social-icon{
    display: flex;
    justify-content: center;
    align-items: center;
}
.social-icon{
    display: inline-block;
    position: absolute;
    width: 40px;
    height: 40px;
    margin: 5px;
    bottom: 0;
    border-radius: 50%;
}

aside{
    background-color: #4e4e6b;
    padding: 20px;
}
label{
    display: block;
    margin-bottom: 5px;
}
#error{
    font-weight: 400;
    color: red;
}
input[type="text"],
input[type="email"],
textarea{
    width: 50%;
    padding: 20px;
    margin-bottom: 10px;
    border: 1px solid #ffffff;
    border-radius: 10px;
}
input[type="submit"]{
    background-color: #19065f;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: larger;
    margin-left: 165px;
}
input[type="submit"]:hover{
    background-color: #7d2803;
}
form{
    max-width: 400px;
    margin: 0 auto;
}

footer{
    background-color: #696e83;
    padding: 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    height: 40px;
}
.social-icons{
    display: flex;
    justify-content: center;
    align-items: center;
}
.social-icon{
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 5px;
    position: relative;
    border-radius: 50%;
}
.social-icon img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.social-icon.facebook:hover{
    box-shadow: 0 0 10px rgba(32, 58, 224, 0.7), 0 0 20px rgba(32, 58, 224, 0.5), 0 0 30px rgba(32, 58, 224, 0.3);
}
.social-icon.twitter:hover{
    box-shadow: 0 0 10px rgba(6, 116, 185, 0.7), 0 0 20px rgba(6, 116, 185, 0.5), 0 0 30px rgba(6, 116, 185, 0.3);
}
.social-icon.instagram:hover{
    box-shadow: 0 0 10px rgba(246, 42, 110, 0.7), 0 0 20px rgba(246, 42, 110, 0.5), 0 0 30px rgba(246, 42, 110, 0.3);
}


  
