/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Visually hidden elements for screen readers and SEO */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body {
  background-color: #000814;
  color: #fff;
  overflow-x: hidden;
}

section {
  padding: 6rem 4rem;
  position: relative;
}

/* Background Elements */
.bg-element {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.bg-element-1 {
  width: 800px;
  height: 800px;
  background: linear-gradient(45deg, #0a1d3b, #030e1f);
  top: -200px;
  right: -200px;
  border: 1px solid rgba(100, 150, 220, 0.1);
}

.bg-element-2 {
  width: 600px;
  height: 600px;
  background: linear-gradient(45deg, #0c2144, #030e1f);
  bottom: -200px;
  left: -200px;
  border: 1px solid rgba(100, 150, 220, 0.1);
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
  position: relative;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: #6f9bde;
}

.nav-links a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #6f9bde;
  transition: width 0.3s;
}

.nav-links a:hover:after {
  width: 100%;
}

.logo-container img {
  height: 40px;
}
/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: 0.3s;
}
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}
/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 100px);
  padding: 0 4rem;
  text-align: center;
  position: relative;
}
.hero-image {
  height: 120px;
}
.brand-name {
  font-size: 9rem;
  font-weight: 700;
  color: #6f9bde;
  margin-bottom: 2rem;
  line-height: 1;
  letter-spacing: -2px;
  position: relative;
}

.brand-name::first-letter {
  color: #ffffff;
}

.registered {
  font-size: 2rem;
  vertical-align: super;
  position: relative;
  top: -20px;
}

.tagline {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: #ffffff;
  max-width: 800px;
}

.cta-button {
  display: inline-block; /* Ensures padding and margins are respected */
  text-decoration: none; /* Removes underline from link */
  background: linear-gradient(45deg, #3d6cb9, #6f9bde);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features {
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #6f9bde;
}

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

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  background: rgba(15, 40, 75, 0.3);
  border: 1px solid rgba(111, 155, 222, 0.2);
  padding: 2rem;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 8, 20, 0.5);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #6f9bde;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.feature-description {
  color: #a4b5d1;
  line-height: 1.6;
}

/* Product Showcase Styles */
.product-showcase {
  background: linear-gradient(180deg, #000814 0%, #051836 100%);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  background: rgba(15, 40, 75, 0.4);
  border: 1px solid rgba(111, 155, 222, 0.3);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 8, 20, 0.6);
}

.product-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-title {
  font-size: 1.5rem;
  color: #fff;
  margin: 1.5rem 1.5rem 1rem;
}

