/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Executive Navy & Gold Theme Colors */
  --primary-blue: #c5a059; /* Gold accent */
  --primary-blue-hover: #b48e47; /* Darker Gold for hover */
  --dark-slate: #07162c; /* Navy blue */
  --text-main: #f3f4f6; /* Off-white for high contrast on dark bg */
  --text-muted: #9ca3af; /* Muted light gray */
  
  /* Backgrounds */
  --bg-page: #040e1a; /* Dark Navy page background */
  --bg-card: #0a213d; /* Lighter Navy card background */
  --bg-header: rgba(4, 14, 26, 0.95); /* Semi-transparent header */
  
  /* Fallback aliases for other layout references */
  --primary-color: var(--primary-blue);
  --accent-color: var(--primary-blue-hover);
  
  /* Borders and Shadows */
  --border-subtle: rgba(197, 160, 89, 0.2); /* Subtle Gold border */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 20px 25px -5px rgba(197, 160, 89, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
  
  --font-main: 'Montserrat', system-ui, -apple-system, sans-serif;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Accounts for fixed header */
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header & Nav */
header {
  background: transparent;
  color: var(--text-main);
  padding: 12px 48px 12px 80px; /* Increased left padding */
  height: 80px;
  display: flex;
  justify-content: flex-start;
  gap: 4rem; /* Significantly increased gap to account for logo scale */
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  background: var(--bg-header);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  transition: all 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  padding: 2px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(197, 160, 89, 0.3); /* Subtle gold border to tie into theme */
  height: 64px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  overflow: hidden;
}

.logo:hover {
  box-shadow: 0 6px 16px rgba(197, 160, 89, 0.25);
  transform: translateY(-1px);
}

.logo img {
  width: auto;
  height: 60px; /* Clean height to fit within 64px wrapper */
  max-width: none;
  object-fit: contain;
  display: block;
  transform: scale(1.1); /* Compensates for transparent padding in the image file */
  transform-origin: center;
}

@media (max-width: 768px) {
  header {
    position: static !important; /* Remove fixed positioning on mobile to prevent overlapping content */
    padding: 15px 20px;
    height: auto;
    gap: 1.2rem;
    flex-direction: column; /* Stacks logo and nav links neatly on mobile */
    align-items: center;
    background: var(--bg-card); /* Solid background on mobile */
  }
  
  .logo {
    height: 52px;
    padding: 2px 10px;
  }

  .logo img {
    height: 48px;
    max-width: 140px;
    transform: scale(1.05);
    transform-origin: center;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  nav a {
    margin: 0 5px;
    font-size: 14px;
  }
}

nav {
  display: flex;
  align-items: center;
  /* removing gap to use margins on nav a */
}

nav a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  margin: 0 20px;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-blue);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--primary-blue);
}

nav a:hover::after {
  width: 100%;
}

/* Dropdown Navigation */
.dropdown {
  position: relative;
  display: inline-block;
  margin: 0;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--bg-card);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-md);
  z-index: 100;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 0;
}
.dropdown-content a {
  color: var(--text-main);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  display: block;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.dropdown-content a::after {
  display: none;
}
.dropdown-content a:hover {
  background-color: rgba(197, 160, 89, 0.1);
  color: var(--primary-blue);
}
.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  min-height: 65vh;
}

/* Typography */
h1, h2, h3, h4 {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
}

.hero {
  text-align: center;
  padding: 5rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-blue);
  color: #ffffff;
  padding: 0.875rem 2rem;
  border-radius: 50px; /* pill shape for modern look */
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.button:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}

/* Sections & Grid */
.info-section {
  margin: 6rem 0;
}

.info-section h2 {
  text-align: center;
  font-size: 2.25rem;
  margin: 0 auto 3rem auto;
  position: relative;
  display: block;
  width: fit-content;
}

.info-section h2::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--primary-blue);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Service Row Layout */
.service-row {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.service-row.reverse {
  flex-direction: row-reverse;
}

.service-content {
  flex: 1;
}

.service-image {
  flex: 1;
}

@media (max-width: 768px) {
  .service-row, .service-row.reverse {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Cards */
.card {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), #fff3d1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
}

ul {
  padding-left: 1.2rem;
  color: var(--text-muted);
}

ul li {
  margin-bottom: 0.5rem;
}

/* Links */
a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-blue-hover);
}

/* Dark Theme Footer */
footer {
  background-color: var(--bg-card); /* Dark Navy card background */
  color: #e2e8f0;
  padding: 4rem 0 0; /* No bottom padding since bottom bar has it */
  margin-top: 4rem;
  font-size: 0.95rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 3rem 2rem;
  text-align: left;
}


