/*-----------------------------------*\
  #index.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * COLORS
   */

   --gold-crayola: hsl(38, 61%, 73%);
   --quick-silver: hsla(0, 0%, 65%, 1);
   --davys-grey: hsla(30, 3%, 34%, 1);
   --smoky-black-1: hsla(40, 12%, 5%, 1);
   --smoky-black-2: hsla(30, 8%, 5%, 1);
   --smoky-black-3: hsla(0, 3%, 7%, 1);
   --eerie-black-1: hsla(210, 4%, 9%, 1);
   --eerie-black-2: hsla(210, 4%, 11%, 1);
   --eerie-black-3: hsla(180, 2%, 8%, 1);
   --eerie-black-4: hsla(0, 0%, 13%, 1);
   --white: hsla(0, 0%, 100%, 1);
   --white-alpha-20: hsla(0, 0%, 100%, 0.2);
   --white-alpha-10: hsla(0, 0%, 100%, 0.1);
   --black: hsla(0, 0%, 0%, 1);
   --black-alpha-80: hsla(0, 0%, 0%, 0.8);
   --black-alpha-15: hsla(0, 0%, 0%, 0.15);
   --neon-red: hsla(0, 100%, 50%, 1); /* Neon Red */
   --neon-blue: hsla(240, 100%, 50%, 1); /* Neon Blue */
   --neon-violet: hsla(270, 100%, 50%, 1); /* Neon Violet */
   --neon-green: hsla(120, 100%, 50%, 1); /* Neon Green */
   --neon-rose: hsla(330, 100%, 50%, 1); /* Neon Rose */
   --neon-cream: hsla(60, 100%, 75%, 1); /* Neon Cream */
   --neon-radium: hsla(150, 100%, 50%, 1); /* Neon Radium */
   --neon-orange: hsla(30, 100%, 50%, 1); /* Neon Orange */
   --neon-yellow: hsla(60, 100%, 50%, 1); /* Neon Yellow */
   --neon-purple: hsla(300, 100%, 50%, 1); /* Neon Purple */
 
 


/**
   * GRADIENT COLOR
   */
   --loading-text-gradient: linear-gradient(90deg, transparent 0% 16.66%, var(--smoky-black-3) 33.33% 50%,  transparent 66.66% 75%);
   --gradient-1: linear-gradient(to top, hsla(0, 0%, 0%, 0.9), hsla(0, 0%, 0%, 0.7), transparent);
  
  /**
   * TYPOGRAPHY
   */

  /* font-family */
  --fontFamily-forum: 'Forum', cursive;
  --fontFamily-dm_sans: 'DM Sans', sans-serif;

  /* font-size */
  --fontSize-display-1: calc(1.0rem + 3.5vw);
  --fontSize-headline-1: calc(2rem + 2.5vw);
  --fontSize-headline-2: calc(1.3rem + 2.4vw);
  --fontSize-title-1: calc(1.6rem + 1.2vw);
  --fontSize-title-2: 2.2rem;


  /* font-weight */
  --weight-regular: 400;
  --weight-bold: 700;

  /* line-height */
  --lineHeight-1: 1em;
  --lineHeight-2: 1.2em;
  --lineHeight-3: 1.5em;
  --lineHeight-4: 1.6em;
  --lineHeight-5: 1.85em;
  --lineHeight-6: 1.4em;

  /* letter-spacing */
  --letterSpacing-1: 0.15em;
  --letterSpacing-2: 0.4em;
  --letterSpacing-3: 0.2em;
  --letterSpacing-4: 0.3em;
  --letterSpacing-5: 3px;

  /**
   * SPACING
   */

  --section-space: 70px;

  /**
   * SHADOW
   */

  --shadow-1: 0px 0px 25px 0px hsla(0, 0%, 0%, 0.25);

  /**
   * BORDER RADIUS
   */

  --radius-24: 24px;
  --radius-circle:80%;

  /**
   * TRANSITION
   */

  --transition-1: 250ms ease;
  --transition-2: 500ms ease;
  --transition-3: 1000ms ease;
  --transition-4: 1500ms ease;

}

/* For smaller screens (e.g., mobile phones) */
@media (max-width: 768px) {
  :root {
    /* Modify font sizes for smaller screens */
    --fontSize-display-1: calc(1.0rem + 2.5vw);
    --fontSize-headline-1: calc(1.5rem + 2vw);
    --fontSize-headline-2: calc(1rem + 2vw);
    --fontSize-title-1: calc(1.4rem + 1vw);
    --fontSize-title-2: 1.8rem;
    /* Add more font size adjustments here */
  }

  body {
    /* Adjust body font size and line height */
    font-size: var(--fontSize-body-2);
    line-height: var(--lineHeight-4);
  }
}

