/* Custom styles for Mercury Group */

/* Font imports */
@import url('https://fonts.cdnfonts.com/css/satoshi');

/* Global styles */
div {
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  font-family: 'Inter', 'Satoshi', Arial, sans-serif;
}

/* Container width limitation */
.container-fluid {
  max-width: 1250px !important;
  margin: 0 auto;
  padding-top: 15px !important;
  padding-bottom: 60px !important;
}

/* Sidebar Navigation (Desktop) */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 60px;
  background: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
}

.lang-menu {
  list-style: none;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
    margin: 0;
  padding: 0;
}

.lang-menu li {
  transform: rotate(-90deg);
  white-space: nowrap;
}

.lang-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s;
  display: block;
  text-transform: uppercase;
}

.lang-menu li a.active {
  color: #4b1ba3;
}

/* Main Content */
.main-content {
  margin-left: 60px;
}

@media (max-width: 575px) {
  .main-content {
    margin-left: 0;
    margin-top: 60px;
  }
}

/* Mobile Navigation */
.navbar {
  background: #111 !important;
  padding: 0.5rem 0;
}

.navbar .container-fluid {
  justify-content: flex-end !important;
}

/* Burger Menu Styles */
.t204__menu__content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.t204__burger {
  display: flex;
  align-items: center;
}

.t204__burger .t-menuburger {
  width: 36px;
}

.t-menuburger {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 20px;
  padding: 0;
  border: none;
  background-color: transparent;
  outline: none;
  transform: rotate(0deg);
  transition: transform .5s ease-in-out;
  cursor: pointer;
  z-index: 999;
}

.t-menuburger span {
  display: block;
  position: absolute;
  width: 100%;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
  height: 3px;
  background-color: #fff;
}

.t-menuburger span:nth-child(1) { top: 0px; }
.t-menuburger span:nth-child(2), .t-menuburger span:nth-child(3) { top: 8px; }
.t-menuburger span:nth-child(4) { top: 16px; }

.t-menuburger-opened span:nth-child(1) {
  top: 8px;
  width: 0%;
  left: 50%;
}

.t-menuburger-opened span:nth-child(2) {
  transform: rotate(45deg);
}

.t-menuburger-opened span:nth-child(3) {
  transform: rotate(-45deg);
}

.t-menuburger-opened span:nth-child(4) {
  top: 8px;
  width: 0%;
  left: 50%;
}

/* Mobile Menu */
.t204__menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #111;
  z-index: 1000;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.t204__menu.active {
  display: flex !important;
}

.t204__closelayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
}

.t204__close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
    color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 1001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t204__close_icon {
  width: 30px;
  height: 30px;
  position: relative;
}

.t204__close_icon span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #fff;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.t204__close_icon span:first-child {
  transform: translateY(-50%) rotate(45deg);
}

.t204__close_icon span:last-child {
  transform: translateY(-50%) rotate(-45deg);
}

.t204__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  z-index: 1002;
  position: relative;
}

.t204__item {
    text-align: center;
  }
  
.t204__item a {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  text-transform: uppercase;
  transition: color 0.2s;
  display: block;
  padding: 10px 20px;
}

.t204__item a:hover {
  color: #4b1ba3;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: #000;
  position: relative;
  overflow: hidden;
}

