@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@300;400;900&display=swap');

*{
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  box-sizing: border-box;
}

section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 40px 20px;
}

a {
  text-decoration: none;
}

/* Colors */
.primary {
  background-color: #789DBF;
}

.primary--text {
  color: #789DBF;
  
}

/* Text */
.text-title {
  font-size: 2rem;
  line-height: 3rem;
  text-align: center;
}

.text-base {
  font-size: 1.3rem;
  line-height: 1.8rem;
}

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

.text-bold {
  font-weight: bold;
  text-transform: uppercase;
}

/* Display */
.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height:18px
}

.none-block-md {
  display: block;
  position: relative;
  top: 44px;
  align-items: center;
  width: 913px;
}

/* Sections */
header {
  width: 100%;
  height: 6rem;
  position: fixed;
  z-index: 10;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(20px);
}

header .header-content {
  padding: 20px 40px;
}

header .header-content a {
  margin-left: 20px;
}

#presentation {
  padding: 0;
  margin: 0;
  height: 160vh;
}

.presentation-content {
  position: relative;
  width: 50%;
  height: 130vh;
  background-color: rgba(0, 0, 0, .4);
}

.logoHolder {
  width: 160px;
  height: 160px;
  border-radius: 10px;
  left: 0;
  right: 0;
  position: relative;
  z-index: 100;
}

.logo {
  width: 160px;
  height: 160px;
  border-radius: 10px;
  padding: 40px 0;
  height: auto;
  max-width: 180px;
  position: relative;
  top: 3px;
  bottom: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 15;
}

/* Menu Items Styling */
.menu-item {
  position: relative;
  margin: 0 5px;
  transition: all 0.3s ease;
  animation: fadeIn 0.5s ease forwards;
  color: #003366 !important;
  transform: translateZ(0);
  /* Hardware acceleration */
  will-change: transform;
  /* Performance hint */
  
}

.menu-item i {
  margin-right: 1px;
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

/* Hover Effects */
.menu-item:hover {
  color: #789DBF !important;
}

.menu-item:hover i {
  transform: translateY(-2px);
}

/* Underline Effect */
.menu-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #789DBF;
  transition: width 0.3s ease;
  
}

.menu-item:hover::after {
  width: 100%;
}

/* Active State */
.menu-item.active {
  color: #789DBF !important;
}

.menu-item.active::after {
  width: 100%;
}

/* Stagger animation for menu items */
.menu-item:nth-child(1) {
  animation-delay: 0.1s;
}

.menu-item:nth-child(2) {
  animation-delay: 0.2s;
}

.menu-item:nth-child(3) {
  animation-delay: 0.3s;
}

.menu-item:nth-child(4) {
  animation-delay: 0.4s;
}

.menu-item:nth-child(5) {
  animation-delay: 0.5s;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.form-group label {
  position: absolute;
  left: 10;
  right: 0;
  margin: inherit;
  top: 0px;
}

.hero-section {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  height: 100vh;
  padding: 0;
  margin: 0;
  position: relative;
}

/* CSS melhorado para o carrossel */
.hero-carousel {
  position: relative;
  height: 100vh;
  width: 55%;
  overflow: hidden;
  margin-top: 40px;

  border-radius: 8px;
}

.hero-image-container {
  position: relative;
  height: 100%;
  width: 100%;
}

.hero-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0;
  transition: opacity 1s ease, transform 1.2s ease;
  transform: scale(1.05);
  border-radius: 8px;
}

.hero-image-container img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* Indicadores de posição */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.indicator.active {
  background-color: #fff;
  transform: scale(1.2);
}

/* Botões de navegação */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.hero-carousel:hover .carousel-nav {
  opacity: 1;
}

.carousel-nav:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.carousel-nav.prev {
  left: 15px;
}

.carousel-nav.next {
  right: 15px;
}


.hero-content {
  flex: 1;
  padding: 4rem;
  z-index: 2;
  background-color: #ffffff;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #003B73;
  cursor: default;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 3.5rem;
  color: #666;
  cursor: default;
}
.cta-button {
  display: block;
  margin: 30px auto;

  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: #003366;

  border-radius: 4px;
  transition: color 0.3s ease;
}

.cta-button:hover {
  color: #cc0000;
}

