/* ==========================================================================
   Prestige Advisory Ltd - Professional Investment Advisory Website
   Enhanced styling for premium professional appearance
   ========================================================================== */

/* CSS Custom Properties */
:root {
  --accent: #E6A800;
  --accent-2: #D4AF37;
  --accent-light: #fff8e1;
  --dark: #2c3e50;
  --dark-blue: #002449;
  --muted: #f8f9fa;
  --gray: #6c757d;
  --gray-light: #f8f9fa;
  --gray-medium: #e9ecef;
  --white: #ffffff;
  --black: #212529;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 12px;
  --gradient: linear-gradient(135deg, #002449 0%, #1a365d 100%);
}

/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  color: #2c3e50;
  font-size: 16px;
  line-height: 1.7;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Letterhead-style logo in upper left corner */
.letterhead-logo {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  max-width: 250px;
}

.letterhead-logo-img {
  width: 100%;
  height: auto;
  max-height: 80px;
  display: block;
  filter: sepia(100%) hue-rotate(35deg) saturate(200%) brightness(1.2);
}

.letterhead-text {
  text-align: center;
  margin-top: 8px;
}

.letterhead-company {
  font-family: 'Cardo', serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #E6A800;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(230, 184, 0, 0.5);
}

.letterhead-tagline {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  color: #B8860B;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cardo', serif;
  font-weight: 400;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
  color: #2c3e50;
}

p {
  margin: 0 0 1.5rem 0;
}

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

a:hover {
  color: var(--dark);
}

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

/* Layout Utilities */
.site_contain, .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

#header {
  position: fixed;
  top: 0;
    --accent: #59A6E6; /* light blue primary */
    --accent-2: #3B8ED6; /* darker blue */
    --accent-light: #eaf6ff;
    --dark: #243449;
    --dark-blue: #0b3a66;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 36, 73, 0.1);
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

#header.scroll {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

#header .site_contain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.site-logo img {
  max-height: 50px;
  width: auto;
}

/* Professional Logo Styling */
.site_logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 45px;
  width: auto;
  max-width: 200px;
  transition: var(--transition);
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-image:hover {
  transform: scale(1.05);
  filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.15));
}

/* Text-based Logo Styling (fallback if image fails to load) */
.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.logo-main {
  font-family: 'Cardo', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: -0.5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.logo-sub {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #2c3e50;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: -2px;
}

#nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

#nav ul li a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2c3e50;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  position: relative;
}

#nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

#nav ul li a:hover::after,
#nav ul li a.active::after {
  width: 100%;
}

.site_portals {
  display: flex;
  align-items: center;
}

.inv-login {
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--accent-2);
  color: var(--accent-2);
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
}

.inv-login:hover {
  background: var(--accent);
  color: white;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  color: white;
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #1a365d 0%, #2c3e50 100%);
  background-image: url('https://images.unsplash.com/photo-1534351590666-13e3e96b5017?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.5) contrast(1.4);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 36, 73, 0.6) 0%, rgba(26, 54, 93, 0.5) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.6;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-2);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--dark-blue);
  border: 2px solid var(--accent-2);
}

.btn-secondary:hover {
  background: white;
  color: var(--dark-blue);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
  background: #f8f9fa;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 1;
  border-radius: 0 0 0 20px;
}

.about-section .site_contain {
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
}

/* ==========================================================================
   CREDENTIALS SECTION
   ========================================================================== */

.credentials-section {
  background: var(--dark-blue);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

/* Location Tabs - Now as Slider */
.location-tabs ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 1rem 0 1.5rem 0;
  flex-wrap: wrap;
}

.location-tab {
  background: var(--accent-light);
  color: var(--dark-blue);
  border: 1px solid var(--gray-medium);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.location-tab:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent-2);
}

.location-tab.active {
  background: var(--accent-2);
  color: white;
  box-shadow: var(--shadow);
}

/* Location Slider Styles */
.location-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  background: white;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

.location-slide {
  display: none;
  transition: opacity 0.5s ease-in-out;
  cursor: pointer;
}

.location-slide.active {
  display: block;
}

.location-slide:hover {
  background: linear-gradient(135deg, rgba(230, 184, 0, 0.05) 0%, rgba(230, 184, 0, 0.02) 100%);
}

.location-content {
  padding: 2rem;
  text-align: center;
}

