* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f4f6f8;
  color: #1f2937;
  line-height: 1.7;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  padding: 5rem 1rem;
  text-align: center;
}
.about p {
  max-width: 600px;
  text-align: justify;
}


.hero-content {
  max-width: 900px;
  margin: auto;
}

.tagline {
  opacity: 0.9;
  margin-top: 0.5rem;
}

.hero-buttons a {
  padding: 15px 0;
  border-radius: 25px;
  text-decoration: none;
  margin: 0 15px;
  display: inline-block;
  font-weight: 500;
  background: white;
  color: #1e40af;
}

/* SECTIONS */
section {
  max-width: 900px;
  margin: auto;
  padding: 3.5rem 1rem;
 /* background: #D3D3D3;*/
}

.alt {
  background: #ffffff;
}

/* HEADINGS */
h2 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

/* CARDS */
.card {
  background: white;
  padding: 1.8rem;
  border-radius: 12px;
  margin-bottom: 1.8rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

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

.subtitle {
  color: #6b7280;
  margin-top: -10px;
}

.card ul {
  margin-left: 20px;
  text-align: justify;
}

.stack {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #2563eb;
}

.database {
  background: white;
  padding: 1.8rem;
  border-radius: 12px;
  margin-bottom: 1.8rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  top-padding: 20px;
}

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

.qa {
  background: white;
  padding: 1.8rem;
  border-radius: 12px;
  margin-bottom: 1.8rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

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

/* QA */
.qa-intro {
  max-width: 600px;
  text-align: justify;
}
.database-intro {
  max-width: 600px;
  text-align: justify;
}
 .qa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 2rem;
} 
.qa-grid .qa-box{
  display: grid;
  background: #D3D3D3;
  color: white;
  border-radius: 25px;
  text-align: center;
}

.database-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 2rem;
}
.database-grid .database-box{
  display: grid;
  background: #D3D3D3;
  color: white;
  border-radius: 25px;
  text-align: center;
}
/* DOWNLOAD */
.download {
  display: inline-block;
  margin-top: 2rem;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 1.5rem;
  background: #1f2937;
  color: #9ca3af;
}

.small {
  font-size: 0.9rem;
  color: #4b5563;
}
.contact  p a {
  display: block;
  color: #2563eb;          /* Professional blue */
  text-decoration: none;  /* Remove underline */
  font-weight: 500;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

p a:hover {
  color: #1e40af;          /* Darker on hover */
  text-decoration: underline;
}

.contact p a:active {
  color: #1e3a8a;
}

.contact a:visited {
  color: #2563eb;
}
/* Update these sections in your style.css */

body {
  font-family: 'Inter', 'Segoe UI', sans-serif; /* A more "designer" font */
  background: #fafafa;
}

.hero {
  /* A more modern, subtle gradient */
  background: linear-gradient(135deg, #0f172a, #2563eb);
  padding: 8rem 1rem;
}

.card {
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); /* Lighter, cleaner shadow */
  border-radius: 16px; /* Rounder corners look more modern */
  overflow: hidden;
}

.stack {
  background: #eff6ff;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

/* Add a hover effect to buttons to show you care about micro-interactions */
.hero-buttons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
  .database-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 2rem;
} /* Add this brace! */
/* 1. Update the container to allow horizontal layout */
.hero-buttons {
  margin-top: 2rem;
  margin-left: auto;  /* Centers the container */
  margin-right: auto; /* Centers the container */
  max-width: 800px;   /* Increased to let buttons sit side-by-side */
  display: flex;      /* Enables Flexbox */
  flex-wrap: wrap;    /* Allows stacking on small screens */
  justify-content: center; /* Centers buttons horizontally */
  gap: 15px;          /* Clean spacing between buttons */
}

/* 2. Standardize the button style */
.hero-buttons a.outline {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  background: transparent;
  border: 2px solid white;
  color: white;
  transition: all 0.3s ease;
  min-width: 160px; /* Ensures buttons are a consistent size */
  text-align: center;
}

/* 3. Add the hover effect (UI touch) */
.hero-buttons a.outline:hover {
  background: white;
  color: #1e40af;
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}

/* 4. Responsive adjustment for very small screens */
@media (max-width: 500px) {
  .hero-buttons {
    flex-direction: column; /* Stacks them vertically on mobile */
    align-items: center;
    padding: 25px;
    gap: 20px;
  }
  
  .hero-buttons a.outline {
    width: 100%; /* Makes buttons full-width on mobile */
    max-width: 280px;
  }
}
