/* ========== BASE STYLES ========== */
:root {
  --primary: #1e3a8a;
  --primary-dark: #004d99;
  --secondary: #00a859;
  --secondary-dark: #007d49;  
  --accent: #0077cc;
  --text-dark: #000000;
  --text-light: #5a6d80;
  --bg-light: #f4f9f7;
  --bg-lighter: #f9f9f9;
  --white: #ffffff;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: #f7f7f7;
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  min-height: 40px;
}

h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  top: 45px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--secondary);
}
/* ========== HEADER & NAVBAR ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive container */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  gap: 20px;
  flex-wrap: nowrap;
  overflow: hidden;
}

/* Logo */
.logo img {
  height: 90px;
  width: auto;
  user-select: none;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

/* Center part: nav + language */
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  gap: 30px;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  display: inline-block;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}

nav ul li a:hover,
nav ul li a:focus {
  color: var(--secondary);
  background-color: rgba(0, 168, 89, 0.1);
}

.nav-links .active {
  border-bottom: 2px solid var(--accent);
  color: var(--accent);
}

/* Language switcher */
.language-switcher {
  font-size: 14px;
  margin-left: 20px;
  white-space: nowrap;
}

.language-switcher a {
  color: #333;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s ease;
}

.language-switcher a.active {
  font-weight: bold;
  color: var(--accent);
}

/* Catalog button */
.catalog-button {
  margin-left: 20px;
}

.catalog-button a {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  font-size: 14px;
}

.catalog-button a i {
  margin-right: 6px;
}

.catalog-button a:hover {
  background-color: #0056b3;
}


/* ========== RESPONSIVE NAV ========== */
.menu-toggle {
  display: none;
  cursor: pointer;
}

@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }

  nav {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  nav.active {
    max-height: 500px;
    padding: 20px 0;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .language-switcher {
    padding-top: 15px;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .about-img,
  .about-text {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .logo img {
    height: 70px;
  }
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.8;
  filter: brightness(30%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

#why-nano {
  padding: 4rem 1rem;
  background-color: #f5f7fa;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1a202c;
}
#why-us {
  padding: 4rem 1rem;
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 1100px;
  margin: 0 auto;
}

#why-us h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

#why-us h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: var(--radius-sm);
}

#why-us p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2rem;
  text-align: justify;
}

#why-us strong {
  color: var(--primary-dark);
}

#why-us em {
  font-style: italic;
  color: var(--accent);
}

@media (max-width: 768px) {
  #why-us {
    padding: 2rem 1rem;
  }

  #why-us h2 {
    font-size: 2rem;
  }

  #why-us p {
    font-size: 1rem;
  }
}


/* ========== FOOTER ========== */
.site-footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 4rem 0 2rem;
  margin-top: 0px;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;  
}

.footer-column {
  flex: 1 1 220px;
  min-width: 180px;
}

.footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-column a {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--white);
  text-decoration: none;
  padding: 4px 0;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.footer-column a:hover {
  background-color: var(--primary-dark);
  padding-left: 8px;
}

.newsletter p {
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-form input[type="email"] {
  padding: 10px 12px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  width: 100%;
}

.newsletter-form .privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.newsletter-form .privacy a {
  color: var(--white);
  text-decoration: underline;
}

.newsletter-form button {
  padding: 10px 16px;
  background-color: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--secondary-dark);
}

/* Footer social media */
.footer-column.social-media {
  flex: 1;
  min-width: 180px;
}

.footer-column.social-media h4 {
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 18px;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-icons a {
  color: var(--primary);
  font-size: 20px;
  text-decoration: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background-color: #f1f1f1;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icons a:hover,
.social-icons a:focus {
  background-color: var(--primary);
  color: white;
}


@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

.split-section {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
}

.split-image,
.split-content {
  flex: 1 1 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .split-image,
  .split-content {
    flex: 1 1 50%;
    max-width: 50%;
  }
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content {
  padding: 40px;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

