

/*
=================================================================
    Universal
=================================================================
*/

* { 
    margin: 0;
    padding: 0; 
    box-sizing: border-box;
    animation: moveBackground 50s infinite, shakeBackground 0.1s infinite; /* Apply both effects */
}

/*
=================================================================
    Section Area
=================================================================
*/


.section-one 

{ 
    width: 100%;
    min-height: 60vh; 
    background-image: url("../background/cool-background7.png");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;    overflow-y: hidden;
    overflow-x: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 50); /* Adds a blur effect */
    font-family: "Montserrat", serif;
}

.footer-section 

  { 
  font-family: "Montserrat", serif;
  align-items: center;
  }


/*
=================================================================
    Top Navigation
=================================================================
*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --black-color: hsl(220, 24%, 12%);
  --black-color-light: hsl(220, 24%, 15%);
  --black-color-lighten: hsl(220, 20%, 18%);
  --white-color: #fff;
  --body-color: hsl(220, 100%, 97%);
  --custom-color: #4F6367;
  --custom-color2: #red;

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1.2rem;
  }
}

/*=============== BASE ===============*/

body {
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
}

ul {
  list-style: none;
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container-three {
  max-width: 3000;
  margin-inline: 2rem;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--custom-color);
  box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
  z-index: var(--z-fixed);
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}

.nav__logo, 
.nav__burger, 
.nav__close {
  color: var(--white-color);
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: 1rem;
  font-weight: var(--font-semi-bold);
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

.nav__logo i {
  font-weight: initial;
  font-size: 1.25rem;
}


.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}

.nav__burger, 
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity .1s, transform .4s;
}

.nav__close {
  opacity: 0;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
  .nav__menu {
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top .4s, opacity .3s;
  }
  .nav__menu::-webkit-scrollbar {
    width: 0;
  }
  .nav__list {
    background-color: var(--custom-color);
    padding-top: 1rem;
  }
}

.nav__link {
  color: var(--white-color);
  background-color: var(--custom-color);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color .3s;
}

.nav__link:hover {
  background-color: var(--black-color-light);
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}
.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform .4s;
}

.dropdown__link, 
.dropdown__sublink {
  padding: 1.25rem 1.25rem 1.25rem 2.5rem;
  color: var(--white-color);
  background-color: var(--black-color-light);
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-semi-bold);
  transition: background-color .3s;
}

.dropdown__link i, 
.dropdown__sublink i {
  font-size: 1.25rem;
  font-weight: initial;
}

.dropdown__link:hover, 
.dropdown__sublink:hover {
  background-color: var(--black-color);
}

.dropdown__menu, 
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease-out;
}

/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu, 
.dropdown__subitem:hover > .dropdown__submenu {
  max-height: 1000px;
  transition: max-height .4s ease-in;
}

/* Rotate dropdown icon */
.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
  margin-left: auto;
}

.dropdown__sublink {
  background-color: var(--black-color-lighten);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .nav__link {
    padding-inline: 1rem;
  }
}

/* For large devices */
@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }
  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 3rem;
  }
  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: .25rem;
  }
  .nav__link:hover {
    background-color: transparent;
  }

  .dropdown__item, 
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu, 
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, top .3s;
  }

  .dropdown__link, 
  .dropdown__sublink {
    padding-inline: 1rem 3.5rem;
  }

  .dropdown__subitem .dropdown__link {
    padding-inline: 1rem;
  }

  .dropdown__submenu {
    position: absolute;
    left: 100%;
    top: .5rem;
  }

  /* Show dropdown menu */
  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 5.5rem;
    pointer-events: initial;
    transition: top .3s;
  }

  /* Show dropdown submenu */
  .dropdown__subitem:hover > .dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top .3s;
  }
}
  

/*
=================================================================
    Banner Section
=================================================================
*/

.banner-section { 
    height: 100%; 
}

.banner-section {
    margin-top: 0px; /* Account for the top fixed navigation */
    height: 900px;
    color: white;
    text-align: center;
    padding: 40px 0;
    position: relative;
    background-image: url(../background/bannerimage.png);
    background-size: cover;
    background-position: center center;
}

