:root {
  --primary: #2062AD;
  --primary-dark: #1b4e88;
  --background: #f4f8fb;
  --white: #ffffff;
  --text-dark: #222;
  --text-light: #666;
  --border: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: var(--background);
  color: var(--text-dark);
}

/* Navbar */
.wrapper nav {
  background-color: var(--primary);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wrapper .logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logoahia {
  height: 40px;
}

.wrapper nav .content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-grow: 1;
  justify-content: space-between;
}

nav .links {
  display: flex;
  gap: 15px;
}

nav .links li {
  list-style: none;
  position: relative;
}

nav .links a {
  color: white;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: 0.2s;
}

nav .links a:hover {
  background-color: var(--primary-dark);
}

nav ul ul {
  position: absolute;
  background-color: var(--primary);
  display: none;
  top: 100%;
  left: 0;
  border-radius: 6px;
  padding: 10px 0;
  min-width: 180px;
  z-index: 99;
}

nav ul li:hover > ul {
  display: block;
}

nav ul ul li {
  display: block;
}

nav ul ul a {
  padding: 10px 15px;
  display: block;
}

/* Profile Cards */
.cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 40px 20px;
}

.profile-card {
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border-top: 4px solid var(--primary);
}

.profile-card:hover {
  transform: translateY(-5px);
}

.profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid var(--primary);
}

.profile-card h2 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--primary-dark);
}

.profile-card h2 span {
  font-size: 14px;
  display: block;
  color: var(--text-light);
}

.profile-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.profile-card .social a {
  margin: 0 6px;
  font-size: 16px;
  color: var(--primary-dark);
}

.profile-card .btn {
  margin-top: 10px;
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s;
}

.profile-card .btn:hover {
  background-color: var(--primary-dark);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: var(--white);
  margin: 8% auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  border-top: 5px solid var(--primary);
}

.close-btn {
  float: right;
  font-size: 24px;
  color: var(--primary-dark);
  cursor: pointer;
}

/* Footer */
.site-footer {
  background-color: var(--primary-dark);
  color: white;
  padding: 40px 20px;
  margin-top: 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-section h3 {
  margin-bottom: 15px;
  color: white;
  font-size: 18px;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  color: #ddd;
  text-decoration: none;
  margin-bottom: 8px;
  display: block;
}

.footer-section .social-links a {
  margin-right: 10px;
  color: white;
  font-size: 18px;
}

.footer-section .social-links a:hover {
  color: #b3d1f2;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 14px;
  color: #aaa;
}

.footer-legal-links a {
  margin: 0 10px;
  color: #ccc;
}
.sec3{
  width: 100%;
}

.site-footer {
  background-color: #000000;
  color: #ffffff;
  padding: 50px 0 0;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 30px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: #2062AD;
  border-radius: 2px;
}

.footer-section.about p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  color: #ffffff;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  background-color: #2062AD;
  transform: translateY(-3px);
}

.quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links ul li {
  margin-bottom: 10px;
}

.quick-links ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.quick-links ul li a:hover {
  color: #2062AD;
  transform: translateX(5px);
}

.contact-info p {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-info p i {
  margin-right: 10px;
  color: #2062AD;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.newsletter p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
  display: flex;
  gap: 5px;
}

.newsletter-form input[type="email"] {
  flex-grow: 1;
  padding: 10px 15px;
  border: 1px solid #333;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input[type="email"]:focus {
  border-color: #2062AD;
}

.newsletter-form button {
  padding: 10px 20px;
  background-color: #2062AD;
  color: #000000;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #2062AD;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: #2062AD;
}



/* Responsive Fix */
@media (max-width: 768px) {
  .wrapper nav .content {
    flex-direction: column;
    align-items: flex-start;
  }

  .wrapper nav .links {
    flex-direction: column;
    width: 100%;
  }

  .wrapper nav .links a {
    width: 100%;
    padding: 10px 15px;
  }
}
