/* -----------------------
   Base Styles
----------------------- */
:root {
  --text: #111;
  --muted: #555;
  --bg: #fff;
  --accent: #FF7F1A;   /* brand orange */
  --accent-2: hsl(28, 100%, 70%); /* lighter orange */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Solid orange border for About Us and Vision images */
.about-section img,
.vision-section img {
  border: 6px solid #FF7F1A;       /* Solid orange border */
  border-radius: 6px;               /* Rounded corners */
  box-shadow: 0 0 2px #FF7F1A,     /* Outer glow */
              0 0 6px #FF7F1A,    /* Stronger glow */
              0 0 10px #FF7F1A;    /* Even more diffuse glow */
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-section img:hover,
.vision-section img:hover {
  transform: scale(1.05);           /* Slight zoom on hover */
  box-shadow: 0 0 5px #FF7F1A,
              0 0 10px #FF7F1A,
              0 0 15px #FF7F1A;
}


body {
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/*additional codee for cleaner footer fit*/


main {
  flex: 1; /* pushes footer down when content is short */
}


body {
  padding-top: 60px;
}


/* === Modern Global Background Accent === */
body {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
  overflow-x: hidden;
  color: #000;
}

/* Animated glowing orange accents */
body::before,
body::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 127, 26, 0.25), transparent 70%);
  z-index: 0;
  pointer-events: none;
  animation: subtleMove 10s ease-in-out infinite alternate;
}

/* Top-right accent */
body::before {
  top: -140px;
  right: -180px;
}

/* Bottom-left accent */
body::after {
  bottom: -160px;
  left: -200px;
}

/* Subtle animated pulsing motion */
@keyframes subtleMove {
  0% { transform: scale(1) translate(0, 0); opacity: 0.35; }
  50% { transform: scale(1.1) translate(25px, 25px); opacity: 0.55; }
  100% { transform: scale(1) translate(0, 0); opacity: 0.35; }
}

/* Make sure content stays above glow */
main, section, header, footer {
  position: relative;
  z-index: 1;
}

.contact-box {
  position: relative;
  padding: 2rem;
  border-radius: 12px;
  background: #fff;
  max-width: 500px;
  margin: 20px auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  z-index: 0;
  overflow: hidden;
}

/* Animated gradient border (wider) */
.contact-box::before {
  content: "";
  position: absolute;
  top: -5px;       /* increased from -2px */
  left: -5px;      /* increased from -2px */
  right: -5px;     /* increased from -2px */
  bottom: -5px;    /* increased from -2px */
  border-radius: inherit;
  background: linear-gradient(
    270deg,
    #f86b00,
    #090900,
    #f89e02,
    #c57900
  );
  background-size: 300% 300%;
  animation: gradient 2.5s infinite linear;
  z-index: -1;
}

/* Inner white background to keep content clean */
.contact-box::after {
  content: "";
  position: absolute;
  top: 5px;       /* matches new border width */
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: inherit;
  background: #fff;
  z-index: -1;
}

/* Gradient animation */
@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Animated gradient border for hero image */
.hero-image-box {
  position: relative;
  display: inline-block;
  border-radius: 12px;
  overflow: hidden;
}

.hero-image-box img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

/* Outer animated gradient */
.hero-image-box::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: inherit;
  background: linear-gradient(
    270deg,
    #f86b00,
    #090900,
    #f8a412,
    #ed9a14
  );
  background-size: 300% 300%;
  animation: gradient 2.5s infinite linear;
  z-index: -2;
}

/* Inner white layer to protect image content */
.hero-image-box::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border-radius: inherit;
  background: #fbbd03;
  z-index: -1;
}

/* Gradient animation keyframes (reuse from contact-box) */
@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

a {
  text-decoration: none;
  color: inherit;
}

p, li {
  color: #555; /* ensure normal text and list items match */
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Remove default black bullets from all unordered lists */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Diamond bullets for lists */
ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 15px;
  line-height: 1.6;
}

ul li::before {
  content: "◆";
  color: #FF7F1A;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
  line-height: 1.2;
}

ul li {
  font-size: 1rem;
  color: #222;
  line-height: 1.6;
}

/* -----------------------
   Services Styles
----------------------- */

