/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #F4F4F4;
  color: #2C2C2C;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ========== VARIABLES ========== */
:root {
  --charcoal: #2C2C2C;
  --mid-grey: #6B6B6B;
  --light-grey: #F4F4F4;
  --white: #FFFFFF;
  --steel-blue: #4A7FA5;
  --steel-blue-dark: #3a6a8a;
  --border: #DCDCDC;
}

/* ========== NAVBAR ========== */
.navbar {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 2rem;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

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

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

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--mid-grey);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--steel-blue);
  transform: translateY(-0.3px);
  font-weight: bold;
}
.nav-links a.active {
  color: var(--steel-blue);
  transform: translateY(-0.3px);
  font-weight: bold;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--charcoal);
}

/* ========== BUTTONS ========== */
.btn-primary {
  background-color: var(--steel-blue);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  display: inline-block;
}

.btn-primary:hover {
  background-color: var(--steel-blue-dark);
  transform: translateY(-1px);
}


/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, #3a3a3a 100%);
  color: var(--white);
  padding: 7rem 2rem;
  text-align: center;
}

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

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}

.hero h1 span {
  color: var(--steel-blue);
}

.hero p {
  font-size: 1.1rem;
  color: #c0c0c0;
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== SECTION SHARED ========== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.section-sub {
  text-align: center;
  color: var(--mid-grey);
  margin-bottom: 3rem;
  font-size: 1rem;
}

/* ========== FEATURES ========== */
.features {
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--light-grey);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--mid-grey);
}

/* ========== NEWSLETTER ========== */
.newsletter {
  background-color: var(--charcoal);
  color: var(--white);
}

.newsletter-inner {
  text-align: center;
}

.newsletter h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.newsletter p {
  font-size: 1rem;
  color: #b0b0b0;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 0.75rem 1.2rem;
  border-radius: 6px;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  width: 300px;
  background-color: #3e3e3e;
  color: var(--white);
  outline: none;
  transition: background-color 0.2s;
}

.newsletter-form input::placeholder {
  color: #888;
}

.newsletter-form input:focus {
  background-color: #4a4a4a;
}

/* ========== CONTACT ========== */
.contact {
  background-color: var(--light-grey);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.85rem 1.1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  background-color: var(--white);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--steel-blue);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn-primary {
  align-self: flex-start;
}

/* ========== FOOTER ========== */
.footer {
  background-color: var(--charcoal);
  color: #b0b0b0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #888;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #888;
  font-size: 0.9rem;
  transition: color 0.2s;
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
}

.footer-links a:hover {
  color: var(--steel-blue);
}
.footer-logo{
    color: #b0b0b0;
    font-size: 0.95rem;
    font-weight: bolder;
}
.footer-logo span{
    color: #4A7FA5;

}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
/*.footer-contact a {
    padding-left: 0.4rem;
}*/

.footer-bottom {
  text-align: center;
  padding: 1.5rem 2rem;
  border-top: 1px solid #3a3a3a;
  font-size: 0.85rem;
  color: #666;
}
/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 1.2rem;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .newsletter-form input {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }
}

/* ── Form success message ── */
.form-success {
  color: var(--steel-blue);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 0;
}