* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: #f9fafc;
  color: #1e2a3a;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.navbar {
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  height: 55px;
  width: 55px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #1e3a5f;
  line-height: 1.2;
}

.brand-name span {
  color: #e67e22;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  transition: color 0.2s;
  font-size: 1rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #e67e22;
}

.btn-outline {
  border: 2px solid #e67e22;
  background: transparent;
  color: #e67e22 !important;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 600;
}

.btn-outline:hover {
  background: #e67e22;
  color: white !important;
}

/* Hero & general */
.hero {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.8) 0%, rgba(42, 74, 115, 0.85) 100%), url('https://atlas-point-spoon-solid.onrender.com/IMG/atlimg5.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 120px 0;
  border-radius: 0 0 40px 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 300px;
  height: 300px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 5C32 5 18 19 18 37c0 22 32 58 32 58s32-36 32-58C82 19 68 5 50 5z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  pointer-events: none;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 680px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.btn-primary {
  background: #e67e22;
  color: white;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  background: #d35400;
  transform: translateY(-2px);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1e3a5f;
}

.section-sub {
  color: #5e6f7e;
  margin-bottom: 48px;
  font-size: 1.1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.card {
  background: white;
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #edf2f7;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-img-top {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background-color: #e2e8f0;
}

.card-body {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card i {
  font-size: 2.5rem;
  color: #e67e22;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #1e3a5f;
}

.card p {
  color: #4a5c6c;
  font-size: 0.98rem;
  flex-grow: 1;
}

/* Home specific enhancements */
.stat-highlight {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  background: white;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  margin: -40px 0 40px;
  position: relative;
  z-index: 2;
}

.stat-highlight-item {
  text-align: center;
}

.stat-highlight-item .number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e3a5f;
  line-height: 1;
}

.stat-highlight-item .label {
  font-size: 0.95rem;
  color: #5e6f7e;
  margin-top: 6px;
  font-weight: 500;
}

.step-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  border: 1px solid #edf2f7;
  position: relative;
}

.step-number {
  background: #e67e22;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}

.step-card h4 {
  font-size: 1.2rem;
  color: #1e3a5f;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: #5e6f7e;
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid #edf2f7;
}

.testimonial-card .quote-icon {
  color: #e67e22;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-style: italic;
  color: #3f4e5c;
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-author .avatar {
  background: #1e3a5f;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-author .name {
  font-weight: 600;
  color: #1e3a5f;
  font-size: 0.95rem;
}

.testimonial-author .role {
  font-size: 0.8rem;
  color: #5e6f7e;
}

/* About page */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
  margin: 40px 0;
}

.about-text {
  flex: 1 1 300px;
}

.about-text h2 {
  font-size: 2rem;
  color: #1e3a5f;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 18px;
  color: #3f4e5c;
}

.stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.stat-item {
  background: #f0f4fa;
  padding: 20px 30px;
  border-radius: 20px;
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #e67e22;
}

.about-image {
  flex: 1 1 300px;
  height: 450px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services & contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0;
}

.contact-info {
  background: white;
  padding: 32px;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info i {
  color: #e67e22;
  margin-right: 12px;
  width: 24px;
}

.contact-info p {
  margin: 18px 0;
  display: flex;
  align-items: center;
}

.contact-form {
  background: white;
  padding: 32px;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: #1e3a5f;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d0dbe8;
  border-radius: 14px;
  font-size: 1rem;
  background: #f9fcff;
  transition: border 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e67e22;
}

footer {
  background: #1e2a3a;
  color: #b0c4d9;
  padding: 48px 0 24px;
  margin-top: 70px;
  border-radius: 40px 40px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  color: white;
  margin-bottom: 18px;
  font-size: 1.2rem;
}

.footer-grid a {
  color: #b0c4d9;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.footer-grid a:hover {
  color: #e67e22;
}

.copyright {
  border-top: 1px solid #2e4055;
  padding-top: 24px;
  text-align: center;
  font-size: 0.9rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #1e3a5f;
  cursor: pointer;
}

.page-header {
  text-align: center;
  margin: 50px 0 30px;
}

.page-header h1 {
  font-size: 2.8rem;
  color: #1e3a5f;
}

.page-header p {
  color: #5e6f7e;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 16px auto 0;
}

.highlight {
  color: #e67e22;
}

/* =========================================
   RESPONSIVE DESIGN (Tablets & Mobiles)
   ========================================= */

/* Tablet View (Up to 992px) */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.8rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); } /* 2 items per row */
  .contact-grid { grid-template-columns: 1fr; } /* Stack contact sections */
  .stat-highlight { gap: 30px; padding: 30px; }
  
  /* Navigation adjustments for tablet */
  .nav-links { gap: 20px; }
}

/* Mobile View (Up to 768px) */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  
  /* Mobile Navigation */
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0 10px;
    gap: 16px;
    border-top: 1px solid #edf2f7;
    margin-top: 12px;
  }
  .nav-links.show { display: flex; }
  .mobile-menu-btn { display: block; }
  
  /* Hero Adjustments */
  .hero { padding: 80px 0; border-radius: 0 0 20px 20px; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; margin-bottom: 24px; }
  .btn-primary { width: 100%; text-align: center; padding: 16px; }
  
  /* Layouts */
  .grid-3 { grid-template-columns: 1fr; } /* 1 item per row */
  .stat-highlight { flex-direction: column; gap: 24px; padding: 30px 20px; }
  .stat-highlight-item .number { font-size: 2.2rem; }
  
  /* Sections */
  .section-title { font-size: 1.8rem; }
  .page-header h1 { font-size: 2.2rem; }
  .page-header p { font-size: 1rem; }
  
  /* About Page */
  .about-image { height: 300px; }
  .stats { justify-content: center; }
  .stat-item { flex: 1 1 100%; padding: 16px; }
  
  /* Footer */
  footer { border-radius: 20px 20px 0 0; padding: 40px 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
}

/* Small Mobile View (Up to 480px) */
@media (max-width: 480px) {
  .brand-name { font-size: 1.4rem; }
  .brand-icon { height: 45px; width: 45px; }
  .hero h1 { font-size: 1.8rem; }
  .track-input { flex-direction: column; }
  .track-input input, .track-input button { width: 100%; }
  .details-grid { grid-template-columns: 1fr; }
  .timeline-step { padding-left: 15px; }
}