:root{
    --site-color-01: #2d535f;
    --site-color-02: grey;
}
html{
    font-size: 62.5%;
}
body{
    background-color: rgb(61, 61, 60);
}

h1{
    font-size: 2.6rem;
    line-height: 1.5;
    color: #fff;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: 500px;
    text-transform: uppercase;
   
}
h2{
    font-size: 2rem;
    line-height: 1.5;
    color: #fff;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: 500px;
    text-transform: uppercase;
}

h3{
    font-size: 1.8 rem;
    line-height: 1.5;
    color: #fff;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: 500px;
    text-transform: uppercase;
}

p{
    font-size: 1.6rem;
    line-height: 1.75;
    color: #fff;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}

a {
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1.75;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    text-decoration: none;
}

.wrapper-main{
    width: 1100px;
    margin: 0 auto;
     
}


.header-main{
     position: fixed;
     top:0;
     right:0;
     width: 100%;
     height: 60px;
     background-color: #e5f1f1;
     display: flex;
     justify-content: space-between;
     z-index: 1000;
     transition: all .50s ease;
     padding: 0 20px;

}

.header-main-logo{
    width: fit-content;
    height: 100%;
    display: flex;
    margin-left: 10%;
 
}
   
/*menu*/

.header-main-nav{
    width: fit-content;
    height: 100%;
    margin-right: 100px;
  }

/* NAV STYLES */
.header-main-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-main-nav ul li a {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 1.7rem;
  color: #000;
  text-decoration: none;
  padding: 0 10px;
  line-height: 60px;
  transition: color 0.2s ease;
}

.header-main-nav ul li a:hover {
  color: #005952;
}

/* HAMBURGER BUTTON */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  display: block;
    width: 25px;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* MOBILE STYLES */
@media (max-width: 768px) {
  .header-main-nav {
    position: absolute;
    top: 60px;
    right: 0;
    background: white;
    width: 160px;
    display: none; /* hidden by default */
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }

  .header-main-nav.active {
    display: flex; /* shown when active */
  }

  .header-main-nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }
}


@media (max-width: 768px) {
  .header-main-nav {
    position: absolute;
    top: 60px; /* right below the header */
    right: -250px; /* hidden off-screen */
    width: 110px;
    background: white;
    flex-direction: column;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transition: right 0.3s ease-in-out;
    z-index: 999;
    padding: 15px 0;
    height: auto; /* only as tall as needed */
  }

  .header-main-nav.active {
    right: 0; /* slide in */

  }

  .header-main-nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
  }

  .header-main-nav ul li a {
    padding: 10px 20px;
    font-size: 1.5rem;
    line-height: 1.5;
    display: block;
  }

  /* Hamburger stays */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    gap: 5px;
    z-index: 1000;
  }

  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Animate hamburger into "X" */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

section{
    background-color: #2d535f;
}



/* footer section */

.footer-main{
    width: 100%;
    padding: 20px 0 40px;
    background-color: #141414;
   
}

.footer-main-flex{
    display: flex; 
    justify-content: center;
    flex-wrap: wrap;

}
.footer-getintouch{
    padding: 10px 20px;
    margin: 20px 0 40px;
    border: 2px solid #fff ;
    font-weight: 500;
    color: #fff;
    transition: all ease-in-out 200ms;
}
.footer-getintouch:hover{
    border: 2px solid var(--site-color-01) ; 
}

.footer-sitemap{
    flex-basis: 100%;
    display: flex;
    color: #fff;
    margin-left: 10%;
    margin-right: 10%;

}
.footer-sitemap a{
    line-height: 30px;
    color:#fff;
}
.footer-sitemap a:hover{
    opacity: 0.6;
}

.footer-sitemap ul:nth-child(1){
    flex-basis: 42%;
    padding-left: 20px;
    border-left: 2px solid var(--site-color-01);
}

 .footer-sitemap ul:nth-child(2){
   flex-basis: 360px; 
}
.footer-sitemap ul:nth-child(2) li{
    font-size: 2.1rem;
}
.footer-sitemap ul:nth-child(2) li a{
    font-size: 1.7rem;
}
.footer-sitemap ul:nth-child(3){
    flex-grow: 1;
}
.footer-sitemap ul:nth-child(3) li{
    clear: both;
    float: right;
    padding-right: 10px;
}
.copywrite p{
    padding: 30px;
}

/*mobile */

@media only screen and (max-width: 600px){
  .wrapper-main{
    width: 100%;  
}
.header-main-logo{
    margin-left: 3%; 
 
}
.footer-getintouch{
    margin: 0 0 10px;
}
.footer-sitemap{
   flex-wrap: wrap;
   padding-left: 30px;
   margin-left: 0;
}
.footer-sitemap ul:nth-child(1){
    padding-left: 0;
    border-left: none;
}
.footer-sitemap ul:nth-child(1),
.footer-sitemap ul:nth-child(2),
.footer-sitemap ul:nth-child(3){
   flex-basis: 100%;
    text-align: center;
    padding-bottom: 20px;
}


.footer-sitemap ul:nth-child(3){
    flex-grow: 1;
}
.footer-sitemap ul:nth-child(3) li{
    text-align: center;
     clear: none;
    float: none;
    padding-right: 10px;
}

.copywrite p{
   text-align: center;
   font-size: 1.3rem;
}
}

@media (min-width: 601px){
  .wrapper-main{
    width: 100%;    
}
}
@media (min-width: 768px){
  .wrapper-main{
    width: 100%;    
}
}






 

  
