:root {
  --primary: #001f3f;
  --primary-light: #48a1cf;
  --secondary: #48a1cf;
  --accent: #10b981;
  --background: #f8fafc;
  --text: #001f3f;
  --text-light: #4a5568;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- NAVBAR MOBILE FIRST --- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 0;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 35px;
  display: block;
}

.menu-toggle {
  display: none;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.nav-links {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background: var(--white);
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
  list-style: none;
}

.nav-links li a {
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary);
}

.menu-toggle:checked~.nav-links {
  right: 0;
}

.menu-toggle:checked~.mobile-menu-btn span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle:checked~.mobile-menu-btn span:nth-child(2) {
  opacity: 0;
}

.menu-toggle:checked~.mobile-menu-btn span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- HERO SECTION --- */
.hero {
  padding: 7rem 0 4rem;
  background: linear-gradient(135deg, #eff6ff 0%, #ecfeff 100%);
  text-align: center;
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

/* --- COMMON SECTIONS --- */
.products,
.services,
.about,
.contact {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* --- PRODUCTS --- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #f1f5f9;
}

.product-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.product-content {
  padding: 2rem;
}

.product-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.product-link {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- SERVICES --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid #f1f5f9;
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
  font-size: 0.95rem;
  color: var(--text-light);
}

.service-card ul li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- ABOUT --- */
.about {
  text-align: center;
}

.about-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.mission-box {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  padding: 2.5rem;
  border-radius: 30px;
  margin-bottom: 4rem;
  box-shadow: var(--shadow);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.value-card i {
  font-size: 2rem;
  color: var(--primary-light);
  margin-bottom: 1rem;
}

/* --- CONTACT --- */
.contact {
  background-color: var(--primary);
  color: var(--white);
}

.contact .container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.contact-text a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
}

.contact-visual>div {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

/* --- FOOTER --- */
footer {
  padding: 3rem 0;
  background-color: #0f172a;
  color: var(--white);
  text-align: center;
  font-size: 0.9rem;
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeIn 0.8s ease forwards;
}

/* --- DESKTOP MEDIA QUERIES --- */

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }

  .section-header h2 {
    font-size: 3rem;
  }

  .product-grid,
  .services-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 4rem;
  }

  nav {
    padding: 1.25rem 0;
  }

  .logo img {
    height: 45px;
  }

  .mobile-menu-btn {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    height: auto;
    width: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
    gap: 3rem;
  }

  .nav-links li a {
    font-size: 1rem;
    font-weight: 500;
  }

  .nav-links a:hover {
    color: var(--primary-light);
  }

  .hero {
    padding: 12rem 0 8rem;
    text-align: left;
  }

  .hero .container {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
  }

  .hero-content h1 {
    font-size: 4.5rem;
  }

  .hero-image img {
    max-width: 500px;
    margin: 0;
  }

  .products,
  .services,
  .about,
  .contact {
    padding: 8rem 0;
  }

  .section-header h2 {
    font-size: 3.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about {
    text-align: left;
  }

  .about-header {
    margin: 0 0 4rem;
    text-align: left;
  }

  .about-header h2 {
    font-size: 4rem;
  }

  .mission-box {
    padding: 4rem;
    text-align: center;
  }

  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: left;
    align-items: center;
  }

  .contact-item {
    flex-direction: row;
    text-align: left;
    margin-bottom: 0;
  }
}