
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #0a1e27;
  --secondary-color: #e9c675;
  --text-light: #cbd5e1;
  --white: #ffffff;
  --max-width: 1200px;
  --header-font: "Playfair Display", serif;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__subheader {
  position: relative;
  isolation: isolate;
  margin-bottom: 1rem;
  padding-left: 5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--secondary-color);
}

.section__subheader::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 2px;
  width: 4rem;
  background-color: var(--secondary-color);
}

.section__subheader::after {
  position: absolute;
  top: 20%;
  left: 0;
  transform: translate(-60%, -50%);
  font-size: 8rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0.1;
  z-index: -1;
}

.section__header {
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 400;
  font-family: var(--header-font);
  color: var(--white);
}

.btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--white);
  background-color: transparent;
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: rgba(10, 30, 39, 0.5);
}

.logo a {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--header-font);
  color: var(--white);
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

main {
  position: relative;
  height: 100vh;
  margin-top: 6rem;
}

.comain::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 15rem);
  background-image: radial-gradient(
      rgba(255, 255, 255, 0),
      var(--primary-color)
    ),
    url("hr (3).jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -1;
}



.nav__logo h6 {
  display: inline;
  color: white;
  margin-left: 10px;
  font-size: medium;
  font-family: "Poppins", sans-serif;
   text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);  /* Light shadow for contrast */
}
.nav__logo img {
  width: 3rem;
  height: 3rem;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  
}
a {
  /* background-color: #000; */
  text-decoration: none;
}
li {
  list-style: none;
} 

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0a0d14;
  z-index: 999; 
}

nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;  
  height: 6rem;
  padding: 0 1rem;
  margin: 0 auto;
  z-index: 999;
}

.toggle__menu,
.close__menu {
  display: none;
}

.scroll__btn{
  background-color: #000;
  /* padding-right: -100px; */
  display: inline-flex;
    align-items: center;
    padding: 8px 16px; /* Adjust the padding to make it shorter */
    /* background-color: black; */
    color: white;
    text-decoration: none;
    font-size: 16px;
    border-radius: 4px; /* Optional: for rounded corners */
    background-color: rgba(0, 0, 0, 0.6);
    transition: background-color 0.3s ease;
}

.nav__list {
  display: flex;
}

.nav__item {
  margin: 0 1.5rem;
  padding: 2.2rem 0;
}



.nav__link {
  font-weight: 700;
  color: white;
   text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);  /* Light shadow for contrast */
}

.nav__link:hover {
  color: #2696E9;
}

.dropdown__link {
  display: flex;
  align-items: center;

}

.dropdown__icon {
  font-size: 1rem;
}

.megamenu {
  position: absolute;
  width: 100%;
   top: 6rem;
  left: 0;
  background-color: #0a0d14;
  display: flex;
  justify-content: space-around;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 23px 23px -21px rgba(0,0,0,0.25);
  z-index: -99;
  visibility: hidden;
  opacity: 0;
} 

.content {
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem;
}

.megamenu__item {
  display: flex;
  align-items: center;
  margin-bottom: 0.4rem;
  padding: 10px;
} 

.header__megamenu a{
  font-weight: 600;
  color: white;
  margin-bottom: 0.4rem;
  
}


.header__megamenu a:hover {
font-weight: 600;
color: #2696E9;
margin-bottom: 0.4rem;

}

.menu__icon {
  width:32px;
  height: 32px;
 
  text-align: center;
 
  margin-bottom: 0.5rem;
  margin-right: 0.2rem; 
}
.menu__icon i {
  line-height: 32px;
  font-size: 22px;
  color:  white;
  
  
}

.menu__icon i:hover {

color:  #2696E9;


}


.megamenu__link a {
  font-weight: 500;
  color: white;
}

.megamenu__link a:hover {
  font-weight: 500;
  color: #2696E9;
}



.megamenu__link p {
  font-size: 0.6875rem;
  font-weight: 400;
  color: #a8a1b5;
}

.dropdown:hover .megamenu {
  color: #a92ec8;
  visibility: visible;
  transition: all 0.3s ease;
  opacity: 1;
}

.nav__item:hover  .dropdown__icon {
  transform: rotate(180deg);
  transition: all 0.3s ease;
}


.header__container {
  position: relative;
  isolation: isolate;
  height: calc(100% - 75px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__content {
  max-width: 700px;
}

.header__content .section__header {
  font-size: 3rem;
  font-weight: 600;
  line-height: 5rem;
}

.header__content a {
  color: var(--white);
}

.header__content a:hover {
  color: var(--secondary-color);
}

.header__socials {
  position: absolute;
  left: 0;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  transform: translateX(calc(-50% + 1rem)) rotate(90deg);
  display: none;
}

.header__socials a {
  font-size: 1.2rem;
  color: var(--white);
  transform: rotate(-90deg);
}

.header__socials a:hover {
  color: var(--secondary-color);
}

.about {
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    var(--primary-color) 8rem
  );
  overflow: hidden;
}

.about__container {
  padding-top: 5rem;
  display: grid;
  gap: 5rem 2rem;
  overflow: hidden;
}

.about__image img {
  max-width: 400px;
  margin-inline: auto;
  border-radius: 5px;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.4);
}

