/* Main Styles */
:root {
  --main-bg-color: #000000;
  --text-color: #ffffff;
  --loader-bg: rgba(0, 0, 0, 0.9);
  --loader-color: #ffffff;
  --header-bg: #000000;
  --header-height: 60px;
  --header-border: rgba(255, 255, 255, 0.1);
  --btn-bg: #ffffff;
  --btn-color: #000000;
  --gray-color: #ABABAB;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--main-bg-color);
  color: var(--text-color);
  line-height: 1.6;
  padding: 20px;
}

.gray{
  color: var(--gray-color);
}

/* Loader Styles */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--loader-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-size: 24px;
  color: var(--loader-color);
  font-weight: 500;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid var(--loader-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Header Styles */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  z-index: 900;
}

.header-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 100%;
  display: flex;
  align-items: center;
}

.logo img {
  height: 16px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-talk {
  background-color: var(--btn-bg);
  color: var(--btn-color);
  border: 1px solid var(--btn-bg);
  margin-left: 1rem;
}

.btn-talk:hover {
  background-color: transparent;
  color: var(--text-color);
}

.btn-talk:hover svg.black{
  color: #FFFFFF!important;
}

.btn-talk svg {
  float: none;
  vertical-align: middle;
  margin-left: 0.5rem;
  display: inline-block;
}

/* Content Styles */
#content {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: calc(var(--header-height) + 20px); /* Add padding to account for fixed header */
  display: block;
  position: relative;
}


h5{
  font-size:18px;
  font-weight: 300;
}


h1 {
  font-size: 3.6em;
  font-weight: 700;
  line-height: 1.2em;
}


h2 {
  font-size: 2.6em;
  font-weight: 500;
  line-height: 1.2em;
}

h3 {
  font-size: 1.3em;
  font-weight: 500;
  line-height: 1.2em;
}

p, ul li{
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6em;
}

p.small{
  font-size: 1rem;
}

.left{
  float: left;
}

.right{
  float: right;
}

.block{
  display: block;
  position: relative;
  overflow: hidden;
}

.flex{
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.flex.gap-2{
  gap: 2rem;
}

.flex .icon {
  flex-shrink: 0;
  margin-right: 2rem;
}

.size-6 {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--text-color);
}

.size-3 {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--text-color);
}

.flex .flex-1{
  flex: 1;
}

.w-100{
  width: 100%;
  flex: 0 0 100%;
}

.w-50{
  width: 50%;
  flex: 0 0 50%;
}

.w-25{
  width: 25%;
  flex: 0 0 25%;
}

.w-75{
  width: 75%;
  flex: 0 0 75%;
}

.mb-1{
  margin-bottom: 0.8rem;
}

.mb-2{
  margin-bottom: 1.8rem;
}

.mb-3{
  margin-bottom: 2.8rem;
}

.mb-6{
  margin-bottom: 6rem;
}

.mt-1{
  margin-top: 0.8rem;
}

.mt-2{
  margin-top: 1.8rem;
}

.mt-3{
  margin-top: 2.8rem;
}

.mt-4{
  margin-top: 3.8rem;
}

.mt-6{
  margin-top: 6rem;
}

.pb-3{
  padding-bottom: 3rem;
}

.radius{
  border-radius: 10px;
}

.border-bottom{
  border-bottom: 1px solid #212121;
}

.text-center{
  text-align: center;
}


/* Video Background Styles */
#video {
  position: relative;
  min-height: 600px;
  width: 100%;
  margin: 2em 0;
  overflow: hidden;
  border-radius: 10px;
}

#video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.video-content {
  position: absolute;
  bottom: 2em;
  left: 2em;
  z-index: 1;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  max-width: 20%;
}

/* Contact Form Styles */
.contact-form-panel {
  position: fixed;
  top: 0;
  right: -400px; /* Start off-screen */
  width: 400px;
  height: 100%;
  background-color: var(--main-bg-color);
  border-left: 1px solid var(--header-border);
  z-index: 950;
  transition: right 0.3s ease-in-out;
  overflow-y: auto;
}

.contact-form-panel.active {
  right: 0; /* Slide in when active */
}

.contact-form-content {
  padding: 2rem;
}

.close-form-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1000;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-form-btn:hover {
  color: var(--btn-bg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--header-border);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--btn-bg);
}

.btn-submit {
  background-color: var(--btn-bg);
  color: var(--btn-color);
  border: 1px solid var(--btn-bg);
  width: 100%;
  padding: 0.8rem;
  cursor: pointer;
}

.btn-submit:hover {
  background-color: transparent;
  color: var(--text-color);
}