/* Special centered paragraph */
.center-paragraph {
  text-align: center;
  max-width: 800px;
  margin: -20px auto 5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.site-header {
  background: transparent;
  border-bottom: 1px solid #eeeeee;
  padding: 15px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo a {
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  color: #000;
}

/* --- Services Section: Balanced & Spacious Layout --- */
.services-section.split {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: flex-start;
  margin-top: 70px;
}

.split-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.split-content {
  flex: 1;
  width: 100%;
}

.split-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.split-content p {
  font-size: 1.05rem;
  margin-bottom: 25px;
  line-height: 1.7;
}

/* --- Services Grid: Responsive & Spacious --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr; /* Default: single column */
  gap: 50px;
  margin-bottom: 50px;
  width: 100%;
}

/* --- Individual Service Items --- */
.service-item {
  position: relative;
  padding: 25px 25px 25px 35px;
  background-color: #fbe9d2;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  line-height: 1.7;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.service-item h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #222;
}

.service-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

/* --- Decorative Icon --- */
.service-item::before {
  content: "◆";
  color: #FF7F1A;
  position: absolute;
  left: 12px;
  top: 28px;
  font-size: 1.1rem;
  line-height: 1;
}

/* --- Two Columns for Larger Screens --- */
@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px 70px;
  }

  .split-content {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* --- Image + Heading Side by Side --- */
.image-heading-row {
  display: flex;
  flex-direction: column; /* Stacked on mobile */
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
}

.image-heading-row .section-heading {
  font-size: 3.5rem;
  font-weight: 900;
  color: #222;
  text-align: center;
  line-height: 1.2;
}

.image-heading-row .section-heading::after {
  content: "";
  display: block;
  width: 85%;
  height: 4px;
  background-color: #FF7F1A;
  margin: 14px auto 0;
  border-radius: 2px;
}

/* --- Desktop Layout: Side-by-Side --- */
@media (min-width: 1000px) {
  .image-heading-row {
    flex-direction: row; /* Image left, heading right */
    align-items: center; /* Vertically center heading next to image */
    justify-content: center;
    gap: 80px;
  }

  .split-image {
    flex: 0 0 auto;
    max-width: 45%;
  }

  .image-heading-row .section-heading {
    flex: 1;
    text-align: left;
    font-size: 4rem;
    margin: 0;
  }

  .image-heading-row .section-heading::after {
    margin-left: 0;
  }
}

/* --- Footer --- */
.site-footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 20px 0;
  margin-top: 60px;
  text-align: center;
}



/* -----------------------
   Header (Show only at top)
----------------------- */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  height: 100%;
}


.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 14px 0;
  transition: transform 0.4s ease, opacity 0.3s ease;
  will-change: transform, opacity;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-text-logo {
  font-weight: 400;
  font-size: 18px;
  color: #000;
}

.header-img-logo {
  height: 1.5em;
  width: auto;
  display: inline-block;
}

.site-logo a {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}

/* Hidden state */
.site-header.hide {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}



/* Navigation */
.main-nav a {
  margin-left: 22px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 8px;
  position: relative;
}

.main-nav a.active {
  color: var(--text);
}

.main-nav a.active::after {
  content: "";
  width: 36px;
  height: 3px;
  background: var(--accent);
  display: block;
  border-radius: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
}

.main-nav a:hover {
  color: var(--accent);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  position: relative;
  z-index: 1001; /* makes sure it's always above other elements */
}

