/* =========================
   Design Tokens & Base
========================= */
:root {
  --primary: #0b2c5f;
  --secondary: #f5a623;
  --accent: #2e7d32;
  --text: #1d2c40;
  --muted: #5d6d7f;
  --bg-soft: #f4f9ff;
  --white: #ffffff;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 14px 35px rgba(11, 44, 95, 0.12);
  --shadow-card: 0 10px 28px rgba(10, 38, 77, 0.1);
  --transition: 0.35s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(46, 125, 50, 0.08), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(245, 166, 35, 0.08), transparent 35%),
    var(--bg-soft);
  line-height: 1.65;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Sora", sans-serif;
  line-height: 1.2;
  color: #082043;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

ul {
  list-style: none;
}

input,
select,
textarea,
button {
  font: inherit;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(1.65rem, 3.1vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  max-width: 620px;
  color: var(--muted);
  margin-bottom: 2.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.82rem 1.45rem;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), #ffbe46);
  color: #121212;
  box-shadow: 0 10px 22px rgba(245, 166, 35, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 13px 26px rgba(245, 166, 35, 0.42);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
}

.btn-outline.dark {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline.dark:hover {
  background: var(--primary);
  color: var(--white);
}

/* =========================
   Header / Navbar
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(11px);
  border-bottom: 1px solid rgba(11, 44, 95, 0.08);
  box-shadow: 0 10px 26px rgba(7, 24, 51, 0.07);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 128px;
  gap: 1.2rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  width: auto;
  height: 102px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.2px;
  color: #16325d;
  position: relative;
  padding: 0.44rem 0.72rem;
  border-radius: 999px;
  transition: color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 62%;
  height: 2px;
  background: var(--secondary);
  transform: translateX(-50%) scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(11, 44, 95, 0.08);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translateX(-50%) scaleX(1);
  transform-origin: left;
}

.nav-links a.active {
  background: rgba(11, 44, 95, 0.12);
  box-shadow: inset 0 0 0 1px rgba(11, 44, 95, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: 0.35rem;
}

/* Desktop navbar alignment */
@media (min-width: 981px) {
  .nav-wrap {
    margin-left: auto;
  }

  .nav-links {
    margin-left: auto;
    padding-right: 0.6rem;
  }
}

.nav-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-icon:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.nav-icon.whatsapp {
  background: #25d366;
}

.nav-icon.call {
  background: var(--primary);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(11, 44, 95, 0.22);
  background: var(--white);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--primary);
  transition: transform var(--transition), opacity var(--transition);
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   Floating Contact Buttons
========================= */
.floating-contact {
  position: fixed;
  right: 14px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  z-index: 1100;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.14rem;
  box-shadow: 0 10px 24px rgba(5, 21, 45, 0.35);
  transition: transform var(--transition), filter var(--transition);
}

.float-btn.whatsapp {
  background: #25d366;
}

.float-btn.call {
  background: var(--primary);
}

.float-btn.call i {
  transform: scaleX(-1);
}

.float-btn.whatsapp i {
  font-size: 1.28rem;
}

.float-btn.scroll-top {
  background: #0f4c97;
}

.float-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

/* =========================
   Hero Slider
========================= */
.hero-slider {
  position: relative;
  min-height: clamp(560px, 86vh, 820px);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 7s linear;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 24, 50, 0.78), rgba(6, 24, 50, 0.48) 45%, rgba(46, 125, 50, 0.3));
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide.active::before {
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: clamp(560px, 86vh, 820px);
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
  color: var(--white);
}

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(2rem, 5.2vw, 3.8rem);
  margin-bottom: 1.05rem;
}

.hero-copy p {
  font-size: clamp(1rem, 2.3vw, 1.28rem);
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

.hero-arrow:hover {
  background: var(--secondary);
  transform: translateY(-50%) scale(1.02);
}

.hero-arrow.prev {
  left: clamp(14px, 4vw, 42px);
}

.hero-arrow.next {
  right: clamp(14px, 4vw, 42px);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.5rem;
}

.hero-dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition);
}