.cta-button2 {
  display: block;
  margin: 30px auto;
  padding: 12px 24px;
  width: 290px;

  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  background:linear-gradient(90deg, #003366, #789DBF);;
  color: #ffffff;

  border-radius: 4px;
  transition: color 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.products-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.tech-underline {
  position: relative;
  color: #003366;
  padding-bottom: 10px;
}

.tech-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15%;
  width: 73%;
  height: 3px;
  background: linear-gradient(90deg, #003366, #cc0000);
  border-radius: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}


.card-image {
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: fill;
  transition: transform 0.5s ease
}



.logo-link {
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
}

.logo-light-mode {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.7));
}

.secondary {
  background-color: var(--secondary-blue);
}

.accent {
  background-color: var(--primary-red);
}

.accent--text {
  color: var(--primary-red);
}

/* Button Styles */
.btn {
  background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
  color: var(--white);
  padding: 12px 24px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: linear-gradient(45deg, var(--primary-red), var(--secondary-red));
  transform: translateY(-2px);
}


/* Animation Effects */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.animated-gradient {
  background: linear-gradient(270deg, var(--primary-blue), var(--primary-red));
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
}


.form-group .line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #789DBF;
  transition: width 0.3s ease;
}

.form-group input:focus+.line,
.form-group textarea:focus+.line {
  width: 100%;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background-color: #789DBF;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.submit-button i {
  margin-left: 10px;
}

.submit-button:hover {
  background-color: #567a9f;
}

.products-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.tech-underline {
  position: relative;
  color: #003366;
  /* Dark blue */
  padding-bottom: 10px;
}

.tech-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, #003366, #cc0000);
  /* Blue to red gradient */
  border-radius: 2px;
}

.product-description li {
  color: #666;
  font-size: 1rem;
  line-height: 1.5;
}

/* Add animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-aos="fade-up"] {
  animation: fadeInUp 0.6s ease forwards;
}

.products-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.tech-underline {
  position: relative;
  color: #003366;
  /* Dark blue */
  padding-bottom: 10px;
}

.tech-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15%;
  width: 73%;
  height: 3px;
  background: linear-gradient(90deg, #003366, #cc0000);
  /* Blue to red gradient */
  border-radius: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  opacity: 1;
}

.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 51, 102, 0.2), rgba(204, 0, 0, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hover-overlay:hover {
  opacity: 1;
}

.card-content {
  padding: 1.5rem;
  margin: 0 20px;
}

.product-title {
  color: #003366;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.product-description {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}


.logo-link {
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
}

.logo-light-mode {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.7))
}

.logo-dark-mode {
  filter: drop-shadow(0 0 10px rgba(0, 51, 102, 0.9)) drop-shadow(0 0 15px rgba(204, 0, 0, 0.8)) drop-shadow(0 0 5px rgba(255, 255, 255, 0.9));
}



.hamburger-menu {
  display: none;
}

.about-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.about-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 20px;


}

.section-title1 {
  text-align: center;
  margin-bottom: 60px;
  color: #003366;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  color: #003366;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  top: 90px;
  left: 43.5%;
  width: 13%;
  height: 3px;
  background: linear-gradient(90deg, #003366, #cc0000);
  /* Blue to red gradient */
  border-radius: 2px;
}


.title-prefix {
  font-size: 2.5rem;
  color: #003366;
  font-weight: bold;
}

.title-suffix {
  font-size: 2.5rem;
  color: #003366;
  font-weight: bold;
}

.logo-inline {
  height: 40px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}



.about-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #003366, #cc0000);
}

.about-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 20px;
}

.card-content h3 {
  color: #003366;
  font-size: 1.5rem;
  margin-bottom: 15px;

}

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

/* Smooth scroll transitions */
html {
  scroll-behavior: smooth;
}

.section-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-scroll-direction="up"] section {
  transform: translateY(-20px);
}

/* Optional: Add transition for background parallax effect */

.scroll-animation {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.17, 0.55, 0.55, 1);
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Add specific animations for different sections */
#presentation.animate-in {
  animation: fadeInScale 1s ease forwards;
}

#about.animate-in {
  animation: slideInFromRight 1s ease forwards;
}

