/* =======================================
   GLOBAL STYLES & LAYOUTS (RTUAI)
======================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #faf9f6;
  overflow-x: hidden;
  color: #0a0a0a;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* =======================================
   KEYFRAME ANIMATIONS
======================================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.25); }
  50%       { box-shadow: 0 0 0 14px rgba(212, 175, 55, 0); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes bounceDot {
  0%, 80%, 100% { transform: translateY(0); }
  40%           { transform: translateY(-6px); }
}

@keyframes shimmerSweep {
  0%   { left: -60%; }
  100% { left: 130%; }
}

/* =======================================
   SCROLL-REVEAL UTILITY CLASSES
   Applied by IntersectionObserver in script.js
======================================= */

/* Initial hidden states */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-44px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(44px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stagger delays for sibling groups */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Visible state — added by JS when in viewport */
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* Float animation for hero images */
.float-anim {
  animation: floatY 4.5s ease-in-out infinite;
}

/* Pulse-glow on CTA buttons */
.pulse-glow {
  animation: pulseGlow 2.5s ease-in-out infinite;
}


/* Apply entrance animations */
.topbar {
  animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.navbar {
  animation: slideDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.page-banner h1 {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-banner p {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

/* =======================================
   TOPBAR
======================================= */

.topbar {
  background: #050505;
  color: #fff;
  padding: 9px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  position: relative;
  z-index: 999;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.top-left {
  display: flex;
  gap: 22px;
  align-items: center;
}

.top-left a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.top-left a:hover {
  color: #d4af37;
}

.top-left i {
  margin-right: 6px;
}

.top-right {
  font-weight: 500;
}

/* =======================================
   NAVBAR & MENU
======================================= */

.navbar {
  background: #ffffff;
  padding: 14px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 2px solid rgba(212, 175, 55, 0.12);
}

.navbar--hidden {
  transform: translateY(-110%);
  box-shadow: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.logo img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.25);
  transition: transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.15);
}

.logo:hover img {
  transform: scale(1.05);
}

.logo-text h1 {
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  color: #0a0a0a;
  white-space: nowrap;
}

.logo-text span {
  color: #d4af37;
}

.logo-text p {
  margin-top: 3px;
  color: #555;
  font-size: 11px;
  line-height: 1.4;
  max-width: 260px;
}

.logo-short {
  display: none;
  font-size: 26px;
  font-weight: 800;
  color: #0a0a0a;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.logo-short span {
  color: #d4af37;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
}

.menu a {
  color: #0a0a0a;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
}

.menu a:hover,
.menu a.active {
  color: #d4af37;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #d4af37;
  transition: width 0.3s;
}

.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}

.join-btn {
  background: linear-gradient(135deg, #d4af37 0%, #b8960f 100%);
  color: #0a0a0a !important;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 13.5px !important;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.25);
}

.join-btn::after {
  display: none !important;
}

.join-btn:hover {
  background: linear-gradient(135deg, #e0bd45 0%, #d4af37 100%);
  box-shadow: 0 5px 18px rgba(212, 175, 55, 0.4);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1200;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #0a0a0a;
  border-radius: 4px;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: calc(100% - 280px);
  background: rgba(0,0,0,0.45);
  z-index: 1050;
  cursor: pointer;
}

.menu-overlay.active {
  display: block;
}

body.nav-open .topbar,
body.nav-open .hero,
body.nav-open .hero-strip,
body.nav-open .services,
body.nav-open .stats,
body.nav-open .cta-section,
body.nav-open footer,
body.nav-open .page-banner,
body.nav-open .page-content,
body.nav-open .contact-form {
  filter: blur(3px);
  transition: filter 0.3s ease;
  pointer-events: none;
}

/* =======================================
   PAGE BANNER & SUBPAGE CONTENTS
======================================= */

.page-banner {
  background: linear-gradient(135deg, #0a0a0a 0%, #15130e 50%, #0a0a0a 100%);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner h1 {
  font-size: 46px;
  margin-bottom: 12px;
  font-weight: 800;
}

.page-banner p {
  font-size: 18px;
  opacity: 0.88;
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  padding: 60px 5%;
  max-width: 1000px;
  margin: 0 auto;
}

.page-content h2 {
  color: #111111;
  margin-bottom: 16px;
  margin-top: 36px;
  font-size: 26px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-content p {
  line-height: 1.9;
  color: #444;
  margin-bottom: 18px;
  font-size: 16px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-content ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-content li {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  position: relative;
  padding-left: 28px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-content li::before {
  content: "✓";
  color: #d4af37;
  font-weight: 800;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 16px;
}

/* =======================================
   SPLIT LAYOUTS FOR SUBPAGES
======================================= */

.split-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
}

.split-layout.reverse {
  flex-direction: row-reverse;
}

.split-layout .text-side {
  flex: 1.2;
}

.split-layout .image-side {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.split-layout .image-side img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
  border: 1px solid rgba(17, 17, 17, 0.04);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.split-layout .image-side img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 35px rgba(17, 17, 17, 0.12);
}

/* =======================================
   GLOBAL BUTTON INTERACTION FEEDBACK
======================================= */

.btn-hero-primary:active,
.btn-hero-secondary:active,
.btn-primary:active,
.btn-secondary:active,
.btn-cta-primary:active,
.btn-cta-secondary:active,
.contact-form button:active {
  transform: scale(0.96) translateY(0) !important;
  box-shadow: 0 2px 8px rgba(17, 17, 17, 0.15) !important;
}

/* =======================================
   GLOBAL CTA SECTION
======================================= */

.cta-section {
  background: linear-gradient(135deg, #0c0b08 0%, #050505 100%);
  color: #fff;
  padding: 100px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.08);
}

.cta-section::before,
.cta-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section::before {
  top: -80px;
  left: -80px;
}

.cta-section::after {
  bottom: -80px;
  right: -80px;
}

.cta-section h2 {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -1.2px;
  position: relative;
  z-index: 1;
}

.cta-section h2 span {
  color: #d4af37;
}

.cta-section p {
  color: #c4d1df;
  font-size: 19px;
  max-width: 800px;
  margin: 0 auto 38px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-cta-primary {
  background: #d4af37;
  color: #fff;
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-block;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.btn-cta-primary:hover {
  background: #b8860b;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.5);
}

.btn-cta-secondary {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
  padding: 14px 34px;
  border-radius: 10px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-block;
  transition: all 0.3s;
}

.btn-cta-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* =======================================
   FOOTER
======================================= */

footer {
  background: #050505;
  color: #cbd5e0;
  padding: 80px 5% 30px;
  border-top: 3px solid rgba(212, 175, 55, 0.20);
  font-family: 'Poppins', sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.footer-brand .logo-container img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.25);
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.12);
}

.footer-brand .logo-container:hover img {
  transform: scale(1.05);
}

.footer-brand .logo-container h3 {
  font-size: 20px;
  color: #fff;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.footer-brand .logo-container h3 span {
  color: #d4af37;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #a0aec0;
}

/* FOOTER SOCIAL ICONS */
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #121214;
  border: 1px solid #222225;
  color: #fff;            /* White Color Icon */
  display: flex;
  align-items: center;    /* Center Horizontally */
  justify-content: center; /* Center Vertically */
  font-size: 15px;
  transition: all 0.3s ease;
  padding: 0;             /* Reset padding */
}

.footer-socials a i {
  display: block;
}

.footer-socials a:hover {
  background: #111111;
  color: #fff;
  border-color: #111111;
  transform: translateY(-3px);
}

.footer-socials a.youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
}

.footer-socials a.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}

.footer-socials a.instagram:hover {
  background: #e1306c;
  border-color: #e1306c;
}

.footer-socials a.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.footer-socials a.linkedin:hover {
  background: #0077b5;
  border-color: #0077b5;
}

/* FOOTER LINK COLUMNS */
.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col h4 {
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
  letter-spacing: 0.5px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: #d4af37;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  color: #a0aec0;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

/* Link Hover Animation */
.footer-col ul a:hover {
  color: #d4af37;
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.10);
  margin-top: 60px;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  font-size: 13px;
  color: #718096;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: #718096;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal-links a:hover {
  color: #d4af37;
}

/* =======================================
   RESPONSIVE — TABLETS & MOBILE (GLOBAL)
======================================= */

@media(max-width: 1024px) {
  .menu {
    gap: 16px;
  }

  .menu a {
    font-size: 13px;
  }
}

@media(max-width: 900px) {
  .navbar {
    padding: 12px 4%;
    flex-wrap: nowrap;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .logo-text {
    display: none;
  }

  .logo-short {
    display: block;
  }

  .logo img {
    width: 36px;
    height: 36px;
  }

  .logo {
    gap: 10px;
  }

  .top-right {
    display: none;
  }

  .menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 24px rgba(17, 17, 17, 0.15);
    padding: 90px 30px 40px;
    z-index: 1100;
    transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .menu.menu--open {
    right: 0;
  }

  .menu a {
    font-size: 16px;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid #eef0f4;
    color: #111111;
  }

  .menu a::after {
    display: none;
  }

  .menu a:hover {
    color: #d4af37;
  }

  .join-btn {
    margin-top: 20px;
    width: 100%;
    text-align: center;
    padding: 14px 22px;
    border-radius: 10px;
    font-size: 15px !important;
    border-bottom: none !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .split-layout,
  .split-layout.reverse {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
  }
  
  .split-layout .text-side,
  .split-layout .image-side {
    width: 100%;
  }

  .split-layout .image-side img {
    max-width: 400px;
  }

  .cta-section {
    padding: 70px 6%;
  }

  .cta-section h2 {
    font-size: 34px;
    letter-spacing: -0.8px;
  }

  .cta-section p {
    font-size: 16px;
    margin-bottom: 28px;
  }
}

@media(max-width: 480px) {
  .topbar {
    font-size: 12px;
    padding: 8px 4%;
    gap: 10px;
    flex-direction: column;
    text-align: center;
  }

  .top-left {
    gap: 14px;
  }

  .btn-primary,
  .btn-secondary,
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
  }

  .page-banner h1 {
    font-size: 28px;
  }

  .page-banner p {
    font-size: 15px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .cta-section {
    padding: 50px 5%;
  }

  .cta-section h2 {
    font-size: 26px;
    letter-spacing: -0.5px;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .cta-section p {
    font-size: 14.5px;
    margin-bottom: 24px;
    line-height: 1.6;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
  }
}

/* =======================================
   WHATSAPP FLOATING BUTTON
   ======================================= */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: 1001;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  background-color: #22c35e;
  color: #fff;
}

.whatsapp-float:active {
  transform: scale(0.95);
}

@keyframes popIn {
  from {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }
  to {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.whatsapp-float {
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s both;
}

@media(max-width: 480px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 26px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
}