.hero-dots button.active {
  background: var(--secondary);
  transform: scale(1.12);
}

/* =========================
   Page Banner
========================= */
.page-banner {
  position: relative;
  min-height: clamp(300px, 44vh, 420px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--banner-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(11, 44, 95, 0.86), rgba(11, 44, 95, 0.58));
}

.page-banner-content {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  margin-bottom: 0.6rem;
}

.page-banner p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.94);
}

/* =========================
   About Section
========================= */
.about-layout {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.about-grid img {
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.about-grid img:nth-child(1),
.about-grid img:nth-child(4) {
  height: 240px;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* =========================
   Products Section
========================= */
.products-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(11, 44, 95, 0.09);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 28px rgba(10, 35, 74, 0.16);
}

.product-image {
  height: 190px;
  object-fit: cover;
}

.product-card-body {
  padding: 1.2rem;
}

.product-card h3 {
  font-size: 1.16rem;
  margin-bottom: 0.5rem;
}

.product-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Home products highlight section */
.products-highlight-section {
  background: linear-gradient(180deg, #e9f5ff 0%, #f2f9ff 55%, #eaf6ff 100%);
  border-top: 1px solid rgba(11, 44, 95, 0.08);
  border-bottom: 1px solid rgba(11, 44, 95, 0.08);
}

.products-highlight-section .container > div {
  transition: background-color var(--transition), box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.products-highlight-section .product-card {
  border: 1px solid rgba(11, 44, 95, 0.18);
}

.products-highlight-section .product-card-body {
  transition: background-color var(--transition);
}

.products-highlight-section .product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(11, 44, 95, 0.5);
  box-shadow: 0 16px 30px rgba(11, 44, 95, 0.22);
}

.products-highlight-section .product-card:hover .product-card-body,
.products-highlight-section .product-card-body:hover {
  background: rgba(11, 44, 95, 0.08);
}

.products-highlight-section .product-card:hover h3 {
  color: #0b2c5f;
}

/* =========================
   Stats Section
========================= */
.stats-section {
  background: linear-gradient(140deg, #0b2c5f, #123f82 66%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.15);
  top: -160px;
  right: -120px;
}

.stats-section::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(46, 125, 50, 0.17);
  bottom: -120px;
  left: -100px;
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  text-align: center;
  padding: 1.1rem;
}

.counter {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 700;
  color: #ffd06f;
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: rgba(255, 255, 255, 0.92);
}

/* =========================
   Appointment / Forms
========================= */
.appointment-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.appointment-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.appointment-media img {
  min-height: 420px;
  object-fit: cover;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 44, 95, 0.08);
  padding: clamp(1.25rem, 3.5vw, 2rem);
}

.form-card h3 {
  margin-bottom: 0.6rem;
}

.form-card p {
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  font-size: 0.92rem;
  color: #173561;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(11, 44, 95, 0.2);
  background: #f9fcff;
  border-radius: 10px;
  padding: 0.72rem 0.85rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.14);
}

/* Form submit button spacing on key enquiry pages */
body[data-page="home"] .enquiry-form button[type="submit"],
body[data-page="appointment"] .enquiry-form button[type="submit"],
body[data-page="contact"] .enquiry-form button[type="submit"] {
  margin-top: 0.7rem;
}

/* =========================
   Testimonials
========================= */
.reviews-section {
  background: linear-gradient(180deg, #f5faff 0%, #eaf5ff 100%);
}

.testimonial-slider {
  --per-view: 3;
  position: relative;
}

.testimonial-viewport {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.55s ease;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * 1.25rem) / var(--per-view));
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 44, 95, 0.08);
  box-shadow: var(--shadow-card);
  padding: 1.25rem;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.review-head img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.review-meta h4 {
  font-size: 1rem;
}

.review-meta small {
  color: var(--muted);
}

