
/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden; /* cut off anything sticking out */
  margin: 0;
  padding: 0;
  width: 100%;
}

body{

  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;


}

.navcontainer {
  display: flex;
  justify-content: space-between;
  align-items: center;

  max-width: 95%;
  max-height: 75px;


}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  backdrop-filter: blur(10px);
  z-index: 1000;
  max-height: 75px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #e1e1e1;
  text-decoration: none;
  transition: 0.5s;

}

.navbar a{
  text-decoration: none;

  color: #e1e1e1;
  font-weight: 700;
  margin-left: 2rem;
  transition: color 0.5s ease;


}

.navbar a:hover{
  color: #979797; /* Change color on hover */
  border-bottom: 2px solid;
  border-bottom-color: #424141;
  cursor: pointer;

}
.navbar ul{
  list-style-type: none;
  display: flex;
  justify-content: flex-end;



}
.navbar li{
  padding-right: 50px;
  color: #e1e1e1;




}
.navbar .logo {
  display: flex;
  align-items: center;
  background-color: transparent;

}
.logo img{
  height: 60px;
  width: 80px;
  border-radius: 15px;
  margin:20px;



}

.FrontPage {
  background-image: url("../img/Picture16.webp");
  background-size: cover;
  background-position: center;
  width: 100%;
  min-height: 100vh;

  /* NEW: Flexbox alignment */
  display: flex;
  align-items: flex-end;       /* Pushes content to the bottom */
  justify-content: flex-start; /* Keeps content on the left */

  /* Control the spacing from the very edge of the screen */
  padding-bottom: 10vh;
  padding-left: 10vw;
}

.FrontPage #comptitle {
  color: white;
  margin-top: 0;
  width: 100%;
  /* REMOVED: padding-top: 33%; and padding-left: 10%; */
}

.FrontPage h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 80px;
  line-height: 1;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #e0e0e0;
  text-shadow: 1px 1px 20px black;
}

.FrontPage p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #e0e0e0;
  text-shadow: 1px 1px 20px black;
}

#titlebtn{
  margin-top: 20px;
  width: 150px;
  height: 50px;
  background-color: transparent;
  border: white 1px outset;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #e0e0e0;
  transition: 0.5s ;
  box-shadow: 1px 1px 10px black;
}

#titlebtn:hover{
  background-color: white;
  color: black;
  cursor: pointer;
}


.scrolled{
  background-color: #fff9ef;
  transition: 0.5s;
  color: black;
}
.navbar.scrolled a {
  color: #323232;
}

.navbar.scrolled li {
  color: #3c3c3c;
}




.footer {
  background-color: #202020;
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 3px;
  font-weight: 300;
  font-size: 13px;


}
.footer .container{
  display: flex;
  flex-direction: column;
  left: 0;
  bottom: 0;
  width: 100%;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;

  /* 1. REMOVED margin-left: 200px; */

  /* 2. NEW: Give it a max-width so the 4 columns don't stretch infinitely on huge monitors */
  max-width: 1200px;

  /* 3. NEW: This is the magic centering code! */
  margin-left: auto;
  margin-right: auto;

  /* 4. NEW: Add a little padding so the text doesn't touch the exact edges of the screen on smaller laptops */
  padding-left: 20px;
  padding-right: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 3px;

  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  border-radius: 6px;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: white;
  margin-left: 40px;
  font-size: 18px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-section ul li a:hover {
  color: #e74c3c;
}


.footer-section ul li i {
  margin-right: 0.5rem;
  width: 16px;
}

.company-info {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.company-info p {
  margin: 0.25rem 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

/* Full screen overlay */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fcfbf7; /* Match your site's background color */
  z-index: 9999; /* Sit on top of EVERYTHING */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease; /* Smooth fade out */
}

/* Container for logo + spinner */
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Make your logo pulse slightly */
.loader-content img {
  width: 80px; /* Adjust size */
  animation: pulse 2s infinite ease-in-out;
}

/* Simple CSS Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e0e0e0; /* Light grey ring */
  border-top: 4px solid #333; /* Dark spinner part */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}


@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.95); }
}


.loader-hidden {
  opacity: 0;
  visibility: hidden;
}


/* =========================================
   MOBILE / RESPONSIVE STYLES
   (Paste this at the VERY BOTTOM of style.css)
   ========================================= */

@media screen and (max-width: 1200px) {

  /*


  .FrontPage {
    min-height: 100vh;
    background-position: center;


    justify-content: center;
    align-items: center;


    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 0;
  }


  .FrontPage #comptitle {
    text-align: center;
    padding-top: 0;


    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar li{
    padding-right: 0;
  }

  .navbar ul {
    gap: 20px;
  }

  .FrontPage h1 {

    font-size: clamp(80px, 7vw, 100px);
    line-height: 1.2;
  }

  .FrontPage p {

    font-size: clamp(20px, 1.5vw, 30px);
    letter-spacing: 2px;
    line-height: 1.5;
    text-align: center;
  }
  */





  /* 3. FIX THE FOOTER LAYOUT */
  .footer-content {
    display: flex;
    flex-direction: column;

    /* FIX: Keep it centered using auto margins */
    margin-left: auto;
    margin-right: auto;

    /* FIX: Centers the content inside the column */
    align-items: center;

    padding: 0 20px;
    text-align: center;
    gap: 40px;
  }

  .footer-section h3 {
    margin-left: 0;
  }

  .footer-section ul {
    padding-left: 0;
    margin: 0;
    width: 100%;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-section li {
    padding: 5px 0;
  }
}

@media screen and (max-height: 1000px) {
  .FrontPage #comptitle {
    padding-top: 33vh;

  }
}




