/* ===================== Root Variables ===================== */
:root {
  --primary: #0077c8;
  --primary-dark: #005a99;
  --accent: #00c2a8;
  --dark: #0b1f33;
  --text: #3a4a5a;
  --light-bg: #f4f9fc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 60, 100, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

.text-accent {
  color: var(--accent);
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  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: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 119, 200, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 119, 200, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-light {
  background: var(--white);
  color: var(--primary-dark);
}
.btn-light:hover {
  transform: translateY(-3px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ===================== Top Bar ===================== */
.topbar {
  background: var(--dark);
  color: #cfe4f5;
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar-item a {
  color: #cfe4f5;
  transition: var(--transition);
}
.topbar-item a:hover {
  color: var(--accent);
}
.topbar-item i {
  color: var(--accent);
}

/* ===================== Header ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: -1;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
}
.logo i {
  color: var(--primary);
  font-size: 1.6rem;
}
.logo strong {
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav a:hover,
.nav a.active {
  color: var(--primary);
}
.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.header-cta {
  padding: 12px 24px;
}

.hamburger {
  display: none;
  position: relative;
  z-index: 1001;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===================== Hero ===================== */
.hero {
  position: relative;
  padding: 100px 0 60px;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf6fd 0%, var(--white) 100%);
}
.hero-bg {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 119, 200, 0.15), transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  position: relative;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 119, 200, 0.1);
  color: var(--primary-dark);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 540px;
  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 h3 {
  font-size: 2.2rem;
  color: var(--primary);
}
.stat p {
  font-size: 0.9rem;
  color: var(--text);
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-icon-card {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
  border: 6px solid rgba(255, 255, 255, 0.6);
}
.hero-icon-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ===================== Marquee ===================== */
.marquee {
  background: var(--dark);
  overflow: hidden;
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  gap: 50px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-left 22s linear infinite;
}
.marquee-track span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.85;
}
.marquee-track span::after {
  content: "•";
  margin-left: 50px;
  color: var(--accent);
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===================== Section Head ===================== */
.section-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}
.section-tag {
  display: inline-block;
  color: var(--primary);
  background: rgba(0, 119, 200, 0.1);
  padding: 6px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.section-head p {
  color: var(--text);
}

/* ===================== About ===================== */
.about {
  padding: 90px 0;
  background: var(--light-bg);
}
.about-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.about-card {
  position: relative;
  border-radius: var(--radius);
  height: 380px;
  overflow: hidden;
  color: var(--white);
  box-shadow: var(--shadow);
}
.about-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-card-caption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent);
}
.about-card-caption i {
  font-size: 2.2rem;
}
.about-card h4 {
  color: var(--white);
  font-size: 1.3rem;
}

.about-content h2 {
  font-size: 2.1rem;
  margin: 12px 0 16px;
}
.about-content p {
  margin-bottom: 20px;
}
.about-points {
  margin-bottom: 28px;
}
.about-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--dark);
}
.about-points i {
  color: var(--accent);
  font-size: 1.1rem;
}

/* ===================== Services ===================== */
.services {
  padding: 90px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--white);
  border: 1px solid #e8f0f7;
  border-radius: var(--radius);
  padding-bottom: 26px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
}
.service-card h4 {
  font-size: 1.1rem;
  margin: 18px 26px 10px;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--text);
  margin: 0 26px;
}
.service-actions {
  display: flex;
  gap: 10px;
  margin: 18px 26px 0;
}
.btn-sm {
  padding: 10px 16px;
  font-size: 0.85rem;
  flex: 1;
  justify-content: center;
}
.service-image {
  width: 100%;

  overflow: hidden;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.service-card:hover .service-image img {
  transform: scale(1.08);
}

/* ===================== Gallery ===================== */
.gallery {
  padding: 90px 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-item::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover::after {
  opacity: 1;
}
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 30px;
}
.lightbox-overlay.active {
  display: flex;
}
.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover {
  background: var(--primary);
}

/* ===================== Why Us ===================== */
.why {
  padding: 90px 0;
  background: var(--light-bg);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.why-card:hover {
  transform: translateY(-8px);
}
.why-card i {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.why-card h4 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.why-card p {
  font-size: 0.9rem;
}

/* ===================== CTA Strip ===================== */
.cta-strip {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 50px 0;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-strip-inner h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.cta-strip-inner p {
  color: rgba(255, 255, 255, 0.85);
}

/* ===================== Contact ===================== */
.contact {
  padding: 90px 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
}
.contact-info h2 {
  font-size: 2.1rem;
  margin: 12px 0 16px;
}
.contact-info p {
  margin-bottom: 30px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-item i {
  width: 46px;
  height: 46px;
  background: rgba(0, 119, 200, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item h5 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.contact-item a,
.contact-item p {
  color: var(--text);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
}

/* ===================== Footer ===================== */
.footer {
  background: var(--dark);
  color: #b9c9d8;
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .logo {
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand .logo i {
  color: var(--accent);
}
.footer-brand .logo strong {
  color: var(--accent);
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-links h5 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: 1rem;
}
.footer-links a,
.footer-links span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #b9c9d8;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-links i {
  color: var(--accent);
  width: 16px;
}
.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.85rem;
}

/* ===================== Floating Buttons ===================== */
.float-call {
  position: fixed;
  bottom: 96px;
  right: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(0, 194, 168, 0.4);
  z-index: 900;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 194, 168, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(0, 194, 168, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 194, 168, 0);
  }
}

.scroll-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}
.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.float-enquiry {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  padding: 18px 10px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 8px 0 0 8px;
  box-shadow: -4px 4px 14px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 900;
  transition: var(--transition);
}
.float-enquiry:hover {
  padding-right: 16px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
@media (max-width: 576px) {
  .float-enquiry {
    font-size: 0.85rem;
    padding: 14px 8px;
  }
}

/* ===================== Animations ===================== */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== Responsive ===================== */
@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions,
  .hero-stats {
    justify-content: center;
  }
  .hero-media {
    order: -1;
  }
  .about-inner {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar-address {
    display: none;
  }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px;
    gap: 24px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    z-index: 999;
  }
  .nav.active {
    right: 0;
  }
  .header-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .cta-strip-inner {
    text-align: center;
    justify-content: center;
  }
}

/* ===================== Enquiry Popup ===================== */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 51, 0.65);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup-overlay.active {
  display: flex;
}
.popup-box {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 30px 30px;
  animation: popupIn 0.35s ease;
}
@keyframes popupIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--light-bg);
  color: var(--dark);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.popup-close:hover {
  background: var(--primary);
  color: var(--white);
}
.popup-title {
  color: var(--dark);
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.popup-subtitle {
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.popup-box .form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8e3ec;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.popup-box .form-control:focus {
  border-color: var(--primary);
}
.popup-box .btn-block {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
@media (max-width: 480px) {
  .popup-box {
    padding: 30px 20px 24px;
  }
}
