/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* CSS Variables for Theme */
:root {
  --navy: #001f3f;
  --navy-light: #003366;
  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --orange: #FF6B00;
  --orange-light: #fff3eb;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --dark-text: #2c3e50;
  --gray-text: #6c757d;
  --font-heading: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --transition: all 0.3s ease-in-out;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  /* Offset for fixed navbar */
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--dark-text);
  overflow-x: hidden;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-font,
.font-heading {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Typography & Utilities */
.text-navy {
  color: var(--navy) !important;
}

.text-gold {
  color: var(--gold) !important;
  font-weight: 600 !important;
  font-size: 15px;
}

.bg-navy {
  background-color: var(--navy) !important;
}

.bg-gold {
  background-color: var(--gold) !important;
}

.bg-light-gray {
  background-color: var(--light-bg) !important;
}

/* Interactive Utility classes */
.text-dark-hover-gold:hover {
  color: var(--gold) !important;
}

.hover-text-gold:hover {
  color: var(--gold) !important;
}

.hover-gold:hover {
  color: var(--gold) !important;
}

.transition-color {
  transition: color 0.3s ease;
}

.transition-transform {
  transition: transform 0.5s ease;
}

.cursor-pointer {
  cursor: pointer;
}

.move-right {
  transition: transform 0.3s ease;
}

.group:hover .move-right {
  transform: translateX(5px);
}

.group:hover .transition-transform {
  transform: scale(1.05);
}

/* Buttons */
.btn-gold {
  background-color: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold);
  font-weight: 600;
  border-radius: 0;
  transition: var(--transition);
}

.btn-gold:hover {
  background-color: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.btn-navy {
  background-color: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
  font-weight: 600;
  border-radius: 0;
  transition: var(--transition);
}

.btn-navy:hover {
  background-color: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-weight: 600;
  border-radius: 0;
  transition: var(--transition);
}

.btn-outline-gold:hover {
  background-color: var(--gold);
  color: var(--navy);
}

.btn-orange {
  background-color: var(--orange);
  color: var(--white);
  border: 1px solid var(--orange);
  font-weight: 700;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.btn-orange::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--navy);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: -1;
}

.btn-orange:hover {
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 8px 25px rgba(0, 31, 63, 0.4);
  transform: translateY(-3px);
}

.btn-orange:hover::before {
  width: 100%;
}

.btn-outline-orange {
  background-color: transparent;
  color: var(--orange);
  border: 1px solid var(--orange);
  font-weight: 600;
  border-radius: 0;
  transition: var(--transition);
}

.btn-outline-orange:hover {
  background-color: var(--orange);
  color: var(--white);
}

.custom-topbar-btn {
  transition: background-color 0.4s ease, color 0.4s ease;
}

.custom-topbar-btn:hover {
  background-color: var(--navy) !important;
  color: var(--orange) !important;
}

/* Topbar */
.topbar {
  font-size: 0.85rem;
  font-family: var(--font-body);
}

.social-hover {
  transition: var(--transition);
  display: inline-block;
}

.social-hover:hover {
  color: var(--gold) !important;
  transform: translateY(-2px);
}

/* Fixed Socials / Corner Features */
.fixed-socials {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fixed-socials a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fixed-socials a:hover {
  transform: scale(1.15) translateY(-5px);
}

.fixed-socials a.whatsapp {
  background-color: #25D366;
}

.fixed-socials a.phone {
  border: 2px solid var(--gold);
  background-color: var(--navy);
  color: var(--gold);
}

.fixed-socials a.appointment {
  background-color: var(--gold);
  color: var(--navy);
}

@media (max-width: 768px) {
  .fixed-socials {
    flex-direction: row;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    gap: 25px;
    border: 1px solid rgba(0, 31, 63, 0.1);
  }

  .fixed-socials a {
    width: 45px;
    height: 45px;
    font-size: 20px;
    box-shadow: none;
  }

  .fixed-socials a:hover {
    transform: scale(1.15) translateY(-3px);
  }
}

/* Navbar */
.navbar {
  transition: var(--transition);
}

.nav-link {
  color: var(--dark-text) !important;
  font-size: 16px;
  font-weight: 500;

  padding-right: 16px !important;
  position: relative;
  transition: var(--transition);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 5px;
  left: 10px;
  background-color: var(--gold);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 74%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 90vh;
  /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-image: url('../images/hero-bg.png');
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 31, 63, 0.95) 0%, rgba(0, 31, 63, 0.7) 60%, rgba(0, 31, 63, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Practice Cards */
.practice-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
}

.practice-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.practice-img {
  position: relative;
}

.practice-icon {
  position: absolute;
  bottom: -25px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.practice-card:hover .practice-icon {
  transform: scale(1.1);
  background-color: var(--navy);
  color: var(--gold);
}

/* Practice Area Slider Cards & Text Cards */
.premium-practice-card,
.premium-text-card {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  background-color: #fff;
}

.premium-practice-card:hover,
.premium-text-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.practice-img {
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.premium-practice-card:hover .practice-img {
  transform: scale(1.05);
}

.swiper-pagination-bullet-active {
  background-color: var(--gold) !important;
}

/* Team Member Card */
.team-member-card {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-member-card img {
  transition: transform 0.5s ease;
}

.team-member-info {
  background: white;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  transform: translateY(20px);
  border-top: 3px solid var(--gold);
}

.team-member-card:hover .team-member-info {
  transform: translateY(0);
}

.text-white-50 {
  color: white !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.lead {
  font-size: 1.25rem;
  font-weight: 500;
}

.fs-5 {
  font-size: 15px !important;
}

.team-member-card:hover .team-social {
  display: flex !important;
}

/* Section Formatting */
.section-padding {
  padding: 59px 0;
}

.section-title {
  position: relative;
  display: inline-block;
}

/* Footer Section */
.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold) !important;
  padding-left: 5px;
}

/* Creative Practice Area Cards */
.creative-pr-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid #eaeaea;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1;
  height: 100%;
}

.creative-pr-card::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--orange);
  transition: all 0.4s ease-out;
  z-index: -1;
  border-radius: 12px 12px 0 0;
}

.creative-pr-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(255, 107, 0, 0.2);
  border-color: transparent;
}

.creative-pr-card:hover::before {
  top: 0;
  border-radius: 0;
}

.pr-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.creative-pr-card:hover .pr-icon-wrapper {
  background: var(--white);
  transform: scale(1.1) rotate(10deg);
}

.pr-icon {
  font-size: 30px;
  color: var(--orange);
  transition: all 0.4s ease;
}

.creative-pr-card:hover .pr-icon {
  color: var(--orange);
}

.pr-title {
  color: var(--navy);
  transition: all 0.4s ease;
}

.creative-pr-card:hover .pr-title {
  color: var(--white);
}

.pr-desc {
  transition: all 0.4s ease;
}

.creative-pr-card:hover .pr-desc {
  color: rgba(255, 255, 255, 0.9) !important;
}

.custom-orange-btn {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
  transition: var(--transition);
}

.custom-orange-btn:hover {
  background: transparent;
  color: var(--orange);
}