@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Raleway:wght@300;400;500;600;700&family=Cinzel:wght@400;600;700&display=swap');

:root {
  --blue:        #00AEEF;
  --light-blue:  #4dd0f5;
  --dark-blue:   #0085c3;
  --navy:        #0d1526;
  --navy-mid:    #141f35;
  --navy-card:   #172038;
  --red:         #CC0000;
  --white:       #ffffff;
  --off-white:   #e8f1fa;
  --gray:        #7a8fa8;
  --gray-light:  #a0b2c6;
  --border:      rgba(0, 174, 239, 0.20);
  --border-med:  rgba(0, 174, 239, 0.35);
  --glow-sm:     0 4px 20px rgba(0, 174, 239, 0.18);
  --glow-md:     0 8px 35px rgba(0, 174, 239, 0.22);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Raleway', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  background: rgba(13, 21, 38, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: height .3s, box-shadow .3s;
}
.navbar.scrolled {
  height: 62px;
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 48px; width: 48px; object-fit: cover;
  border-radius: 50%; border: 2px solid var(--blue);
  transition: transform .3s;
}
.nav-logo img:hover { transform: scale(1.08) rotate(4deg); }
.nav-logo-text .firm-name {
  font-family: 'Cinzel', serif; font-size: .9rem; font-weight: 700;
  color: var(--blue); letter-spacing: 1px; line-height: 1.2;
  display: block;
}
.nav-logo-text .firm-sub {
  font-size: .58rem; color: var(--gray); letter-spacing: 2.5px;
  text-transform: uppercase; display: block;
}

/* Nav links */
.nav-links {
  display: flex; list-style: none;
  align-items: center; gap: .2rem;
}
.nav-links li a {
  display: block;
  color: var(--off-white); font-size: .78rem; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 8px 14px; border-radius: 5px;
  transition: color .25s, background .25s;
  white-space: nowrap;
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--blue); }

/* Contact button — fixed, contained */
.nav-links li.nav-btn a {
  background: var(--blue); color: var(--navy) !important;
  padding: 9px 20px; border-radius: 5px;
  font-weight: 700; letter-spacing: 1px;
  box-shadow: 0 2px 12px rgba(0,174,239,.3);
  transition: background .25s, box-shadow .25s, transform .25s;
}
.nav-links li.nav-btn a:hover {
  background: var(--light-blue);
  box-shadow: 0 4px 22px rgba(0,174,239,.5);
  transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 5px; flex-shrink: 0;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--blue);
  border-radius: 2px; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; top: 76px; left: 0; width: 100%;
  background: rgba(13,21,38,.98); backdrop-filter: blur(20px);
  flex-direction: column; padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border); z-index: 999;
  gap: .5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--off-white); font-size: .9rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  transition: color .25s;
}
.mobile-menu a:hover { color: var(--blue); }
.mobile-menu a:last-child { border-bottom: none; }

/* ═══════════════════════════════════════
   PAGE HERO 
═══════════════════════════════════════ */
.page-hero {
  min-height: 46vh;
  padding-top: 76px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
}

/* Animated geometric background */
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgba(0,174,239,.10) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 85% 30%, rgba(204,0,0,.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 50% 100%, rgba(0,120,180,.08) 0%, transparent 60%);
}

/* Decorative large text watermark */
.page-hero .hero-watermark {
  position: absolute;
  font-family: 'Cinzel', serif;
  font-size: clamp(5rem, 14vw, 12rem);
  font-weight: 900; letter-spacing: 8px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 174, 239, 0.07);
  user-select: none; pointer-events: none;
  white-space: nowrap;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* Animated grid lines */
.page-hero .hero-grid-lines {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(0,174,239,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,174,239,.04) 1px, transparent 1px);
  background-size: 55px 55px;
}

/* Glowing horizontal line accent */
.page-hero .hero-line-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--blue), var(--red), transparent);
  opacity: .5;
}

.page-hero-content {
  position: relative; z-index: 1; text-align: center; padding: 2rem;
}
.page-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 700; color: var(--white);
  margin-bottom: 1rem; letter-spacing: 2px;
}
.page-breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; font-size: .78rem; color: var(--gray);
  letter-spacing: 1.5px;
}
.page-breadcrumb span { color: var(--blue); }
.page-breadcrumb a { color: var(--gray); transition: color .25s; }
.page-breadcrumb a:hover { color: var(--blue); }

/* Decorative dots below title */
.hero-dots {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; margin: 1.2rem 0 1.5rem;
}
.hero-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); opacity: .4;
}
.hero-dots span:nth-child(2) { width: 28px; border-radius: 3px; opacity: .8; background: var(--blue); }
.hero-dots span:nth-child(4) { background: var(--red); opacity: .5; }