#projects.animate-in {
  animation: slideInFromLeft 1s ease forwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.sr-only {
  color: #000000;
}

/* Seção de Contato */
.contact {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  padding: 80px 20px;
}

.contact h2 {
  text-align: center;
  color: #003366;
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
}

.contact h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #003366, #789DBF);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 0 20px;
}

.contact-info {
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
  color: #003366;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: #666;
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: column;
  flex-direction: center;
  gap: 15px;
}

.contact-item i {
  color: #789DBF;
  font-size: 1.2rem;
}

.contact-item a,
.contact-item span {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #003366;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.fa-whatsapp:hover{
  transform: scale(1.5);
  
}
.fa-shopping-cart:hover{
  transform: scale(1.5);
  
}

.cta-button2:hover {
  background: #005e93;
  transform: rotate(360deg);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 119, 181, 0.6);
}
/*---------------------------------------------------------*/

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-group input{
  width: 100%;
  padding: 12px 0;
  font-size: 1rem;
  color: #333;
  border: none;
  border-bottom: 2px solid #e0e0e0;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group textarea {
  width: 100%;
  height: 120px;
  resize: none;
  padding: 12px 0;
  font-size: 1rem;
  color: #333;
  border: none;
  border-bottom: 2px solid #e0e0e0;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group label {
  position: absolute;
  left: 0;
  top: 12px;
  color: #999;
  transition: 0.3s ease;
  pointer-events: none;
}

.form-group input:focus~label,
.form-group textarea:focus~label,
.form-group input:valid~label,
.form-group textarea:valid~label {
  top: -20px;
  font-size: 0.8rem;
  color: #003366;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #789DBF;
}

.submit-button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(90deg, #003366, #789DBF);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-button:hover {
  background: #005e93;
  transform: rotate(360deg);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 119, 181, 0.6);
}

.carousel-container {
  max-width: 1200px;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 300px;
  height: 300px;
  margin: 0 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.carousel-slide img {
  width: 100%;
  height: 80%;
  object-fit: fill;
  border-radius: 8px;
  margin-bottom: 1rem;
  cursor: pointer;
}


.carousel-slide h2 {
  color: #003366;
  margin-bottom: 0.5rem;
}


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

.carousel-btn-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 2px solid #0066cc;
  color: #0066cc;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn-next {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: transparent;
  border: 2px solid #0066cc;
  color: #0066cc;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn-prev:hover {
  background: #0066cc;
  color: white;
}

.carousel-btn-next:hover {
  background: #0066cc;
  color: white;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: (background 0.3s ease);
}

.dot.active {
  background: #0066cc;
}


.location-link:hover {
  color: #007bff !important;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}


.linkedin-container {
  margin-top: 25px;
  text-align: center;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #003366;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  position: relative;
  transition: all 0.4s ease;
}

.linkedin-icon {
  font-size: 28px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0px);
  }
}

.linkedin-link:hover {
  background: #005e93;
  transform: rotate(360deg);
  box-shadow: 0 0 20px rgba(0, 119, 181, 0.6);
}

.linkedin-link::after {
  content: "Quantyka Lab Supply";
  position: absolute;
  bottom: -30px;
  font-size: 14px;
  color: #003366;
  width: 150px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.linkedin-link:hover::after {
  opacity: 1;
}

.copyright {
  padding: 20px 0;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  margin-top: 30px;
}

.copyright p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

/* Responsividade */

/* Performance optimization */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  section {
    transition: none;
  }
}

/* Medium Screens (768px to 1199px) */
@media screen and (min-width: 768px) and (max-width: 1100px) {

  .block-md {
    display: block;
    position: relative;
    width: 770px;
  }

  .contact {
    padding: 60px 20px;
  }

  .contact-container {
    grid-template-columns: 1fr 1fr;
    max-width: 700px;
    gap: 60px;
    padding: 0 30px;
  }

  .contact h2 {
    font-size: 2.2rem;
  }

  .contact-info h3 {
    font-size: 1.6rem;
  }

   .flex-md {
    display: flex;
  }
  
   .flex-row-md {
    flex-direction: row;
  }

  .flex-column-md {
    flex-direction: column;
  }

  .hero-section {
        flex-direction: column-reverse;
    }

  .hero-content {
    padding: 100px 64px 0;
  }

  .hero-carousel {
    width: 100vw;
    height: 120vh;
  }

  .hero-image-container {
    width:120vw;
    height: 120vh;


  }
  .hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    bottom: 0;
  }

  .none-md {
    display: none;
  }

  .text-heading {
    font-size: 6.5rem;
    line-height: 6rem;
  }



}

