/*
=================================================================
    Google Font Import
=================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

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


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


/*
=================================================================
    Sections 
=================================================================
*/

.section-one 
{ 
    width: 100%;
    min-height: 65vh;
    background-image: url("../background/cool-background7.png");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Needed for pseudo-elements */
    overflow: hidden; /* Ensure fog doesn't extend outside the section */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 50); /* Adds a blur effect */
    overflow-x: hidden;
    overflow-y: hidden;    
}



/*
=================================================================
    Top Navigation
=================================================================
*/

/*=============== 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-nav1 {
  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 Image Section
=================================================================
*/



/*
=================================================================
    Article Section One
=================================================================
*/

/*
=================================================================
    Accordion Section One
=================================================================
*/




/* Animation for background movement */
@keyframes moveBackground {
    0% {
        background-position: center center;
    }
    50% {
        background-position: left top;
    }
    100% {
        background-position: center center;
    }
}

@media screen and (max-width: 900px) {
    .image-section-one img,
    .image-section-two img,
    .image-section-three img,
    .image-section-four img {
        width: 100%; /* Ensure full-width images on smaller screens */
    }

    .container-one, .container-two, .container-three, .container-four {
        grid-template-columns: 1fr; /* Single-column layout on small screens */
    }
}


/*
=================================================================
    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 a { 
  line-height: 18px;
}

.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 Footer
=================================================================
*/

@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: 90px;
  }
  .footer3 { 
    padding-top: 20px;
  }
}

/*
=================================================================
    @media Queries Footer
=================================================================
*/
@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;
  }
}
  
/*
=================================================================
    @media Queries Accordion
=================================================================
*/
  
  @media screen and (max-width: 768px) { 
    .content-section-one 
    { 
    height: auto;
    padding-left: 5px;
    min-width: auto;
    border-radius: 10px;
    }
  }
  
  .content-section-one .title-one { 
    text-align: center; 
    font-size: 20px;
  }

  .content-section-one .content-one h3 { 
    text-align: center;
    font-size: 22px;
  }

  @media screen and (max-width: 768px) { 
  .content-section-one .content-one p { 
    padding-right: auto;
    margin-right: 10px;
    line-height: 1.5;
    hyphens: auto;
    font-size: 20px;
  }

  .content-section-two 
    { 
    height: auto;
    padding-left: 5px;
    min-width: auto;
    border-radius: 10px;
    }
    .content-section-three 
    { 
    height: auto;
    padding-left: 5px;
    min-width: auto;
    border-radius: 10px;
    }
    .content-section-four 
    { 
    height: auto;
    padding-left: 5px;
    min-width: auto;
    border-radius: 10px;
    }

  .content-section-two .title-two { 
    text-align: center; 
    font-size: 20px;
  }
  .content-section-two .content-two h3 { 
    text-align: center;
    font-size: 22px;
  }
  .content-section-two .content-two p { 
    padding-right: auto;
    margin-right: 10px;
    line-height: 1.5;
    hyphens: auto;
    font-size: 20px;
  }

  .content-section-three .title-three { 
    text-align: center;
    font-size:  20px;
  }
  .content-section-three .content-three h3 { 
    text-align: center;
    font-size: 20px;
  }

  .content-section-three .content-three p { 
    padding-right: auto;
    margin-right: 10px;
    line-height: 1.5;
    hyphens: auto;
    font-size: 20px;
    
  }

  .content-section-four .title-four { 
    text-align: center;
    font-size: 20px;
  }

  .content-section-four .content-four h3 { 
    text-align: center;
    font-size: 22px;
  }
  .content-section-four .content-four p { 
    padding-right: auto;
    margin-right: 10px;
    line-height: 1.5;
    hyphens: auto;
    font-size: 20px;
  }
}


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

/*
=================================================================
    @media 1440 x 900 !Small laptop Screen
=================================================================
*/

@media screen and (max-height: 900px) {

  .content-section-one  p { 
    padding-right: 7%;
  }

  .content-section-two p { 
    padding-right: 7%;
  }

  .content-section-three p { 
    padding-right: 7%;
  }

  .content-section-four p { 
    padding-right: 7%;
  }
}


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


/*
=================================================================
    @Article Section
=================================================================
*/


body {
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}


.container-article {
  max-width: 1000px;
  margin: 100px auto;
  background: white;
  padding: 1%;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-family: sans-serif;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px);
}

.article-header {
  text-align: center;
  margin-bottom: 20px;
}

.article-header .date {
  font-size: 0.8em;
  color: #000000;
  margin-bottom: 10px;
  font-family: sans-serif;
}

.article-header h1 {
  font-size: 1.3em;
  font-family: "Montserrat", serif;
  color:#000000;
  margin: 0;
  word-break: break-all;
}

.article-header .subtitle {
  font-size: 0.9em;
  color: #130101;
  margin-top: 10px;
}

.master-image {
  width: 100%;
  height: auto;
  margin: 20px auto;
  display: block;
  border-radius: 8px;
  max-width: 90%;
}

.back-arrow {
  font-size: 1.3em;
  color: #0044cc;
  text-decoration: none;
  margin-bottom: 10px;
  display: inline-block;
  font-family: sans-serif;
}

article {
  margin-bottom: 20px;
  padding: 50px 30px;
  text-align: justify;
  word-wrap: break-word;
  word-spacing: -0.07rem;
  background-color: #f4f4f4;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px); 
  line-height: 1.875rem; 
}

article h2 {
  margin-top: 0;
  color:#000000;
  padding-bottom: 20px;
  padding-left: 4%;
  font-family: "Montserrat", serif;
  font-size: 1.4rem;
  text-align: center;
}

ul {
  padding-left: 20px;
}

p { 
  margin-bottom: 10px;
  padding-bottom: 5px;
  color:#506063;
}


@media screen and (max-width: 768px) and (max-height: 1024px) {  
  
  article h2 {
    font-size: 1.10rem;
    text-align: center;
  }

  article p { 
    font-size: 1rem;
    white-space: normal; 
  }
}

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

/* @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;
  }
  
  .container-one {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  
  .container-two {
    grid-template-columns: 1fr;
  }
}