/* For tablets and larger screens */
@media (min-width: 768px) and (max-width: 1027px) {
  :root {
    /* Adjust font sizes for tablets */
    --fontSize-display-1: calc(1.0rem + 3vw);
    --fontSize-headline-1: calc(2rem + 2vw);
    --fontSize-headline-2: calc(1.1rem + 2.4vw);
    --fontSize-title-1: calc(1.5rem + 1.2vw);
    --fontSize-title-2: 2rem;
  }

  body {
    /* Adjust body font size and line height */
    font-size: var(--fontSize-display-1);
    line-height: var(--lineHeight-5);
  }
}

/* For large screens (e.g., desktops) */
@media (min-width: 1028px) {
  :root {
    /* Adjust font sizes for larger screens */
    --fontSize-display-1: calc(1.0rem + 3.5vw);
    --fontSize-headline-1: calc(2rem + 2.5vw);
    --fontSize-headline-2: calc(1.3rem + 2.4vw);
    --fontSize-title-1: calc(1.6rem + 1.2vw);
    --fontSize-title-2: 2.2rem;
  }
}


/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a,
img,
data,
span,
input,
button,
select,
ion-icon,
textarea { display: block; }

a {
  color: inherit;
  text-decoration: none;
}

img { height: auto; }

input,
button,
select,
textarea {
  background: none;
  border: none;
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  outline: none;
}

button { cursor: pointer; }

address { font-style: normal; }

html {
  font-size: 18px;
  scroll-behavior: smooth;
  
}

body {
  background-color: var(--eerie-black-1);
  color: var(--white);
  font-family: var(--fontFamily-dm_sans);
  font-size: var(--fontSize-body-);
  font-weight: var(--weight-regular);
  line-height: var(--lineHeight-5);
  overflow: hidden;
  height: 130vh;
  text-shadow: 
  -0.8px -0.8px 0 #000000,  
  0.8px -0.8px 0 #000000,
  -0.8px 0.8px 0 #000000,
  0.8px 0.8px 0 #000000;
  
  
}

body.loaded { overflow: overlay; }

body.nav-active { overflow: hidden; }

::-webkit-scrollbar { width: 8px; }

::-webkit-scrollbar-track { background-color: --black-alpha-15; }

::-webkit-scrollbar-thumb { background-color: var(--gold-crayola);
  border-radius: 4px; }

/* Add a class to show scrollbar when content overflows */
.show-scrollbar {
  overflow-y: auto;
}


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {

  /**
   * COLORS
   */

  --gold-crayola: hsl(38, 61%, 73%);
  --white-alpha-10: hsla(0, 0%, 100%, 0.1);
}

button { cursor: pointer; }
  
address { font-style: normal; }




body {
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Set the background image using a local file path */
 background-image: url("../images/your-image-file.jpg");

  background-size: cover;
  background-position: center;
  position: relative;

  
}

body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0,0.8);
  
}

section {
  position: relative;
  z-index: 3;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-top: 10vw;
  
}

.container {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
 
  
}

.section-header {
  margin-bottom: 40px;
  text-align: center;
  
}

.section-header h2 {
  color: #FFF;
  font-weight: bold;
  font-size: 3em;
  margin-bottom: 20px;
}

.section-header p {
  color: #FFF;
}

.row  {
  display: flex;
 
  align-items: center;
  justify-content: space-between;
}

.contact-info {
  width: 50%;
}

.contact-info-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-info-icon {
  height: 70px;
  width: 70px;
  background-color: #000000;
  text-align: center;
  border-radius: 50%;
  
}

.contact-info-icon i {
  font-size: 30px;
  line-height: 70px;
  background-color: #000000;
  
}

.contact-info-content {
  margin-left: 20px;
  
}

.contact-info-content h4 {
  color:  hsl(38, 59%, 82%);
  font-size: 1.4em;
  margin-bottom: 5px;
  
}

.contact-info-content p {
  color: #FFF;
  font-size: 1em;
}

.contact-form {
  background-color: #fff;
  padding: 40px;
  width: 45%;
  padding-bottom: 20px;
  padding-top: 20px;
}

.contact-form h2 {
  font-weight: bold;
  font-size: 2em;
  margin-bottom: 10px;
  color: #333;
}

.contact-form .input-box {
  position: relative;
  width: 100%;
  margin-top: 10px;
}

.contact-form .input-box input,
.contact-form .input-box textarea{
  width: 100%;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  border: none;
  border-bottom: 2px solid #333;
  outline: none;
  resize: none;
}

.contact-form .input-box span {
  position: absolute;
  left: 0;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  pointer-events: none;
  transition: 0.5s;
  color: #666;
}