.footer-column h3 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.footer-links li::before {
  content: '›';
  color: var(--primary-blue);
  margin-right: 0.6rem;
  font-size: 1.2rem;
  font-weight: bold;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact p {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  color: #cbd5e1;
  line-height: 1.6;
}

.footer-contact .icon {
  margin-right: 0.75rem;
  margin-top: 0.1rem;
  font-size: 1rem;
}

.footer-bottom {
  background-color: var(--bg-page);
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border-subtle);
  color: #94a3b8;
  font-size: 0.85rem;
}

.footer-socials {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
}

.footer-socials a:hover {
  color: #ffffff;
  border-color: #cbd5e1;
  background-color: rgba(255, 255, 255, 0.05);
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom strong {
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

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

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

.animate-fade-in {
  animation: fadeIn 0.8s ease both;
}

.animate-slide-up {
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Forms */
.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-main);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text-main);
  background-color: var(--bg-page);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

/* Complex Hero Section */
.hero-complex {
  position: relative;
  width: 100%;
  background-color: var(--bg-page);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-content {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem 2rem; /* Extra padding at top for header, bottom reduced */
  gap: 4rem;
}

.hero-text-side {
  flex: 1.2;
}

.hero-heading {
  font-size: 2.8rem;
  line-height: 1.25;
  margin-bottom: 1.2rem;
  color: #ffffff;
  font-weight: 800;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--primary-blue);
  margin-bottom: 2rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
}

.hero-features li {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.check-icon {
  color: #040e1a;
  background: var(--primary-blue); /* Gold checkmark background */
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-right: 12px;
  font-size: 0.7rem;
  font-weight: bold;
}

.hero-btn {
  background-color: var(--primary-blue);
  color: #040e1a !important;
  font-weight: 700;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 8px; /* Slightly squarer for corporate look */
}

.hero-image-side {
  flex: 0.8;
  position: relative;
  max-width: 500px;
  margin-left: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: var(--border-radius-lg);
  border: 10px solid white;
  overflow: hidden;
  transform: perspective(1000px) rotateY(-15deg);
  transition: transform 0.5s ease;
}

.hero-image-side:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.hero-slider-track {
  display: flex;
  width: 300%;
  animation: slideBanner 12s infinite ease-in-out;
}

.hero-slide {
  width: 33.33333%;
}

@keyframes slideBanner {
  0%, 40% { transform: translateX(0); }
  50%, 90% { transform: translateX(-33.33333%); }
  100% { transform: translateX(-66.66666%); }
}

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

/* Red Ticker Banner */
.ticker-banner {
  background-color: #dc2626; /* Bright Red */
  color: white;
  padding: 14px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  display: flex;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 2.5px;
  font-size: 1rem;
  z-index: 10;
}

.ticker-content {
  display: flex;
  animation: scrollTicker 30s linear infinite;
}

.ticker-content span {
  padding-right: 50px;
}

@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    padding-top: 3rem !important; /* Reduced top padding since header is static */
    padding-bottom: 4rem !important;
    text-align: center;
  }
  .hero-heading {
    font-size: 2.2rem;
  }
  .hero-features li {
    justify-content: center;
  }
  .building-img {
    transform: none;
  }
}

/* Custom Grid for 3 Columns */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Premium Profile Cards Styling */
.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-page) 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.profile-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-blue), #ffd700, var(--primary-blue-hover));
  opacity: 0.8;
}

.profile-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(197, 160, 89, 0.15);
  border-color: var(--primary-blue);
}

.profile-placeholder {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin-bottom: 1.8rem;
  background: linear-gradient(135deg, var(--bg-page) 0%, var(--bg-card) 100%);
  border: 4px solid var(--bg-card);
  box-shadow: 0 8px 16px rgba(197, 160, 89, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.profile-placeholder::before {
  content: '👤';
  font-size: 3.5rem;
  opacity: 0.5;
  position: absolute;
}

/* Hide emoji when a real photo is present */
.profile-placeholder:has(img)::before {
  display: none;
}

.profile-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

.profile-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.profile-card .role {
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 1.8rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: rgba(197, 160, 89, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
}

.profile-info {
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  width: 100%;
  box-sizing: border-box;
}

.profile-info p {
  margin-bottom: 1rem;
}

.profile-info p strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-info p:last-child {
  margin-bottom: 0;
}

/* Icon Grid for Sub-Products */
.sub-products {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border-subtle);
}

.sub-products strong {
  display: block;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
}

.icon-grid li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.icon-grid li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-size: 0.8rem;
}

/* Testimonial Circular Slider */
.testimonial-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0 2rem 0;
}

