body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

.main-header-wrapper {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  max-width: 1000px;
  margin: 0 auto; 
  width: 100%;
}

.logo {
  font-size: 28px;
  font-weight: bold;
}

.logo-red {
  color: red;
}

.logo-blue {
  color: #2c2c92;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.top-links a {
  color: #2c2c92;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
}

.divider {
  color: #ccc;
}

.custom-select-wrapper {
  position: relative;
  display: inline-block;
}

.language-select {
  padding: 8px 32px; 
  font-size: 14px;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  background-color: #d50201; 
  color: white;
  border: none;
  border-radius: 10px;
  appearance: none; 
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 120px;
  cursor: pointer;
}

.custom-select-wrapper::after {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: black;
  font-size: 12px;
  pointer-events: none; 
}

.language-select option {
  background-color: #2c2c92;;
  color: #ffffff;
}


.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #2c2c92;
}

.mobile-top-links {
  display: none;
}

@media (max-width: 768px) {
  .top-links {
    display: none;
  }

  .hamburger {
    display: block;
    font-size: 28px;        
    color: #2c2c92;        
    cursor: pointer;
    margin-top: 25px;        
    margin-right: 30px;      
  }
  
  .bottom-nav {
    display: none;
    background-color: #2c2c92;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 4px;
  }

  .bottom-nav.active {
    display: block;
  }

  .nav-container {
    flex-direction: column;
    align-items: center;
    gap: 0px;
    padding: 10px 0;
  }

  .nav-container a {
    color: white;
    padding: 8px 0; 
    text-align: center;
  }

  .mobile-top-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
  }

  .mobile-links-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
  }

  .mobile-links-row a {
    color: white;
    text-decoration: none;
    font-weight: 500;
  }

  .language-btn-mobile {
    display: block;
    width: 90%;
    max-width: 300px;
    background-color: red;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
  }
}

.bottom-nav {
  background-color: #2c2c92;
  padding: 12px 0;
  max-width: 1000px;
  margin: -18px auto 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);

  border-radius: 0 0 4px 4px; 
}


.nav-container {
  display: flex;
  justify-content: center;
  gap: 70px;
  max-width: 1000px;
  margin: 0 auto; 
  width: 100%;
}


.nav-container a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-link {
  position: relative;
  display: inline-block;
  color: #000;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background-color: red;
  transition: width 0.3s ease;
}

.nav-link.active::after {
  width: 100%;
}


.nav-links a {
  color: white;
  text-decoration: none;
}

