﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Add spacing below the navigation bar */
body {
    margin-top: 90px; /* Adjusted to account for the combined height of top bar and navigation */
      padding-top: 38px; /* Add space for the fixed top bar */
      background-color: #FFF7D3;

}


.new {
    font-family: "El Messiri", serif;
  font-optical-sizing: auto;
  background-color: #FFF7D3;
  color:#8B0000;
}

.top {
    position: fixed; /* Fixed position */
    top: 0; /* Stick to the top */
    left: 0;
    right: 0;
    z-index: 1000; /* Ensure it's above other content */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: #FFF7D3;
    padding: 0px 20px; /* Adjust padding as needed */
}







.top .icon {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 400px; /* Limit the width of the icon container */
    margin-right: 10px; /* Space between the icons and phone number */
}

.top .icon a {
    display: inline-block;
    width: 38px; 
    height: 38px; 
    background-color: #990100;
    border-radius: 12px;
    margin: 10px; 
    box-shadow: 1px 1px 4px #aeaeae, -1px -1px 4px white;
    text-align: center;
    line-height: 42px; 
    font-size: 23px;
    border: 2px solid #eee;
    color: #FFBABA;
    transition: all 0.3s ease;
}
.phone-number {
    font-size: 18px; 
      color:#8B0000;
    text-align: right;
    font-weight: bold;
    font-family: "El Messiri", serif;
    margin-right: 70px;
    margin-top:0px;
}
.top .icon a:hover {
    animation: border 0.6s alternate infinite linear;
    background-color: rgb(55, 47, 47);
    color:white;
}

@keyframes border {
    0% {
        border: 2px solid lightgreen;
    }
    50% {
        border: 2px solid salmon;
    }
    100% {
        border: 2px solid skyblue;
    }
}

/* Phone number styling */

