/* ========== CSS Variables ========== */
:root {
  --primary: #0f2044;
  --primary-light: #1a3268;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --gold: #c9a96e;
  --white: #ffffff;
  --light: #f1f5f9;
  --gray: #94a3b8;
  --dark: #0f172a;
  --text: #334155;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --glass: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
  --heading: #0f2044;
  --border-color: #e2e8f0;
}

[data-theme="dark"] {
  --primary: #020617;
  --primary-light: #0f172a;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --gold: #d4b886;
  --white: #111827; 
  --light: #1f2937;
  --gray: #9ca3af;
  --dark: #020617;
  --text: #e2e8f0;
  --heading: #f8fafc;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.7);
  --glass: rgba(0, 0, 0, 0.3);
  --border-color: #374151;
}

/* ========== Reset & Base ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition)
}

ul {
  list-style: none
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Playfair Display', serif;
  color: var(--heading);
  line-height: 1.25
}

/* ========== Preloader ========== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s
}

#preloader.hide {
  opacity: 0;
  pointer-events: none
}

.loader {
  width: 48px;
  height: 48px;
  border: 4px solid var(--glass);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .8s linear infinite
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

/* ========== Utility ========== */
.section-pad {
  padding: 100px 0
}

.section-title {
  text-align: center;
  margin-bottom: 60px
}

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px
}

.section-title p {
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem
}

.section-title .divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 4px;
  margin: 16px auto 0
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .3px;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, .35);
  color: #fff
}

.btn-outline-custom {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .5);
  padding: 13px 34px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px
}

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

/* ========== Navbar ========== */
.navbar-custom {
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000
}

.navbar-custom.scrolled {
  background: rgba(15, 32, 68, .97);
  backdrop-filter: blur(16px);
  padding: 10px 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, .15)
}

.navbar-custom .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff !important
}

.navbar-custom .navbar-brand span {
  color: var(--gold)
}

.navbar-custom .nav-link {
  color: rgba(255, 255, 255, .8) !important;
  font-weight: 500;
  font-size: .92rem;
  padding: 8px 18px !important;
  transition: var(--transition);
  position: relative
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition)
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
  transform: scaleX(1)
}

.navbar-custom .nav-link:hover {
  color: #fff !important
}

.navbar-toggler {
  border: none !important;
  box-shadow: none !important
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1)
}

/* ========== Hero ========== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  padding-top: 100px;
  padding-bottom: 80px;
  overflow: hidden
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, .92), rgba(15, 32, 68, .88));
  z-index: 1
}

.hero-content {
  position: relative;
  z-index: 2
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .15);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: .85rem;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold)
}

#hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.15;
  color: #fff
}

#hero h1 span {
  color: var(--gold)
}

#hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .75);
  max-width: 540px;
  margin-bottom: 36px
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 50px;
  flex-wrap: wrap
}

.hero-stats .stat h3 {
  font-size: 2rem;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-weight: 700
}

.hero-stats .stat p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
  margin: 0
}

/* ========== Services ========== */
#services {
  background: var(--light)
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0);
  transition: var(--transition)
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, .08)
}

.service-card:hover::before {
  transform: scaleX(1)
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(201, 169, 110, .08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: var(--accent);
  transition: var(--transition)
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #fff;
  transform: scale(1.1)
}

.service-card h5 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600
}

.service-card p {
  font-size: .9rem;
  color: var(--gray);
  margin: 0
}

/* ========== About ========== */
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden
}

.about-img-wrap img {
  border-radius: var(--radius);
  width: 100%;
  height: 400px;
  object-fit: cover
}

.about-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 20px 28px;
  text-align: center;
  box-shadow: var(--shadow)
}

.about-badge h3 {
  font-size: 2rem;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin: 0
}

.about-badge p {
  font-size: .8rem;
  color: var(--gray);
  margin: 0
}

.about-list {
  margin-top: 28px
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .95rem
}

.about-list li i {
  color: var(--accent);
  margin-top: 4px;
  font-size: 1rem
}

/* ========== Why Choose Us ========== */
#why-us {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff
}

#why-us .section-title h2 {
  color: #fff
}

#why-us .section-title p {
  color: rgba(255, 255, 255, .6)
}

.why-card {
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition)
}

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

.why-card i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 18px
}

.why-card h5 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 10px
}

.why-card p {
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
  margin: 0
}

/* ========== Pricing ========== */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg)
}

.pricing-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: 16px;
  right: -32px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(45deg);
  letter-spacing: 1px
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg)
}

.pricing-card h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin: 16px 0
}

.pricing-card .price small {
  font-size: .9rem;
  color: var(--gray);
  font-weight: 400
}

.pricing-list {
  text-align: left;
  margin: 24px 0 32px
}

.pricing-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: .92rem;
  display: flex;
  align-items: center;
  gap: 10px
}

.pricing-list li i {
  color: var(--accent);
  font-size: .8rem
}

/* ========== Testimonials ========== */
#testimonials {
  background: var(--light)
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  transition: var(--transition)
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg)
}

