:root {
  --primary-color: #2c5e46; /* Dark Green */
  --secondary-color: #f39c12; /* Orange Accent */
  --background-color: #f8f9fa;
  --dark-bg-color: #212529;
  --text-color: #343a40;
  --light-gray-color: #dee2e6;
  --white-color: #ffffff;
  --success-color: #28a745;
  --error-color: #dc3545;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

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

/* Header */
.header {
  background-color: var(--white-color);
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
}

.logo span {
  color: var(--primary-color);
}

.nav a {
  color: var(--text-color);
  text-decoration: none;
  margin-left: 24px;
  font-weight: 500;
  transition: color 0.3s ease;
  cursor: pointer;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

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

.nav a.active {
  color: var(--primary-color);
  font-weight: 700;
  border-bottom-color: var(--primary-color);
}


/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1617042375876-a13e36732a04?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
  color: var(--white-color);
  text-align: center;
  padding: 120px 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--white-color);
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.2);
}

.btn-primary:hover {
  background-color: #e68a00;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.3);
}

/* General Section Styles */
.page-section {
  padding: 80px 0;
}


/* Platform Features Section */
.platform-features {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.features-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.feature-item-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-top: 5px;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.feature-item p {
  color: #6c757d;
}

.feature-image-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-image-container img {
  width: 100%;
  display: block;
  object-fit: cover;
  border: 1px solid #e9ecef;
}

/* Mobile Solutions Section */
.mobile-solutions {
  padding: 80px 0;
  background-color: var(--white-color);
}

.mobile-apps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.mobile-app-card {
  text-align: center;
}

.mobile-mockup {
  background: var(--dark-bg-color);
  border-radius: 25px;
  padding: 12px;
  box-shadow: 0 15px 30px -8px rgba(0,0,0,0.2);
  display: inline-block;
  margin-bottom: 20px;
  max-width: 100%;
  border: 4px solid #495057;
}

.mobile-mockup img {
  width: 100%;
  border-radius: 15px;
  display: block;
}

.mobile-app-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text-color);
}


/* Form Section */
.form-section {
  padding: 80px 0;
  background-color: var(--background-color);
}

.application-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--white-color);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--light-gray-color);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 94, 70, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-message {
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  margin-top: 10px;
}

.form-message.success {
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}

.form-message.error {
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}

.btn-submit {
    position: relative;
    width: 100%;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

main.page-view {
    min-height: calc(100vh - 200px); /* Adjust based on header/footer height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Footer */
.footer {
  background-color: var(--dark-bg-color);
  color: var(--white-color);
  text-align: center;
  padding: 30px 0;
}

/* Responsive */
@media (max-width: 1100px) {
    .mobile-apps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .features-content {
        grid-template-columns: 1fr;
    }
    .feature-image-container {
        order: -1; /* Move image to top on smaller screens */
    }
}


@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .header .container {
    flex-direction: column;
    gap: 15px;
  }
  .nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav a {
    margin-left: 0;
  }
}

@media (max-width: 576px) {
    .mobile-apps-container {
        grid-template-columns: 1fr;
    }
    .application-form {
        padding: 20px;
    }
}
