/* Enhanced About Us Section */
.tinos-regular {
  font-family: "Tinos", serif;
  font-weight: 400;
  font-style: normal;
}

.tinos-bold {
  font-family: "Tinos", serif;
  font-weight: 700;
  font-style: normal;
}

.tinos-regular-italic {
  font-family: "Tinos", serif;
  font-weight: 400;
  font-style: italic;
}

.tinos-bold-italic {
  font-family: "Tinos", serif;
  font-weight: 700;
  font-style: italic;
}

.about-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}
.about-img-side {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-img-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(49,163,245,0.12);
  border: 6px solid var(--accent);
}
.about-img-decor {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px dashed var(--accent-2);
  pointer-events: none;
}
.about-info-side {
  flex: 2 1 400px;
  min-width: 280px;
}
.about-info-side h2 {
  margin-top: 0;
}
@media (max-width: 900px) {
  .about-flex {
    flex-direction: column;
    gap: 24px;
  }
  .about-img-wrapper {
    width: 220px;
    height: 220px;
  }
  .about-img {
    width: 180px;
    height: 180px;
  }
  .about-img-decor {
    width: 200px;
    height: 200px;
  }
}
:root{
  --accent:#31a3f5; /* slightly cooler blue accent */
  --accent-2: #31a3f5; /* secondary warm accent */
  --muted:#39424a;
  background:linear-gradient(180deg,#ffffff, #8a8a88);
  --card:#ffffff;
  --max:1200px;
  --radius:14px;
  --text:#0b1720;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  /* use the newly added Tinos font as the primary readable body font */
  font-family: 'Tinos', system-ui, -apple-system, 'Segoe UI', Roboto, 'Poppins', sans-serif;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  font-size:16px;
  line-height:1.6;
}

/* Headings, nav links and buttons use a more neutral sans for clarity */
h1, h2, h3, .btn, .nav a {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Baloo Bhai', sans-serif;
}

/* Improve heading scale and weight for readability */
h1{font-size:2rem;line-height:1.12;margin:0 0 0.5rem;font-weight:700}
h2{font-size:1.4rem;line-height:1.2;font-weight:700}
h3{font-size:1.1rem;line-height:1.25;font-weight:600}

/* Tighter, more readable small text */
.lead{font-size:1.05rem;line-height:1.5;color:var(--muted)}

/* Buttons: slightly larger tap targets and clear typographic weight */
.btn{font-size:1rem;padding:10px 14px}

/* Improved paragraph typography for readability and aesthetics */
p{
  margin: 0 0 1.25rem 0;
  color: #263238; /* slightly warmer, high-contrast text */
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

/* Constrain measure and add nicer spacing for long-form copy */
.prose{
  max-width: 72ch; /* optimal measure for readability */
  margin: 0 auto;
  padding: 0 12px;
}

/* Decorative drop-cap for the first paragraph when using the .prose container */
.prose p:first-of-type::first-letter{
  font-size: 3.2rem;
  font-weight: 700;
  float: left;
  line-height: 1;
  margin-right: 10px;
  color: var(--accent);
  padding-top: 4px;
}

/* Better link appearance inside paragraphs */
.prose a, p a{ color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px }

@media (max-width: 640px){
  .prose{ padding: 0 16px; }
  p{ font-size: 1rem; line-height:1.6 }
  .prose p:first-of-type::first-letter{ font-size: 2.4rem }
}

/* Container */
.container{
  width:calc(100% - 32px);
  max-width:var(--max);
  margin:0 auto;
  padding:24px 0;
}

/* Header */
.site-header{
  background:#fff;
  border-bottom:1px solid #eee;
  position:sticky;
  top:0;
  z-index:999;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{display:flex;align-items:center;gap:10px}
.logo{height:42px;width:auto;display:block}
.logo.small{height:32px}

/* Nav */
.nav.desktop{display:flex;align-items:center;gap:14px}
.nav.desktop a{color:var(--muted);text-decoration:none;padding:8px 10px;border-radius:6px}
.nav.desktop a.cta{background:var(--accent);color:#fff}
.nav.mobile{display:none}

/* Hamburger */
.hamburger{display:none;background:transparent;border:0;cursor:pointer;padding:6px}
.hamburger span{display:block;width:22px;height:3px;background:#333;margin:4px 0;border-radius:2px}

.hero{padding:56px 0;background: #f5f6f7}
.hero-grid{
  display:grid;
  grid-template-columns: 1fr 440px;
  gap:28px;
  align-items:center;
  position: relative; /* needed for pseudo layers */
  border-radius: 0px;
  padding: 18px;
  box-shadow: 0 18px 50px rgba(7,20,40,0.08);
  overflow: hidden;
}

/* blurred background image layer */
.hero-grid::before{
  /* decorative image layer disabled when using a solid hero background */
  display: none;
}

/* subtle white gradient overlay for legibility above the image */
.hero-grid::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.62));
  border-radius: inherit;
  z-index: 1;
  pointer-events: none;
}
.hero-text h1{font-size:2.25rem;margin:0 0 8px;line-height:1.05;color:var(--text)}
.lead{color:var(--muted);margin:0 0 14px}

.hero-actions .btn{margin-right:8px}
.hero-text{padding:6px}
.hero-media{display:flex;align-items:center;justify-content:center}

/* Center hero text over the hero grid (works when hero-media is absent) */
.hero-grid{
  min-height: 360px;
}
.hero-text{
  grid-column: 1 / -1; /* span across the grid */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* align toward the top so the heading sits higher in the hero */
  justify-content: flex-start;
  padding-top: 12px; /* smaller top padding so we can nudge upward */
  transform: translateY(-24px); /* shift up */
  text-align: center;
  z-index: 2;
  perspective: 900px; /* enables subtle 3d transform context */
}

@media (max-width: 640px) {
  .hero-text{
    transform: none; /* avoid overlap on small screens */
    padding-top: 18px;
  }
}
.hero-text h1{
  color: #ffffff;
  font-weight: 700;
  transform: translateZ(10px) rotateX(4deg);
  transform-origin: center bottom;
  /* layered shadows for a 3D/extruded look */
  text-shadow:
    0 1px 0 rgba(0,0,0,0.55),
    0 2px 0 rgba(0,0,0,0.45),
    0 4px 8px rgba(0,0,0,0.5),
    0 10px 24px rgba(0,0,0,0.35);
  letter-spacing: 0.2px;
}

/* small accent ribbon */
.hero-grid::after{
  content: '';
  position: absolute;
  right: 28px;
  top: -12px;
  width: 72px;
  height: 32px;
  background: linear-gradient(90deg,var(--accent),var(--accent-2));
  border-radius: 6px;
  transform: rotate(-6deg);
  box-shadow: 0 8px 18px rgba(30,136,229,0.08);
  opacity: 0.95;
}
.hero-media{
  position:relative;
  display:block;
}

.hero-media::before{
  /* soft decorative frame */
  content: '';
  position: absolute;
  left: -8px; right: -8px; top: -8px; bottom: -8px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(30,136,229,0.06), rgba(239,139,35,0.04));
  z-index: 0;
  transform: rotate(-1.2deg);
  filter: blur(6px);
  pointer-events: none;
}

.hero-media img{
  width:100%;
  border-radius:12px;
  box-shadow:0 20px 48px rgba(8,20,40,0.12);
  position:relative;
  z-index:1;
  display:block;
  transition: transform 420ms cubic-bezier(.2,.9,.2,1), filter 280ms ease;
  transform-origin: center;
  filter: saturate(1.05) contrast(1.03);
}

.hero-media:hover img{transform: scale(1.03) translateY(-6px); filter: saturate(1.08) contrast(1.06)}

/* Buttons */
.btn{display:inline-block;border:0;padding:10px 16px;border-radius:10px;cursor:pointer;font-weight:600;text-decoration:none;color:inherit;transition:all .18s ease}
.btn.primary{background:var(--accent);color:#fff;box-shadow:0 6px 18px rgba(30,136,229,0.14)}
.btn.outline{background:transparent;border:2px solid var(--accent);color:var(--accent)}
.btn.outline:hover{background:rgba(30,136,229,0.06)}

/* Sections */
.section{padding:20px 0 28px}
.section.alt{background:linear-gradient(180deg,#b0b0ad,#ffffff); color:#000000}
.section h2{margin:0 0 8px;text-align:center}
.section-sub{color:var(--muted);margin-bottom:18px;text-align:center}

/* Grids */
.services-grid,.project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}
.service-card,.card{background:var(--card);border-radius:12px;padding:16px;box-shadow:0 8px 30px rgba(9,30,66,0.04)}
.card img{width:100%;height:200px;object-fit:cover;border-radius:10px}

/* Modern project card styles (combined image + info) */
.modern-grid .project-card{
  background:linear-gradient(180deg,#ffffff, #fbfdff);
  border-radius:12px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:transform .28s ease, box-shadow .28s ease;
  cursor:pointer;
  min-width:220px;
}

.modern-grid .project-card .media{height:180px;overflow:hidden;position:relative}
.modern-grid .project-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.modern-grid .project-card:hover img{transform:scale(1.06)}

.modern-grid .project-card .info{padding:14px;display:flex;flex-direction:column;gap:8px}
.modern-grid .project-card h3{margin:0;font-size:1.05rem;color:var(--text)}
.modern-grid .project-card p{margin:0;color:var(--muted);font-size:0.95rem}

.project-card .meta-row{display:flex;align-items:center;gap:10px}
.project-card .meta-row h3{margin:0}
.badge{background:linear-gradient(90deg,var(--accent),var(--accent-2));color:#fff;padding:4px 8px;border-radius:999px;font-weight:700;font-size:0.78rem}
.badge.muted{background:#f0f0f0;color:#333}
.lead{margin:0;color:var(--muted);font-size:0.95rem}
.features{list-style:none;padding:0;margin:6px 0 0;display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:0.9rem}
.info-actions{margin-top:8px;display:flex;gap:8px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:8px;text-decoration:none;font-weight:600;font-size:0.95rem}
.btn.primary{background:var(--accent);color:#fff}
.btn.outline{border:1px solid #ddd;color:var(--text);background:transparent}

.modern-grid .project-card:hover{transform:translateY(-6px);box-shadow:0 18px 36px rgba(9,30,66,0.09)}

/* caption overlay */
.modern-grid .project-card .media::after{
  content: '';
  position: absolute;
  left:0;right:0;bottom:0;height:40%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.55) 100%);
  pointer-events:none;
}

/* compact project info */
.modern-grid .project-card .info{padding:10px 12px}
.modern-grid .project-card .info h3{color:var(--text);margin:0 0 6px;padding:0}
.modern-grid .project-card .info p{color:var(--muted);margin:0}

/* Use project-grid as a simple responsive grid (no slider) */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto 1.6rem;
  padding: 0 1rem;
}

.project-grid .project-card { min-width: 0; }

@media (max-width: 640px) {
  .project-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* Project details list below grid */
.project-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  max-width: var(--max);
  margin: 8px auto 28px;
  padding: 0 12px;
}
.project-details .info{
  background: linear-gradient(180deg,#fff,#fbfdff);
  border-radius:10px;padding:10px 12px;box-shadow:0 6px 18px rgba(9,30,66,0.04);font-size:0.95rem
}
.project-details .info h4{margin:0 0 6px;font-size:1rem;color:var(--text)}
.project-details .info p{margin:0;color:var(--muted);line-height:1.4}

/* Enhanced info card visuals */
.project-details .info { position: relative; overflow: hidden; }
.project-details .info .meta-row{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.project-details .info .badge{background:var(--accent);color:#fff;padding:6px 10px;border-radius:999px;font-weight:700;font-size:0.78rem}
.project-details .info .badge.muted{background:#7b8794}
.project-details .info .lead{font-weight:600;color:#203048;margin:6px 0}
.project-details .info .features{margin:8px 0 10px;padding-left:18px;color:#42505a}
.project-details .info .features li{margin-bottom:6px}
.project-details .info .info-actions{display:flex;gap:8px}
.project-details .info .info-actions .btn{padding:8px 10px;border-radius:8px;font-size:0.92rem}
.project-details .info .info-actions .btn.primary{padding-left:12px;padding-right:12px}

.project-details .info:hover{transform:translateY(-6px);box-shadow:0 20px 50px rgba(9,30,66,0.08);transition:all .25s ease}

@media (max-width:640px){
  .project-details { grid-template-columns: 1fr; }
  .project-details .info .meta-row{flex-direction:row}
}

/* Compact/simplified rules specifically for the #projects section */
#projects.section { padding: 14px 0 18px; }
#projects .section-sub { margin-bottom: 8px; font-size: 0.95rem; }
#projects .project-slider-wrapper { max-width: 980px; margin: 8px auto 12px; }
#projects .slider-track { gap: 10px; padding: 6px 0; }
#projects .slider-track .project-card { min-width: 220px; border-radius:10px }
#projects .modern-grid .project-card .media{height:130px}
#projects .modern-grid .project-card .info{padding:8px}
#projects .slider-btn { width:36px; height:36px; }
#projects .slider-dots { margin-top:10px }
#projects .slider-dots button { margin: 0 4px; width:9px; height:9px }
#projects h2{font-size:1.2rem;margin-bottom:6px}

/* make cards denser on small screens */
@media (max-width:640px){
  #projects .slider-track .project-card { min-width: 88%; }
  #projects .modern-grid .project-card .media{height:160px}
}

/* Contact */
.contact-grid{display:grid;grid-template-columns:1fr 320px;gap:18px;align-items:start}
.lead-form{background:#fff;padding:16px;border-radius:12px;box-shadow:0 10px 40px rgba(2,6,23,0.04)}
.lead-form label{display:block;margin-bottom:12px;color:#111827;font-size:0.95rem}
.lead-form input, .lead-form textarea, .lead-form select{width:100%;padding:10px;border-radius:8px;border:1px solid #e6e9ef;margin-top:6px;font-size:0.95rem}
.form-row{display:flex;gap:10px}
.contact-info{background:#fff;padding:16px;border-radius:12px}

/* Footer */
.site-footer {
  background: #0b1720; /* darker footer */
  color: #ffffff;
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.footer-col h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-col h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-col p {
  margin: 6px 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  color: rgba(255,255,255,0.95);
  gap: 6px;
}

.footer-col nav a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col nav a:hover {
  color: var(--accent);
}
.banner-section{background:#ffffff}
.banner-section{padding:0}
.banner-section > .container{ max-width: 100%; width: 100%; padding: 0; }
.banner-carousel{position:relative;overflow:visible;border-radius:0;background:#ffffff}
.banner-track{display:flex;gap:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;width:100%;scrollbar-width:none;-ms-overflow-style:none}
.banner-track::-webkit-scrollbar{display:none}
.banner-slide{flex:0 0 100%;position:relative;scroll-snap-align:center;touch-action:pan-x;background:#ffffff}
.banner-slide img{width:100%;height:360px;object-fit:contain;object-position:center;display:block;border-radius:0}
.banner-caption{position:absolute;bottom:20px;left:48px;color:#fff;text-shadow:0 6px 18px rgba(0,0,0,0.8);z-index:3;max-width:calc(100% - 96px)}
.banner-caption.center{left:50%;transform:translateX(-50%);text-align:center}
.banner-caption.inside{top:20px;bottom:auto;left:50%;transform:translateX(-50%);text-align:center}
.banner-caption strong{display:block;font-size:1.5rem;margin-bottom:4px}
.banner-caption p{margin:0;font-size:1rem;opacity:0.95}

/* Tablet specific styles */
@media (max-width:1024px) and (min-width:641px){
  .banner-slide img{height:320px;object-fit:contain}
  .banner-caption{left:32px;bottom:16px;max-width:calc(100% - 64px)}
  .banner-caption strong{font-size:1.4rem}
  .banner-caption p{font-size:0.95rem}
}

/* Mobile styles - improved visibility */
@media (max-width:640px){
  .banner-slide img{height:280px;object-fit:contain}
  .banner-caption{left:16px;bottom:12px;max-width:calc(100% - 32px)}
  .banner-caption strong{font-size:1.1rem}
  .banner-caption p{font-size:0.85rem}
  
}

/* Large desktop */
@media (min-width:1200px){
  .banner-slide img{height:420px}
}

/* Banner navigation dots */
.banner-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-dot:hover {
  background: rgba(255,255,255,0.8);
  transform: scale(1.2);
}

.banner-dot.active {
  background: rgba(255,255,255,0.9);
}

/* Banner section improvements */
.banner-section {
  position: relative;
  overflow: hidden;
}

/* Ensure banner is properly visible on all devices */
.banner-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Add subtle overlay for better text readability */
.banner-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
  pointer-events: none;
}



/* Mobile banner dots adjustment */
@media (max-width:640px){
  .banner-dots {
    bottom: 4px;
    gap: 6px;
  }
  
  .banner-dot {
    width: 6px;
    height: 6px;
  }
}

/* Banner loading state */
.banner-slide img {
  transition: opacity 0.3s ease;
}

.banner-slide img[data-loading="true"] {
  opacity: 0.7;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  font-size: 1.4rem;
  color: #000307;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid #ffffff;
  text-align: center;
  font-size: 0.9rem;
  color: #ffffff;
}

.footer-bottom p {
  margin: 4px 0;
  color: white
}


/* Feedback */
.feedback{margin-top:12px;color:var(--muted);font-size:0.95rem}

/* Customer feedback section styles (improved) */
.feedback-section {
  background: linear-gradient(180deg,#b0b0ad,#b0b0ad);
  padding: 40px 0 48px;
  border-radius: 14px;
}
.feedback-section h2 { font-size:1.6rem; margin:0 0 6px; color:var(--text); }
.feedback-section .section-sub { color:#66747a; margin:0 0 18px }

.feedback-grid { display:grid; grid-template-columns: 1fr 420px; gap:24px; align-items:center; }

.feedback-form {
  background: linear-gradient(180deg,#ffffff,#fbfdff);
  padding:22px; border-radius:14px; border:1px solid rgba(30,136,229,0.06);
  box-shadow: 0 18px 40px rgba(20,40,60,0.06); max-width:560px; justify-self:center;
}
.feedback-form label { display:block; font-weight:600; color:var(--muted); margin-bottom:10px }
.feedback-form input, .feedback-form textarea, .feedback-form select {
  width:100%; padding:12px 14px; border-radius:10px; border:1px solid #e6eef5; background:#fbfdff; color:var(--text);
}
.feedback-form textarea{ min-height:120px }
.feedback-form input:focus, .feedback-form textarea:focus { outline:none; border-color: rgba(49,163,245,0.9); box-shadow: 0 8px 28px rgba(49,163,245,0.06) }

.char-counter { display:flex; justify-content:space-between; gap:8px; margin-top:6px }
.char-counter small { color:#90a4ae; font-size:12px }

.rating-stars { display:flex; gap:8px; margin:8px 0 }
.rating-stars .star { font-size:26px; color:#ffd055; background:linear-gradient(180deg,#fff8e1,#fff3c4); padding:8px 10px; border-radius:10px; border:0; cursor:pointer; transition:transform .12s ease, box-shadow .12s ease }
.rating-stars .star:hover, .rating-stars .star:focus { transform:translateY(-4px) scale(1.05); box-shadow: 0 10px 26px rgba(33,150,243,0.12); }
.rating-stars .star[aria-checked="true"] { box-shadow: 0 12px 30px rgba(33,150,243,0.16); }

.form-row { display:flex; justify-content:center; margin-top:12px }
.feedback-form .btn.primary { padding:10px 18px; border-radius:10px; background: linear-gradient(90deg,var(--accent),#1fb0a3); color:#fff; border:0; box-shadow: 0 10px 28px rgba(31,176,163,0.12) }
.feedback-form .btn.primary:disabled { opacity:0.6; cursor:not-allowed; box-shadow:none }

.feedback-list { display:flex; flex-direction:column; gap:12px; max-height:520px; overflow:auto; padding:6px }
.feedback-item { display:flex; gap:12px; align-items:flex-start; background:linear-gradient(180deg,#ffffff,#fbfdff); padding:14px; border-radius:12px; border:1px solid rgba(0,0,0,0.03); box-shadow:0 8px 24px rgba(10,24,40,0.04) }
.feedback-item .avatar { width:56px; height:56px; border-radius:50%; background:linear-gradient(135deg,#31a3f5,#21bfa8); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-size:18px; flex-shrink:0 }
.feedback-item .meta { flex:1 }
.feedback-item .meta .head { display:flex; justify-content:space-between; align-items:center }
.feedback-item .meta .name { font-weight:800; color:var(--text) }
.feedback-item .meta .stars { color:#ffd055 }
.feedback-item .meta .review { margin-top:8px; color:#37474f; line-height:1.5 }

/* Placeholder style for empty list */
#feedbackPlaceholder { padding:18px; border-radius:12px; background:#fff; color:#90a4ae; border:1px dashed #e6eef5; text-align:center }

@media (max-width:880px) {
  .feedback-grid { grid-template-columns: 1fr; }
  .feedback-form { order:2; max-width:100%; justify-self:stretch }
  .feedback-section h2, .feedback-section .section-sub { text-align:center }
}

/* Responsive rules */
@media (max-width:1100px){
  .hero-grid{grid-template-columns:1fr 350px}
}
@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .nav.desktop{display:none}
  .hamburger{display:block}
}
@media (max-width:600px){
  .container{padding:16px}
  .hero{padding:28px 0}
  .hero-text h1{font-size:1.5rem}
  .project-grid,.services-grid{grid-template-columns:1fr}
  .nav.mobile{display:none} /* will be toggled via JS when active */
}


/* ===== POPUP CONTACT FORM ===== */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup-box {
  background: #fff;
  padding: 28px;
  border-radius: 8px;
  max-width: 420px;
  width: 90%;
  position: relative;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease-in-out;
}

.popup-box h2 {
  margin-bottom: 16px;
  text-align: center;
  color: #31a3f5;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup-form input,
.popup-form textarea,
.popup-form button {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.popup-form button {
  background: #31a3f5;
  color: #fff;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.popup-form button:hover {
  background: #004999;
}

/* ===== BROCHURE MODAL ===== */
.modal-overlay {position:fixed;inset:0;background:rgba(6,12,22,0.55);display:none;align-items:center;justify-content:center;z-index:2200}
.modal {background:#fff;border-radius:12px;padding:20px;max-width:540px;width:94%;box-shadow:0 30px 80px rgba(7,20,40,0.5)}
.modal h3{margin-top:0}
.modal .row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.modal input{padding:10px;border-radius:8px;border:1px solid #e6e9ef}
.modal .actions{display:flex;gap:10px;justify-content:flex-end;margin-top:12px}
.modal .actions .btn.secondary{background:var(--accent-2);color:#fff}

@media (max-width:640px){
  .modal .row{grid-template-columns:1fr}
  .hero-grid{grid-template-columns:1fr}
}

.popup-close {
  position: absolute;
  top: 10px; right: 12px;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.popup-feedback {
  margin-top: 10px;
  text-align: center;
  color: green;
  font-size: 0.9rem;
}

/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 80px 20px;
  background: linear-gradient(#ffff ,#b0b0ad);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #222;
}

.contact-info p {
  margin: 10px 0;
  font-size: 1rem;
  color: #555;
}

.contact-map iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  .contact-map iframe {
    height: 300px;
  }
}


/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  height: 50px;
}

/* Header visual enhancement */
.site-header {
  border: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(245,249,255,0.9));
  box-shadow: 0 6px 30px rgba(6,18,42,0.06);
}
.header-inner { padding: 14px 20px; }
.brand .logo { transition: transform .25s ease; }
.brand:hover .logo { transform: scale(1.02); }

/* Offers section */
.offers-section { padding: 36px 0 48px; background : linear-gradient muted (180deg, #f7f7f7, #f3f3f3); }
.offers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 20px; background-color:linear-gradient(#ffffff , #b0b0ad );}
.offer-card { position: relative; padding: 18px; border-radius: 12px; background: linear-gradient(180deg,#ffffff,#f8fbff); box-shadow: 0 12px 30px rgba(251, 251, 252, 0.06); transition: transform .22s ease, box-shadow .22s ease; overflow: hidden; }
.offer-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(13,38,74,0.09); }
.offer-card h3 { margin: 8px 0; font-size: 1.05rem; }
.offer-card p { color: var(--muted); margin-bottom: 12px; }
.offer-actions { display:flex; gap:10px; align-items:center; }
.badge { position:absolute; top:12px; right:12px; background:var(--accent); color:#fff; padding:6px 10px; border-radius:999px; font-weight:700; font-size:0.8rem; }

/* Contact form centered on mobile */
@media (max-width: 640px) {
  .contact-grid { display:flex; flex-direction:column; align-items:center; }
  .lead-form { width: 100%; max-width: 520px; margin: 0 auto; }
  .contact-info { width: 100%; max-width: 520px; }
  .hero-text { text-align: center; }
  .hero-media { order: 3; }
}

/* Desktop Nav */
.nav.desktop {
  display: flex;
  gap: 24px;
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: #f2f6ff;
  color: #0066cc;
}

.nav-link.cta {
  background: #f9fafb;
  color: #090909;
  font-weight: 600;
}

.nav-link.cta:hover {
  background: #004999;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animate hamburger → X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* ===== MOBILE NAV ===== */
.nav.mobile {
  position: absolute;
  top: 64px;
  right: 0;
  width: 60%;
  background: #fff;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav.mobile.active {
  max-height: 400px; /* reveal */
}

.nav.mobile a {
  padding: 14px 20px;
  text-align: center;
  font-size: 1rem;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.3s ease;
}

.nav.mobile a:hover {
  background: #f0f4ff;
  color: #0066cc;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .nav.desktop {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}


/* ===== MENU TOGGLE BUTTON ===== */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none; /* hidden on desktop */
  z-index: 1100;
}

.menu-toggle img {
  width: 28px;
  height: 28px;
  transition: opacity 0.3s ease;
}

/* Show only on mobile/tablet */
@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }
}