.header-with-bg {
  position: relative;
  background-image: url('assests/bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 100px 20px;
  text-align: center;
    width: 100%;
    margin-top: -71px; 
    font-family: 'Carlito';
  }
  .header-with-bg h1 {
    margin-top: 5px; 
    font-size: 52px;
    font-family: 'Carlito';
  }
  
  .header-with-bg p {
    margin-top: -20px;
    font-size: 16px;
    font-family: 'Roboto';
  }

main {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  font-size: 62px;  
}
h2 {
   color: #2c2c92;
}

form {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
input::placeholder {
  color: rgba(0, 0, 0, 0.5); 
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
}
.form-label {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 500;
}
select[name="format"] option {
  color: rgba(0, 0, 0, 0.5); 
  font-size: 14px;
}

select[name="format"] {
  color: rgba(0, 0, 0, 0.5); 
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}
select[name="quality"] option {
  color: rgba(0, 0, 0, 0.5);
  font-size: 14px;
}
select[name="quality"] {
  color: rgba(0, 0, 0, 0.5); 
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}
.form-container {
  position: relative;
  top: -90px; 
  max-width: 1000px;
  margin: 10px;
  padding: 26px;
  background-color: #ffffff;
  font-family: Arial, sans-serif;
  border: 1px solid #ccc;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); 
  border-radius: 4px;
}

select {
  background-position: right 0.2rem center;
  background-repeat: no-repeat;
  background-color: #f5f7fb;
  border: 1px solid #ccc;
  border-radius: 6px;
  height: 45px;
  font-size: 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-label {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

input[type="text"],
select {
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f0f2f7;
  outline: none;
  transition: border 0.3s;
}

input[type="text"]:focus,
select:focus {
  border-color: #334075;
}

button {
  width: 100%; 
  background-color: #d50201 ;
  color: white;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.3s;
}

button:hover {
  background-color: #fa1919;
}

#download-section {
  margin-top: 20px;
  display: none;
}

#download-link {
  font-size: 18px;
   color: #2c2c92;
  text-decoration: underline;
}



.description {
  max-width: 1000px;
  text-align: justify;
  position: relative;
  top: -60px;
  line-height: 1.6;
  color: #333;
}

.description h2 {
  text-align: center;
   color: #2c2c92;
  margin-bottom: 20px;
  font-size: 36px;
  font-family:  'Carlito' ;
}
.description p {
  text-align: center;
  max-width: 1000px;  
  margin: 0 auto;
  line-height: 1.6;
  font-size: 16px;
  color: #333; 
  font-family: 'Roboto', sans-serif;  
  padding-bottom: 20px;
}


.features-section {
  background-color: #f5f5f5; 
width: 100%;
padding: 30px 20px;
  
  
}
.features-title {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}
.yt-red {
  color: #d50201 ;
}

.features-title h2 {
  text-align: center;
  font-size: 36px;
   color: #2c2c92;
  font-family: 'Carlito';
  max-width: 100%;
  margin: 0 auto 30px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.icon-red {
  color: #d50201;
  font-weight: bold;
  font-size: 24px; 
}



.features-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-box {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  text-align: left;
  flex: 1 1 calc(50% - 30px);
  box-sizing: border-box;
  line-height: 1.6;
  color: #555;
}

.feature-box h3 {
  font-size: 22px;
   color: #2c2c92;
  font-family: 'Carlito';
}
.feature-box p {
  font-size: 16px;
  color: #333; 
  font-family: 'Roboto', sans-serif;  
}

.wraper-section {
  position: relative;
  background: url('assests/how_to_download.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 30px 20px;
  width: 100%;
  z-index: 1;
  overflow: hidden;
}

.how-to-section {
  text-align: center;
  max-width: 1000px;
  margin: auto;
}

.how-to-section h2 {
  font-size: 36px;
   color: #2c2c92;
  font-family: 'Carlito';
  margin-bottom: 50px;
}

.yt-highlight {
  color: #d50201;
}

.how-to-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  position: relative;
  padding: 20px 0;
}

.step {
  flex: 1 1 250px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.icon-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 70px;
  height: 70px;
  background-color: white; 
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.icon-bg:hover {
  background-color: #d50201;
  transform: translate(-40%, -50%) scale(1.1);
}

.icon-bg::before {
  content: "";
  background-color: #d50201; 
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  mask-size: contain;
  -webkit-mask-size: contain;
  width: 30px;
  height: 30px;
  display: block;
}

.icon-bg[data-step="1"]::before {
  mask-image: url('assests/1.svg');
  -webkit-mask-image: url('assests/1.svg');
}

.icon-bg[data-step="2"]::before {
  mask-image: url('assests/2.svg');
  -webkit-mask-image: url('assests/2.svg');
}

.icon-bg[data-step="3"]::before {
  mask-image: url('assests/3.svg');
  -webkit-mask-image: url('assests/3.svg');
}

.icon-bg:hover::before {
  background-color: white;
}

.icon-circle-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle {
  width: 30px;
  height: 30px;
  background-color: white;
   color: #2c2c92;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
  font-family: 'Carlito';
  z-index: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transform: translate(-80%, -80%);
}

.step h3 {
  margin-bottom: 10px;
   color: #2c2c92;
  font-size: 22px;
  font-family: 'Carlito';
}

.step p {
  line-height: 1.6;
  font-size: 16px;
  color: #333;
  font-family: 'Roboto', sans-serif;  
}


.contact-section-v2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
  background-image: url('assests/contact_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

.contact-inner-wrapper {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding-top: 20px;
  padding-bottom: 20px;
}


.contact-left {
  flex: 1 1 300px;
   color: #2c2c92;
}

.contact-left h2 {
  font-size: 36px;
  margin-bottom: 20px;
   color: #2c2c92;
  font-family: 'Carlito';
  margin-top: 15px;
}

.contact-left p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #333; 
  font-family: 'Roboto', sans-serif;  
}

.contact-left p span {
  font-weight: bold;
  display: block;
  margin-top: 10px;
}

.contact-info {
  position: relative;
  padding-left: 40px;
  margin-bottom: -4px;
  color: #000;
}

.contact-info .label {
  font-weight: 600;
  color: #2c2c92;
  display: block;
  margin-bottom: -13px;
}

.contact-info .value {
  display: block;
  font-weight: normal;
  color: #000;
  font-size: 16px;
}

.contact-info.email::before,
.contact-info.phone::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.contact-info.email::before {
  background-image: url('assests/email.svg');
}

.contact-info.phone::before {
  background-image: url('assests/phone.svg');
}


.contact-right {
  flex: 1 1 400px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 0px 25px 30px 25px; 
  position: relative;
}

.form-header {
  margin-bottom: 20px;
  position: relative;

}
.red-tab-wrapper {
  position: absolute;
  top: -35px;
  right: -40px;
}

.red-tab-horizontal {
  width: 70px;
  height: 15px;
  background-color: #d50201;
}

.red-tab-vertical {
  width: 15px;
  height: 70px;
  background-color: #d50201;
  margin-left: 55px;
}


.form-header h3 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #111;
  font-family: 'Carlito';
  
}

.form-header p {
    font-size: 14px;
    color: #333;
    font-family: 'Roboto', sans-serif;  
}

.contact-form-v2 {
  display: flex;
  flex-direction: column;
  gap: 15px;

}

.contact-form-v2 button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


.form-row {
  display: flex;
  gap: 10px;
}

.contact-form-v2 input,
.contact-form-v2 textarea {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff; 
}

.contact-form-v2 button {
  padding: 10px;
  background: #d50201;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
  
.contact-form-v2 button:hover {
  background-color: #fa1919;
}


.site-footer {
  background-color:#2c2c92;
  color: #fff;  
  padding:  20px;
  font-size: 15px;
  margin-bottom: -32px; 
  width: 100%;

}

.footer-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-left {
  flex: 1 1 200px;
}

.footer-links {
  flex: 1 1 300px;
  text-align: center;
}

.footer-links a {
  color: #ccc;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-social {
  flex: 1 1 200px;
  text-align: right;
}

.footer-social a {
  color: white ;
  margin-left: 10px;
  font-size: 18px;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #d50201;
}
