/* google font */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;400;600;700;700&display=swap");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
  @import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,200;1,300;1,400;1,500;1,700;1,800;1,900;1,1000&display=swap');


@font-face {
  font-family: 'naratifcondensed-bolditalic';
  src: url('"test.oceanhydro.org.my\fontspring\Web Fonts\naratifcondensed_bolditalic_macroman"') format('woff2'),
    url('"C:\wamp64\www\hydrowebsite\fontspring\Web Fonts\naratifcondensed_bolditalic_macroman\naratifcondensed-bolditalic-webfont.woff"') format('woff');
  font-weight: normal;
  font-style: normal;

}



*{
  font-family: 'Mulish', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  transition: 0.2s linear;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
}


/* VIDEO */


  
.video-header video{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}

.video-header .content {
    margin: 10em 0;
    width: 100%;
    position: relative;
    text-align: left;
    padding: 2em 6%;
    color: white;
    display: flex;
    justify-content: space-between;
}

.video-header .content .left{
    width: 50%;
    height: auto;
}

.video-header .content h2{
    font-size: 4em;
    font-weight: 900;
    margin-bottom: 0.2em;
}

.video-header .content h1{
    font-size: 3em;
    font-weight: 600;
    padding: 3rem 0;
    text-transform: none;
}
.video-header .content p{
    font-size: 2em;
    font-weight: 300;
    text-transform: none;
}

.content .button{
    display: inline-block;
    position: absolute;
    margin-left: 30%;
    cursor: pointer;
    margin-top: 3%;
    border: none;
    padding: 0 56px;
    height: 45px;
    line-height: 45px;
    border-radius: 24px;
    background-color: rgb(39 46 128);
    color: white;
    font-weight: 700;
    font-size: 16px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.content .button:hover{
                    background: rgba(0,118,255,0.9);
                    box-shadow: 0 6px 20px rgb(0 118 255 / 23%);
                }

.video-header .content .right{
    width: 50%;
}

.video-header .content .right img{
    border-radius: 13%;
    margin-left: 20%;
    margin-top: 2%;
    width: 70%;
    height: auto;
    align-items: center;
    text-align: center;
}


/* VIDEO ENDS */

/* SLIDER LOGO */



.wrapperA {
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1);
}

.sliderA {
  width: 100vw;
  position: relative;
  background: rgb(231, 236, 243);
  box-shadow: rgb(231, 236, 243);
  display: flex;
  overflow: hidden;
}
.slideA {
  height: 9vh;
  display: flex;
  align-items: center;
  animation: slideshow 90s linear infinite;
}
.slideA img {
  height: 5vh;
  padding: 0 30px 0 30px;
}

@keyframes slideshow {
  0% {transform: translateX(0);}
  100% {transform: translateX(-100%);}
}


.sliderA::before, .sliderA::after {
  height: 100px;
  width: 200px;
  position: absolute;
  content: "";
  background: linear-gradient(to right, white 0%, rgba(255,255,255,0) 100%);
  z-index: 2;
}
.sliderA::before {
  left: 0;
  top: 0;
}
.sliderA::after {
  right:0;
  top:0;
  transform: rotateZ(180deg);
}

/* SLIDER LOGO ENDS */

/* FIRST AND SECOND SERVICES*/

.container-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    height: 100vh;
        margin-left: 5.5%;

}

.container-services .box {
    display: flex;
    flex-direction: column;
}


.container-services .box:nth-child(1) {
    margin-bottom: 10%; 
    margin-left: 5.5%;
    margin-top: 13%; 
}

.container-services .box:nth-child(2) {
    margin-top: 13%; 
    margin-left: -11em;
    
    margin-bottom: 10%; 
}

.container-services .box:nth-child(3) {
    margin-right: -3em;
    margin-left: 5%;
    margin-bottom: 5%; 
}

.container-services .box:nth-child(4) {
    margin-bottom: 5%; 
}

.container-services .box h2 {
    font-size: 32px;
    font-weight: 900;
    line-height: 44px;
    margin-bottom: 0.8em;
    text-transform: none;
}

.container-services .box p {
    font-size: 16px;
    text-transform: none;
    font-weight: 400;
    color: #585960;
    line-height: 24px;
    margin: 8px 28px 18px 0px;
}

.container-services .box img {
    width: 30vw;
    height: auto;
    border-radius: 5em;
    margin: 2px 106px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.container-services .button {
    outline: 0;
    cursor: pointer;
    margin-top: 3%;
    border: none;
    padding: 0 56px;
    height: 45px;
    line-height: 45px;
    border-radius: 24px;
    background-color: rgb(39 46 128);
    color: white;
    font-weight: 700;
    font-size: 16px;
    /* box-shadow: 0 4px 14px 0 rgb(0 118 255 / 39%); */
    transition: background 0.2s ease, color 0.2s ease;
}

.container-services .button:hover {
    background: rgba(0, 118, 255, 0.9);
}


/*TETTTTTTTTTT */

.container-services-2 {
    background: #0c2247;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    height: 100vh;
    margin: 2.5% 9% 0 9%;
}

.container-services-2 .box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}


.container-services-2 .box h2 {
    font-size: 32px;
    font-weight: 900;
    line-height: 44px;
    margin-bottom: 0.8em;
    text-transform: none;
    color: white;
}

.container-services-2 .box p {
    font-size: 16px;
    text-transform: none;
    font-weight: 400;
    line-height: 24px;
    margin: 8px 28px 18px 0px;
    color: white;
}

.container-services-2 .box img {
    width: 30vw;
    height: auto;
    border-radius: 5em;
    margin: 2px 106px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.container-services-2 .button {
    outline: 0;
    cursor: pointer;
    border: none;
    padding: 0 56px;
    height: 45px;
    line-height: 45px;
    border-radius: 3em;
    background-color: rgb(39 46 128);
    color: white;
    font-weight: 700;
    font-size: 16px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    justify-self: end; /* Align the button to the end (right) of its grid cell */
}

.container-services-2 .button:hover {
    background: rgba(0, 118, 255, 0.9);
    box-shadow: 0 6px 20px rgb(0 118 255 / 23%);
}

.container-services-2 .button-3{
        outline: 0;
    cursor: pointer;
    border: #061930;
    padding: 0 56px;
    height: 45px;
    line-height: 45px;
    border-radius: 3em;
    background-color: rgb(255, 255, 255);
    color: rgb(6 23 43 / 90%);
    font-weight: 700;
    font-size: 16px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    margin-right: 2em;
}

/* Media queries for responsiveness */

/* Small screens */
@media only screen and (max-width: 600px) {
  html {
    font-size: 50%;
  }

  .video-header .content {
    margin: 5em 0;
    padding: 2em 4%;
  }

  .video-header .content .left,
  .video-header .content .right {
    width: 100%;
  }

  .video-header .content h2 {
    font-size: 4em;
  }

  .video-header .content h1 {
    font-size: 2.5em;
    padding: 2rem 0;
  }

  .video-header .content p {
    font-size: 1.8em;
  }

  .content .button {
    margin-left: 0;
    margin-top: 1em;
  }

  .video-header .content .right img {
    margin-left: 0;
    margin-top: 5em;
    width: 100%;
  }

  .container-services,
  .container-services-2 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    margin: 5% 2% 0 2%;
  }

  .container-services .box,
  .container-services-2 .box {
    text-align: center;
    margin-top: 2em;
  }

  .container-services .box img,
  .container-services-2 .box img {
    width: 70%;
    margin: 2em auto;
  }
}

/* Medium screens */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
}

/* Large screens */
@media only screen and (min-width: 1025px) {
}