* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: #e6e2e2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo Animation */
.logo img {
  transition: all 0.3s ease;
  animation: logoFloat 3s ease-in-out infinite;
}

.logo img:hover {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-size: 20px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.nav-links a:hover {
  color: #022f56;
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #1e3a8a;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  display: block;
  text-align: center;
}

.mobile-nav-links {
  list-style: none;
  padding: 1rem;
}

.mobile-nav-links li {
  margin-bottom: 8px;
}

.mobile-nav-links a {
  display: block;
  padding: 12px;
  text-decoration: none;
  color: #1e3a8a;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.mobile-nav-links a:hover {
  background-color: #f1f5f9;
}

.mobile-login {
  margin-top: 1rem;
}

.mobile-login .login-btn {
  width: 100%;
}

/* Reset default styles */
.nav-links,
.dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Dropdown styles */
.dropdown {
  position: relative;
}

/* .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
} */

.dropdown-menu {
  max-height: 230px; /* adjust height as needed */
  overflow-y: auto;
  display: none; /* Hidden by default */
  position: absolute;
  background: white;
  z-index: 1000;
  padding: 10px;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}


.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: #f0f0f0;
}

/* Show menu when .open class is added */
.dropdown.open .dropdown-menu {
  display: block;
}
/* *** */

/* Hero Section */
.hero {
  /* background: #f5f5dc; */
  /* background: rgb(178, 85, 85); */
  /* color: black; */
  background: radial-gradient(circle, #003058, #00081b);
  color: white;
  padding: 4rem 0;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}



.hero .container {
  position: relative;
  z-index: 2;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h3 {
  color: rgb(228, 204, 204);
  font-size: 2.7rem;
  font-family: "monospace", "Georgia", "Times New Roman", serif;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-align: center;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: none;
  transform: skew(-3deg);

   /* color: rgb(241, 234, 234);
  font-size: 2.5rem;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  text-align: center;
  font-style: normal;
  font-weight: 100; */
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

/* About Section */
.about {
  background: #f8fafc;
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 400;
  color: black;
  margin-bottom: 3rem;
  font-family: "Inter", sans-serif;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: auto;
}

.about-image-border {
  position: absolute;
  top: 30px;
  left: -10px;
  width: 10px;
  height: 85%;
  background-color: #555556;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
  z-index: 0;
}

.about-image {
  background: #021d3b;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: black;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-text strong {
  color: black;
  font-weight: 400;
}

/* Products Section */
.products {
  background: white;
  padding: 5rem 0;
  display: flex;
  align-items: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 400px);
  gap: 2rem;
  justify-content: center;
}

.product-card {
  background: white;
  border-radius: 12px;
  /* box-shadow: 0 40px 45px rgba(0, 0, 0, 0.1); */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: all 0.3s ease;
  width: 380px;
  height: 320px;
}

.products-grid > .product-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
}

.product-card:hover {
  box-shadow: 0 30px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.product-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  background: linear-gradient(135deg, #ffff 0%, #ffff 100%);
}

.product-info {
  padding: 1rem;
  text-align: center;
}

.product-info h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: black;
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background: #021d3b;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgb(215, 145, 91);
}

.footer-section p,
.footer-section li {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 1rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Responsive Design */

@media (max-width: 1024px) {
  .nav-links,
  .login-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-text h3 {
    font-size: 2rem;
  }

  .about-image-border {
    top: 25px;
  }
}

@media (max-width: 880px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  .product-image {
    padding: 1rem;
  }

  .product-image img {
    max-width: 300px;
    max-height: 200px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 600px;
    padding: 4rem 0;
  }
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .login-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-image img {
    max-width: 80%;
    height: auto;
  }

  .hero-text h3 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image-border {
    position: absolute;
    top: 30px;
    left: -10px;
    width: 10px;
    height: 85%;
    background-color: #555556;
    z-index: 0;
  }

  .about-image-wrapper {
    width: 90%;
    max-width: 350px;
    margin: auto;
    margin-bottom: 20px;
  }

  .about-text p {
    padding: 0 20px 0 20px;
    text-align: justify;
  }

  .section-title {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero-text h3 {
    font-size: 1.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .about-image-wrapper {
    width: 70%;
  }

  .about-image-border {
    position: absolute;
    top: 22px;
    left: -10px;
    width: 10px;
    height: 85%;
    background-color: #555556;
    z-index: 0;
  }

  .about,
  .products {
    padding: 3rem 0;
  }

  .about-text p {
    margin-bottom: 1.5rem;
    padding: 20px;
    text-align: justify;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .product-card {
    width: 250px;
    height: 300px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-image {
    padding: 1rem;
  }

  .product-image img {
    max-width: 200px;
    max-height: 200px;
  }
}

@media (max-width: 300px) {
  .container {
    padding: 0 10px;
  }

  .hero-text h3 {
    font-size: 1.5rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .about-image-border {
    position: absolute;
    top: 18px;
    left: -8px;
    width: 8px;
    height: 85%;
    background-color: #555556;
    z-index: 0;
  }

  .about-text {
    font-size: 1rem;
  }

  .product-info h3 {
    font-size: 1.1rem;
  }

  .product-info p {
    font-size: 0.8rem;
  }
}