.btn-submit:hover svg.black{
  color: #FFFFFF!important;
}

ul, ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul li{
  line-height: 1.8em;
}


svg.black{
  color: #000000;
}

img.scale{
  width: 100%;
  height: auto;
  position: relative;
}

/* Carousel Styles */
.carousel {
  position: relative;
  width: 100%;
  margin: 2em 0;
}

.carousel-container {
  position: relative;
  width: 100%;
}

.carousel .item {
  display: none;
  width: 100%;
  transition: transform 0.5s ease;
}

.carousel .item.active {
  display: block;
}

.carousel-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
  align-items: flex-start;
}

.carousel-image {
  width: 100%;
}

.carousel-text {
  width: 100%;
  padding-right: 0;
}

.carousel-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.carousel-prev,
.carousel-next {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  padding: 0.5rem;
  transition: opacity 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  opacity: 0.7;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--header-border);
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--text-color);
}

#footer{
  display: block;
  box-sizing: border-box;
  padding: 2rem;
  border: 1px solid #212121;
  border-radius: 10px;
}

/* Mobile Responsive Design */
@media screen and (max-width: 768px) {
  /* Body and general layout adjustments */
  body {
    padding: 10px;
  }

  /* Prevent horizontal scrolling and handle text overflow */
  * {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .block {
    overflow: visible;
  }

  /* Header adjustments */
  .header-container {
    padding: 0 1rem;
  }

  .logo img {
    height: 14px;
  }

  .btn-talk {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    margin-left: 0.5rem;
  }

  .btn-talk svg {
    margin-left: 0.3rem;
  }

  /* Content container adjustments */
  #content {
    padding-top: calc(var(--header-height) + 10px);
  }

  /* Typography adjustments for mobile */
  h1 {
    font-size: 2.4em;
    line-height: 1.1em;
  }

  h2 {
    font-size: 1.8em;
    line-height: 1.1em;
  }

  h3 {
    font-size: 1.1em;
  }

  h5 {
    font-size: 16px;
  }

  p, ul li {
    font-size: 1rem;
  }

  /* Width classes - make them responsive */
  .w-50 {
    width: 100%;
    flex: 0 0 100%;
  }

  .w-25 {
    width: 100%;
    flex: 0 0 100%;
  }

  .w-75 {
    width: 100%;
    flex: 0 0 100%;
  }

  /* Margin adjustments for mobile */
  .mb-6 {
    margin-bottom: 3rem;
  }

  .mt-6 {
    margin-top: 3rem;
  }

  .mt-4 {
    margin-top: 2rem;
  }

  .pb-3 {
    padding-bottom: 2rem;
  }

  /* Video section adjustments */
  #video {
    min-height: 300px;
    margin: 1em 0;
  }

  .video-content {
    position: absolute;
    bottom: 1em;
    left: 1em;
    max-width: 80%;
    font-size: 0.9rem;
  }

  /* Flex adjustments */
  .flex .icon {
    margin-right: 1rem;
  }

  /* Carousel adjustments */
  .carousel-grid {
    display: block;
    gap: 1rem;
  }

  .carousel-image {
    margin-bottom: 1rem;
  }

  .carousel-text {
    padding-right: 0;
  }

  .carousel-navigation {
    margin-top: 1rem;
  }

  /* Contact form adjustments */
  .contact-form-panel {
    width: 100%;
    right: -100%;
  }

  .contact-form-content {
    padding: 1.5rem;
  }

  /* Close button mobile adjustments */
  .close-form-btn {
    top: 0.5rem;
    right: 0.5rem;
    min-width: 48px;
    min-height: 48px;
    padding: 0.75rem;
    font-size: 1.2rem;
  }

  /* Footer adjustments */
  #footer {
    padding: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  /* Extra small screens adjustments */
  body {
    padding: 5px;
  }

  .header-container {
    padding: 0 0.5rem;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.5em;
  }

  h5 {
    font-size: 14px;
  }

  .btn-talk {
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
  }

  #video {
    min-height: 250px;
  }

  .video-content {
    bottom: 0.5em;
    left: 0.5em;
    max-width: 90%;
    font-size: 0.8rem;
  }

  .contact-form-content {
    padding: 1rem;
  }

  /* Close button adjustments for small mobile */
  .close-form-btn {
    top: 0.25rem;
    right: 0.25rem;
    min-width: 50px;
    min-height: 50px;
    padding: 1rem;
    font-size: 1rem;
  }

  #footer {
    padding: 1rem;
  }

  .carousel-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .carousel-dots {
    order: -1;
  }
}
