@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope-bold';
  src: url('../fonts/Manrope-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope";
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.6;
}

/* =========================
   Layout Containers
   ========================= */

.container-header {
  width: 90%;
  max-width: 1400px;
  margin: 0.8rem auto 0;
}

/* =========================
   Header Styles
   ========================= */

/* header {
  background-color: #004aad;
  color: #fff;
  padding: 15px 0;
} */

header {
  background-color: #fff;
  padding: 0;
  margin: 0;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav a {
  color: #fff;
  text-decoration: none;
  /* margin-left: 20px; */
  margin-left: 0;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffd700;
}

.header-right {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
}

/* =========================
   Main Content
   ========================= */

main {
  /* padding: 10px 0; */
  padding: 6rem 0 0;
  background-color: #fff;
  /* border-top: 1px solid #ddd; */
  /* border-bottom: 1px solid #ddd; */
}

main h1 {
  margin-bottom: 20px;
  font-family: "Manrope";
  font-weight: 500;
  font-size: 88px;
  line-height: 105px;
  letter-spacing: 0%;
  color: #fff;
}

main p {
  text-align: left;
  /* max-width: 700px; */
  font-family: "Manrope";
  font-weight: 400;
  font-style: "Regular";
  /* font-size: 22px; */
  font-size: 22px;
  line-height: 37px;
}

/* .resdev-logo {
  height: 40px;
} */

.resdev-logo {
  height: 100%;
}

/* =========================
   Footer Styles
   ========================= */

footer {
  background-color: #004aad;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
  margin-top: 40px;
}

footer a {
  color: #ffd700;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* =========================
   Responsive Design
   ========================= */

@media (max-width: 1024px) {
  .header-right {
    gap: 2rem;
  }

  .main-nav a {
    font-size: 16px;
    margin-left: 15px;
  }

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

  .contact-side {
    padding: 2rem;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  .header-inner {
    flex-direction: column;
    padding: 1rem;
  }

  .header-right {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .main-nav {
    flex-direction: column;
    width: 100%;
  }

  .main-nav a {
    display: block;
    text-align: center;
    padding: 10px;
    margin: 0;
    border-bottom: 1px solid #eee;
  }

  .btn-primary {
    width: 100%;
    margin-top: 1rem;
  }

  .contact-container {
    padding: 2rem 1rem;
  }

  .contact-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .contact-sub {
    font-size: 1rem;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row label {
    width: 100%;
    margin-bottom: 1rem;
  }

  .contact-submit {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    text-align: left;
  }

  /* about us  */
  .section-hero.about-hero {
    height: auto !important;
  }

  .section-hero.about-hero .hero-content {
    padding: 0 !important;
  }

  .feature-grid-about {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .section-title.center {
    font-size: 30px !important;
    line-height: 38px !important;
  }

  .modal-header{
    flex-direction: column;
    align-items: flex-start !important; 
  }
}

@media (max-width: 480px) {
  .container-header {
    width: 100%;
    margin: 0;
  }

  .contact-eyebrow {
    font-size: 0.9rem;
  }

  .contact-title {
    font-size: 1.5rem;
  }

  .contact-side {
    padding: 1.5rem !important;
  }

  .contact-side h3 {
    font-size: 1.2rem;
  }

  .contact-side ul li {
    font-size: 0.9rem;
  }

  footer {
    font-size: 0.8rem;
    padding: 2rem 1rem;
  }
}

/* Header */


.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: #fff;
  font-family: "Manrope";
  ;
}

.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 36px;
  margin-right: 8px;
}

.logo-text {
  color: #162049;
  font-weight: 600;
  font-size: 1.25rem;
}

.navbar-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  justify-content: center;
}

.navbar-links li {
  margin: 0 16px;
}

.navbar-links a {
  text-decoration: none;
  color: #16161b;
  font-size: 1rem;
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: #162049;
}

.navbar-contact {
  margin-left: 24px;
}

.contact-button {
  background: #16122b;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  cursor: pointer;
}

.arrow {
  display: inline-block;
  margin-left: 12px;
  font-size: 1.18rem;
}

.flex-btn-center {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-arr-container {
  background-color: #fff;
  border-radius: 50%;
  /* height: 36px;
  width: 36px; */
  display: flex;
  justify-content: center;
  align-items: center;

  width: 30px;
  height: 30px;
}

.btn-arr-container-dark {
  background-color: #080520;
  border-radius: 50%;
  height: 36px;
  width: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-arr-container-transparent {
  background-color: transparent;
  border-radius: 50%;
  height: 36px;
  width: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #fff;
}

.btn-ghost .btn-arr-container-transparent {
  width: 36px;
  height: 36px;
  margin-top: 1px;
}

/* Footer */

.footer {
  background: #0a0920;
  color: #ffffff;
  padding: 48px 0 24px;
  font-family: "Manrope";
  ;
  font-size: 16px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  gap: 32px;
}

.footer-section {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-logo img {
  display: block;
  margin-bottom: 18px;
}

.footer-desc {
  margin-top: 0;
  line-height: 1.7;
  color: #e2e2e6;
  font-size: 15px;
}

.footer-contact h4 {
  margin-bottom: 18px;
  font-size: 17px;
  color: #fff;
  font-weight: 500;
}

.footer-contact ul,
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li,
.footer-links li {
  margin-bottom: 10px;
  color: #e2e2e6;
  font-size: 15px;
  display: flex;
  align-items: center;
}

.footer-icon {
  margin-right: 10px;
  font-size: 16px;
}

.footer-links ul {
  margin-top: 22px;
}

@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 28px;
  }
}

/* modal */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  /* light transparent layer */
}

.modal-card {
  position: relative;
  background: #fff;
  max-width: 500px;
  width: 90%;
  padding: 20px;
  border-radius: 10px;
  z-index: 10000;
  /* ensures it's above the backdrop */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  top: 2rem;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 20px;
  border: none;
  background: none;
  cursor: pointer;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.modal-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 18, 28, 0.85);
  /* semi-transparent overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-card {
  background: #fff;
  border-radius: 20px;
  max-width: 650px;
  width: 90%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
  padding: 32px;
  box-sizing: border-box;
  position: relative;
}

.modal-header {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}

.modal-avatar {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 15px;
  margin-right: 20px;
  background: #eee;
}

.modal-title .modal-about {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
}

.modal-title .modal-name {
  font-size: 1.28rem;
  font-weight: bold;
  color: #222;
  margin: 0;
}

.modal-body {
  max-height: 350px;
  overflow: scroll;
}

.modal-body p {
  font-size: 12px;
  color: #444;
  margin-bottom: 16px;
  line-height: 1.65;
}

.modal-social {
  margin-top: 24px;
  display: flex;
  gap: 0px;
}

.modal-social img {
  width: 24px;
  height: 24px;
  filter: grayscale(1);
  transition: filter 0.2s;
}

.modal-social img:hover {
  filter: none;
}

.learn-more {
  width: 195px;
  height: 55px;
  font-size: 18px;
}

.learn-more .btn-arr-container-dark {
  width: 36px;
  height: 36px;
  margin-top: 1px;
}