*{
  margin: 0;
  padding: 0;
  font-family: "Raleway", sans-serif;
  
}

nav{
display: flex;
padding: 2% 6%;
justify-content: space-between;
align-items: center;
}

nav .fa{
display: none;
}

.logo{
font-size: 30px;
font-family: "Bad Script", serif;
text-decoration: none;
font-style: normal;
color: white;
cursor: pointer;
transition: 0.3s;
}

a .logo{
display: inline-block;
}

.logo:hover{
transform: scale(1.1);
}

.nav-links{
flex: 1;
text-align: right;
}

.nav-links ul li{
list-style: none;
display: inline-block;
padding: 8px 12px;
position: relative;
padding-top: 2px;
font-family: "Alatsi", sans-serif;
/*font-family: "Raleway", sans-serif;*/
}

.nav-links ul li a{
color: #fff;
text-decoration: none;
font-size: 20px;
font-family: "Alatsi", sans-serif;
}

.nav-links ul li::after{
content: '';
width: 0%;
height: 2px;
background: green;
display: block;
margin: auto;
transition: 0.5s;
}

.nav-links ul li:hover::after{
width: 100%;
}

.text-box{
font-family: Arial, Helvetica, sans-serif;
width: 90%;
color: #fff;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
text-align: center;
}

.text-box h1{
font-size: 65px;
font-family: Arial, Helvetica, sans-serif;
opacity: 0;
display: inline-block;
animation: animate 1s linear forwards;

}

.text-box p{
margin: 30px 0 40px;
font-size: 18px;
color: #fff;
font-family: Arial, Helvetica, sans-serif;
}


@keyframes animate{
0%{
    opacity: 0;
    transform: rotateY('90deg');
    filter: blur(10px);
}
100%{
    opacity: 1;
    transform: rotateY('0deg');
    filter: blur(0);
}
}

/* Mobile styles for navigation */
@media (max-width: 700px) {
.text-box h1{
    font-size: 20px;
    padding-top: 60px;
}
/* The nav-links container should initially be hidden */
.nav-links {
    position: absolute;
    top: 0; /* Position below the header */
    left: 0;
    width: 100%;
    height: 100vh; /* Make it full height */
    background-color: rgb(193, 221, 193); /* Greenish background */
    text-align: center;
    max-height: 0; /* Start with 0 height (hidden) */
    overflow: hidden; /* Hide any overflowing content */
    transition: max-height 0.6s ease-out; /* Smooth transition for height */
    padding: 0; /* Initially no padding */
    z-index: 10;
}

/* When the menu is active (on show), it should expand to the full screen */
.nav-links.active {
    max-height: 100vh; /* Set a large enough height to show the full menu */
    padding: 40px 0; /* Add padding for better readability */
}

/* Style for each list item in the menu */
.nav-links ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.nav-links ul li {
    padding: 20px;
    font-size: 18px;
    color: white;
    display: block; /* Stack menu items vertically */
}
.nav-links ul li:focus, .nav-links ul li:hover {
    background-color: rgba(0, 0, 0, 0.2); /* Darken the background slightly on hover */
    border-radius: 5px;
}
.nav-links ul li a {
    color: rgb(0, 0, 0);
    font-size: 20px;
    text-decoration: none;
}

nav .fa {
    display: block;
    color: white;
    margin: 10px;
    font-size: 24px;
    cursor: pointer;
}

.logo {
    font-size: 30px;
}
}
/* Overlay to dim the background */
.overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background-color: rgba(0, 0, 0, 0.7); /* Black with transparency */
z-index: 5;
}

.nav-links.active + .overlay {
display: block;
}

.sub-header-contact{
  min-height: 60vh;
  width: 100%;
  background-image: url(images/image0.jpg);
  background-position: center;
  background-size: cover;
}

/*-----Footer-----*/

footer{
width: 100%;
bottom: 0;
background: linear-gradient(to right, #00093c, #2d0b00);
color: #fff;
padding: 100px 0 30px;
border-top-left-radius: 125px;
font-size: 13px;
line-height: 20px;
}

.row1{
width: 85%;
margin: auto;
display: flex;
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
}

.col1{
flex-basis: 25%;
padding: 10px;
}

.col1 h3{
width: fit-content;
margin-bottom: 40px;
position: relative;
border-bottom: 4px solid white;
padding-bottom: 10px;
}

.col1 p{
line-height: 40px;
}

.email-id{
width: fit-content;
border-bottom: 1px solid #ccc;
margin: 20px 0;
}

ul li{
list-style: none;
margin-bottom: 12px;
}

ul li a{
text-decoration: none;
color: #fff;
}

.email-id{
margin-top: 5px;
}

.instagram-id{
text-decoration: none;
color: #fff;

}
.fa fa-instagram{
text-decoration: none;
color: white;
}

.underline{
width: 100%;
height: 5px;
background: #767676;
border-radius: 3px;
position: absolute;
top: 25px;
left: 0;
overflow: hidden;
}

/*.underline span{
width: 15px;
height: 100%;
background: #fff;
border-radius: 3px;
position: absolute;
top: 0;
left: 10px;
animation: moving 2s linear infinite;
}

@keyframes moving{
0%{
    left: -20px;
}
100%{
    left: 100px;
}
}*/

hr{
width: 90%;
border: 0;
border-bottom: 1px solid #ccc;
margin: 20px auto;
}

.copyright{
text-align: center;
}

@media (max-width: 700px){
footer{
    bottom: unset;
}
.col1{
    flex-basis: 100%;
}
col1:nth-child(2), .col1:nth-child(3){
    flex-basis: 100%;
}
}



/*----------Contact----------*/

.contact{
margin-left: 200px;
margin-top: 40px;
margin-bottom: 40px;
position: relative;
width: 100%;
max-width: 900px;
padding: 40px;
display: flex;
gap: 80px;
border-radius: 20px;
background-color: #f0caca;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.left{
width: 55%;
}

.contact-heading{
font-size: 35px;
font-weight: 600;
line-height: 1;
color: #000000;
text-align: center;
}

.contact-text{
font-size: 14px;
color: black;
margin-top: 10px;
}

form{
margin-top: 20px;
}

.inputBox{
position: relative;
margin-bottom: 20px;
}

.inputBox input, .inputBox textarea{
width: 100%;
padding: 10px;
font-size: 16px;
border-radius: 5px;
color: black;
border: none;
outline: none;
background-color: #ffffff;
}

.inputBox textarea{
resize: none;
height: 150px;
}

.contact-btn{
width: 100%;
display: inline-block;
padding: 10px 10px;
font-size: 16px;
font-weight: 600;
border: none;
color: #fff;
background-color: #00093c;
border-radius: 5px;
cursor: pointer;
transition: 0.5s;
}

.contact-btn:hover{
background-color: #149279;
}

.right{
width: 45%;
}

.illustration{
display: flex;
width: 100%;
margin: 0 auto;
}

.illustration img{
width: 90%;
margin: auto;
border-radius: 20px;
margin-top: 10px;
}

.info-text{
padding-top: 40px;
}

@media (max-width: 768px){
.contact{
  flex-direction: column;
  gap: 40px;
  padding: 20px;
  margin-left: 60px;
  max-width: 300px;
}
.left, .right{
  width: 100%;
}
.contact-info{
  margin-top: 40px;
}
.inputBox input{
 width: 90%;
}
.inputBox textarea{
  width: 90%;
}
.contact-btn{
  width: 90%;
}
}