/* === Frosted Glass Footer (Compact & Non-Fixed) === */
footer {
  width: 100%;
  background: rgba(15, 15, 15, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f5f5f5;
  padding: 6px 0; /* smaller height */
  text-align: center;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  margin-top: 0; /* remove big gap above */
}

footer .footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

footer a {
  color: #ff7f1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ffa94d;
}


/* -----------------------
   Hero Section
----------------------- */
.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero-img-logo {
  width: auto;
  max-width: 100%;
  height: auto;       /* Let height adjust naturally */
  max-height: 190px;  /* Prevent it from being too tall */
  display: block;
}

.hero {
  background: var(--bg);
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center; /* Center content on smaller screens */
  overflow: hidden;
  padding: 0 1rem;         /* Small horizontal padding for mobile */
  
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Make it flexible */
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: 1200px;          /* Limit overall width */
}

.hero-left {
  padding: 20px;
}

.hero-title {
  font-size: clamp(36px, 8vw, 96px); /* Slightly smaller on small screens */
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  text-align: left;
}

.hero-sub {
  margin-top: 8px;
  font-weight: 600;
  color: var(--muted);
  font-size: 14px;
}

.hero-right {
  display: flex;
  justify-content: center;  /* Keep image centered on mobile */
  overflow: visible;
}

.hero-right img {
  width: 100%;
  height: auto;
  max-width: 400px;       /* Prevent it from stretching too much */
  border-radius: 8px;
  object-fit: cover;
  display: block;
}


/* Preview Section Grid */
.preview-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.preview-item {
  position: relative; /* ensure pseudo-element has correct stacking context */
}

.preview-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Stack on smaller screens */
@media (max-width: 768px) {
  .preview-grid {
    grid-template-columns: 1fr;
  }
}

/* Gradient line under heading - full width */
.heading-gradient {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  padding-bottom: 12px; /* space for the line */
  text-align: center;
  width: 100%;
}

.heading-gradient::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80%;           /* almost full width */
  max-width: 600px;     /* optional max width for large screens */
  height: 3px;          /* slightly thicker line */
  border-radius: 3px;
  background:#ff9d00;
  background-size: 300% 300%;
}

/* Gradient animation keyframes */
@keyframes gradientLine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.preview-image {
  flex: 1 1 50%;
}

.preview-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Buttons */
button, .btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 28px;
  background: #000;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover, .btn:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255,127,26,0.3);
}

/* -----------------------
   Gallery
----------------------- */
.gallery-section {
  text-align: center;
  margin: 60px auto;
}

.gallery-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.gallery-section p {
  margin-bottom: 30px;
  color: #555;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(255,127,26,0.4);
}

/* -----------------------
   Lightbox Styles
----------------------- */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1500; /* on top of everything */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  overflow: hidden;
}

/* Image inside lightbox */
.lightbox-content {
  display: block;
  max-width: 90%;
  max-height: 80vh;
  margin: 80px auto 20px;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.lightbox-content.visible {
  opacity: 1;
}

/* Caption */
.lightbox-caption {
  text-align: center;
  color: #f1f1f1;
  margin-top: 12px;
  font-size: 1rem;
}

/* Close button */
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 45px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  z-index: 2000; /* stay above image */
  line-height: 1;
}

.close:hover {
  color: #ccc;
}

/* Navigation arrows */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  padding: 16px;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
  z-index: 2000;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover {
  color: #ccc;
}


/* -----------------------
   Sections
----------------------- */
section {
  margin: 4rem 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  padding: 80px 0;
  text-align: center;
}

section h1, section h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
}

section p {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
}

/* -----------------------
   About Section
----------------------- */
.about-section {
  padding: 4rem 0;
}

.about-section .section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.about-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: right;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* -----------------------
   Vision / Split Section
----------------------- */
.split {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 4rem 0;
}

.split-image, .split-content {
  flex: 1;
  min-width: 300px;
}

.split-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.split-content h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 600;
}

.split-content p,
.split-content ul {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}


