* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Cairo", sans-serif;
  scroll-behavior: smooth;
}
:root {
  --primary-color: #1c6ea4;
  --secondary-color: #154d71;
  --button-color: #33a1e0;
  --text-color: #f6f6f6;
}
body::selection {
  background-color: var(--secondry-color);
  color: white;
}
body {
  color: var(--text-color);
  background-color: var(--text-color);
  text-align: center;
}

/* =====Header===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  color: white;
  position: fixed;
  z-index: 999;
  background-color: var(--text-color);
}
.navbar ul li a {
  text-decoration: none;
  padding: 10px 20px;
  margin-left: 50px;
  font-size: 18px;
  transition-duration: 0.5s;
}
.dropdown-menu {
  border-radius: 12px;
  border: none;
}
.dropdown-menu .dropdown-item {
  margin-left: 0;
  color: var(--main-color);
  display: flex;
  align-items: center;
  transition-duration: 0.3s;
  border-radius: 8px;
}
.navbar ul li a:hover {
  color: var(--secondary-color);
  font-size: 20px;
  border-bottom: var(--secondary-color) 3px solid;
}

.profile-icon,
.superAdminDashboardLink,
.adminDashboardLink{
  display: none;
}
/* ===== Hero Section ===== */
.contact-hero {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 100px 20px;
}
.contact-hero h1 {
  font-size: 48px;
  font-weight: bold;
}
.contact-hero p {
  font-size: 18px;
  color: var(--text-color);
}
.info-card a{
  text-decoration: none;
  display: block;
  font-size: 18px;
  color: var(--text-color);
}

/* ===== Info Cards ===== */
.info-card {
  text-align: center;
  padding: 25px;
  border-radius: 12px;
  background: var(--primary-color);
  transition: 0.3s;
}
.info-card i {
  font-size: 30px;
  margin-bottom: 10px;
  color: var(--text-color);
}
.info-card:hover {
  background: var(--secondary-color);
  color: var(--text-color);
}

/* ===== Contact Form ===== */
.contact-form {
  background:var(--text-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.contact-form h2 {
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--secondary-color);
}
.contact-form .form-group {
  position: relative;
}
.contact-form label {
  position: absolute;
  top: 12px;
  left: 15px;
  color: #aaa;
  font-size: 14px;
  transition: 0.3s;
  pointer-events: none;
}
.contact-form input:focus + label,
.contact-form input:valid + label,
.contact-form textarea:focus + label,
.contact-form textarea:valid + label {
  top: -8px;
  left: 12px;
  font-size: 12px;
  color: var(--secondary-color);
  background: #fff;
  padding: 0 4px;
}

/* زرار الإرسال */
.contact-form button {
  background: var(--button-color);
  color:var(--text-color);
  font-weight: 600;
  padding: 10px;
  border: none;
  border-radius: 8px;
  transition: 0.3s;
}
.contact-form button:hover {
  background: #154d71;
  color:var(--text-color);
}

/* ===== Footer ===== */
.footer {
  background-color: var(--primary-color);
  color:var(--text-color);
  padding: 40px 20px 10px;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}
.footer-section h3,
.footer-section h4 {
  color: var(--text-color);
  font-weight: bold;
}
.footer-section p,
.footer-section ul {
  font-size: 16px;
  line-height: 1.8;
}
.footer-section ul {
  list-style: none;
  margin-top: 5px;
}
.footer-section ul li {
  margin-bottom: 10px;
}
.footer-section ul li a {
  color:var(--text-color);
  text-decoration: none;
}
.footer-section ul li a:hover,
.social-icons a:hover {
  color: var(--secondary-color);
  border-bottom: 3px solid var(--secondary-color);
}
.social-icons a {
  font-size: 20px;
  margin-right: 10px;
  color: var(--text-color);
  text-decoration: none;
}
.footer-bottom {
  text-align: center;
  padding: 10px;
  border-top: 2px solid #444;
  font-size: 16px;
  margin-top: 20px;
}

@media (max-width: 470px) {
.footer-container{
  display: grid;
}
.footer-section ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
}
}