.location-content h4 {
  font-size: 1.4rem;
  color: var(--dark-blue);
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.location-content p {
  color: #6c757d;
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.location-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
}

.location-btn {
  background: var(--accent);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.location-btn:hover {
  background: var(--accent-2);
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.location-indicators {
  display: flex;
  gap: 0.75rem;
}

.location-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dee2e6;
  cursor: pointer;
  transition: var(--transition);
}

.location-indicator.active {
  background: var(--accent);
  transform: scale(1.3);
}

.location-indicator:hover {
  background: var(--accent-light);
}

/* Location slider responsive design */
@media (max-width: 768px) {
  .location-content {
    padding: 1.5rem;
  }

  .location-content h4 {
    font-size: 1.2rem;
  }

  .location-controls {
    gap: 1.5rem;
  }

  .location-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .location-content {
    padding: 1rem;
  }

  .location-content h4 {
    font-size: 1.1rem;
  }

  .location-controls {
    gap: 1rem;
  }

  .location-btn {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }

  .location-indicator {
    width: 8px;
    height: 8px;
  }
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  margin-bottom: 0.5rem;
}

.company-name {
  font-weight: 700;
  color: var(--dark-blue);
}

.company-address,
.company-phone {
  color: #495057;
  font-size: 0.95rem;
}

/* Testimonials Slider */
.testimonials-section {
  background: white;
  padding: 4rem 0 6rem;
}

.testimonials-slider {
  position: relative;
  max-width: 1000px;
  margin: 2rem auto 0;
}

.testimonials-slider .slides {
  position: relative;
  overflow: hidden;
}

.testimonials-slider .slide {
  display: none;
  padding: 2rem 2.5rem;
  border-radius: var(--border-radius);
  background: var(--accent-light);
  border: 1px solid var(--gray-medium);
  box-shadow: var(--shadow);
}

.testimonials-slider .slide.active {
  display: block;
  animation: fadeInUp 0.6s ease-out;
}

.testimonials-slider blockquote {
  margin: 0;
  font-style: normal;
  color: var(--dark);
}

.testimonials-slider blockquote p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.testimonials-slider blockquote footer {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  color: #495057;
}

.testimonials-slider footer strong {
  color: var(--dark-blue);
  font-weight: 700;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.slider-prev, .slider-next {
  background: transparent;
  border: 2px solid var(--accent-2);
  color: var(--accent-2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.slider-prev:hover, .slider-next:hover {
  background: var(--accent-2);
  color: white;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--gray-medium);
  cursor: pointer;
}

.slider-dots button.active {
  background: var(--accent-2);
  box-shadow: 0 4px 10px rgba(59, 142, 214, 0.2);
}

@media (max-width: 768px) {
  .testimonials-slider .slide {
    padding: 1.5rem;
  }

  .slider-controls {
    gap: 0.5rem;
  }
}

.credentials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 1;
}

.credentials-section .site_contain {
  position: relative;
  z-index: 2;
}

.credentials-section .section-header h2 {
  color: white;
}

.credentials-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.credential-item {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.credential-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.credential-icon {
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--dark-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  letter-spacing: 1px;
}

.credential-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.5rem 0;
  font-family: 'Raleway', sans-serif;
}

.credential-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin: 0;
  font-weight: 500;
}

.credentials-footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.credentials-footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-section {
  background: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1449824913935-59a10b8d2000?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  z-index: 1;
}

.services-section .site_contain {
  position: relative;
  z-index: 2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border: 1px solid #e9ecef;
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

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

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-weight: 600;
  line-height: 1.3;
}

.service-card p {
  color: #6c757d;
  line-height: 1.6;
  font-size: 0.95rem;
  flex-grow: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 15px rgba(230, 184, 0, 0.3);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(230, 184, 0, 0.4);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
  background: #f8f9fa;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1590283603385-17ffb3a7f29f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.12;
  z-index: 1;
}

.contact-section .site_contain {
  position: relative;
  z-index: 2;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.contact-info > p {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 2rem;
}

.office-locations {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.office-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--gray-medium);
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.office-card:hover {
  border-left-color: var(--accent);
  transform: translateX(5px);
}

.office-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.office-card p {
  color: #6c757d;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.office-card .phone {
/* Enhanced Professional Office Location Styling */
.office-locations {
  margin-top: 2rem;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.office-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100px;
}

.office-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.office-card.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(230, 184, 0, 0.05) 0%, rgba(230, 184, 0, 0.02) 100%);
}

.office-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.office-card .office-icon {
  width: 35px;
  height: 35px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(230, 184, 0, 0.3);
  transition: var(--transition);
}

.office-card:hover .office-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(230, 184, 0, 0.4);
}

.office-card h4 {
  font-size: 0.9rem;
  margin: 0;
  color: #2c3e50;
  font-weight: 600;
  line-height: 1.2;
}

.office-details {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e9ecef;
  text-align: left;
  font-size: 0.8rem;
  line-height: 1.4;
}

.office-details p {
  margin: 0.25rem 0;
  color: #6c757d;
}

.office-details strong {
  color: #2c3e50;
  font-weight: 600;
}

.office-trigger {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.office-trigger::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  opacity: 0;
  transition: var(--transition);
}

.office-trigger:hover::before {
  opacity: 1;
}

.office-trigger:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.office-trigger:hover .office-preview-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(230, 184, 0, 0.4);
}

