/* style.css */
:root {
  --navy-deep: #071739;
  --navy-dark: #0a1a2f;
  --navy-soft: #0f2a3f;
  --gold: #d4af37;
  --cyan: #00b4d8;
  --silver: #ced4da;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-light: #e9ecef;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 20px 40px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--navy-deep);
  color: var(--off-white);
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.section-title span {
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cursor {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background-color: var(--gold);
  margin-left: 5px;
  vertical-align: middle;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.section-title.center {
  text-align: center;
  display: block;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 2rem;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 32px;
  border-radius: 40px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
}
.btn-primary {
  background: linear-gradient(95deg, var(--gold), #b8860b);
  color: var(--navy-deep);
  border: none;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy-deep);
}

.btn-outline-light {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy-deep);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

header.scrolled {
  background: rgba(7, 23, 57, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--white);
  letter-spacing: -0.02em;
}
.logo img{
    width: 45px;
}

.logo span {
  color: var(--gold);
}

.nav-menu ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  transition: 0.3s;
}

/* Hero */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('./assets/images/nav\ logo.png') center/cover no-repeat;
  filter: brightness(0.4);
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(7, 23, 57, 0.7) 0%, #071739 100%);
  z-index: -1;
}

.floating-shape {
  position: absolute;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  animation: float 20s infinite alternate;
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
}

.shape-2 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  right: -100px;
  background: rgba(0, 180, 216, 0.15);
  animation-duration: 25s;
}

.shape-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  background: rgba(212, 175, 55, 0.1);
  animation-duration: 15s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  100% {
    transform: translate(30px, 30px) rotate(5deg);
  }
}

.hero-content {
  max-width: 900px;
  z-index: 2;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.stats-grid {
  position: absolute;
  bottom: 5%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 4rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 1rem 2rem;
  border-radius: 80px;
  width: fit-content;
  margin: 0 auto;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 0 1rem;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* About */
.about { padding: 100px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--gray-light);
}

.mission-vision {
  display: flex;
  gap: 1.5rem;
  margin: 2rem 0;
}

.mv-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 20px;
  flex: 1;
}

.mv-card i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.about-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.img-card {
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.5s;
}

.img-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}

.img-card:hover img {
  transform: scale(1.05);
}

/* Services */
.services {
  padding: 80px 0;
  background: rgba(10, 26, 47, 0.6);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  text-align: center;
  cursor: pointer;
}

.service-icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.service-toggle {
  background: none;
  border: none;
  color: var(--gold);
  margin-top: 1rem;
  cursor: pointer;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  text-align: left;
  margin-top: 1rem;
}

.service-detail.active {
  max-height: 300px;
}

.service-detail ul {
  list-style: none;
  padding-left: 0;
}

.service-detail li {
  margin: 0.5rem 0;
}

/* Process Timeline */
.process {
  padding: 80px 0;
}

.timeline {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
}

.timeline-item {
  flex: 1;
  text-align: center;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 1.5rem;
  transition: transform 0.3s;
}

.timeline-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.timeline-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  align-self: center;
}

@media (max-width: 768px) {
  .timeline-line {
    display: none;
  }

  .timeline {
    flex-direction: column;
  }
  .logo a {
    display: none;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background: url('./assets/images/nav logo.png') center/contain no-repeat;
    filter: brightness(0.4);
    z-index: -2;
  }
}

/* Logo Slider */
.partners {
  padding: 60px 0;
  overflow: hidden;
}

.logo-slider {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.logo-track {
  display: inline-flex;
  animation: scrollLogos 30s linear infinite;
}

.logo-track img {
  height: 60px;
  width: auto;
  filter: brightness(0.8);
  transition: 0.3s;
  margin: 0 45px;
}

.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Gallery Masonry */
.gallery {
  padding: 80px 0;
}

.masonry {
  columns: 3 280px;
  column-gap: 1.5rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s;
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
}

.close-lightbox {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
}

/* Testimonial Slider */
.testimonials {
  padding: 80px 0;
  background: rgba(7, 23, 57, 0.7);
}

.testimonial-slider {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.testimonial-container {
  flex: 1;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 30px;
}

.testimonial-card {
  min-width: calc(33.333% - 20px);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border-radius: 28px;
  padding: 1.5rem;
  text-align: center;
}

.client-img img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid var(--gold);
}

.rating i {
  color: var(--gold);
}

.slider-btn {
  background: var(--navy-soft);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

@media (max-width: 1024px) {
  .testimonial-card {
    min-width: calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    min-width: 100%;
  }
}

/* CTA */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, #071739, #0a1f3a);
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.2), transparent);
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact */
.contact { padding: 100px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  color: white;
  font-family: inherit;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  transition: 0.3s;
}

.social-icons a:hover {
  color: var(--gold);
}

.form-feedback {
  margin-top: 1rem;
  color: var(--gold);
}

/* Footer */
.footer {
  background: #020c1a;
  padding: 60px 0 20px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-col h4 {
  margin-bottom: 1rem;
  color: var(--gold);
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: var(--silver);
  text-decoration: none;
  transition: 0.3s;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Back to top & WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 99;
  transition: 0.3s;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: var(--gold);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  color: var(--navy-deep);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 99;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

/* Mobile Nav */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(7, 23, 57, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 100px 2rem;
    transition: 0.4s;
    z-index: 99;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 2rem;
  }

  .hamburger {
    display: flex;
    z-index: 100;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    padding: 120px 0 60px;
    justify-content: center;
  }

  .stats-grid {
    position: relative;
    bottom: auto;
    margin-top: 4rem;
    width: 100%;
    max-width: 100%;
    border-radius: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2.5rem 1.5rem;
  }

  .mission-vision {
    display: block;
  }

  .mv-card {
    margin-bottom: 1.5rem;
  }
}