.stars {
  color: #f3b523;
  margin-bottom: 0.65rem;
}

.testimonial-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  z-index: 3;
  transition: background-color var(--transition), color var(--transition);
}

.testimonial-arrow.prev {
  left: -14px;
}

.testimonial-arrow.next {
  right: -14px;
}

.testimonial-arrow:hover {
  background: var(--secondary);
  color: #151515;
}

.testimonial-arrow:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* =========================
   Feature Cards / Generic Blocks
========================= */
.feature-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 44, 95, 0.09);
  box-shadow: var(--shadow-card);
}

.feature-card i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 0.72rem;
  background: rgba(11, 44, 95, 0.08);
  color: var(--primary);
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* =========================
   Projects
========================= */
.project-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(11, 44, 95, 0.08);
}

.project-card img {
  height: 210px;
  object-fit: cover;
}

.project-card-body {
  padding: 1rem 1.1rem 1.2rem;
}

.project-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.35rem;
}

.project-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* Projects page premium CTA block */
body[data-page="projects"] .project-cta-section {
  position: relative;
  padding-top: 4.6rem;
}

body[data-page="projects"] .project-cta-card {
  position: relative;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(1.8rem, 3.6vw, 2.7rem);
  border-radius: 24px;
  border: 1px solid rgba(11, 44, 95, 0.16);
  background:
    linear-gradient(155deg, rgba(11, 44, 95, 0.08), rgba(245, 166, 35, 0.08) 48%, rgba(255, 255, 255, 0.96) 100%),
    #ffffff;
  box-shadow:
    0 20px 40px rgba(10, 35, 74, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

body[data-page="projects"] .project-cta-card::before {
  content: "Project Consultation";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 800;
  color: #103765;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(11, 44, 95, 0.14);
  border-radius: 999px;
  padding: 0.34rem 0.72rem;
}

body[data-page="projects"] .project-cta-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -65px;
  bottom: -105px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 44, 95, 0.2) 0%, rgba(11, 44, 95, 0) 70%);
}

body[data-page="projects"] .project-cta-card > * {
  position: relative;
  z-index: 1;
}

body[data-page="projects"] .project-cta-card h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  color: #082043;
}

body[data-page="projects"] .project-cta-card p {
  max-width: 700px;
  margin: 0 auto 1.45rem;
  color: #455a72;
}

body[data-page="projects"] .project-cta-card .btn-primary {
  box-shadow: 0 12px 26px rgba(245, 166, 35, 0.32);
}

body[data-page="projects"] .project-cta-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 44, 95, 0.28);
  box-shadow:
    0 26px 44px rgba(10, 35, 74, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

/* =========================
   Contact
========================= */
.contact-layout {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 1.35rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 0.95rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 44, 95, 0.08);
  box-shadow: var(--shadow-card);
  padding: 1rem 1.1rem;
  display: flex;
  gap: 0.75rem;
}

.contact-card i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(11, 44, 95, 0.08);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 1rem;
}

.contact-card p,
.contact-card a {
  color: var(--muted);
  font-size: 0.94rem;
}

.map-wrap {
  margin-top: 1.1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(11, 44, 95, 0.12);
  box-shadow: var(--shadow-card);
}

.map-wrap iframe {
  width: 100%;
  min-height: 250px;
  border: 0;
}

/* Full-width map block above footer */
.pre-footer-map {
  margin-top: 2rem;
  border-top: 1px solid rgba(11, 44, 95, 0.12);
  border-bottom: 1px solid rgba(11, 44, 95, 0.12);
  overflow: hidden;
}

.pre-footer-map iframe {
  width: 100%;
  height: clamp(360px, 52vh, 620px);
  border: 0;
  display: block;
}

body[data-page="home"] .site-footer,
body[data-page="appointment"] .site-footer {
  margin-top: 0;
}