.office-preview {
  position: relative;
}

.office-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.office-preview-header h4 {
  font-size: 1.4rem;
  margin: 0;
  color: #2c3e50;
  font-weight: 600;
}

.office-preview-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(230, 184, 0, 0.3);
  transition: var(--transition);
}

.office-preview-address {
  color: #6c757d;
  margin: 0 0 1.5rem 0;
  font-size: 1rem;
  line-height: 1.5;
}

.view-details-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.view-details-btn:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(230, 184, 0, 0.3);
}

.office-item {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin: 2rem 0;
  border: 1px solid #e9ecef;
}

.office-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  padding: 2.5rem;
  align-items: start;
}

.office-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f8f9fa;
}

.office-header h4 {
  font-size: 1.6rem;
  margin: 0;
  color: #2c3e50;
  font-weight: 600;
}

.office-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.office-address,
.office-contact,
.office-hours {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.office-address strong,
.office-contact strong,
.office-hours strong {
  color: #2c3e50;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.office-address p,
.office-contact p,
.office-hours p {
  color: #6c757d;
  margin: 0;
  line-height: 1.6;
}

.office-map {
  background: #f8f9fa;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  position: relative;
}

.map-header {
  margin-bottom: 1rem;
  text-align: center;
}

.map-header h5 {
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.map-header::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 0.5rem auto 0;
  border-radius: 1px;
}

.close-office {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.close-office:hover {
  background: var(--accent-2);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(230, 184, 0, 0.3);
}

/* Enhanced Responsive adjustments */
@media (max-width: 768px) {
  .office-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .office-item {
    margin: 1.5rem 0;
  }

  .office-trigger {
    padding: 1.5rem;
  }

  .office-preview-header h4 {
    font-size: 1.2rem;
  }

  .office-preview-icon {
    font-size: 1.5rem;
  }
}

.contact-form-container {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid #e9ecef;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact_form label {
  display: block;
  margin-bottom: 1.5rem;
}

.contact_form input,
.contact_form select,
.contact_form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: #f8f9fa;
}

.contact_form input:focus,
.contact_form select:focus,
.contact_form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(230, 184, 0, 0.1);
}

.contact_form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  text-align: center;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(230, 184, 0, 0.1);
}

.contact_form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  text-align: center;
  margin-top: 2rem;
}

.form-disclaimer {
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 1rem;
  font-style: italic;
}

/* ==========================================================================
   OFFICE POPUP
   ========================================================================== */

.office-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
}

.office-popup-content {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: slideInUp 0.3s ease-out;
  text-align: center;
}

.office-popup-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  color: #6c757d;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.office-popup-close:hover {
  color: var(--accent);
  transform: scale(1.1);
}

.office-popup-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f8f9fa;
}

.office-popup-header h3 {
  font-size: 1.8rem;
  color: var(--dark-blue);
  margin: 0;
  font-weight: 600;
}

.office-popup-body {
  text-align: left;
}

.office-popup-body p {
  margin-bottom: 1rem;
  color: #495057;
  line-height: 1.6;
}

.office-popup-body strong {
  color: var(--dark-blue);
  font-weight: 600;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.08;
  z-index: 1;
}

.testimonials-section .site_contain {
  position: relative;
  z-index: 2;
}