.banner-area:after { 

    content: ''; 
    position: absolute; 
    top: 0;
    left: 0; 
    display: block; 
    width: 100%;
    height: 100%;
    background: #020f14; 
    opacity: .15; 
}

.banner-area h2 { 
    padding-top: 20%; /* positioning of the Cloud Infastructure Services */
    font-size: 80px;
    color: #fff;
    font-family: "Montserrat", serif; 
    
  }

/*
=================================================================
    Banner Animation
=================================================================
*/

  @keyframes moveBackground {
    0% {
        background-position: center center;
    }
    50% {
        background-position: left top;
    }
    100% {
        background-position: center center;
    }
}

/*
=================================================================
    Contact Us 
=================================================================
*/

.contact-us { 
  position: relative;
  width: 100%;
  padding: 40px 100px;
}

.contact-us .title { 
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  margin-top: 20px;
  margin-bottom: 50px;
  font-family: "Montserrat", serif;
}



.contact-us .title h2 { 
  color: #353333; 
  font-weight: 500;
  font-family: "Montserrat", serif;
  font-size: 30px;
  font-style: italic;
  text-align: center;
}

.form { 
  grid-area: form;
  Border-radius: 30px;
}

.info { 
  grid-area: info;
  Border-radius: 30px;
}

.map { 
  grid-area: map;
}

.contact { 
  padding: 40px;
  background-color: #ffffff;
  box-shadow: 0 10px 50px rgba(0,0,0,0.15);
}


.box { 
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 5fr 4fr;
  grid-template-areas:
  "form info"
  "form map";
  grid-gap: 20px;
}

.contact h3 {
  color: #0e3959;
  font-weight: 500;
  font-size: 1.4e,;
  margin-bottom: 10px; 
}

.formBox {
  position: relative;
  width: 90%;
}

.formBox .row50 { 
  display: flex;
  gap: 20px;
}

.inputBox { 
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  width: 50%;
}

.formBox .row50 .inputBox {
  width: 100%;
}

.inputBox span{  /* color and font change for input box here */ 
  color: #ffffff;
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: 600; 
  font-family: "Montserrat", serif;
  font-size: 18px;
}

.inputBox input{ 
  padding: 10px;
  font-size: 1.1em;
  outline: none;
  border: 1px solid #333;
  border-radius: 10px;
}

.inputBox textarea { /* Message Box area */
  padding: 10px;
  font-size: 1.1rem;
  outline: none;
  border: 1px solid #333;
  resize: none;
  min-height: 220px;
  margin-bottom: 10px;
  border-radius: 10px;
  font-family: "Montserrat", serif;
}

.inputBox[type="submit"]{ 
  background: #ff578b;
  color: none; 
  font-size: 1.1em;
  max-width: 120px;
  font-weight: 500;
  cursor: pointer;
  padding: 14px 15px;
}

.inputBox ::placeholder {
  color: rgb(0, 0, 0);
}


/*
=================================================================
    Informtaion Section
=================================================================
*/

.info{ 
  background: #84a2b8;
}

.info h3{
  color: #fff;
}

.info .infoBox div{ 
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  
}

.info .infoBox div span{ 
  min-width: 40px;
  height: 40px;
  color: #6e6c6c;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  Border-radius: 50%;
  margin-right: 15px;
}

.info .infoBox div p{ 
  color: #fff;
  text-decoration: none;
}

.sci { 
  margin-top: 40px;
  display: flex;
  font-size: 14px;
}

.sci li { 

  list-style: none;
  margin-right: 15px;
}

.sci li a{ 
  color: #ffffff;
  font-size: 2em; 
}

.sci li a:hover{ 
  color: #FF4742;
}


.infoBox a {
  color: #fff;             
  text-decoration: none;  
  font-size: 19px;        
}

.infoBox a:hover {
  color: #0056b3;         
  text-decoration: underline;
}

.infoBox span {
  font-size: 20px;
  margin-right: 10px;
} 