.contact-form .input-box input:focus ~ span,
.contact-form .input-box textarea:focus ~ span{
  color: #e91e63;
  font-size: 12px;
  transform: translateY(-20px);
}

.contact-form .input-box input[type="submit"]
{
  width: 100%;
  background: #00bcd4;
  color: #FFF;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 20px;
  border: 2px solid  hsl(38, 59%, 82%);
  transition: 0.5s;
}

.contact-form .input-box input[type="submit"]:hover
{
  background: hsl(38, 59%, 82%);
  color:  hsl(0, 0%, 0%);
}

@media (max-width: 1028px) {
  section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  
  .row {
    flex-direction: column;
  }
  
  .contact-info {
    margin-bottom: 40px;
    width: 100%;
    margin-top: 110vw;
    z-index: 100; /* Ensure it is on top of the header */
  }


  .contact-form {
    width: 100%;
    
  }
}
.section-header p {
  position: relative;
 
}
.section-header img {
  position: absolute;
  top: 18%;
  transform: translateY(-80%);
  left: +200px; /* Adjust this value based on your design */
}


/*-----------------------------------*\
  #TYPOGRAPHY
\*-----------------------------------*/

.display-1,
.headline-1,
.headline-2,
.title-1,
.title-2,
.title-3,
.title-4 {
  color: var(--white);
  font-family: var(--fontFamily-forum);
  font-weight: var(--weight-regular);
  line-height: var(--lineHeight-2);
  
}

.display-1 {
  font-size: var(--fontSize-display-1);
  line-height: var(--lineHeight-1);
  color:#fff/* Your desired text color */;
  
}

.headline-1 { 
  font-size: var(--fontSize-headline-1);
 }

.headline-2 {
  font-size: var(--fontSize-headline-2);
  line-height: var(--lineHeight-6);
}

.title-1 { font-size: var(--fontSize-title-1); }

.title-2 { font-size: var(--fontSize-title-2); }

.title-3 { font-size: var(--fontSize-title-3); }

.title-4 { font-size: var(--fontSize-title-4); }

.body-1 {
  font-size: var(--fontSize-body-1);
  line-height: var(--lineHeight-6);
}

.body-2 {
  font-size: var(--fontSize-body-2);
  line-height: var(--lineHeight-4);
}

.body-3 { font-size: var(--fontSize-body-3); }

.body-4 { font-size: var(--fontSize-body-4); }

.label-1 { font-size: var(--fontSize-label-1); }

.label-2 { font-size: var(--fontSize-label-2); }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 16px; }

.separator {
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold-crayola);
  transform: rotate(45deg);
}
.contact-label { font-weight: var(--weight-bold); }

.contact-number {
  color: var(--gold-crayola);
  max-width: max-content;
  margin-inline: auto;
}

.hover-underline {
  position: relative;
  max-width: max-content;
}

.hover-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  border-block: 1px solid var(--gold-crayola);
  transform: scaleX(0.2);
  opacity: 0;
  transition: var(--transition-2);
}

.hover-underline:is(:hover, :focus-visible)::after {
  transform: scaleX(1);
  opacity: 1;
}


/*-----------------------------------*\
  #PRELOAD
\*-----------------------------------*/

.preload {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gold-crayola);
  z-index: 10;
  display: grid;
  place-content: center;
  justify-items: center;
  transition: var(--transition-2);
}

.preload > * { 
  transition: var(--transition-1); 
}

.preload.loaded > * { 
  opacity: 0; 
}

.preload.loaded {
  transition-delay: 250ms;
  transform: translateY(100%);
}

.circle {
  width: 112px;
  height: 112px;
  border-radius: var(--radius-circle);
  border: 3px solid var(--white);
  border-block-start-color: var(--smoky-black-3);
  margin-block-end: 45px;
  animation: rotate360 1s linear infinite;
}

@keyframes rotate360 {
  0% { transform: rotate(0); }
  100% { transform: rotate(1turn); }
}

.preload .text {
  background-image: var(--loading-text-gradient);
  background-size: 500%;
  font-size: calc(2rem + 3vw);
  font-weight: var(--weight-bold);
  line-height: 1em;
  text-transform: uppercase;
  letter-spacing: 16px;
  padding-inline-start: 16px;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-stroke: 0.5px var(--eerie-black-3);
  animation: loadingText linear 2s infinite;
}