/* -----------------------
   Mission Section
----------------------- */
.mission-section {
  padding: 4rem 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.mission-item {
  background: #ffdeadb5;
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
  font-weight: 500;
}

/* -----------------------
   Team Section
----------------------- */
.team-section {
  padding: 4rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.team-card {
  background: rgb(253, 252, 251);
  padding: 14px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 6px 22px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgb(177, 99, 2);
}

.team-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.team-name {
  margin-top: 10px;
  font-weight: 700;
  font-size: 14px;
}

.team-role {
  font-weight: 500;
  color: var(--muted);
  font-size: 12px;
}

/* -----------------------
   Footer
----------------------- */
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-text-logo {
  font-weight: 600;
  font-size: 13px;
  color: #4a4a4a;
}

.footer-img-logo {
  height: 1em;
  width: auto;
  display: inline-block;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  background: #fffefe;
}

.site-footer a, .footer-links {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #fff;
}

/* -----------------------
   Responsive
----------------------- */
@media (max-width: 768px) {
  .about-grid, .split {
    flex-direction: column;
    text-align: center;
  }

  .about-image, .split-image {
    text-align: center;
  }

  .main-nav a {
    margin-left: 1rem;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

/* -----------------------
   Responsive Fixes for All Pages
----------------------- */

/* Tablets */
@media (max-width: 1024px) {
  /* Hero section (Home) */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-left {
    order: 1;
  }
  .hero-right {
    order: 2;
  }

  .hero-img-logo {
    max-width: 200px;
    margin: 0 auto 1rem;
    display: block;
  }

  /* About page split sections */
  .about-grid,
  .vision-section.split {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-image img,
  .split-image img {
    max-width: 100%;
    margin: 0 auto;
    display: block;
  }

  /* Team grid (About) */
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* additional hero code for nkwally text adjustment on smaller screens*/

/* Hero section adjustments for smaller screens */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr; /* stack left & right */
    gap: 20px;
    text-align: center;
  }

  .hero-left {
    padding: 20px;             /* less padding */
    display: flex;
    flex-direction: column;
    align-items: center;       /* center the logo and title */
  }

  .hero-logo {
    align-items: center;       /* center the logo image above text */
  }

  .hero-title {
    text-align: center;        /* ensure the title is centered */
  }

  .hero-right {
    display: flex;
    justify-content: center;   /* center the hero image */
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Navigation */
  .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
  }
  .main-nav a {
    font-size: 14px;
    margin: 0 5px;
  }

  /* Hero */
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  /* About text */
  .about-text {
    padding: 0 1rem;
  }

  /* Team grid */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery (Services page) */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  /* Hero */
  .hero-title {
    font-size: 1.6rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  /* Team grid (About) */
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Text */
  .about-text p,
  .center-paragraph,
  .preview-item p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* -----------------------
   Mobile Navigation
----------------------- */
.nav-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #000; /* adjust if your header has dark bg */
}

/* On mobile */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
  }

  .main-nav.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .header-inner {
    justify-content: space-between;
    align-items: center;
  }
}

/* -----------------------
   More Visible Background Corner Shapes
----------------------- */
.bg-shape {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: subtleMove 12s ease-in-out infinite alternate;
  filter: blur(60px);
  opacity: 0.6;
  transition: all 0.4s ease;
}

/* Top-right shape */
.bg-shape.top-right {
  top: -10vw;
  right: -10vw;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle at center, rgba(255, 127, 26, 0.6), rgba(255, 166, 0, 0.3), transparent 80%);
}

/* Bottom-left shape */
.bg-shape.bottom-left {
  bottom: -12vw;
  left: -12vw;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle at center, rgba(255, 127, 26, 0.6), rgba(255, 166, 0, 0.3), transparent 75%);
}

/* Smooth breathing motion */
@keyframes subtleMove {
  0% { transform: scale(1) translate(0,0); opacity: 0.6; }
  50% { transform: scale(1.05) translate(2vw,2vw); opacity: 0.7; }
  100% { transform: scale(1) translate(0,0); opacity: 0.6; }
}

/* Keep content above shapes */
header, main, footer {
  position: relative;
  z-index: 1;
}

/* -----------------------
   Responsive Adjustments
----------------------- */
@media (max-width: 1024px) {
  .bg-shape {
    filter: blur(50px);
  }

  .bg-shape.top-right,
  .bg-shape.bottom-left {
    width: 55vw;
    height: 55vw;
  }
}

@media (max-width: 768px) {
  .bg-shape {
    filter: blur(40px);
    opacity: 0.5;
  }

  .bg-shape.top-right {
    top: -20vw;
    right: -20vw;
    width: 65vw;
    height: 65vw;
  }

  .bg-shape.bottom-left {
    bottom: -20vw;
    left: -25vw;
    width: 70vw;
    height: 70vw;
  }
}


/* -----------------------
   Animated Accent Lines
----------------------- */
.section-title,
.vision-section h2 {
  position: relative;
  display: inline-block;
  font-weight: 800;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: #000;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.section-title::after,
.vision-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #fa6c00, #ffb347, #c86214);
  background-size: 200% 100%;
  border-radius: 2px;
  animation: moveLine 3s linear infinite;
}

@keyframes moveLine {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* === Solid Orange Accent Line Under Section Titles === */
.section-title {
  position: relative;
  display: inline-block;
  font-weight: 800;
  font-size: 1.8rem;
  color: #000;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #fa6c00, #ffb347, #c86214);
  background-size: 200% 100%;
  border-radius: 2px;
  animation: moveLine 3s linear infinite;
}


/* === Animated Gradient Movement === */
@keyframes moveLine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}




/* === Orange Diamond Decorations (Static) === */
.diamond-decor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* so it doesn’t block clicks */
  overflow: hidden;
  z-index: 0; /* stays behind all content */
}