.map {
  grid-area: map;
  padding: 0;
  border-radius: 30px;  /* Add this */
  overflow: hidden;     /* Ensure content inside respects the rounded corners */
}

.map iframe{ 
  width: 100%; 
  height: 100%;
}

/*
=================================================================
    @Media Queries
=================================================================
*/

@media (max-width: 991px){ 
  .contact-us { 
    padding: 20px;
  }
  .box { 
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto; 
    grid-template-areas: 
    "form"
    "info"
    "map"
  }

  .map { 
    min-height: 300px;
  }

  .formBox .row50 { 
    display: flex;
    gap: 0; 
    flex-direction: column;
  }
  .inputBox{ 
    width: 100%
  }
  .contact { 
    padding: 30px;
  }
  }

  /*
=================================================================
    Footer Section
=================================================================
*/

.footer-container { 
  font-family: sans-serif;
  background-color: #212329;
  padding: 4rem 0 2rem 0;
}

.footer { 
  width: 80%;
  height: auto;
  background-color: #212329;
  color: #fff;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
  font-family: sans-serif;
  font-size: 17px;
}

.footer-heading { 
  display: flex;
  flex-direction: column;
  margin-right: 4rem;
}

.footer-heading h2 { 
  margin-bottom: 2rem;
  font-family: serif;
}

.footer-heading a { 
  color: #fff;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.footer-heading a:hover { 
  color: red;
  transition: 0.3s ease-out;
}

.footer-email-form h2 { 
  margin-bottom: 2rem;
  font-family: sans-serif;
}

#footer-email {
  width: 250px;
  height: 40px;
  border-radius: 4px;
  outline: none;
  padding-left: 0.5 rem;
  font-size: 1rem;
  margin-bottom: 1rem;
}

#footer-email::placeholder { 
  color: #b1b1b1;
}

#footer-email-btn { 
  width: 100px;
  height: 40px;
  border-radius: 4px;
  outline: none; 
  border: none;
  color: #000000;
  font-size: 17px;
  font-family: sans-serif;
}

#footer-email-btn:hover { 
  cursor: pointer;
  background-color: red;
  transition: all 0.4 ease-out;
}


/*
=================================================================
    @media Queries
=================================================================
*/
@media screen and (max-width: 1150px) { 
  .footer { 
    height: auto;
    align-items: center;
  }
  .footer-email-form{ 
    margin-top: 4rem;
  }
}

@media screen and (max-width: 1150px) { 
  .footer { 
    height: auto;
    
  }   
}

@media screen and (max-width: 820px) { 
  .footer { 
    padding-top: 2rem; 
  }
}

@media screen and (max-width: 720px) { 
  .footer2 { 
    display: none;
  }
  .footer-email-form { 
    margin-top: 4rem;
  }

  .footer1 { 
    padding-left: 76px;
  }
  .footer3 { 
    padding-top: 20px;
  }

  .banner-area h2 {
    padding-top: 70%;
    text-align: center;
    font-size: 50px;
  }

}

@media screen and (max-width: 2560px) { 
  .banner-section { 
    min-height: 80vh;
  }
}

/*
=================================================================
    @media 1024 x 768 ipad
=================================================================
*/

@media screen and (max-width: 64rem) and (max-height: 48rem) {
  /* Adjust header and navigation */
  .header {
    padding: 0.5rem;
  }
  .nav__logo {
    font-size: 1rem;
  }
  
  .content {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .content-section-two { 
    flex-direction: column;
 }
  
  .container-two {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  /* Banner Section */
  
  .banner-section .banner-area h2 { 
    padding-top: 32%;
  }

  .contact-us {
    padding: 20px;   /* Reduce padding for a more compact layout */
  }
  .box {
    grid-template-columns: 1fr; /* Stack the form, info, and map vertically */
    grid-template-areas:
      "form"
      "info"
      "map";
  }
  .map {
    min-height: 300px; /* Ensure the map remains visible */
  }
}

@media screen and (max-width: 768px) { 
 
  .banner-section .banner-area h2 {
    margin-top: 30%;
    text-align: center;
    font-size: 50px;
  }
}