/* ═══════════════════════════════════════
   SHARED SECTION STYLES
═══════════════════════════════════════ */
.section {
  padding: 85px 4rem;
  max-width: 1380px; margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  font-size: .68rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--blue); display: block; margin-bottom: .9rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.8vw, 2.9rem);
  font-weight: 700; color: var(--white); line-height: 1.2;
}
.section-line {
  width: 52px; height: 3px;
  background: linear-gradient(to right, var(--blue), var(--red));
  margin: 1.3rem auto; border-radius: 2px;
}
.section-desc {
  color: var(--gray-light); font-size: .95rem;
  max-width: 580px; margin: 0 auto; line-height: 1.85;
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn-primary {
  background: var(--blue); color: var(--navy);
  padding: 14px 32px; border: none; border-radius: 5px;
  font-family: 'Raleway', sans-serif; font-size: .82rem;
  font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase;
  cursor: pointer; display: inline-flex; align-items: center; gap: 9px;
  box-shadow: 0 3px 18px rgba(0,174,239,.28);
  transition: all .25s;
}
.btn-primary:hover {
  background: var(--light-blue);
  box-shadow: 0 6px 28px rgba(0,174,239,.45);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--white);
  padding: 14px 32px; border: 1px solid var(--border-med);
  border-radius: 5px; font-family: 'Raleway', sans-serif;
  font-size: .82rem; font-weight: 600; letter-spacing: 1.8px;
  text-transform: uppercase; cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px;
  transition: all .25s;
}
.btn-outline:hover {
  background: rgba(0,174,239,.08); border-color: var(--blue);
  color: var(--blue); transform: translateY(-2px);
}
.btn-whatsapp {
  background: #25D366; color: #fff;
  padding: 14px 32px; border: none; border-radius: 5px;
  font-family: 'Raleway', sans-serif; font-size: .82rem;
  font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase;
  cursor: pointer; display: inline-flex; align-items: center; gap: 9px;
  box-shadow: 0 3px 18px rgba(37,211,102,.28);
  transition: all .25s;
}
.btn-whatsapp:hover {
  background: #1ebe57;
  box-shadow: 0 6px 28px rgba(37,211,102,.45);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   FEATURE CARDS
═══════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.6rem;
}
.feature-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 2.2rem 1.8rem;
  text-align: center; transition: all .35s;
  position: relative; overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--blue), var(--red));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s;
}
.feature-card:hover::after { transform: scaleX(1); }
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,174,239,.45);
  box-shadow: var(--glow-md);
}
.feature-icon {
  width: 64px; height: 64px;
  background: rgba(0,174,239,.08);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.3rem; font-size: 1.7rem; transition: all .3s;
}
.feature-card:hover .feature-icon {
  background: var(--blue); border-color: var(--blue);
}
.feature-title {
  font-family: 'Playfair Display', serif; font-size: 1.15rem;
  font-weight: 700; color: var(--white); margin-bottom: .7rem;
}
.feature-text { font-size: .875rem; color: var(--gray-light); line-height: 1.75; }

/* ═══════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════ */
.cta-section {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 4.5rem 3rem;
  text-align: center; position: relative; overflow: hidden;
  margin: 0 4rem 80px;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(0,174,239,.07), transparent);
}
.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 700; margin-bottom: .9rem; position: relative; color: var(--white);
}
.cta-accent { color: var(--blue); }
.cta-text {
  color: var(--gray-light); margin-bottom: 2.2rem; position: relative;
  max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.8;
}
.cta-buttons {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap; position: relative;
}

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
.animate-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════
   WHATSAPP FLOAT
═══════════════════════════════════════ */
.whatsapp-float {
  position: fixed; bottom: 28px; left: 28px; z-index: 9000;
  width: 54px; height: 54px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .3s, box-shadow .3s;
  animation: waPulse 3.5s ease infinite;
}
.whatsapp-float:hover {
  transform: scale(1.13);
  box-shadow: 0 6px 30px rgba(37,211,102,.6);
}
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 0 0 10px rgba(37,211,102,.12); }
}

/* ═══════════════════════════════════════
   NOTIFICATION
═══════════════════════════════════════ */
.notification {
  position: fixed; bottom: 28px; right: 28px;
  background: #25D366; color: #fff;
  padding: 14px 22px; border-radius: 8px;
  font-weight: 700; font-size: .88rem; z-index: 9999;
  transform: translateX(180px); opacity: 0; transition: all .4s;
  box-shadow: 0 6px 24px rgba(37,211,102,.35);
}
.notification.show { transform: translateX(0); opacity: 1; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 4rem;
}
.footer-grid {
  max-width: 1380px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .logo-wrap {
  display: flex; align-items: center; gap: 12px; margin-bottom: 1.3rem;
}
.footer-brand img {
  height: 50px; width: 50px; object-fit: cover;
  border-radius: 50%; border: 2px solid var(--blue);
}
.footer-brand .fname {
  font-family: 'Cinzel', serif; font-size: .9rem;
  color: var(--blue); letter-spacing: 1px; display: block;
}
.footer-brand .fsub {
  font-size: .58rem; color: var(--gray); letter-spacing: 2px; display: block;
}
.footer-brand p {
  font-size: .86rem; color: var(--gray-light); line-height: 1.85; margin-bottom: 1.3rem;
}
.footer-social { display: flex; gap: 8px; }
.social-btn {
  width: 38px; height: 38px;
  background: rgba(0,174,239,.06); border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: .95rem; cursor: pointer; transition: all .25s; color: var(--gray);
}
.social-btn:hover {
  background: var(--blue); border-color: var(--blue);
  color: var(--navy); transform: translateY(-3px);
}
.footer-col h4 {
  font-family: 'Cinzel', serif; font-size: .75rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 1.3rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .65rem; }
.footer-col ul a { color: var(--gray-light); font-size: .86rem; transition: color .25s; }
.footer-col ul a:hover { color: var(--blue); }
.footer-col address {
  font-style: normal; color: var(--gray-light); font-size: .86rem; line-height: 1.9;
}
.footer-bottom {
  max-width: 1380px; margin: 0 auto;
  border-top: 1px solid var(--border); padding-top: 1.8rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .8rem; color: var(--gray); }
.footer-bottom span { color: var(--blue); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .section { padding: 70px 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .cta-section { margin: 0 2.5rem 60px; }
}
@media (max-width: 768px) {
  .navbar { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 55px 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer { padding: 3rem 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-section { margin: 0 1.5rem 50px; padding: 3rem 1.5rem; }
  .page-hero { min-height: 38vh; }
}
@media (max-width: 480px) {
  footer { padding: 2.5rem 1.2rem; }
}