.testimonial-card .stars {
  color: var(--gold);
  font-size: .9rem;
  margin-bottom: 14px
}

.testimonial-card p {
  font-style: italic;
  color: var(--text);
  font-size: .95rem;
  margin-bottom: 20px;
  line-height: 1.7
}

.testimonial-card .client {
  display: flex;
  align-items: center;
  gap: 14px
}

.testimonial-card .client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem
}

.testimonial-card .client h6 {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .95rem
}

.testimonial-card .client small {
  color: var(--gray);
  font-size: .8rem
}

/* ========== Gallery ========== */
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition)
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 32, 68, .8), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 24px
}

.gallery-item .overlay h5 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transform: translateY(10px);
  transition: var(--transition)
}

.gallery-item:hover img {
  transform: scale(1.08)
}

.gallery-item:hover .overlay {
  opacity: 1
}

.gallery-item:hover .overlay h5 {
  transform: translateY(0)
}

/* ========== Contact ========== */
#contact {
  background: var(--light)
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow)
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  padding: 40px;
  color: #fff;
  height: 100%
}

.contact-info-card h4 {
  color: #fff;
  margin-bottom: 28px;
  font-family: 'Inter', sans-serif
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px
}

.contact-info-item i {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0
}

.contact-info-item h6 {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: .95rem
}

.contact-info-item p {
  margin: 0;
  font-size: .85rem;
  color: rgba(255, 255, 255, .6)
}

.form-control-custom {
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: .92rem;
  transition: var(--transition);
  background: var(--light);
  color: var(--text);
}

.form-control-custom:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
  background: var(--white);
  color: var(--text);
  outline: none
}

.whatsapp-btn {
  background: #25D366;
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  color: #fff
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 40px
}

.map-wrap iframe {
  width: 100%;
  height: 350px;
  border: none
}

/* ========== Footer ========== */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .7);
  padding: 80px 0 0
}

footer h5 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 24px;
  font-size: 1.05rem
}

footer p,
.footer-links a {
  font-size: .9rem;
  color: rgba(255, 255, 255, .5)
}

.footer-links a {
  display: block;
  padding: 6px 0;
  transition: var(--transition)
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 6px
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .5);
  font-size: 1rem;
  transition: var(--transition);
  margin-right: 8px;
  position: relative;
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px)
}

.footer-social a[href="#"]:hover::after {
  content: "We are working on it";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 12px;
  background: var(--primary);
  color: #fff;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 20;
  box-shadow: var(--shadow);
}

.footer-social a[href="#"]:hover::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 6px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent var(--primary) transparent;
  pointer-events: none;
  z-index: 20;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px
}

.footer-brand span {
  color: var(--gold)
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 50px;
  padding: 24px 0;
  text-align: center
}

.footer-bottom p {
  margin: 0;
  font-size: .85rem;
  color: rgba(255, 255, 255, .35)
}

/* ========== Scroll Reveal ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s, transform .8s cubic-bezier(.4, 0, .2, 1)
}

.reveal.active {
  opacity: 1;
  transform: translateY(0)
}

/* ========== Responsive ========== */
@media(max-width:991px) {
  .hero-stats {
    gap: 28px;
    justify-content: center;
  }

  .hero-content {
    text-align: center;
  }

  #hero p {
    margin: 0 auto 36px;
  }

  .hero-btns {
    justify-content: center;
  }

  .navbar-collapse {
    background: rgba(15, 32, 68, .98);
    backdrop-filter: blur(16px);
    border-radius: 12px;
    padding: 20px;
    margin-top: 12px;
  }

  .about-img-wrap {
    margin-bottom: 30px;
  }
}

@media(max-width:767px) {
  .section-pad {
    padding: 60px 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  #hero h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stats .stat h3 {
    font-size: 1.5rem;
  }

  .about-img-wrap img {
    height: 300px;
  }

  .about-badge {
    bottom: 15px;
    right: 15px;
    padding: 15px 20px;
  }

  .about-badge h3 {
    font-size: 1.6rem;
  }

  .gallery-item img {
    height: 220px;
  }

  .contact-card,
  .contact-info-card {
    padding: 24px;
  }

  .footer-brand {
    margin-top: 20px;
  }

  footer {
    padding: 60px 0 0;
  }

  footer .col-lg-3, footer .col-lg-2, footer .col-lg-4 {
    margin-bottom: 24px;
  }

  .inner-page-header {
    padding: 110px 0 50px !important;
  }

  .inner-page-header h1 {
    font-size: 2.2rem !important;
  }
}

@media(max-width:575px) {
  #hero h1 {
    font-size: 1.8rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns a {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }

  .service-card {
    padding: 24px 20px;
  }

  .pricing-card {
    padding: 30px 20px;
  }

  .contact-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .inner-page-header {
    padding: 100px 0 40px !important;
  }

  .inner-page-header h1 {
    font-size: 1.8rem !important;
  }

  .pricing-card .price {
    font-size: 2rem;
  }

  .testimonial-card {
    padding: 24px 20px;
  }
}