/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Helvetica Now Display, sans-serif; }

/* ===== Scroll Animations ===== */
.fade-left, .fade-right, .fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}
.fade-left { transform: translateX(-50px); }
.fade-right { transform: translateX(50px); }
.fade-up { transform: translateY(40px); }

.show-animate {
  opacity: 1;
  transform: translateX(0) translateY(0);
}


/* ====== HEADER ====== */
.header {
  width: 100%;
  position: sticky;
  top: 0;
  background-color: #2E3192;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 60px;
  z-index: 1000;
  flex-wrap: nowrap;              /* prevent wrapping */
}

.logo img {
  height: 40px;
}

/* Navbar takes the flexible middle space */
.navbar {
  display: flex;
  align-items: center;
  flex: 1 1 auto;                 /* grow/shrink as needed */
  min-width: 0;                   /* allows flex children to shrink properly */
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;        /* center the menu in the available middle */
  gap: 45px;
  flex: 1 1 auto;
  min-width: 0;
}

.navbar .nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;            /* keep items on one line */
}

.navbar .nav-links li a:hover {
  color: #FFD700;
}

/* Hamburger sits at the end of navbar area */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  margin-left: 12px;
  flex: 0 0 auto;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
}

/* ===== Call (desktop, right side) ===== */
.call-icon {
  margin-left: auto;              /* pushes this block to the far right */
  flex: 0 0 auto;
}

.call-icon a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
}

.call-icon img {
  height: 22px;
  width: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.call-icon img:hover {
  transform: scale(1.1);
  color: #FFD700;
  
}

.call-icon span {
  color: white;
}
.call-icon span:hover {
  color: #FFD700;
}

/* ===== Call item INSIDE hamburger ===== */
.mobile-call {
  display: none; /* hidden on desktop */
}

.mobile-call a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.mobile-call img {
  height: 20px;
  filter: invert(1) brightness(0); /* <-- makes white SVG look black */

}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .navbar .nav-links {
    gap: 28px; /* tighter gaps on medium screens to keep layout in one row */
  }
}

@media (max-width: 768px) {
  .navbar {
    justify-content: flex-end;
  }

  .navbar .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 30px;
    width: 220px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    justify-content: flex-start;  /* stack links */
    align-items: flex-start;
    gap: 14px;
  }

  .navbar .nav-links li a {
    color: #000;
  }

  .navbar .nav-links li a:hover {
    color: var(--primary);
  }

  .navbar .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  /* Hide desktop call on small screens */
  .call-icon {
    display: none;
  }

  /* Show call option inside hamburger */
  .mobile-call {
    display: block;
  }
}



/* Section Styling */
.projects-section {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;

  background-image: url('Img/section2\ \ wall.svg');
  background-repeat: no-repeat;
  background-size: auto;
  background-position: top center;
  background-repeat: repeat;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 40px;
  font-family: "Lora";
}

/* Grid Layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

/* Card Styling */
.project-card {
  position: relative;
  height: 432px;
  width: 470px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  color: white;
}

.project-card {
  cursor: pointer; /* show hand icon */
}


/* Overlay */
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Content */
.card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 24px;
  text-align: left;
}

.card-top h3 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-top button {
  width: 156px;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: #2E3192;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.card-top button:hover {
  background: #0056b3;
}

.card-description {
  max-width: 300px;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 1000px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr; /* 2 cards per row on tablet */
  }
  .project-card {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr; /* 1 card per row on mobile */
  }
}




.gallery-section {
  padding: 60px 60px;
  background: #ffffff;

  background-image: url('Img/section2\ \ wall.svg');
  background-repeat: no-repeat;
  background-size: auto;
  background-position: top center;
  background-repeat: repeat;
}

.gallery-title {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 40px;
  font-weight: bold;
  font-family: "Lora";
}

/* Masonry Grid */
.gallery-grid {
  column-count: 4;   /* Number of columns on large screen */
  column-gap: 20px;  /* Gap between columns */
}

.gallery-item {
  break-inside: avoid; /* Prevents breaking inside */
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

/* Hover Effect */
.gallery-item:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1000px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    column-count: 1;
  }
}







/* ===== Footer ===== */
.footer {
  background: #fff;
  padding: 60px 60px 60px;
  font-family: "Space Grotesk", sans-serif;
  color: #000;

}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

/* About */
.footer-about {
  flex: 1 1 250px;
}

.footer-logo {
  max-width: 120px;
  margin-bottom: 15px;
}

.footer-about p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.footer-socials a {
  font-size: 1.2rem;
  margin-right: 12px;
  color: #000;
  transition: color 0.3s;
}
.footer-socials a img {
  width: 32px;  
  height: 32px;  
}

.footer-contact img {
  width: 22px;   
  height: 22px;
}


.footer-socials a:hover {
  color: #007BFF;
}

/* Links */
.footer-links {
  flex: 1 1 180px;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #000;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #007BFF;
}

/* Contact */
.footer-contact {
  flex: 1 1 250px;
}

.footer-contact p {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.footer-contact i {
  color: #007BFF;
  min-width: 18px;
}

/* Bottom */
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
}

.footer-policy a {
  margin-left: 20px;
  text-decoration: none;
  color: #000;
  transition: color 0.3s;
}

.footer-policy a:hover {
  color: #007BFF;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer {
    padding: 50px 60px 60px;
  }

  .footer-container {
    gap: 30px;
  }

  .footer-bottom {
    padding-top: 15px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 60px;
  }

  .footer-container {
    flex-direction: column;
    text-align: left;
    gap: 25px;
  }

  .footer-about, .footer-links, .footer-contact {
    flex: 1 1 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-policy a {
    margin: 0 10px;
  }
}
