/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /** 
   * colors
   */

  --medium-turquoise: hsl(179, 41%, 63%);
  --viridian-green: hsl(179, 41%, 43%);
  --smoky-black: hsl(0, 0%, 8%);
  --light-gray: hsl(0, 0%, 80%);
  --heat-wave: hsl(26, 99%, 54%);
  --gunmetal: hsl(212, 16%, 16%);
  --white: hsl(0, 0%, 100%);

  /**
   * typography
   */

  --ff-shadows_into_light: 'Shadows Into Light', cursive;
  --ff-montserrat: 'Montserrat', sans-serif;
  
  --fs-1: calc(5rem + 9vw);
  --fs-2: 2.4rem;
  --fs-3: 1.8rem;
  --fs-4: 1.4rem;
  
  --fw-400: 400;
  --fw-500: 500;
  --fw-700: 700;

  /**
   * box shadow
   */

  --shadow: 0px 0px 10px -2px hsla(179, 41%, 63%, 0.5);

  /**
   * border radius
   */

  --radius-circle: 50%;
  --radius-pill: 100px;

  /**
   * transition
   */

  --transition: 0.25s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a,
img,
span,
button,
ion-icon { display: block; }

a {
  color: inherit;
  text-decoration: none;
}

img { height: auto; }

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

ion-icon { pointer-events: none; }

html {
  font-family: var(--ff-montserrat);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--gunmetal);
  font-size: 1.6rem;
}

:focus-visible { outline-offset: 4px; }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 15px; }





/*-----------------------------------*\
  #PRELOADER
\*-----------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--white);
  z-index: 4;
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader .circle {
  width: 35px;
  height: 35px;
  border: 3px solid var(--light-gray);
  border-top-color: var(--heat-wave);
  border-radius: var(--radius-circle);
  animation: rotate360 0.5s linear infinite;
}

@keyframes rotate360 {
  0% { transform: rotate(0); }
  100% { transform: rotate(1turn); }
}





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding-block: 12px;
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-toggle-btn { font-size: 3.2rem; }

.nav-toggle-btn.active .open,
.nav-toggle-btn .close { display: none; }

.nav-toggle-btn .open,
.nav-toggle-btn.active .close { display: block; }

.navbar {
  position: fixed;
  top: 56px;
  left: -270px;
  width: 100%;
  max-width: 270px;
  height: 100%;
  background-color: var(--BLACK);
  padding-block: 15px;
  box-shadow: var(--shadow);
  visibility: hidden;
  transition: 0.25s var(--cubic-out);
}

.navbar.active {
  transform: translateX(270px);
  visibility: visible;
  transition-duration: 0.5s;
}

.navbar-link {
  padding: 20px 15px;
  font-size: var(--fs-4);
  transition: var(--transition);
}

.navbar-link:is(:hover, :focus-visible) {
  color: var(--white);
  background-color: var(--heat-wave);
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  min-height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: grid;
  align-items: center;
  padding-block-start: 60px;
}

.hero-subtitle {
  color: var(--smoky-black);
  font-size: var(--fs-2);
  font-weight: var(--fw-700);
  text-transform: uppercase;
}

.hero-title {
  color: var(--heat-wave);
  font-family: var(--ff-shadows_into_light);
  font-size: var(--fs-1);
  font-weight: var(--fw-400);
  line-height: 1;
  margin-block: 5px 20px;
}

.hero-text {
  font-size: var(--fs-2);
  font-weight: var(--fw-500);
  margin-block-end: 30px;
  line-height: 1.4;
}

.btn {
  background-color: transparent; /* Transparent background */
  color: #DE790E; /* Text color */
  border: 2px solid #DE790E; /* Solid border */
  max-width: max-content;
  font-size: var(--fs-3);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  padding: 18px 50px; /* Adjust padding as needed */
  border-radius: var(--radius-pill);
  transition: var(--transition);
  display: inline-block; /* Ensure it takes up only necessary space */
  text-decoration: none; /* Remove underline if used in an <a> tag */
  text-align: center; /* Center align text */
}


.btn:is(:hover, :focus-visible) { background-color: #DE790E; color : white; border: 2px solid white; }


.logo{color : #FFC31F;}
.whited{color:white}
.blog {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
}


/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 575px screen
 */

@media (min-width: 575px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

}





/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: calc(5rem + 6vw);

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }

}





/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 960px; }



  /**
   * HERO
   */

  .hero-subtitle,
  .hero-title { max-width: 75%; }

  .hero-text { max-width: 650px; }

}





/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 1200px; }

  

  /**
   * HEADER
   */

  .header {
    background-color: transparent;
    box-shadow: none;
    padding-block: 30px;
  }

  .navbar,
  .navbar.active {
    all: unset;
    display: block;
    transition: var(--transition);
  }

  .navbar { transform: scale(0); }

  .navbar.active { transform: scale(1); }

  .navbar-list {
    display: flex;
    gap: 15px;
  }

  .navbar-link {
    font-size: unset;
    font-weight: var(--fw-500);
    padding-block: 0;
    color : white;
  }

  .navbar-link:is(:hover, :focus-visible) {
    background-color: transparent;
    color: var(--heat-wave);
  }

  .nav-toggle-btn {
    color: var(--heat-wave);
    font-size: 5rem;
    transition: var(--transition);
  }

  .nav-toggle-btn.active { transform: rotate(0.5turn); }

}



@media (min-width: 425px) {
  .logo img {
    width: 200px;
  }
}


  .nav-toggle-btn .open {
    color: #DE790E; /* Color for the open menu icon */
  }

  .nav-toggle-btn .close {
    color: #DE790E; /* Color for the close menu icon */
  }
.modal-reconfig{
background-color: rgba(0, 0, 0, 0.7);
}
.modal-title {color : #DE790E}
.btn-close-lf{background-color : #DE790E}
.modal-reconfig p {color : white}

  .nav-toggle-btn .open {
    color: #DE790E; /* Color for the open menu icon */
  }

  .nav-toggle-btn .close {
    color: #DE790E; /* Color for the close menu icon */
  }
.modal-reconfig{
background-color: rgba(0, 0, 0, 0.7);
}
.modal-title {color : #DE790E}
.btn-close-lf{background-color : #DE790E}
.modal-reconfig p {color : white}
.modal-reconfig a {color : #DE790E}
.modal-reconfig .btn {  font-size: 1.3rem;  padding: 5px 30px; /* Adjust padding as needed */}
.modal-reconfig a {color : #DE790E}
.modal-reconfig .btn {  font-size: 1.3rem;  padding: 5px 30px; /* Adjust padding as needed */}