@keyframes loadingText {
  0% { background-position: 100%; }
  100% { background-position: 0%; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .circle {
    width: 80px;
    height: 80px;
    margin-block-end: 30px;
  }

  .preload .text {
    font-size: calc(1.5rem + 2vw);
    letter-spacing: 12px;
    padding-inline-start: 12px;
    -webkit-text-stroke: 0.4px var(--eerie-black-3);
  }
}

@media (max-width: 480px) {
  .circle {
    width: 60px;
    height: 60px;
    margin-block-end: 20px;
  }

  .preload .text {
    font-size: calc(1rem + 1.5vw);
    letter-spacing: 8px;
    padding-inline-start: 8px;
    -webkit-text-stroke: 0.3px var(--eerie-black-3);
  }
}



.topbar { display: flex; }

/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header .btn { display: flex; }
/* Apply logo container code only for the header section */
/* Logo Position */

.header .container .logo {
  position: relative; /* Change to relative */
  display: flex;
  top: -2vw;
  left: 3vw; /* Adjusted left position with responsive units */
  align-items: center;
}
/* Logo Image */
.header .container .logo img {
  height: auto;
  max-width: 100%; /* Ensure logo scales appropriately */
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  padding: 2vw; /* Responsive padding based on viewport width */
  z-index: 4;
  transition: var(--transition-1);
}

.header.active {
  padding: 1.5vw; /* Responsive padding */
  background-color: var(--eerie-black-4);
  border-bottom: 1px solid var(--black-alpha-15);
}

.header.hide {
  transform: translateY(-100%);
  transition-delay: 250ms;
}

.header .container {
  padding-inline: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1vw;
}

.nav-open-btn {
  padding: 12px;
  padding-inline-end: 0;
}

.nav-open-btn .line {
  width: 30px;
  height: 2px;
  background-color: var(--white);
  margin-block: 4px;
  transform-origin: left;
  animation: menuBtn 400ms ease-in-out alternate infinite;
}

@keyframes menuBtn {
  0% { transform: scaleX(1); }
  100% { transform: scaleX(0.5); }
}

.nav-open-btn .line-2 { animation-delay: 150ms; }

.nav-open-btn .line-3 { animation-delay: 300ms; }


/* Navbar Container */
.navbar {
  position: fixed;
  background-color: var(--smoky-black-1);
  top: 0;
  left: -80%; /* Off-canvas position */
  bottom: 0;
  width: 80%; /* Responsive width */
  padding: 10vw 5vw 20vw; /* Responsive padding */
  overflow-y: auto;
  visibility: hidden;
  z-index: 2;
  transition: var(--transition-2);
}

.navbar.active {
  visibility: visible;
  left: 0; /* Ensure it fully slides in */
}

/* Navbar Links */
.navbar-list {
  border-bottom: 1px solid var(--black);
  margin-bottom: 50px; /* Reduced margin for better spacing */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.navbar-item {
  border-top: 1px solid var(--black);
}

.navbar-link {
   position: relative;
  font-size: 2vw; /* Increased font size for mobile */
  text-transform: uppercase;
  padding: 10px;
  align-items: center;
}

.navbar-link::after {
  display: none;
}

/* Active Navbar Link Styles */
.navbar-link:hover .span,
.navbar-link:focus-visible .span,
.navbar-link.active .span {
  color: var(--gold-crayola);
  transform: translateX(20px);
}

/* Separator Styles */
.navbar-link .separator {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0;
  transition: var(--transition-1);
}

.navbar-link:hover .separator,
.navbar-link:focus-visible .separator,
.navbar-link.active .separator {
  opacity: 1;
}

/* Media Queries for Tablet and Mobile */
@media (max-width: 768px) {
  .header {
    padding: 10px 20px; /* Adjusted padding for smaller screens */
    align-items: center;
  }

  .navbar {
    width: 100%; /* Full width on smaller screens */
    padding: 20vw 5vw; /* Adjusted padding */
  }

  .navbar-link {
    font-size: 5vw; /* Larger font size for mobile */
  align-items: center;
  }


  .header .logo {
    margin-bottom: 10px; /* Add space below the logo */
  }
}




/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/



@media (min-width: 768px) {


  /**
   * HEADER
   */

  .nav-open-btn,
  .navbar > *:not(.navbar-list),
  .header .overlay { display: none; }

  .header .container { max-width: unset; }

  .navbar,
  .navbar.active,
  .navbar-list { all: unset; }

  .navbar,
  .navbar.active { margin-inline: auto 20px; }

  .navbar-list {
    display: flex;
    gap: 30px;
  }

  .navbar-item { border-block-start: none; }

  .navbar .separator { display: none; }

  .navbar-link:is(:hover, :focus-visible, .active) .span {
    transform: unset;
  }

  .navbar-link {
    font-weight: var(--weight-bold);
    letter-spacing: var(--letterSpacing-1);
  }

  .navbar-link::after { display: block; }

  .navbar-link.active::after {
    transform: scaleX(1);
    opacity: 1;
  }
}




