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

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Navigation */
.navbar {
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #007bff;
}

.nav-link:first-child {
    color: #007bff;
    font-weight: 500;
}

/* Main Content */
.main-content {
    padding: 3rem 0;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 4rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

/* Features Section */
.features {
    margin-top: 2rem;
}

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

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon svg {
    width: 60px;
    height: 60px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

/* Align-left variant for the first card */
.feature-card.align-left {
    text-align: left;
}
.feature-card.align-left .feature-icon {
    justify-content: flex-start;
}
.feature-card.align-left .feature-description {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .main-content {
        padding: 2rem 0;
    }
}
/* Nav links default color */
.nav-link {
  color: rgb(69, 134, 254);
}
.nav-link:visited {
  color: rgb(69, 134, 254);
}
/* Contact page styles */
.contact-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  background: #eef3f6;
  font-size: 0.95rem;
  color: #333;
}

.form-group textarea {
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  background: rgb(69, 134, 254);
  color: #fff;
}

.btn-primary:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.btn-primary.loading::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid rgba(255,255,255,0.6);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #2f855a;
  min-height: 1.2rem;
}

.status-error {
  color: #d93025;
}

.form-group .error-text {
  color: #d93025;
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #d93025;
  background: #fff7f7;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
/* Removed Roboto Condensed import; using system font stack */
/* Global text selection color */
::selection { background: #ff6b6b; color: #fff; }
::-moz-selection { background: #ff6b6b; color: #fff; }