:root {
  --primary: #f97316;
  --secondary: #6b7280;
  --black: #000000;
  --white: #ffffff;
  --muted-bg: #f3f4f6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--secondary);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-muted {
  background: var(--muted-bg);
}

h1,
h2,
h3,
h4 {
  color: var(--black);
  line-height: 1.2;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 20;
  border-bottom: 1px solid #e5e7eb;
}

.navbar {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.brand {
  font-weight: 800;
  color: #111827;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
  text-transform: none;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  display: flex;
  align-items: center;
}

.brand-accent {
  color: var(--primary);
  font-weight: 400;
  margin-left: 2px;
}

.nav-logo {
  height: 42px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  gap: .6rem;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.btn {
  background: var(--primary);
  color: var(--white);
  border-radius: 999px;
  padding: .65rem 1.1rem;
  border: 2px solid var(--primary);
  font-weight: 700;
  transition: all .25s ease;
  display: inline-block;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(249, 115, 22, .25);
}

.btn-outline {
  background: transparent;
  color: var(--black);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.hero {
  position: relative;
  min-height: 86vh;
  background: url('assets/images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .62);
}

.hero-content {
  position: relative;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text {
  flex: 1;
}

.hero-logo {
  flex-shrink: 0;
}

.big-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 6vw, 3.6rem);
  margin-bottom: .5rem;
}

.tagline {
  font-size: 1.2rem;
  margin: 0 0 .25rem;
}

.location-line {
  margin: 0 0 1.2rem;
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.seo-text {
  font-size: .85rem;
  opacity: .9;
  max-width: 780px;
  margin-top: 1rem;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: var(--white);
  padding: 1rem 1rem 0.6rem;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.card h3,
.card h4 {
  margin: 0.4rem 0 0.35rem;
}

.card p {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.card p:last-child {
  margin-bottom: 0;
}

.service-category {
  margin-bottom: 2rem;
}

.extra.hidden {
  display: none;
}

.toggle-btn {
  margin-top: .3rem;
}

.project-actions {
  display: flex;
  gap: .8rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.reviews-grid .card {
  border-top: 4px solid var(--primary);
}

.stars {
  color: var(--primary);
  font-size: 1.15rem;
}

.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, #ea580c 100%);
  color: var(--white);
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  color: var(--white);
}

.stat-item p {
  font-size: 1rem;
  margin: 0.5rem 0 0;
  opacity: 0.9;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  align-items: stretch;
}

.contact-actions {
  display: flex;
  gap: .8rem;
  margin: 1rem 0;
}

.contact-list {
  padding-left: 1rem;
}

iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
}

.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 2rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.2rem;
}

.site-footer h3,
.site-footer h4 {
  color: #f9fafb;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: .5rem 0 0;
}

.site-footer li {
  margin-bottom: .4rem;
}

.copyright {
  text-align: center;
  margin: .8rem 0 0;
  font-size: .9rem;
}

.watermark {
  color: var(--primary);
  text-align: right;
  margin: .8rem .8rem 0 0;
  font-size: .6rem;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--white);
  padding: 2rem;
  border-radius: 14px;
  position: relative;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary);
}

.modal-close:hover {
  color: var(--black);
}

.modal h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.modal-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Stats Actions and Cert Button */
.stats-actions {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--muted-bg);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.2);
}

/* Certificate Modal adjustments */
.modal-cert {
  max-width: 800px;
  width: 95%;
  padding: 1.5rem;
}

.cert-img-container {
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 8px;
}

.modal-cert img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Floating Social Media FAB ───────────────────── */
.fab-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 12px;
}

.fab-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;
  position: relative;
  z-index: 2;
}

.fab-main:hover {
  transform: scale(1.1);
  background: #ea580c;
}

.fab-container.active .fab-main {
  transform: rotate(45deg);
  background: #ef4444;
  /* Change color when open */
}