.videoBackground {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

.videoBackground > video {
  object-fit: cover;
  background-size: cover;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2;
  background: rgba(0,0,0,0.6);
}

.hero-logo {
  width: 400px;
  max-width: 90%;
  transition: opacity 1s;
}

.hero-text {
  color: #fff;
  transition: opacity 1s 0.7s;
}

.hero-text h1 {
  font-family: 'Arial', Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
    margin-bottom: 1rem;
  }
  
.hero-text p {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 400;
}

@media (max-width: 639px) {
  .hero-text h1 {
    font-size: 14px;
    line-height: 22px;
  }
  
  .hero-text p {
    font-size: 22px;
  }
}

@media (max-width: 479px) {
  .hero-text h1 {
    font-size: 14px;
  }
  
  .hero-text p {
    font-size: 16px;
  }
}

/* Motto Section */
  .motto {
  padding-top: 60px !important;
}

.t157__wrapper {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.t-divider {
  position: relative;
  background-color: #4b1ba3;
  min-width: 3px;
  margin-right: 20px;
}

.t157__text {
  padding-top: 4px;
  padding-bottom: 3px;
  font-size: 20px;
  color: #666666;
  /*font-weight: 700;*/
  text-transform: uppercase;
}

.t157__text p {
  margin-bottom: 0 !important;
}

@media (max-width: 640px) {
  .t157__text {
    font-size: 14px;
  }
}

/* About Section */
.about-image img {
  border-radius: 0;
  width: 100%;
  height: auto;
}

.about-text h2 {
  font-size: 42px;
  text-transform: uppercase;
}

.about-text p {
  font-family: 'Inter', 'Satoshi', Arial, sans-serif;
}

@media (min-width: 680px) {
  .about-text h2 {
    font-size: 14px;
  }
}

/* Benefits Section */
.benefits-section {
  background-color: #f2f2f2;
  padding: 120px 0 165px 0;
}

.benefit-item {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.benefit-icon {
  flex-shrink: 0;
}

.benefit-content h4 {
  color: #4b1ba3;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  /*font-weight: 700;*/
}

.benefit-content h4 a:hover {
  color: #4b1ba3 !important;
}

.benefit-content p {
  color: #666;
  line-height: 1.6;
  font-size: 0.9rem;
}

.t480__line {
  position: relative;
  display: block;
  max-width: 50px;
  width: 100%;
  height: 3px;
  background-color: #666;
}

/* Contact Form Section */
.contact-form-section {
  background: #fff;
  padding: 150px 0;
}

.btn-warning {
  background-color: #4b1ba3 !important;
  border-color: #4b1ba3 !important;
  color: #fff !important;
  border-radius: 20px !important;
  text-transform: uppercase;
}

.btn-warning:hover {
  background-color: #4b1ba3 !important;
  border-color: #4b1ba3 !important;
}

/* Contacts Section */
.contacts-section {
  background-color: #292929;
  color: #fff;
}

.contacts-map {
  min-height: 100vh;
  background: #eee;
}

.contacts-info {
  background-color: #292929;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px;
}

.contacts-info h2 {
  color: #fff;
  margin-bottom: 45px !important;
  font-size: 1.5rem;
  font-weight: 300;
  font-family: 'Inter', 'Satoshi', Arial, sans-serif;
}

.contacts-info strong {
  color: #fff;
  font-size: 24px;
  font-weight: 300;
  font-family: 'Inter', 'Satoshi', Arial, sans-serif;
}

.address {
  margin-top: 30px;
}

.address-item h5 {
  margin-bottom: 0.5rem;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 600;
  font-family: 'Inter', 'Satoshi', Arial, sans-serif;
}

.address-item p {
  color: #fff;
  line-height: 1.5;
  margin-bottom: 0;
  font-size: 18px !important;
  font-weight: 300;
  font-family: 'Inter', 'Satoshi', Arial, sans-serif;
}

/* Responsive adjustments */
@media (max-width: 975px) {
  
  .contacts-section .row {
    flex-direction: column;
  }
  
  .contacts-map {
    min-height: 400px;
  }
  
  .contacts-info {
    height: auto;
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .hero-logo {
    width: 300px;
  }
  
  .t157__text {
    font-size: 14px;
  }
  
  .benefit-item {
    padding: 1.5rem 1rem;
  }
  
  .benefit-content h4 {
    font-size: 1.1rem;
  }
  
  .benefits-section {
    padding: 60px 0 80px 0;
  }
  
  .contact-form-section {
    padding: 80px 0;
  }
}

/* Map Styles */
.contacts-map {
  height: 500px;
  width: 100%;
  background-color: #f5f5f5;
}

/* Hide Leaflet attribution */
.leaflet-control-attribution {
  display: none !important;
}

.contacts-map .leaflet-container {
  height: 100%;
  width: 100%;
}

.custom-marker {
  background: transparent;
  border: none;
}

/* Map popup styles */
.leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.leaflet-popup-content {
  margin: 12px;
  line-height: 1.4;
}

.leaflet-popup-tip {
  background: white;
}

/* Responsive map */
@media (max-width: 768px) {
  .contacts-map {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .contacts-map {
    height: 300px;
  }
}

h4 > a.text-warning.text-decoration-none {
  color: #4b1ba3 !important;
}

.text-center h3,
#email.form-control {
  border-radius: 8px;
}
