/* ===== GENERAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background-color: #f4f6f8;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3 {
  color: #111827;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 70px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .logo img {
  height: 40px;
}

.navbar nav a {
  margin-left: 26px;
  font-weight: 500;
  color: #1f2937;
  position: relative;
  transition: color 0.3s;
}

.navbar nav a.active,
.navbar nav a:hover {
  color: #2563eb;
}

.navbar nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #2563eb;
}

/* ================= SIDEBAR (ADDED) ================= */

.menu-btn {
  display: none;
}

.sidebar {
  position: fixed;
  left: -260px;              /* 🔥 hidden on LEFT */
  top: 0;
  width: 260px;
  height: 100vh;
  background: #020617;
  padding-top: 60px;
  transition: left 0.35s ease;
  z-index: 2000;
}

.sidebar.active {
  left: 0;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 16px;
  border-radius: 6px;
}

.sidebar a:hover {
  background: #1e293b;
}

.sidebar a:hover {
  background: #f1f5f9;
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 26px;
  cursor: pointer;
  color: #ffffff;
}

/* ===== PAGE HERO ===== */
.page-hero {
  text-align: center;
  padding: 100px 20px 60px;
  background: linear-gradient(
      rgba(47, 48, 71, 0.6),
      rgba(52, 57, 78, 0.6)
    ),
    url("../assets/contact-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #fff;
}

.page-hero p {
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto;
  color: #fff;
}

/* ===== CONTACT SECTION ===== */
.contact {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  gap: 40px;
}

.contact-info {
  flex: 1;
  min-width: 280px;
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.contact-info h2 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #6366f1;
}

.contact-info p {
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 8px;
}

.contact-form {
  flex: 1;
  min-width: 280px;
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.contact-form h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #6366f1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
}

.contact-form button {
  background-color: #6366f1;
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #4f46e5;
}

/* ================= CONTACT / FOOTER ================= */
.contact-dark {
  background: linear-gradient(135deg, #020617, #020b2d);
  color: #e5e7eb;
  padding: 80px 70px 40px;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.contact-dark h2,
.contact-dark h3 {
  color: #ffffff;
  margin-bottom: 14px;
}

/* TEXT */
.contact-dark p {
  color: #cbd5f5;
  font-size: 15px;
  line-height: 1.7;
}

/* 🔥 FIXED COMPANY LINKS */
.contact-dark a,
.contact-dark a:link,
.contact-dark a:visited {
  display: block;
  margin-bottom: 8px;
  color: #c7d2fe !important;
  text-decoration: none !important;
  font-size: 15px;
}

.contact-dark a:hover {
  color: #6366f1 !important;
  text-decoration: underline !important;
}

/* Container for social icons */
.social-icons {
  display: flex;       /* Makes children horizontal */
  gap: 12px;           /* Space between icons */
  align-items: center; /* Vertically center if needed */
}

/* Individual icons */
.social-icons a {
  font-size: 18px;
  color: #c7d2fe;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #6366f1;
}


/* BOTTOM BAR */
.contact-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #94a3b8;
}

/* ================= SCROLL ANIMATION ================= */
.contact,
.contact-info,
.contact-form {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 40px 20px;
  background-color: #1f2937;
  color: #c7d2fe;
  font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  .navbar nav {
    display: none;
  }

  .menu-btn {
    display: block;
    position: fixed;
    top: 18px;
    left: 18px;
    font-size: 24px;
    cursor: pointer;
    z-index: 2100;
    color: #111827;
  }

  .navbar {
    padding: 14px 20px;
  }

  .navbar .logo {
    margin-left: 40px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .page-hero p {
    font-size: 18px;
  }

  .contact {
    flex-direction: column;
  }
}