.fab-options {
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab-container.active .fab-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.fab-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fab-btn svg {
  width: 24px;
  height: 24px;
}

.fab-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.fab-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.fab-facebook {
  background: #1877F2;
}

.fab-youtube {
  background: #FF0000;
}

@media (max-width: 768px) {
  .fab-container {
    bottom: 20px;
    right: 20px;
  }

  .fab-main {
    width: 54px;
    height: 54px;
  }

  .fab-btn {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 980px) {
  .navbar {
    grid-template-columns: 1fr auto auto;
  }

  .menu-toggle {
    display: block;
    order: 3;
    justify-self: end;
  }

  .nav-actions {
    order: 2;
    justify-self: end;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }
}

@media (max-width: 768px) {
  .nav-actions {
    display: none;
  }

  .contact-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 0;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .big-logo {
    max-width: 250px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Reviews Slider */
.reviews-slider-container {
  overflow: hidden;
  width: 100%;
}

.reviews-wrapper {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.4s ease-in-out;
}

.reviews-wrapper .review-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
}

.slider-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.slider-btn:hover {
  background: #ea580c;
}

.slider-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.slider-controls {
  display: flex;
  gap: 0.5rem;
}

@media (max-width: 980px) {
  .reviews-wrapper .review-card {
    flex: 0 0 calc((100% - 1.25rem) / 2);
  }
}

@media (max-width: 768px) {
  .reviews-wrapper .review-card {
    flex: 0 0 100%;
  }
}

/* ── Project Photo Slider ───────────────────── */
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
}

.projects-header h2 {
  margin: 0;
}

.proj-slider-controls {
  display: flex;
  gap: 0.5rem;
}

.proj-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
  user-select: none;
}

.proj-btn:hover {
  background: #ea580c;
  transform: scale(1.08);
}

.proj-btn:disabled {
  background: #d1d5db;
  cursor: not-allowed;
  transform: none;
}

.proj-slider-wrap {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: none;
  background: var(--muted-bg);
}

.proj-slider-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.proj-slide {
  flex: 0 0 100%;
  min-width: 100%;
  overflow: hidden;
}

.proj-slide img {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  border-radius: 0;
  background: var(--muted-bg);
}

.proj-large .proj-slide img {
  max-height: 82vh;
}

/* Dot indicators */
.proj-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.proj-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.proj-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .proj-slide img {
    max-height: 60vw;
  }

  .proj-large .proj-slide img {
    max-height: 70vw;
  }
}

/* ── Card Slider (Multi-card) ───────────────────── */
.card-slider-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.card-slider-wrapper {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.4s ease-in-out;
}

.card-slider-wrapper .card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  /* 3 cards on desktop */
}

@media (max-width: 980px) {
  .card-slider-wrapper .card {
    flex: 0 0 calc((100% - 1.25rem) / 2);
  }
}

@media (max-width: 768px) {
  .card-slider-wrapper .card {
    flex: 0 0 100%;
  }
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin-bottom: 0 !important;
}

/* ── Co-Founders Section ─────────────────────────── */
.co-founders-section {
  background: linear-gradient(160deg, #111827 0%, #1f2937 60%, #111827 100%);
  position: relative;
  overflow: hidden;
}

.co-founders-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.co-founders-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.co-founders-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.co-founders-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #f9fafb;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.co-founders-subtitle {
  text-align: center;
  color: #9ca3af;
  font-size: 1.05rem;
  margin: 0 auto 3rem;
  max-width: 540px;
}

.co-founders-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: stretch;
}

.founder-card {
  height: 100%;
}

/* Founder Card */
.founder-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 20px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  z-index: 1;
}

.founder-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(249, 115, 22, 0.18);
  border-color: rgba(249, 115, 22, 0.5);
}

.founder-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  width: 100%;
  height: 420px;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  transition: transform 0.4s ease;
}

.founder-card:hover .founder-img {
  transform: scale(1.04);
}

.founder-img-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.founder-info {
  padding-top: 1.2rem;
}

.founder-divider {
  height: 2px;
  width: 48px;
  background: var(--primary);
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.founder-name {
  color: #f9fafb;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

.founder-tagline {
  color: #d1d5db;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

/* Center content between cards */
.founder-center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-width: 160px;

}

.founder-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-handshake-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.13);
  border: 2px solid rgba(249, 115, 22, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.18);
}

.founder-values {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.founder-value-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #e5e7eb;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.founder-value-item span {
  color: var(--primary);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .co-founders-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .founder-center-content {
    grid-column: 1 / -1;
    order: 3;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    min-width: unset;
  }

  .founder-values {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.2rem;
  }

  .founder-value-item {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .co-founders-grid {
    grid-template-columns: 1fr;
  }

  .founder-center-content {
    order: unset;
  }

  .founder-img-wrap {
    height: 320px;
  }

  .founder-img {
    height: 100%;
  }
}