.about__content-1 .section__subheader::after {
  content: "01";
}

.about__content-2 .section__subheader::after {
  content: "02";
}

.about__content-3 .section__subheader::after {
  content: "03";
}

.about__content-4 .section__subheader::after {
  content: "04";
}

.about__content p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.about__content a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary-color);
}

.about__content a span {
  transition: 0.3s;
}

.about__content a:hover span {
  transform: translateX(10px);
}

footer{
  display: flex;
  flex-wrap: wrap;
  margin-top: auto;
  background-color: #0d0d0d;
 

  
}

ul{
  list-style: none;
}

.footer-col{
  width: 25%;
  padding: 50px 2.5%;
}


.icon i {
  margin-right: 10px; /* Adjust spacing as needed */
  vertical-align: middle; /* Align icon with text */
  color: white;
  

}



.footer-col h4{
  position: relative;
  margin-bottom: 30px;
  font-weight: 400;
  font-size: 22px;
   color: #f49e09;
  text-transform: capitalize;
}

.footer-col h4::before{
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  background-color: white;
  height: 2px;
  width: 60px;
}

/* ul li:not(:last-child){
  margin-bottom: 8px;
} */

.footer-col ul li a{
  display: block;
  font-size: 15px;
  text-transform: capitalize;
  color: white;
  text-decoration: none;
  transition: 0.4s;
  padding-top: 10px;
}


 /* ul li a:hover{
  color: white;
  padding-left: 2px;
}  */

.links a{
  display: inline-block;
  height: 44px;
  width: 44px;
  color: white;
  background-color: rgba(40, 130, 214, 0.8);
  margin: 0 8px 8px 0;
  text-align: center;
  line-height: 44px;
  border-radius: 50%;
  transition: 0.4s;
}

.links a:hover{
  color: #4d4f55;
  background-color: white;
}
.footer-copyright {
  text-align: center;
  font-size: 14px;
  margin-bottom: 20px;
  color: #aaa; /* Adjust color as needed */
  width: 100%; /* Ensure full width */
  border-top: 1px solid white;
}
.footer-copyright p {
  margin-top: 20px;
}



@media (width > 768px) {
 

  .header__container {
    height: calc(100% - 10rem);
  }

  .header__socials {
    display: flex;
  }

  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 10rem 2rem;
  }

  .about__image-1 {
    grid-area: 1/2/2/3;
  }

  .about__image-3 {
    grid-area: 3/2/4/3;
  }

  .about__content {
    margin-left: 6rem;
  }

 
}

@media screen and (max-width : 1316px) {
  .footer-col{
    
    padding: 25px 1%;
}
}


@media screen and (max-width : 1144px) {
  
  .nav__item {
  
  padding: 1.4rem 0;
}

  
  .megamenu {
    flex-direction: column;
    box-shadow: none;
    position: static;
    height: 0;
    max-width: 450px;
    overflow: hidden;
}

.dropdown:hover .megamenu{
    height: 100%;
}
.nav__list {
    position : absolute;
    height: 100vh;
    width: 100%;
    left: -100%;
    max-width: 450px;
    top: 0;
    background-color: #0a0d14;
    overflow-x: hidden;
    display: block;
    transition: 0.3s;
}
.toggle__menu,
.close__menu {
display: block;
}
.toggle__menu i
{
color: white;
}

.close__menu {
margin: 1rem 1rem 1rem auto;
background-color: #2696E9;
border-radius: 50%;
width: 32px;
height: 32px;
text-align: center;
}



.close__menu i {
line-height: 32px;
color: #fff;
font-size: 22px; 
}
.show__menu {
left: 0;
}
nav {
    justify-content: space-between;
  }
.footer-col{
      width: 50%;
      margin-bottom: 30px;
      text-align: center;
      padding: 25px 2.5%;
  }

.footer-col h4::before{
      left: auto;
  }

}


@media screen and (max-width : 768px) {

  .megamenu {
      flex-direction: column;
      box-shadow: none;
      position: static;
      height: 0;
      max-width: 450px;
      overflow: hidden;
  }

  .dropdown:hover .megamenu{
      height: 100%;
  }
  .nav__list {
      position : absolute;
      height: 100vh;
      width: 100%;
      left: -100%;
      max-width: 450px;
      top: 0;
     
      overflow-x: hidden;
      display: block;
      transition: 0.3s;
  }
  .toggle__menu,
.close__menu {
  display: block;
}


.close__menu i {
 line-height: 32px;
 color: #fff;
 font-size: 22px; 
}
.show__menu {
  left: 0;
}
.footer-col{
  width: 100%;
}
.section__subheader::after {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translate(-60%, -50%);
  font-size: 4rem;
  font-weight: 600;
 
}
}