.testimonials-container {
  max-width: 900px;
  margin: 3rem auto 0;
  position: relative;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  background: white;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

.testimonial-slide {
  display: none;
  transition: opacity 0.5s ease-in-out;
  cursor: pointer;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-slide:hover {
  background: linear-gradient(135deg, rgba(230, 184, 0, 0.05) 0%, rgba(230, 184, 0, 0.02) 100%);
}

.testimonial-content {
  padding: 3rem;
  text-align: center;
}

.testimonial-text {
  margin-bottom: 2.5rem;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 4rem;
  color: var(--accent);
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cardo', serif;
  opacity: 0.3;
  line-height: 1;
}

.testimonial-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #495057;
  font-style: italic;
  margin: 0;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-author {
  display: flex;
  justify-content: center;
  align-items: center;
}

.author-info h4 {
  font-size: 1.3rem;
  color: var(--dark-blue);
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.author-title {
  font-size: 0.95rem;
  color: #6c757d;
  margin: 0 0 0.25rem 0;
  font-weight: 500;
}

.author-company {
  font-size: 0.9rem;
  color: var(--accent);
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-btn {
  background: var(--accent);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.testimonial-btn:hover {
  background: var(--accent-2);
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.testimonial-indicators {
  display: flex;
  gap: 1rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #dee2e6;
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background: var(--accent);
  transform: scale(1.3);
}

.indicator:hover {
  background: var(--accent-light);
}

/* Testimonials responsive design */
@media (max-width: 768px) {
  .testimonials-container {
    margin: 2rem auto 0;
    padding: 0 1rem;
  }

  .testimonial-content {
    padding: 2rem;
  }

  .testimonial-text p {
    font-size: 1.1rem;
  }

  .testimonial-controls {
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .testimonial-btn {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .testimonials-container {
    padding: 0 0.5rem;
  }

  .testimonial-content {
    padding: 1.5rem;
  }

  .testimonial-text p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .testimonial-controls {
    gap: 1rem;
    margin-top: 1rem;
  }

  .testimonial-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }
}

#footer {
  background: var(--dark-blue);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 1.25rem;
}

/* New footer layout to match provided design */
.footer-top {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2.5rem 0;
}

.footer-left {
  flex: 0 0 200px;
}

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

.footer-center {
  flex: 1 1 auto;
}

.footer-columns {
  display: flex;
  gap: 3.5rem;
  justify-content: center;
}

.footer-top { padding-top: 3rem; padding-bottom: 2rem; }

.footer-columns .col h6 {
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.footer-columns .col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-columns .col li {
  margin-bottom: 0.5rem;
}

.footer-columns .col a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.footer-right {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.inv-login {
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  border-radius: 6px;
  text-decoration: none;
}

.inv-login:hover {
  background: rgba(255,255,255,0.06);
}

.social-icon svg { display: block; }

.footer-divider {
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 1.5rem 0;
}

.footer-middle {
  padding-bottom: 1rem;
}

.patent-text,
.auth-text {
  color: rgba(255,255,255,0.8);
  margin: 0 0 0.75rem 0;
  font-size: 0.95rem;
}

.footer-links-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.footer-links-row a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  font-size: 0.95rem;
}

.footer-bottom {
  padding-top: 1rem;
  border-top: none;
}

.footer-bottom p {
  color: rgba(255,255,255,0.75);
  margin: 0.5rem 0 0 0;
}

@media (max-width: 900px) {
  .footer-top { flex-direction: column; }
  .footer-left { order: 1; }
  .footer-center { order: 2; }
  .footer-right { order: 3; justify-content: flex-start; }
  .footer-columns { gap: 1.5rem; flex-wrap: wrap; justify-content: flex-start; }
}

.footer-brand-col .brand-name {
  color: var(--accent-2);
  font-size: 1.35rem;
  margin: 0 0 0.25rem 0;
}

.footer-brand-col .brand-tag {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
}

.footer-col h5 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-legal .copyright {
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}

.footer-legal .legal-text {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-nav {
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   PROFESSIONAL ANIMATIONS
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out;
}

.animate-scale-in {
  animation: fadeInScale 0.6s ease-out;
}

/* Professional hover effects */
.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.credential-item:hover {
  transform: translateY(-8px) scale(1.05);
}

/* Enhanced button animations */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #nav ul {
    display: none;
  }

  .hero {
    padding: 100px 0 80px;
  }

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

  .hero p {
    font-size: 1.1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .credential-item {
    padding: 1.5rem 1rem;
  }

  .credential-item h3 {
    font-size: 2rem;
  }

  .office-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
  }

  .office-card {
    padding: 0.75rem;
    min-height: 80px;
  }

  .office-card .office-icon {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
  }

  .office-card h4 {
    font-size: 0.8rem;
  }

  .letterhead-logo {
    top: 15px;
    left: 15px;
    max-width: 150px;
    padding: 10px;
  }

  .letterhead-company {
    font-size: 1rem;
  }

  .letterhead-tagline {
    font-size: 0.65rem;
  }

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .service-card {
    padding: 2rem;
  }

  .contact-form-container {
    padding: 2rem;
  }

  .office-popup-content {
    padding: 1.5rem;
    margin: 0.5rem;
  }

  .office-popup-header h3 {
    font-size: 1.3rem;
  }

  .office-popup-close {
    top: 0.5rem;
    right: 1rem;
    font-size: 1.5rem;
  }

  .letterhead-logo {
    top: 15px;
    left: 15px;
    max-width: 200px;
    padding: 0;
  }

  .letterhead-company {
    font-size: 1.1rem;
    font-weight: 700;
  }

  .letterhead-tagline {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .letterhead-logo {
    top: 10px;
    left: 10px;
    max-width: 150px;
    padding: 0;
  }

  .letterhead-company {
    font-size: 0.95rem;
    font-weight: 700;
  }

  .letterhead-tagline {
    font-size: 0.6rem;
  }
}