.phone-number:hover{
color: #A0153E;
transition: .5s;
}
@media (max-width: 768px) {
    .top .icon a {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .phone-number {
        font-size: 16px; 
        font-family: new;
          margin-right: -40px;
    }
  
}

@media (max-width: 480px) {
    .top .icon a {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .top .icon{
        flex-wrap: nowrap;
   }
    .phone-number {
        font-size: 10px; 
        margin-right: -40px;
      
    }
    .top{
        padding: 0;
         justify-content:left; 
    }
      .top .icon {
        max-width:230px;
    }
}
@media (max-width: 360px) {
    .top .icon a {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .top .icon{
        flex-wrap: nowrap;
   }
    .phone-number {
        font-size: 10px; 
        margin-right: -40px;
      
    }
    .top{
        padding: 0;
         justify-content:left; 
    }
      .top .icon {
        max-width:220px;
    }
}
/*-----------------------------Top Section end-------------------*/
/*-----------------------------Navigation and hamburger menu start-------------------*/
 /*-----------------------------Navigation and hamburger menu start-------------------*/
/*-----------------------------Navbar and Hamburger menu*/
nav {
    position: fixed; /* Fixed position */
    top: 55px; /* Ensure navbar starts below the top section */
    left: 0;
    right: 0;
    z-index: 999; /* Ensure it's below the top section but above other content */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
    background-color: #990100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/* Hamburger Menu Styling */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 30px;
  justify-content: space-between;
  align-items: center;
}

.hamburger-menu div {
  width: 30px;
  height: 4px;
  background-color: #000;
  border-radius: 5px;
}

/* Left-Side Logo */
.logo {
  position: absolute;
  left:10%;
  transform: translateX(-50%);
  width: 100px; 
}

.logo img {
  width: 70px;
  height: 60px;
   transition: transform 0.3s ease; /* Smooth transition for the effect */
}


.logo img:hover {
    transform: scale(1.2); /* Zoom effect on hover */
}
/* Centered Navigation Menu */
.menu-container {
  display: flex;
  justify-content: center;
  flex: 1;
}

.menu-container ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.menu-container li {
  margin: 0 20px;
  position: relative;

}

/* Menu Links */
.menu-container a {
  text-decoration: none;
  color:#FEF1BD;
  font-size: 22px;
  font-weight: bold;
  position: relative;
  font-family: "El Messiri", serif;
  
 }

.menu-container a:hover {
  color: orange;
}

/* Hover Effect */
.menu-container a:hover::after,.menu-container a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background:#FFF7D3;
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

.menu-container a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background: #FFF7D3;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

/* Dropdown Menu Styling */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #990100;
  min-width: 170px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  margin-top: 5px;
}

.dropdown-content a {
  padding:10px;
  display: block;
  text-decoration: none;
  color:#FEF1BD;
  font-size: 17px;
}



.dropdown:hover .dropdown-content {
  display: block;
}



.fa-angle-down {
  color:#FEF1BD;
  margin-left: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
      flex-wrap: wrap;
      justify-content: space-between;
      padding: 30px;
      margin-top:0;
     
  }
    body {
        padding-top:10px;
    }
  .menu-container {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      padding: 10px 0;
      position: absolute;
      top: 60px;
      left:0px;
      height:auto;
      background-color: #990100;
      width: 360px; 
      transform: translateX(-360px);
      transition: all 0.3s ease;
  }
  .menu-container a{
      margin: 10px;
  }
  .menu-container ul {
      flex-direction: column;
      align-items: flex-start;
      width: 100%;
      padding-left: 0;
  }

  .menu-container li {
      margin: 10px 0;
  }

  .hamburger-menu {
      display: flex;
      position: absolute;
      left: 20px; 
      top: 20px; 
  }

  .menu-container.active {
      transform: translateX(0); 
  }
  .logo{
      left: 60%;
  }
  .dropdown-content{
      position: relative;
  }
}



/*-----------------------------Navigation and hamburger menu End-------------------*/



/*-------------------------FOOTER START---------------------------------*/
 /* Footer Design */
 footer {
  background: #990100; /* Matches the orange section */
  color: #FEF1BD;
  text-align: center;

 font-family: "El Messiri", serif;
 padding-bottom:30px;
 padding-top:15px;
}
  footer img {
        width:100px;
       
   transition: transform 0.3s ease; /* Smooth transition for the effect */
}


  footer img:hover {
    transform: scale(1.2); /* Zoom effect on hover */
}
footer .content1 {
  max-width: 1200px;
  margin: 0 auto;
  line-height: 1.3;
  font-size: 18px;
}

footer .content1 b {
  font-weight: bold;
}

.content1 p{
  margin-bottom: 30px;
}

.bottom-bar {
  background: #693221; 
  color: #fff;
  padding: 10px 0;
  font-size: 14px;
  text-align: center;
}

.bottom-bar span {
  font-weight: bold;
  color: pink;
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: red;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.scroll-to-top:hover {
  background: pink;
}
footer h1 {
text-align: center;
}
.social-menu ul {
position: absolute;

left: 50%;
transform: translate(-50%, -50%);
padding: 0;
margin: 0;
display: flex;
}
.social-menu ul li {
list-style: none;
margin: 0 10px;
}
.social-menu ul li .fa-brands {
color: #000000;
font-size: 20px;
line-height: 36px;
transition: .5s;
}
.social-menu ul li .fa-brands:hover {
color: #ffffff;
}
.social-menu ul li a {
position: relative;
display: block;
width: 35px;
height: 35px;
border-radius: 80%;
background-color: white;
text-align: center;
transition: 0.5s;
transform: translate(0,0px);
box-shadow: 0px 7px 5px rgba(0, 0, 0, 0.5);
}
.social-menu ul li a:hover {
transform: rotate(0deg) skew(0deg) translate(0, -10px);
}
.social-menu ul li:nth-child(1) a:hover {
background-color: #3b5999;
}
.social-menu ul li:nth-child(2) a:hover {
background-color: #55acee;
}
.social-menu ul li:nth-child(3) a:hover {
background-color: #e4405f;
}
.social-menu ul li:nth-child(4) a:hover {
background-color: #cd201f;
}
/* Responsive Design */
@media (max-width:360px) {
 footer .content1 p{
line-height:normal;
      
  }
}