/* ===================
   OUR CLIENTS SECTION
   =================== */
.clients {
  padding:60px 20px;
  background:#fff;
}
.clients .section-title {
  font-size:28px;
  text-align:center;
  color:navy;
  margin-bottom:40px;
}
.clients-slider {
  overflow:hidden;
  max-width:1200px;
  margin:0 auto;
}
.clients-track {
  display:flex;
  gap:40px;
  width:max-content; /* Ensure track spans full width */
  animation: scrollClients 25s linear infinite;
}
.client {
  flex:0 0 auto; /* Prevent shrinking */
  text-align:center;
}
.client img {
  width:120px;
  height:60px;
  object-fit:contain;
  display:block;
  margin:0 auto;
  transition:all 0.4s ease;
}
.client span {
  display:block;
  margin-top:8px;
  font-size:14px;
  color:#333;
  height:20px;
  line-height:20px;
}
.client:hover img {
  transform:scale(1.15);
  filter:drop-shadow(0 4px 8px rgba(0,0,0,0.25));
}

@keyframes scrollClients {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive */
@media(max-width:900px){
  .client img { width:100px; height:50px; }
}
@media(max-width:600px){
  .client img { width:80px; height:40px; }
}


/* ===================
   ABOUT SECTION
   =================== */
.about {
  padding:80px 20px;
  background:#f9fafb;
}
.about-inner {
  max-width:1200px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
}
.about-image {
  flex:1 1 45%;
  max-width:500px;
}
.about-image img {
  width:100%;
  border-radius:12px;
  object-fit:cover;
  box-shadow:0 6px 18px rgba(0,0,0,0.15);
}
.about-content {
  flex:1 1 50%;
}
.about-content h2 {
  font-size:32px;
  color:navy;
  margin-bottom:20px;
}
.about-content p {
  font-size:17px;
  line-height:1.7;
  color:#333;
  text-align:justify;
}
.btn-about {
  display:inline-block;
  margin-top:20px;
  padding:12px 26px;
  background:navy;
  color:#fff;
  font-size:16px;
  font-weight:600;
  border-radius:30px;
  text-decoration:none;
  transition:all 0.3s ease;
  box-shadow:0 4px 12px rgba(0,0,0,0.15);
}
.btn-about:hover {
  background:#001f4d;
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(0,0,0,0.2);
}
.fade-left, .fade-right { opacity:0; transition:all 1s ease; }
.fade-left { transform:translateX(-60px); }
.fade-right { transform:translateX(60px); }
.fade-in { opacity:1; transform:translateX(0); }
@media(max-width:880px){
  .about-inner { flex-direction:column; align-items:center; }
  .about-content { text-align:center; margin-top:20px; }
}

/* ===================
   LATEST PROJECTS SECTION
   =================== */
.projects {
  padding:80px 20px;
  background:#eef2f7;
}
.section-title {
  font-size:32px;
  color:navy;
  text-align:center;
  margin-bottom:50px;
  position:relative;
}
.section-title::after {
  content:"";
  display:block;
  width:70px;
  height:4px;
  background:navy;
  margin:12px auto 0;
  border-radius:2px;
}
.projects-grid {
  max-width:1200px;
  margin:0 auto 40px;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:30px;
}
.project-card {
  background:rgba(255, 255, 255, 0.15);
  border-radius:16px;
  padding:20px;
  backdrop-filter:blur(12px);
  box-shadow:0 6px 18px rgba(0,0,0,0.15);
  text-align:center;
  transition:transform 0.4s ease, box-shadow 0.4s ease;
  cursor:pointer;
}
.project-card:hover {
  transform:skewY(-3deg) scale(1.03);
  box-shadow:0 12px 28px rgba(0,0,0,0.25);
}
.project-card img {
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:16px;
}
.project-card h3 {
  font-size:22px;
  margin-bottom:12px;
  color:#001f4d;
}
.project-card p {
  font-size:15px;
  color:#333;
  margin-bottom:20px;
}
.btn-project {
  display:inline-block;
  padding:10px 22px;
  background:navy;
  color:#fff;
  font-size:14px;
  font-weight:600;
  border-radius:25px;
  text-decoration:none;
  transition:all 0.3s ease;
  box-shadow:0 4px 12px rgba(0,0,0,0.15);
}
.btn-project:hover {
  background:#001f4d;
  transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(0,0,0,0.25);
}
.view-all { text-align:center; }
.btn-view-all {
  display:inline-block;
  padding:14px 32px;
  background:navy;
  color:#fff;
  font-size:16px;
  font-weight:600;
  border-radius:30px;
  text-decoration:none;
  transition:all 0.3s ease;
  box-shadow:0 6px 18px rgba(0,0,0,0.2);
}
.btn-view-all:hover {
  background:#001f4d;
  transform:translateY(-3px);
  box-shadow:0 10px 24px rgba(0,0,0,0.25);
}

/* Services Section */
.services-section {
  padding: 80px 20px;
  background: #f8f9fa;
  text-align: center;
}

.services-header {
  margin-bottom: 50px;
}

.services-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #00205B;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.services-header .header-btn {
  display: inline-block;
  padding: 10px 25px;
  background: #00205B;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.services-header .header-btn:hover {
  background: #004080;
}

