@font-face{
    font-family: Proxima;
    src: url(fonts/ProximaNova-Bold.otf)
}

* {
    font-family:Proxima;
    margin: 0;
    padding: 0;    
}

/*ANIMATION FOR ELEMENTS WHEN SCROLLING */
@keyframes appear{
  from{
    opacity: 0;
    scale: 0.5;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: url(Img/bg0.png);
    background-position: center;
    background-size: cover;
    position: relative;
}
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 150px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    text-shadow: .02em .1em 0 hsl(200 10% 30%);
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #00cec9;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 60%;
    left: 60%;
    transform: translate(-60%,-60%);
    text-align: center;
}
.text-box h1{
    font-size: 80px;
    font-weight:bolder;
    color: #ffffff;
    text-shadow: .02em .1em 0 hsl(200 10% 30%);
    animation: float 3s ease-in-out infinite;
}
.text-box p{
    margin: 10px 0px 40px;
    font-size: 25px;
    /* text-shadow: 2px 2px black; */
    color: #00cec9;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
   border: 1px solid #00cec9; 
   background: #00cec9;
   transition: 1s;
}

nav .fa{
    display: none;
}

@media(max-width: 700px){
    .header{
      background-image: url(Img/Mobile\ Website\ Cover.png);
      background-position: center;
      background-size: cover;
      position: relative;
    }
    .text-box h1{
        font-size: 3.5rem;
        color: #fff;
    }
    
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background: #00cec9;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -400px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor:pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
}

/*VIDEO CSS*/
.vid-container{
    background-color: #fff;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; 
    height: 0;
    animation: appear linear;
    animation-timeline: view() ;
    animation-range: entry 0% cover 40%;
  }
  .vid-container iframe{
    position: absolute;
    top: 8%;
    left: 8%;
    width: 85%;
    height: 85%;
  }


  /*testimonial section*/
  .container {
    background-color: #bdc3c7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
}

.container h1 {
    font-size: clamp(2rem, 5vw, 4em);
    text-align: center;
    color: #fff;
    text-shadow: 0.02em 0.1em 0 hsl(200 10% 30%);
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
    padding-bottom: 20px;
}

.container p {
    color: #333;
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.2rem);
    padding-bottom: 30px;
}

/* Responsive Grid */
.card__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card__article {
    position: relative;
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}

/* Image Styling */
.card__img {
    width: 100%;
    max-width: 328px;
    border-radius: 1.5rem;
    display: block;
    margin: 0 auto;
}

/* Media Queries */
@media (max-width: 768px) {
    .container {
        padding: 30px 10px;
    }
    .card__container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}




/******SERVICES***/
  .services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px;
  }
  .services h1{
    font-size: 4.5em;
    color: #333333;
    text-align: center;
    /* position: relative; */
    text-shadow: .02em .1em 0 hsl(180, 87%, 60%);
    padding-bottom: 20px;
    animation: appear linear;
    animation-timeline: view() ;
    animation-range: entry 0% cover 40%;
  }
  .row{
    display: flex;
    flex-wrap: wrap;
    padding-top: 20px;
    justify-content: center;
    gap: 20px;
  }
  .card img{
    width: 280px;
  }
  .card {
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    width: 320px;
    text-align: center;
    animation: appear linear;
    animation-timeline: view() ;
    animation-range: entry 0% cover 40%;
  }
  .card-icon {
    font-size: 50px;
    margin-bottom: 20px;
  }
  .card h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
  }
  .card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  .button:hover {
    background-color: #00cec9;
  }



/*--------FOOTER REAL------------*/
.footer {
    background-color: #333333;
    color: white;
    padding: 40px 20px;
    
  }
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    animation: appear linear;
    animation-timeline: view() ;
    animation-range: entry 0% cover 40%;
  }
  .footer-column {
    flex: 0 0 340px;
    text-align: left;
    min-width: 250px;
  }
  .footer-column img{
    width: 230px;
    padding-bottom: 30px;
  }
 
  
  .footer-column h4 {
    color: #00cec9;
    font-size: 20px;
    margin-bottom: 15px;
  }
  .footer-column p,
  .footer-column a {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
  }
  .footer-column a:hover {
    color: white;
  }
  .social-icons {
    /* display: flex; */    /*Remove if you dont want centered*/
    gap: 10px;
    cursor: pointer;
    /* margin-top: 15px; */ /*Remove if you dont want centered*/
  }



  .footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 12px;
    color: #666;
  }
  .footer-bottom a {
    color: #00cec9;
    margin: 0 5px;
  }
  .footer-bottom a:hover {
    color: white;
  }

  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      align-items: flex-start;
    }
    .footer-column {
      flex: 1 1 100%;
    }
  }








 /*card animation*/
 @keyframes show-data{
    50%{
       transform: translateY(-10rem); 
    }
    100%{
       transform: translateY(-7rem);
    }
 }

 @keyframes remove-overflow{
    to{
        overflow: initial;
    }
 }

 @keyframes remove-data{
    0%{
        transform: translateY(-7rem);
    }
    50%{
        transform: translateY(-10rem);
    }
    100%{
        transform: translateY(.5rem);
    }
 }

 @keyframes show-overflow{
    0%{
        overflow: initial;
        pointer-events: none;
    }
    50%{
        overflow: hidden;
    }
 }

 @media screen and (max-width: 340px){
    .container{
        margin-inline: 1rem;
    }
    .card__data{
        width: 250px;
        padding: 1rem;
    }
 }
 @media screen and (min-width: 768px){
    .card__container{
        grid-template-columns: repeat(2, 1fr);
        column-gap: 1.5rem;
    }
 }
 @media screen and (min-width:1120px){
    .container{
        height: 90vh;
    }
    .card__container{
        grid-template-columns: repeat(3, 1fr);
    }
 }