/* ===================== Variables ===================== */
:root {
  --primary: #ff6a00;
  --primary-dark: #e05a00;
  --secondary: #1a2233;
  --dark: #101521;
  --light-bg: #f7f8fb;
  --text: #333844;
  --text-light: #6b7280;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(16, 21, 33, 0.08);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  color: var(--secondary);
  line-height: 1.25;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(255, 106, 0, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--secondary);
  color: var(--secondary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1rem;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ===================== Top Bar ===================== */
.topbar {
  background: var(--dark);
  color: #cfd3dc;
  font-size: 0.85rem;
}

.topbar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding: 8px 20px;
}

.topbar-item a {
  color: #cfd3dc;
  transition: var(--transition);
}

.topbar-item a:hover {
  color: var(--primary);
}

/* ===================== Header ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary);
}

.logo-icon {
  font-size: 1.6rem;
}

.logo-text span {
  color: var(--primary);
}

.nav ul {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta {
  margin-left: 20px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===================== Hero ===================== */
.hero {
  background: linear-gradient(135deg, #fff6ef 0%, #ffffff 60%);
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1.1;
}

.badge {
  display: inline-block;
  background: rgba(255, 106, 0, 0.12);
  color: var(--primary-dark);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-content h1 {
  font-size: 2.7rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-content p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  color: var(--secondary);
  font-weight: 800;
}

.stat span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.hero-visual {
  flex: 0.9;
  display: flex;
  justify-content: center;
}

.hero-circle {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #ffb066);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 60px rgba(255, 106, 0, 0.3);
  animation: float 4s ease-in-out infinite;
  overflow: hidden;
  padding: 8px;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.6);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ===================== Section Head ===================== */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-light);
}

.section-head.light h2,
.section-head.light p {
  color: var(--white);
}

.section-head.light .eyebrow {
  color: #ffb066;
}

/* ===================== Services ===================== */
.services {
  padding: 90px 0;
  background: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(16, 21, 33, 0.12);
}

.service-icon {
  width: calc(100% + 56px);
  height: 170px;
  margin: -36px -28px 22px;
  overflow: hidden;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.service-card:hover .service-icon img {
  transform: scale(1.06);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.service-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.service-actions .btn {
  flex: 1;
}

.service-card-cta {
  background: linear-gradient(135deg, var(--secondary), var(--dark));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-cta h3,
.service-card-cta p {
  color: var(--white);
}

.service-card-cta p {
  opacity: 0.75;
  margin-bottom: 20px;
}

.service-card-cta .btn {
  align-self: flex-start;
}

/* ===================== About ===================== */
.about {
  padding: 90px 0;
}

.about-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-visual,
.about-content {
  flex: 1;
}

.about-box {
  height: 340px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffe6d1, #fff6ef);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 22px;
}

.about-list li {
  padding: 8px 0;
  font-weight: 500;
  color: var(--secondary);
}

/* ===================== Why Choose Us ===================== */
.why {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--secondary), var(--dark));
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 106, 0, 0.12);
  color: var(--primary);
}

.why-icon svg {
  width: 26px;
  height: 26px;
}

.why-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.why-card p {
  color: #b8bdc9;
  font-size: 0.9rem;
}

/* ===================== Contact ===================== */
.contact {
  padding: 90px 0;
  background: var(--light-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-6px);
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.contact-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.contact-card p a {
  color: var(--primary);
  font-weight: 600;
}

.contact-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-map {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}

/* ===================== Footer ===================== */
.footer {
  background: var(--dark);
  color: #b8bdc9;
  padding: 70px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  margin-bottom: 14px;
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col ul li {
  padding: 6px 0;
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.85rem;
}

/* ===================== Floating Buttons ===================== */
.float-call {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 998;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.float-enquire {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  padding: 18px 10px;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 998;
  transition: var(--transition);
}

.float-enquire:hover {
  padding-right: 16px;
}

.back-to-top {
  position: fixed;
  bottom: 26px;
  left: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--secondary);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 998;
  transition: var(--transition);
}

.back-to-top:hover {
  background: var(--primary);
}

.back-to-top.show {
  display: flex;
}

/* Enquiry Popup */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-box {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 400px;
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.popup-overlay.show .popup-box {
  transform: scale(1);
}

.popup-box h3 {
  margin: 0 0 8px;
  color: var(--primary-dark);
}

.popup-box p {
  margin: 0 0 20px;
  color: var(--text-light, #666);
}

.popup-box .form-control {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  box-sizing: border-box;
}

.popup-box .form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.popup-box .btn-block {
  width: 100%;
  display: block;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.popup-box .btn-block:hover {
  opacity: 0.9;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #999;
  cursor: pointer;
}

.popup-close:hover {
  color: var(--primary);
}

/* ===================== Scroll Animation ===================== */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== Responsive ===================== */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-inner { flex-direction: column; }
}

@media (max-width: 768px) {
  .topbar-inner { justify-content: center; gap: 16px; font-size: 0.75rem; }
  .menu-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    padding: 100px 30px;
    transition: var(--transition);
  }

  .nav.open { right: 0; }

  .nav ul {
    flex-direction: column;
    gap: 24px;
  }

  .header-cta { display: none; }

  .hero-inner { flex-direction: column; text-align: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-circle { width: 240px; height: 240px; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .form-row { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2rem; }
  .section-head h2 { font-size: 1.7rem; }
}
