:root {
  --primary: #0a2540;
  --secondary: #133b6c;
  --accent: #ffd362;
  --light: #f5f7fa;
  --dark: #111;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #222;
  background: #fff;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* NAVBAR */
nav {
  position: sticky;
  top: 0;
  background: rgba(10,37,64,0.95);
  z-index: 1000;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo img {
  height: 2.5rem;
  display: flex;
}

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

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* ACTIVE NAV LINK */
nav a.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}

/* HERO */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(to right, rgba(10,37,64,0.9), rgba(19,59,108,0.9)),
    url("../assets/images/hero-placeholder.jpg");
  background-size: cover;
  color: white;
}

.hero-content {
  max-width: 650px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.btn {
  background: var(--accent);
  color: black;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
}

/* SECTIONS */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

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

/* TESTIMONIALS */
.testimonial {
  background: var(--light);
  padding: 2rem;
  border-radius: 8px;
}

/* CONTACT PAGE */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 1.5rem;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin-bottom: 0.8rem;
}

.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form label {
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

#formStatus {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* FOOTER */
footer {
  background: var(--dark);
  color: #aaa;
  text-align: center;
  padding: 2rem 0;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
}

/* MOBILE NAV */
@media (max-width: 768px) {

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding-top: 5rem;
    transition: right 0.3s ease;
    z-index: 1000;
    background: #0a2540;
  }

  .nav-links.show {
    right: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .nav-links a {
    font-size: 2rem;   /* bigger text */
    font-weight: 800;
    color: #fff;         /* dark text */
    padding: 1rem 2rem;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.08)
  }

  .nav-links a.active {
  color: #ffd362;
  font-weight: 700;
}

  }


.nav-links {
  pointer-events: auto;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: white;
  font-size: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  z-index: 999;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* FORM VALIDATION */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group input,
.form-group textarea {
  padding: 0.7rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #e63946;
}

.form-group.success input,
.form-group.success textarea {
  border-color: #2a9d8f;
}

.error {
  color: #e63946;
  font-size: 0.85rem;
  height: 1rem;
}

/* BUTTON LOADING */
button .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(0,0,0,0.2);
  border-top: 3px solid black;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

button.loading .btn-text {
  display: none;
}

button.loading .spinner {
  display: inline-block;
}

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

/* FORM STATUS */
.form-status {
  margin-top: 0.8rem;
  font-weight: 500;
  animation: fadeUp 0.4s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* WHATSAPP FLOAT BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 56px;
  height: 56px;
  border-radius: 50%;

  background-color: #25D366; /* WhatsApp green */

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 999;
}

/* WHATSAPP ICON IMAGE */
.whatsicon {
  width: 34px;       /* control icon size */
  height: 34px;
  object-fit: contain;
}