/* Service Cards Grid */
.services-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* Floating effect for cards */
@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.service-card {
  position: relative;
  height: 320px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  /* floating animation */
  animation: float 4s ease-in-out infinite;
}

.service-card:nth-child(2) {
  animation-delay: 1s;
}
.service-card:nth-child(3) {
  animation-delay: 2s;
}
.service-card:nth-child(4) {
  animation-delay: 3s;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(to top, rgba(0, 32, 91, 0.9), rgba(0, 32, 91, 0.2));
  z-index: 1;
  transition: background 0.3s ease;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.service-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  width: 100%;
  text-align: center;
}

.service-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 12px;
}

.service-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #ffffff;
  color: #00205B;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-btn:hover {
  background: #00205B;
  color: #ffffff;
}
/* Contact Section */
.contact-section {
  background: #f7f7f7;
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-container {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
  width: 80%;
  max-width: 1000px;
}

.contact-image {
  flex: 1;
  min-width: 40%;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form {
  flex: 1;
  padding: 40px;
}

.contact-form h2 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 15px;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #3b82f6;
}

.contact-form textarea {
  min-height: 100px;
  resize: none;
}

.contact-form button {
  padding: 12px;
  border: none;
  background: #e74c3c;
  color: #fff;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #c0392b;
}

/* Bottom Info */
.contact-info {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-info .info-box {
  text-align: center;
  font-size: 14px;
  color: #555;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    width: 95%;
  }

  .contact-image {
    min-height: 250px;
  }

  .contact-form {
    padding: 20px;
  }
}
/* ===========================
   Client Reviews (2 per view with arrows)
   =========================== */

:root {
  --reviews-bg: #c9d1db;
  --reviews-accent: #ffffff;
  --reviews-radius: 16px;
  --reviews-gap: 1.5rem;
  --reviews-time: 0.6s;
}

/* Section wrapper */
.reviews {
  background:#16282f;
  padding: clamp(1.5rem, 3vw, 3rem);
  position: relative;
}

/* Heading */
.reviews__heading {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: #00205B;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--reviews-accent);
}

/* Viewport */
.reviews__viewport {
  overflow: hidden;
  border-radius: var(--reviews-radius);
  position: relative;
}

/* Track (scrolling container) */
.reviews__track {
  display: flex;
  transition: transform var(--reviews-time) ease-in-out;
}

/* Review card */
.review {
  flex: 0 0 50%; /* 2 per view */
  box-sizing: border-box;
  padding: 1rem;
  text-align: center;
}

.review__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem auto;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.review__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review__quote {
  font-size: 0.95rem;
  color: var(--reviews-accent);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.review__name {
  font-weight: 700;
  color: var(--reviews-accent);
}

/* Arrows */
.reviews__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 10;
}

.reviews__arrow:hover {
  background: rgba(0,0,0,0.7);
}

.reviews__arrow--left {
  left: 10px;
}

.reviews__arrow--right {
  right: 10px;
}

/* Responsive */
@media (max-width: 700px) {
  .review {
    flex: 0 0 100%; /* 1 per view on mobile */
  }
}
