/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #181818;
  --primary-dark: #181818;
  --secondary-color: #f4f5f7;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --white: #ffffff;
  --max-width: 1200px;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  color: var(--text-primary);
}

/* Navigation */
.navbar {
  background-color: black;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: 64px;
}
.navbar a {
  text-decoration: none;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  width: 50px;
  height: 32.98px;
}
button.globe-button {
  background-color: black;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lucide-globe {
  cursor: pointer;
  stroke: white;
  background-color: black;
}

/* Optional: Add transition for smooth hover effect */
.lucide-globe:hover {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.language-selector {
  position: relative;
}

.language-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.5rem;
  background: black; /* Changed from white to black */
  border-radius: 0.375rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  min-width: 8rem;
  z-index: 50;
}

.lang-option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.5rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  color: white; /* Changed from #1a1a1a to white */
  background-color: black; /* Added black background */
  border: none; /* Added to remove any default button borders */
}

.lang-option:hover {
  background-color: white; /* Changed from #f3f4f6 to white */
  color: black; /* Added black text on hover */
}

.checkmark {
  color: #1983a3;
  margin-right: 0.5rem;
}

.selected {
  font-weight: 600;
}

.brand-name {
  color: white;
  margin-left: 0.5rem;
  font-size: 1.125rem;
  font-weight: 500;
}

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

.navLink {
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}

.hoverText {
  color: rgb(255, 255, 255);
}

.hoverText:not(.activeLink):hover {
  color: gray;
}

/* .activeLink {
  color: #f00;
} */

/* .activeLink::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background-color: #f00;
  position: absolute;
  left: 0;
  bottom: 0;
} */

.mobile-menu-btn {
  display: none;
}

/* Hero Section */
.hero-section {
  padding: 8rem 1rem 4rem;
  background: linear-gradient(to bottom, #c8d4e0, #c8d4e0);
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero-headline {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--primary-color), #000000);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.dashboard-preview {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* Buttons */
.button-container {
  display: flex;
  gap: 1rem;
}

.primary-button,
.secondary-button,
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.primary-button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
}

.primary-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

.secondary-button {
  background-color: var(--secondary-color);
  color: var(--text-primary);
  border: none;
}

.secondary-button:hover {
  background-color: #e5e7eb;
}

.button-icon {
  width: 20px;
  height: 20px;
}

/* Features Section */
#features {
  padding: 4rem 1rem;
  background-color: #c8d4e0;
}

.features-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

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

.feature-card {
  padding: 2rem;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--text-secondary);
}

/* Solution Section */
.solution-section {
  padding: 4rem 1rem;
  background-color: var(--secondary-color);
}

.solution-content {
  display: flex;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.solution-text {
  flex: 1;
}

.features-list {
  list-style: none;
  margin-top: 2rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.features-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.feature-info h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.feature-info p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.solution-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.feature-preview {
  max-width: 80%;
  height: auto;
  border-radius: var(--border-radius);
}
.feature-cal {
  width: 400px; /* Set fixed width */
  height: auto; /* Maintain aspect ratio */
  object-fit: cover; /* Ensure image covers area without distortion */
  border-radius: 8px; /* Optional: adds rounded corners */
}

/* Contact Section */
.contact-section {
  background-color: #c8d4e0;
  padding: 4rem 1rem;
}

.cta-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.cta-text {
  flex: 1;
  padding-left: 0; /* Remove fixed padding */
}

.cta-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-heading {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.contact-form {
  display: flex;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form input:focus {
  outline: none;
  border-color: var(--primary-dark);
}

.cta-button {
  background-color: var(--white);
  color: var(--primary-color);
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  white-space: nowrap;
}

.cta-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-1px);
}

.form-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Footer */
.footer {
  background-color: var(--text-primary);
  color: var(--white);
  padding: 4rem 1rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}

.footer-brand {
  flex: 1;
}

.footer-logo {
  width: 40px;
  height: auto;
  margin-bottom: 1rem;
}

.copyright {
  color: var(--secondary-color);
  font-size: 0.875rem;
}

.footer-links-container {
  display: flex;
  gap: 4rem;
}

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

.footer-column h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.875rem;
}

.footer-link:hover {
  color: var(--white);
}
/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: 0.3s;
}

/* Mobile Menu Button Animation */
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-headline {
    font-size: 2.5rem;
  }

  .solution-content {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links-container {
    flex-wrap: wrap;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: black; /* Changed to match navbar color */
    padding: 1rem;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
  .nav-links.show {
    display: flex;
  }

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

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1001;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .button-container {
    justify-content: center;
  }

  .contact-form {
    flex-direction: column;
    padding: 0 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
  .cta-container {
    flex-direction: column;
    text-align: center;
    padding: 0 1rem;
  }

  .cta-text {
    padding-left: 0;
    margin-bottom: 2rem;
  }

  .cta-heading {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1.125rem;
  }

  .feature-cal {
    width: 100%;
    max-width: 400px;
  }

  .footer-links-container {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .section-heading {
    font-size: 2rem;
  }

  .button-container {
    flex-direction: column;
  }

  .feature-card {
    padding: 1.5rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.feature-card,
.features-list li {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Accessibility */
:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Mobile controls container */
.mobile-controls {
  display: none;
  align-items: center;
  gap: 1rem;
}

/* Adjust media queries for the language selector */
@media (max-width: 768px) {
  .mobile-controls {
    display: flex;
  }

  /* Hide the original language selector in nav-links on mobile */
  .nav-links .language-selector {
    display: none;
  }

  /* Show the language selector in mobile controls */
  .mobile-controls .language-selector {
    display: block;
  }

  .language-dropdown {
    right: auto;
    left: 0;
  }
}

/* Show language selector in nav-links for desktop */
@media (min-width: 769px) {
  .nav-links .language-selector {
    display: block;
  }

  /* Hide the mobile version of language selector */
  .mobile-controls .language-selector {
    display: none;
  }
}
