:root {
  --primary: #0D47A1;   /* TACR primary */
  --secondary: #1976D2; /* TACR secondary */
  --accent: #64B5F6;    /* light accent */
  --white: #ffffff;
  --muted: #6b7280;
  --card-bg: #f6f9ff;
  --glass: rgba(255,255,255,0.92);
}

/* Reset & base */
* { box-sizing: border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", Arial, sans-serif;
  color: #111827;
  background: #f3f6fb;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
a { color: inherit; text-decoration: none; }

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:1rem 6%;
  background: linear-gradient(180deg, rgba(13,71,161,0.95), rgba(13,71,161,0.85));
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(7,28,77,0.18);
}
.logo-area { display:flex; align-items:center; gap:1rem; }
.logo-img { width:56px; height:56px; object-fit:cover; border-radius:8px; background: #e6eefc; }
.logo-text { font-weight:700; color:var(--white); font-size:1.4rem; letter-spacing:0.2px; }

/* hamburger */
.menu-toggle { display:none; cursor:pointer; gap:7px; flex-direction:column; }
.menu-toggle span {
  width:32px; height:4px; background:var(--white); border-radius:4px; transition: all .25s ease;
}
.nav-links {
  list-style:none; display:flex; gap:2rem; align-items:center;
}
.nav-links li a {
  color:var(--white); font-weight:600; font-size:1rem; transition:color .2s, transform .2s;
}
.nav-links li a:hover { color:var(--accent); transform: translateY(-2px); }

/* show/hide for mobile */
@media (max-width: 900px) {
  .nav-links { display:none; position:absolute; top:74px; right:6%; background:var(--primary); padding:1.25rem; border-radius:12px; box-shadow:0 10px 30px rgba(7,28,77,0.2); flex-direction:column; width:220px; }
  .nav-links.show { display:flex; }
  .menu-toggle { display:flex; }
}

.hero-section {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;

  /* Cool ice-blue to deep blue gradient */
  background: linear-gradient(135deg, #e0f7fa 0%, #80d8ff 25%, #0d47a1 75%, #083162 100%);
}

/* Mist particles container */
.mist-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.mist-particles span {
  position: absolute;
  bottom: -10%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  opacity: 0.6;
  animation: mistParticle 15s linear infinite;
}

.mist-particles span:nth-child(1) {
  width: 80px; height: 80px; left: 10%;
  animation-delay: 0s;
}
.mist-particles span:nth-child(2) {
  width: 60px; height: 60px; left: 35%;
  animation-delay: 3s;
}
.mist-particles span:nth-child(3) {
  width: 100px; height: 100px; left: 60%;
  animation-delay: 6s;
}
.mist-particles span:nth-child(4) {
  width: 50px; height: 50px; left: 80%;
  animation-delay: 9s;
}

@keyframes mistParticle {
  0% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { opacity: 0.2; }
  100% { transform: translateY(-120vh) scale(1.5); opacity: 0; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 30, 0.2);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  padding: 1rem;
  animation: fadeInUp 0.9s ease both;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
  text-shadow: 0 6px 18px rgba(2, 6, 23, 0.45);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
  min-height: 36px;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(2, 6, 23, 0.25);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  display: inline-block;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cta-button {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 8px 30px rgba(10, 40, 90, 0.18);
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(10, 40, 90, 0.22);
}

.secondary-button {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.08);
}






/* Sections */
.section { padding:4rem 6%; max-width:1600px; margin: 3.5rem auto; border-radius:14px; background:transparent; }
.section h2 { text-align:center; margin-bottom:.8rem; color:var(--primary); font-size:1.9rem; }
.section .section-subtitle { text-align:center; color:var(--muted); margin-bottom:2rem; }

/* Services grid */
/* Services grid */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* center the two cards */
  gap: 2rem;
}

.service-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 28px rgba(11, 33, 77, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  text-align: left;
  overflow: hidden;
  max-width: 320px; /* keeps cards from getting too wide */
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 36px rgba(11, 33, 77, 0.12);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9; /* keeps images same height */
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 1rem;
  background: #e9f0ff;
  transition: transform 0.3s ease;
}

.service-card:hover img {
  transform: scale(1.05); /* subtle zoom on hover */
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.service-card ul {
  color: #334155;
  margin-left: 1rem;
  margin-bottom: 0.75rem;
}

/* Gallery Section */
.gallery-section {
  background: #fff;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1600px;
  margin: auto;
  border-radius: 20px;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
}

.carousel-track img {
  width: calc(1600px / 4 - 2rem);
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.carousel-track img:hover {
  transform: scale(1.05);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-size: 1.8rem;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.carousel-control:hover {
  background: #0d47a1;
}

.prev { left: 1.5rem; }
.next { right: 1.5rem; }


.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.about-card {
  background: rgba(255, 255, 255, 0.12); /* slightly less transparent for better text contrast */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 6px 22px rgba(11, 33, 77, 0.15);
  transition: all 0.4s ease;
  position: relative;
}

.about-card h3 {
  color: #4a04df; /* pure white heading */
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); /* subtle shadow for readability */
}

.about-card p {
  color: #063273; /* soft light blue for better contrast */
  font-size: 0.95rem;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); /* subtle shadow for legibility */
}

.about-icon {
  font-size: 2.4rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); /* makes icons glow against background */
}



/* Footer */
.footer {
  background: var(--primary); /* Deep TACR blue */
  color: var(--white);
  padding: 5rem 6%;
}

.footer-content {
  max-width: 1600px;
  margin: auto;
}

.contact-section h2 {
  color: var(--white);
  border-bottom: 4px solid var(--accent); /* Light blue accent */
  padding-bottom: 1rem;
  margin-bottom: 2.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  justify-content: center;
}
.contact-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem 1rem; /* slightly less padding on the sides */
  display: flex;
  align-items: flex-start;
  gap: 0.75rem; /* reduced gap so text has more space */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-icon {
  flex-shrink: 0;
  width: 2.2rem; /* slightly smaller icon area */
  text-align: center;
  font-size: 1.8rem;
  color: var(--accent);
  margin-top: 0.2rem;
  margin-left: -0.3rem; /* nudges icon slightly left */
}


.contact-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-details strong {
  display: block;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.contact-details p,
.contact-details a {
  font-size: 0.95rem;
  color: #d0e2ff;
  word-break: break-word; /* keeps long email addresses from overflowing */
  line-height: 1.4;
}

.contact-details a {
  color: var(--accent);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}
.map-container {
  margin-top: 3rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.footer-text {
  text-align: center;
  font-size: 1rem;
  margin-top: 3rem;
}

/* Floating WhatsApp */
.whatsapp-float {
  position:fixed; bottom:28px; right:28px; background:#25D366; color:#fff; width:56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:1.6rem; box-shadow:0 10px 30px rgba(7,28,77,0.15);
  z-index:1200;
}

/* Modal */
.modal { display:none; position:fixed; inset:0; background:rgba(2,6,23,0.8); align-items:center; justify-content:center; z-index:2000; padding:2rem; }
.modal-content { max-width:95%; max-height:90%; border-radius:12px; box-shadow:0 14px 40px rgba(2,6,23,0.6); }
.modal-close { position:absolute; top:2rem; right:2rem; font-size:2.2rem; color:#fff; cursor:pointer; }

/* small screens */
@media (max-width: 768px) {
  .hero-section { height:70vh; min-height:420px; }
  .carousel-card { flex: 0 0 240px; }
  .nav-links { gap:1rem; }
}

/* Animations */
@keyframes fadeInUp { from { opacity:0; transform: translateY(18px); } to { opacity:1; transform: translateY(0); } }