.diamond {
  position: absolute;
  background: #ff7f1a;
  transform: rotate(45deg);
  opacity: 0.6;
  border-radius: 2px;
}

/* Sizes */
.diamond.small {
  width: 18px;
  height: 18px;
}

.diamond.medium {
  width: 35px;
  height: 35px;
}

/* Positioning */
.diamond:nth-child(1) { top: 10%; left: 6%; }
.diamond:nth-child(2) { top: 25%; left: 80%; }
.diamond:nth-child(3) { top: 55%; left: 15%; }
.diamond:nth-child(4) { top: 70%; left: 60%; }
.diamond:nth-child(5) { top: 85%; left: 35%; }
.diamond:nth-child(6) { top: 40%; left: 92%; }

/* -----------------------
   Geometric Corner Shapes (Static + Responsive)
----------------------- */
.corner-shape {
  position: absolute;
  pointer-events: none;
  z-index: 2; /* keep behind content */
}

/* --- Base desktop sizes --- */
.corner-shape.top-left {
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #FF7F1A, #FFAE42);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.corner-shape.top-right {
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, #FFAE42, #FF7F1A);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.corner-shape.bottom-left {
  bottom: -10;
  left: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(225deg, #FF7F1A, #FFA94D);
  clip-path: polygon(0 100%, 100% 100%, 0 0);
}

.corner-shape.bottom-right {
  bottom: -10;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(315deg, #FFA94D, #FF7F1A);
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

/* Make sure the section acts as a container */
section.contact {
  position: relative;
  overflow: hidden; /* keeps shapes from overflowing into footer */
  padding-bottom: 4rem; /* keeps text above shapes */
}

/* --- Tablet (smaller corners) --- */
@media (max-width: 992px) {
  .corner-shape.top-left,
  .corner-shape.top-right,
  .corner-shape.bottom-left,
  .corner-shape.bottom-right {
    width: 120px;
    height: 120px;
  }
}

/* --- Mobile (tiny accents) --- */
@media (max-width: 600px) {
  .corner-shape.top-left,
  .corner-shape.top-right,
  .corner-shape.bottom-left,
  .corner-shape.bottom-right {
    width: 80px;
    height: 80px;
  }
}

/* -----------------------
   Contact Page
----------------------- */
.contact-hero {
  position: relative;
  background: 
    linear-gradient(
      rgba(255, 162, 0, 0.6),
      rgba(255, 162, 0, 0.6)
    ),
    url("assets/nkd-contact2.jpg") center/cover no-repeat;
  color: #000;
  text-align: center;
  padding: 5rem 2rem;
}


.contact-hero .section-title::after {
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #000, #312f2f, #827e7e);
  border-radius: 2px;
}

.contact-subtext {
  color: #000;          /* black text */
  font-size: 1.1rem;    /* slightly larger text */
  font-weight: 500;     /* medium weight for readability */
}


.contact-hero p {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Contact cards */

.contact-section {
  background: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: #fff;
  border: 3px solid #FF7F1A;
  border-radius: 19px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #FF7F1A;
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.phone {
  font-weight: 700;
  color: #000;
  text-decoration: none;
}

@media (max-width: 768px) {
  .contact-card { padding: 1.5rem; }
  .contact-hero { padding: 3rem 1rem; }
}

/* Responsive */
@media (max-width: 768px) {
  .contact-hero h1 {
    font-size: 2rem;
  }

  .contact-card {
    padding: 1.5rem;
  }
}

/* Grid layout adjustment */
.contact-grid {
  display: grid;
  gap: 2rem;
}

/* On large screens: two boxes on top, one centered below */
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    justify-items: center;
  }

  .contact-grid .contact-card:nth-child(3) {
    grid-column: 1 / -1;   /* spans both columns */
    max-width: 500px;      /* optional: keeps it nicely centered */
  }
}


.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.social-links a i {
  margin-right: 6px;
}

/* ✨ Orange glow on hover */
.social-links a:hover {
  color: orange;
  text-shadow: 0 0 8px rgba(255, 165, 0, 0.8), 0 0 12px rgba(255, 140, 0, 0.6);
}