.product-description {
  color: #a4b5d1;
  margin: 0 1.5rem 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.product-button {
  display: inline-block;
  background: linear-gradient(45deg, #3d6cb9, #6f9bde);
  color: white;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  margin: 0 1.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.product-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Newsletter Styles */
.newsletter {
  background: linear-gradient(45deg, #051836, #092853);
  text-align: center;
}

.newsletter-content {
  max-width: 700px;
  margin: 0 auto;
}

.newsletter-text {
  color: #a4b5d1;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border-radius: 50px;
  overflow: hidden;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 1.2rem 2rem;
  border: none;
  outline: none;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.submit-button {
  background: linear-gradient(45deg, #3d6cb9, #6f9bde);
  color: white;
  border: none;
  padding: 1.2rem 2.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-button:hover {
  background: linear-gradient(45deg, #2d5ca9, #5f8bce);
}

/* Contact Section Styles */
.contact {
  background: #000814;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: #6f9bde;
}

.contact-item p {
  color: #a4b5d1;
  line-height: 1.6;
}

.contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(15, 40, 75, 0.4);
  border: 1px solid rgba(111, 155, 222, 0.3);
  border-radius: 50%;
  color: #6f9bde;
  text-decoration: none;
  transition: transform 0.3s, background 0.3s;
}

.social-icon:hover {
  transform: translateY(-3px);
  background: rgba(111, 155, 222, 0.2);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(15, 40, 75, 0.3);
  border: 1px solid rgba(111, 155, 222, 0.2);
  border-radius: 5px;
  color: #fff;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6f9bde;
  box-shadow: 0 0 0 2px rgba(111, 155, 222, 0.2);
}

.form-group textarea {
  resize: vertical;
}

/* Form validation styles */
.form-group {
  position: relative;
}

.error-message {
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-top: 0.3rem;
  height: 20px;
}

.form-group input.invalid,
.form-group textarea.invalid {
  border: 1px solid #ff6b6b;
  background-color: rgba(255, 107, 107, 0.05);
}

.form-group input.valid,
.form-group textarea.valid {
  border: 1px solid #51cf66;
}

.form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 5px;
  font-size: 1rem;
  text-align: center;
  display: none;
}

.form-status.success {
  background-color: rgba(81, 207, 102, 0.1);
  border: 1px solid #51cf66;
  color: #51cf66;
  display: block;
}

.form-status.error {
  background-color: rgba(255, 107, 107, 0.1);
  border: 1px solid #ff6b6b;
  color: #ff6b6b;
  display: block;
}

.form-status.loading {
  background-color: rgba(111, 155, 222, 0.1);
  border: 1px solid #6f9bde;
  color: #6f9bde;
  display: block;
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Animation for loading state */
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.form-status.loading {
  animation: pulse 1.5s infinite;
}

/* Footer Styles */
footer {
  background: #000814;
  border-top: 1px solid rgba(111, 155, 222, 0.2);
  padding: 4rem 4rem 2rem;
}

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

.footer-logo h3 {
  font-size: 2.5rem;
  color: #6f9bde;
  margin-bottom: 1rem;
}

.footer-logo p {
  color: #a4b5d1;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-column a {
  display: block;
  color: #a4b5d1;
  text-decoration: none;
  margin-bottom: 0.8rem;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #6f9bde;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(111, 155, 222, 0.1);
  color: #a4b5d1;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: #a4b5d1;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: #6f9bde;
}

/* CEO Word Section Styles */
.ceo-word {
  background: linear-gradient(180deg, #000814 0%, #051836 100%);
}

.ceo-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

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

.ceo-image img {
  width: 80%;
  max-width: 300px;
  border-radius: 50%;
  border: 4px solid rgba(111, 155, 222, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.ceo-message {
  position: relative;
  background: rgba(15, 40, 75, 0.3);
  border: 1px solid rgba(111, 155, 222, 0.2);
  padding: 2.5rem;
  border-radius: 15px;
}

.quote-icon {
  position: absolute;
  top: -15px;
  left: 30px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #6f9bde;
  border-radius: 50%;
  color: #051836;
  font-size: 1.2rem;
}

.ceo-message p {
  color: #a4b5d1;
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.ceo-signature h4 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.ceo-signature p {
  color: #6f9bde;
  font-size: 1rem;
  margin-bottom: 0;
}

/* Team Section Styles */
.team {
  background: #000814;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* grid-template-columns: repeat(5, 1fr); This was from the HTML style block */
  gap: 2rem;
  justify-content: center;
}

.team-member {
  background: rgba(15, 40, 75, 0.3);
  border: 1px solid rgba(111, 155, 222, 0.2);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 1.5rem;
}

/* .team-member:nth-child(7) {
  grid-column: 4;
} */

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 8, 20, 0.6);
}

.member-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-name {
  color: #fff;
  font-size: 1.3rem;
  margin: 1.5rem 0 0.3rem;
}

.member-title {
  color: #6f9bde;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.member-bio {
  color: #a4b5d1;
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
}

.member-social {
  display: flex;
  gap: 0.8rem;
}
@media (min-width: 1500px) {
  .team-member:nth-child(6) {
    grid-column: 2;
  }
}

/* Media Queries */
@media (max-width: 1024px) {
  .brand-name {
    font-size: 7rem;
  }

  .tagline {
    font-size: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .ceo-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 2rem;
  }

  nav {
    height: 65px;
    padding: 1.5rem 2rem;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0; /* Hidden off-screen to the right */
    width: 55%;
    height: 100vh;
    background: linear-gradient(180deg, #000814 0%, #051836 100%);
    flex-direction: column;
    padding: 4rem 2rem 2rem;
    gap: 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in;
      will-change: transform;
  }

  .nav-links.active {
    width: 55%;
    transform: translateX(0%);
  }

  .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(111, 155, 222, 0.2);
    transition: color 0.3s, padding-left 0.3s;
  }

  .nav-links a:hover {
    color: #6f9bde;
    padding-left: 1rem;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .brand-name {
    font-size: 5rem;
  }

  .hero {
    padding: 0 2rem;
  }

  .newsletter-form {
    border-radius: 10px;
  }

  .newsletter-form input {
    padding: 1rem;
    border-radius: 0 ;
  }

  .submit-button {
    padding: 1rem;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 1rem;
  }

  .team-grid {
    grid-template-columns: repeat(
      2,
      1fr
    ); /* This overrides the existing @media (max-width: 768px) .team-grid rule */
  }
}

@media (max-width: 480px) {
  section {
    padding: 3rem 1.5rem;
  }

  .brand-name {
    font-size: 3.5rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .registered {
    font-size: 1.5rem;
    top: -10px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .product-container {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr; /* This is consistent with the existing @media (max-width: 480px) .team-grid rule */
  }
  .nav-links {
    width: 250px;
    padding: 3rem 1.5rem 2rem;
  }

  .nav-links a {
    font-size: 1.1rem;
  }
}

/* Moved from HTML */
.contact-form .form-row {
  display: flex;
  gap: 1rem;
  /* Adjust gap as needed */
}

.contact-form .form-row .form-group {
  flex: 1;
  /* Each input group takes equal space */
}

html {
  scroll-behavior: smooth;
}
html {
  scroll-behavior: smooth;
}

/* Responsive Design */

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large Tablet (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
  section {
    padding: 5rem 3rem;
  }

  .tagline {
    font-size: 1.6rem;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ceo-container {
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
  section {
    padding: 4rem 2rem;
  }

  nav {
    padding: 1.5rem 2rem;
  }

  .nav-links {
    gap: 2rem;
  }

  .hero {
    padding: 2rem;
    min-height: calc(100vh - 80px);
  }

  .tagline {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .ceo-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .newsletter-form {
    border-radius: 10px;
  }

  .newsletter-form input {
    padding: 1rem;
    border-radius:  0 ;
  }

  .submit-button {
    border-radius: 0px;
    padding: 1rem;
  }

  .bg-element-1,
  .bg-element-2 {
    width: 500px;
    height: 500px;
  }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
  section {
    padding: 3rem 1.5rem;
  }

  nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 1rem;
  }

  .hero {
    padding: 1.5rem;
    min-height: calc(100vh - 60px);
  }

  .hero-image {
    height: 80px;
  }

  .tagline {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .cta-button {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    padding: 1.5rem;
    min-height: auto;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .product-container {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .bg-element-1,
  .bg-element-2 {
    width: 300px;
    height: 300px;
  }

  .ceo-message {
    padding: 2rem;
  }

  .quote-icon {
    left: 20px;
  }
}

/* Mobile Small (up to 575px) */
@media (max-width: 575px) {
  section {
    padding: 2rem 1rem;
  }

  nav {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .hero {
    padding: 1rem;
    min-height: calc(100vh - 120px);
  }

  .hero-image {
    height: 60px;
  }

  .tagline {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-icon {
    font-size: 2rem;
  }

  .feature-title {
    font-size: 1.3rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .member-image {
    height: 200px;
  }

  .product-container {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 250px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    padding-top: 1.5rem;
  }

  .bg-element-1,
  .bg-element-2 {
    width: 200px;
    height: 200px;
  }

  .ceo-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ceo-message {
    padding: 1.5rem;
  }

  .ceo-message p {
    font-size: 1rem;
  }

  .quote-icon {
    left: 15px;
    width: 35px;
    height: 35px;
  }

  .newsletter-text {
    font-size: 1rem;
  }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
  section {
    padding: 1.5rem 0.5rem;
  }

  .hero {
    padding: 0.5rem;
  }

  .hero-image {
    height: 50px;
  }

  .tagline {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }

  .feature-card {
    padding: 1rem;
  }

  .feature-icon {
    font-size: 1.8rem;
  }

  .feature-title {
    font-size: 1.2rem;
  }

  .feature-description {
    font-size: 0.9rem;
  }

  .member-image {
    height: 180px;
  }

  .member-name {
    font-size: 1.1rem;
  }

  .member-bio {
    font-size: 0.8rem;
    padding: 0 1rem;
  }

  .product-image {
    height: 200px;
  }

  .ceo-message {
    padding: 1rem;
  }

  .ceo-message p {
    font-size: 0.9rem;
  }

  .quote-icon {
    width: 30px;
    height: 30px;
    left: 10px;
  }

  .bg-element-1,
  .bg-element-2 {
    display: none;
  }
  .nav-links {
    width: 220px;
  }
}
body.menu-open {
  overflow: hidden;
}
/* Landscape Mobile Orientation */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 1rem;
  }

  .hero-image {
    height: 40px;
  }

  .tagline {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  section {
    padding: 2rem 1rem;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-image,
  .member-image img,
  .product-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  * {
    background: white !important;
    color: black !important;
  }

  .bg-element,
  .mobile-menu-toggle,
  nav,
  .cta-button,
  .product-button,
  .submit-button,
  .social-icon {
    display: none !important;
  }

  section {
    padding: 1rem !important;
    page-break-inside: avoid;
  }

  .section-title {
    color: black !important;
    page-break-after: avoid;
  }
}