/* Gradient masks for smooth fading at the edges */
.testimonial-slider-container::before,
.testimonial-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.testimonial-slider-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-page) 0%, transparent 100%);
}

.testimonial-slider-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-page) 0%, transparent 100%);
}

.testimonial-slider-track {
  display: flex;
  width: max-content;
  animation: slideTestimonials 40s linear infinite;
  gap: 2rem;
  padding: 0 1rem;
}

/* Pause animation when user hovers to read */
.testimonial-slider-track:hover {
  animation-play-state: paused;
}

.testimonial-slider-track .card {
  width: 350px;
  flex-shrink: 0;
  white-space: normal;
  /* Override any previous grid slide up animations so they don't break the flex track */
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

@keyframes slideTestimonials {
  0% { transform: translateX(0); }
  /* Translate exactly 50% of the track (which equals the 6 original cards + gaps) */
  100% { transform: translateX(calc(-50% - 1rem)); }
}

/* --- Home Page Enhancements --- */

/* Core Expertise Cards */
.service-card-modern {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-hover));
  padding: 3rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid var(--primary-blue-hover);
  color: #040e1a !important; /* Dark navy text */
}

.service-card-modern h3 {
  color: #040e1a !important; /* Dark navy title */
  font-weight: 800 !important;
  margin-top: 0.5rem;
}

.service-card-modern p {
  color: #0c1a2d !important; /* Dark navy description text for readability */
}

.service-card-modern a {
  color: #040e1a !important; /* Dark navy link text */
  font-weight: 700 !important;
  border-bottom: 2px solid #040e1a;
  padding-bottom: 2px;
}

.service-card-modern a:hover {
  color: #0c1a2d !important;
  border-color: #0c1a2d;
}

.service-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(197, 160, 89, 0.35);
  border-color: #ffffff;
}

.service-card-modern .icon-wrapper {
  transition: transform 0.3s ease;
}

.service-card-modern:hover .icon-wrapper {
  transform: scale(1.1);
}

/* Trust Indicators */
.trust-indicators .grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) {
  .trust-indicators .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .trust-indicators .grid-4 {
    grid-template-columns: 1fr;
  }
}
.trust-stat {
  padding: 1rem;
}

/* Partner Marquee */
.partner-marquee-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--bg-page) 0%, var(--bg-card) 50%, var(--bg-page) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.partner-marquee-section .section-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 0 2rem;
}
.partner-marquee-section .section-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0 0 0.5rem 0;
}
.partner-marquee-section .section-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.marquee-container::before, .marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-page) 0%, transparent 100%);
}
.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-page) 0%, transparent 100%);
}
@keyframes scrollRightToLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-content {
  display: flex;
  width: max-content;
  animation: scrollRightToLeft 30s linear infinite;
  gap: 2rem;
  align-items: center;
  padding: 1rem 0;
}
.marquee-content:hover {
  animation-play-state: paused;
}
.partner-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  min-width: 160px;
  height: 90px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.partner-logo-card:hover {
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.15);
  border-color: var(--primary-blue);
  transform: translateY(-3px);
}
.partner-logo-card img {
  max-width: 130px;
  max-height: 55px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(2) opacity(0.85);
  transition: filter 0.3s ease;
}
.partner-logo-card:hover img {
  filter: grayscale(0%) opacity(1);
}
.partner-logo-card .bank-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
/* Legacy text-only logo support */
.partner-logo {
  font-size: 2.5rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: -1px;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.partner-logo:hover {
  color: var(--primary-blue);
}
.marquee-icon {
  flex-shrink: 0;
  width: 1.5em;
  height: 1.5em;
  color: var(--primary-blue);
  opacity: 0.7;
}

/* Final CTA Banner */
.final-cta {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-slate));
  color: white;
  text-align: center;
  padding: 6rem 2rem;
}
.final-cta .cta-content {
  max-width: 700px;
  margin: 0 auto;
}
.final-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
}
.final-cta p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}
.cta-button {
  background: var(--primary-blue) !important;
  color: #040e1a !important;
  font-weight: 700 !important;
  padding: 1.2rem 3rem !important;
  font-size: 1.1rem !important;
  border-radius: 50px !important;
  display: inline-block;
  transition: all 0.3s ease;
}
.cta-button:hover {
  background: var(--primary-blue-hover) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3) !important;
}
