@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Jost', sans-serif;
  background: #fdfdfd;
  color: #333;
}

/* ─────────── NAVBAR ─────────── */
.navbar {
  background: #1c1c1e;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 100px;
}

.navbar-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.navbar-menu li a {
  color: #eee;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
  color: #47C2DC;
}


.navbar-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
}

@media (max-width: 800px) {
  .navbar-menu {
	display:none;
    position: absolute;
    top: 90px;
    right: 0;
    background: #2c2c2e;
    flex-direction: column;
    width: 220px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 2rem 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  }

  .navbar-menu.active {
    transform: translateX(0);
	display: flex;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
	width:35px;
	margin: 1px 0;
  }

  .navbar-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
	width:35px;
	margin: 1px 0;
  }
}

/* ─────────── HERO SLIDER ─────────── */
.hero-slider {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-caption {
  position: absolute;
  bottom: 15%;
  left: 5%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 8px;
  animation: fadeUp 1s ease-in-out;
}

.slider-caption h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.slider-caption p {
  font-size: 1.1rem;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─────────── CONTENT SECTIONS ─────────── */
.section {
  width: 90%;
  max-width: 1200px;
  margin: 4rem auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

/*
.row-two {
  align-items: center;
}

.row-two .column {
  flex: 1 1 45%;
}

.row-two img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
*/

/* AMENDED */
.row-two .text-column {
  flex: 1 1 45%;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.row-two .image-column {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.row-two img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Make it stack vertically on smaller screens */
@media (max-width: 768px) {
  .row-two {
    flex-direction: column;
  }

  .row-two .text-column,
  .row-two .image-column {
    flex: 1 1 100%;
  }

  .row-two .text-column {
    order: -1; /* Move text above image */
  }
}

/* AMENDED END*/

.row-two h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.row-two p {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align:justify;
}

.paragraph-row {
  flex-direction: column;
  text-align: justify;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.paragraph-row p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.7;
}

/* ─────────── CARDS ─────────── */
.row-three {
  justify-content: space-between;
}

.card {
  flex: 1 1 30%;
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.4rem;
  margin: 1rem 0 0.5rem;
}

.card p {
  font-size: 1rem;
  color: #444;
}

/* ─────────── LOGO STRIP ─────────── */
.logo-strip {
  background: #f0f0f0;
  padding: 2rem 0;
  position: relative;
  text-align: center;
}

.logo-heading {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 1.5rem;
  margin-left: 1rem;
}

.logo-mask {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-track {
  display: flex;
  gap: 3rem;
  animation: scroll-logos 25s linear infinite;
  align-items: center;
  width: max-content;
}

.logo-strip img {
  height: 60px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.logo-strip img:hover {
  filter: grayscale(0);
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* ─────────── FOOTER ─────────── */
.footer {
  background: #1c1c1e;
  color: #ddd;
  text-align: center;
  padding: 3rem 1rem 2rem;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}
/*
.footer-logo {
  height: 50px;
  margin-bottom: 1rem;
  float: left;
  margin-right: 2rem;
}

*/
.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1rem 0;
  padding: 0;
}

.footer-nav a {
  color: #eee;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #47C2DC;
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  font-size: 1.4rem;
  margin: 0 12px;
  color: #ddd;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #47C2DC;
}

.footer p {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #888;
}


/* Project page Css 

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-info {
  padding: 1.2rem;
}

.project-info h3 {
  margin-bottom: 0.5rem;
  color: #222;
}

.project-info p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}
*/
/* SCRIPT OF OTHER PAGES*/
/* Animation Utils */
.animate-fadein {
  animation: fadeIn 1s ease-in forwards;
  opacity: 0;
}
@keyframes fadeIn {
  to { opacity: 1; }
}

.reveal-left {
  animation: slideInLeft 1s ease forwards;
  opacity: 0;
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Service Card */
.services-grid {
  justify-content: space-between;
}
.service-card {
  flex: 1 1 30%;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background 0.3s;
}
.service-card:hover {
  transform: translateY(-8px);
  background: #f9f9f9;
}
.service-card i {
  font-size: 2.2rem;
  color: #47C2DC;
  margin-bottom: 1rem;
}

/* Project Tiles */
.project-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.project-tile {
  position: relative;
  flex: 1 1 30%;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}
.project-tile img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-tile:hover img {
  transform: scale(1.1);
}
.project-tile .overlay {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  width: 100%;
  padding: 1rem;
  transition: background 0.3s;
}

/* Contact */
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}
.contact-form button {
  padding: 0.9rem 1.5rem;
  background: #47C2DC;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact-form button:hover {
  background: #36aac1;
}
.contact-info p i {
  margin-right: 8px;
  color: #47C2DC;
}

/* Google Map */
.map-embed {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
}


/* IMAGE GALLERRY CODE */

/* Modal Overlay */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  padding: 1rem;
  overflow-y: auto;
}

/* Activate Modal */
.gallery-modal.active {
  display: flex;
  animation: fadeIn 0.4s ease;
}

/* Modal Inner Content */
.gallery-content {
  background: #fff;
  width: 100%;
  max-width: 900px;
  padding: 2rem 1.5rem 1.5rem;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  margin: auto;
}

/* Close Button: inside modal flow */
.gallery-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  z-index: 100;
}

/* Description Block */
.gallery-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

/* Gallery Images */
.gallery-images {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.gallery-images img {
  flex: 1 1 100%;
  max-width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.gallery-images img:hover {
  transform: scale(1.03);
}

/* Responsive Behavior */
@media (min-width: 600px) {
  .gallery-images img {
    flex: 1 1 45%;
    height: 250px;
  }
}


.success-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  text-align: center;
  max-width: 400px;
  width: 100%;
  animation: popIn 0.4s ease;
}

.popup-content h3 {
  color: #2ecc71;
  margin-bottom: 0.5rem;
}

.popup-content p {
  color: #555;
  font-size: 1rem;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