/* =========================
   Footer
========================= */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #06152c 0%, #09224a 52%, #061226 100%);
  color: #d6e1f2;
  margin-top: 2rem;
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.site-footer::before {
  width: 320px;
  height: 320px;
  top: -170px;
  left: -110px;
  background: rgba(46, 125, 50, 0.16);
}

.site-footer::after {
  width: 360px;
  height: 360px;
  right: -140px;
  bottom: -170px;
  background: rgba(245, 166, 35, 0.13);
}

.footer-main {
  position: relative;
  z-index: 1;
  padding: 4.2rem 0 2.8rem;
}

.footer-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1.3fr 0.9fr 1fr 1.1fr;
}

.footer-brand {
  padding: 1.05rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.footer-brand img {
  width: auto;
  height: 62px;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  color: #b4c3d8;
  max-width: 300px;
  line-height: 1.7;
}

.footer-col h4 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.08rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), #ffd37a);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 0.52rem;
}

.footer-links a,
.footer-contact a {
  color: #d6e1f2;
  transition: color var(--transition), transform var(--transition);
}

.footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding-left: 0.9rem;
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1.8px solid var(--secondary);
  border-right: 1.8px solid var(--secondary);
  transform: translateY(-50%) rotate(45deg);
  transition: transform var(--transition), border-color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--secondary);
  transform: translateX(3px);
}

.footer-links a:hover::before {
  border-color: #ffd27c;
  transform: translate(2px, -50%) rotate(45deg);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #d6e1f2;
  line-height: 1.55;
}

.footer-contact i {
  color: var(--secondary);
  margin-top: 0.22rem;
  flex-shrink: 0;
}

.footer-contact li span {
  display: block;
  font-size: clamp(0.82rem, 0.72vw, 0.9rem);
  line-height: 1.42;
}

.footer-contact li strong {
  color: #ffffff;
  font-size: 0.98em;
}

.footer-socials {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition);
}

.footer-socials a:hover {
  transform: translateY(-2px);
  background: var(--secondary);
  border-color: var(--secondary);
  color: #101010;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.9rem 0;
  text-align: center;
  color: #c7d3e8;
  font-size: 0.92rem;
  background: rgba(3, 9, 20, 0.28);
}

/* =========================
   Reveal Animation
========================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Responsive
========================= */
@media (max-width: 1120px) {
  .navbar {
    min-height: 116px;
  }

  .logo-link img {
    height: 90px;
  }

  .nav-wrap {
    gap: 1.25rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.4rem 0.62rem;
  }

  .project-grid,
  .products-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .navbar {
    min-height: 110px;
  }

  .logo-link img {
    height: 84px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-wrap {
    position: absolute;
    top: calc(100% + 8px);
    left: 4%;
    right: 4%;
    background: var(--white);
    border-radius: 14px;
    border: 1px solid rgba(11, 44, 95, 0.1);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 0.95rem;
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height var(--transition), padding var(--transition), opacity var(--transition);
  }

  .site-header.menu-open .nav-wrap {
    max-height: 540px;
    padding: 1rem;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .about-layout,
  .appointment-wrap,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-slider {
    --per-view: 2;
  }

  .testimonial-arrow.prev {
    left: 4px;
  }

  .testimonial-arrow.next {
    right: 4px;
  }
}

@media (max-width: 720px) {
  .products-grid,
  .project-grid,
  .feature-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="projects"] .project-cta-card {
    border-radius: 20px;
    padding: 1.45rem 1.1rem 1.65rem;
  }

  body[data-page="projects"] .project-cta-card::before {
    top: 12px;
    font-size: 0.64rem;
    letter-spacing: 0.09em;
  }

  body[data-page="projects"] .project-cta-card h3 {
    margin-top: 1.55rem;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .section {
    padding: 4.2rem 0;
  }

  .floating-contact {
    right: 10px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-slider {
    --per-view: 1;
  }

  .appointment-media img {
    min-height: 280px;
  }
}

@media (max-width: 520px) {
  .navbar {
    min-height: 104px;
  }

  .logo-link img {
    height: 76px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy h1 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }
}