/* Tablets (481px to 767px) */
@media screen and (min-width: 481px) and (max-width: 767px) {

  header {
    
    width: 100%;

  }

  .about-container {
    grid-template-columns: 1fr;
    flex-direction: column-reverse;
  }
  .about-section {
    padding: 60px 0;
  }

  .title-prefix,
  .title-suffix {
    font-size: 2rem;
  }

  .logo-inline {
    height: 30px;
  }

  .about-card {
    padding: 40px;
  }

  .logo {
    width: 143px;
    right: 63px;
    top: 9px;
  }

  .contact-info {
    width: 90%;
  }

  .contact-form {
    padding: 1.5rem;
    width: 90%;
  }

  .contact-container {
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact h2 {
    font-size: 2rem;
  }

  .contact {
    padding: 50px 15px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .contact-info {
    padding: 25px;
  }

  .contact-form {
    padding: 30px;
  }

  .hero-content {
    padding: 100px 64px 0;
  }

  .hero-subtitle{
    margin-bottom: 0;
  }

  .hamburger-menu {
    display: block;
    position: relative;
    z-index: 1000;
    
  }

  .hero-section {

    flex-direction: column-reverse;
  }

  .hero-carousel{
    width: 100%;
    height: 120vh;
  }
  .hero-image-container img {
    width: 100%;
    height: 140%;
    object-fit: fill;
    bottom: 0;

  }

  .hero-image-container {
    width: 100%;
    height: 70%;
  }

  .hero-section {

    flex-direction: column-reverse;
  }

 

  .mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    padding: 80px 20px 20px;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .mobile-nav.active {
    right: 0;
  }

  .menu-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: rgba(22, 9, 201, 0.9);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 8px;
  }

  .menu-item:hover {
    background: #003366;
    transform: translateX(5px);
  }

  .menu-item i {
    width: 20px;
    text-align: center;
  }

  .none-block-md {
    display: none;
  }

  .text-heading {
    font-size: 4rem;
    line-height: 5rem;
  }

}
/* Mobile Phones (480px and below) */
@media screen and (max-width: 480px) {
  
  .about-container {
    grid-template-columns: 1fr;
    flex-direction: column-reverse;

  }

  .contact {
    padding: 40px 15px;
  }

  .contact h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 10px;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-info {
    padding: 20px;
  }

  .contact-info h3 {
    font-size: 1.4rem;
  }

  .contact-item i {
    font-size: 1rem;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .menu-toggle {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    right: 100px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 100px;
    z-index: 1000;
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #cc0000;
    margin: 6px 0;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 6px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -6px);
  }

  .form-group {
    margin-bottom: 25px;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.6rem;
    font-size: 0.9rem;
  }

  header{
    height: 6rem;
  }

  section{
    padding: 0 0;
  }


  .hero-section {
    flex-direction: column-reverse;
    padding: 0;
    margin:0;
    
  }
  .hero-content {
    padding: 120px 64px 0;
  }
  .hero-carousel{
    width: 100%;
    height: 120vh;
  }
  .hero-image-container img {
    width: 100%;
    height: 28%;
    object-fit: fill;
    bottom: 0;
    margin-bottom: -90px;
  }

  .logo-inline {
    height: 25px;
  }

  #presentation {
    padding: 0;
    height: 155vh;
  }

  .menu-item{
    display:none;
  }

  .none-block-md {
    display: none;
  }


  .submit-button {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .title-prefix {
    font-size: 1.5rem;
  }
  .hero-carousel {
    width: 100vw;
    height: 50vh;

  }
  .hero-image-container {
    width: 100vw;
    height: 100vh;
    min-height: 350px;
    max-height: 100vh;
  }
  
  .title-suffix {
    font-size: 1.5rem;
  }
  .logo {
    width: 143px;
    right: 63px;
    top: 9px;
  }

}

