/* ==========================
   Global
========================== */
:root {
  /* Brand Colors */
  --color-primary: #0077ff;
  --color-primary-dark: #0056cc;
  --color-secondary: #0066ff;

  /* Neutral Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-light: #f9fafc;
  --color-gray-light: #f5f7fa;
  --color-gray: #ddd;
  --color-gray-dark: #555;
  --color-red: #e74c3c;
  --color-text: #333;
  --color-subtext: #666;
  --color-footer-bg: #222;
  --color-footer-text: #ddd;

  /* Shadows */
  --shadow-light: 0 2px 6px rgba(0,0,0,0.05);
  --shadow-medium: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-strong: 0 4px 12px rgba(0,0,0,0.25);

  /* Border Radius */
  --radius-small: 8px;
  --radius-medium: 12px;
  --radius-large: 1rem;

  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.6s ease-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  background: var(--color-light);
  color: var(--color-text);
}

h1, h2, h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-gray-dark);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================
   Navbar
========================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-white);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--color-white);
  box-shadow: var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo img {
  width: 100px;
}

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

.nav-links a {
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a.active {
  color: var(--color-primary);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--color-primary);
}

/* ==========================
   Hero Section
========================== */
.hero-section {
  display: flex;
  align-items: flex-end;
  padding: 6rem 6rem;
  background: url('../images/herobanner.webp') no-repeat center center/cover;
  min-height: 90vh;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--color-white);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-content .tagline {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--color-gray-light);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

/* ==========================
   Sections
========================== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.image-placeholder img {
  margin-top: 1.5rem;
  max-height: 700px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ==========================
   Features Grid
========================== */
#features {
  background: var(--color-gray-light);
}

.features {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.feature-card {
  background: var(--color-white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-medium);
  transition: transform var(--transition-fast);
}

.feature-card svg {
  width: 5rem;
  height: 5rem;
  color: var(--color-primary);
  margin: 0 auto;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.6rem;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: block;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================
   Web App Section
========================== */
#webapp {
  background: var(--color-white);
}

/* ==========================
   Mobile App Section
========================== */
#mobileapp {
  background: var(--color-gray-light);
}

#mobileapp h2,
#mobileapp p {
  color: var(--color-black);
  margin-bottom: 1rem;
}

#mobileapp .tagline {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-subtext);
  margin-top: -10px;
  margin-bottom: 20px;
}


/* ==========================
   Trusted By Section
========================== */
#trusted {
  background: var(--color-white);
}

#trusted h2 {
  margin-bottom: 1rem;
}

#trusted p {
  margin-bottom: 2rem;
  color: var(--color-subtext);
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.trusted-logos img {
  height: 100px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all var(--transition-fast);
}

.trusted-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}


/* ==========================
   Contact Form
========================== */
#contact {
  background: var(--color-gray);
  color: var(--color-black);
}

#contact h2,
#contact p,
#contact label {
  color: var(--color-black);
}

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

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid var(--color-gray);
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form button {
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

#form-status {
  font-size: 0.95rem;
  font-weight: 500;
}
/* ==========================
   Footer
========================== */
.footer {
  background: var(--color-black);
  color: var(--color-gray);
  text-align: center;
  padding: 2rem 1rem;
}

.footer a,
.footer p {
  color: var(--color-gray);
  margin: 0 0.5rem;
}

.footer a:hover {
  color: var(--color-white);
}

/* ==========================
   Modals
========================== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  background: var(--color-white);
  margin: auto;
  padding: 2rem;
  border-radius: 12px;
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  overflow-y: scroll;
}

.close {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-red);
}

.close:hover {
  color: var(--color-black);
}

/* ==========================
   Animations
========================== */
.fade-in-section {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}
