/* ==============================
   Root Colors
============================== */
:root {
  --primary-color: #1E3A8A; /* Deep Blue */
  --accent-color: #F59E0B;  /* Amber */
  --bg-light: #F9FAFB;      /* Section Background */
  --text-dark: #111827;     /* Text Color */
}

/* ==============================
   Reset & Base
============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  scroll-padding-top: 80px;
}

body {
  line-height: 1.6;
  color: var(--text-dark);
  background: #fff;
}

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

/* ==============================
   Buttons
============================== */
.btn {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: var(--accent-color);
}

/* ==============================
   Header & Navigation
============================== */
header {
  background: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

nav .logo img {
  height: 50px;
  display: block;
}

nav .logo .logo-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

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

nav ul li a {
  text-decoration: none;
  color: var(--text-dark);
  transition: 0.3s;
  font-weight: 500;
}

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

/* ==============================
   Hero Section
============================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  background: linear-gradient(to right, #E0E7FF, var(--bg-light));
  padding: 2rem 0;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.hero-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.hero-image {
  flex: 1;
  min-width: 300px;
}

.hero-image img {
  max-width: 100%;
  border-radius: 15px;
}

/* ==============================
   About Section
============================== */
.about {
  padding: 4rem 0;
  background: var(--bg-light);
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-align: center;
}

.about p {
  margin-bottom: 1rem;
  text-align: center;
}

.about ul {
  list-style: disc inside;
  margin-top: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==============================
   Services Section
============================== */
.services {
  padding: 4rem 0;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
  text-align: center;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* ==============================
   Testimonials Section
============================== */
.testimonials {
  padding: 4rem 0;
  background: #E0E7FF;
}

.testimonials h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.testimonial h4 {
  text-align: right;
  color: var(--text-dark);
}

/* ==============================
   Contact Section
============================== */
.contact {
  padding: 4rem 0;
}

.contact h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.contact p {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

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

.contact input,
.contact textarea {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.contact button {
  width: fit-content;
  align-self: center;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.field-error {
  color: #dc2626;
  font-size: 0.82rem;
  min-height: 1rem;
}

.contact input.invalid,
.contact textarea.invalid {
  border-color: #dc2626;
}

.form-status {
  max-width: 600px;
  margin: 0 auto 1rem;
  padding: 0.85rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
}

.form-status.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form-status.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ==============================
   Footer
============================== */
footer {
  background: var(--primary-color);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

footer .social-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

footer .social-links li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

footer .social-links li a:hover {
  color: var(--accent-color);
}

/* ==============================
   Responsive
============================== */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    display: none;
  }
}