/* Global Brand Connect - Fixed and Working CSS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: #1e3557;
  line-height: 1.6;
  min-height: 100vh;
}

/* ===== COLORS ===== */
:root {
  --primary: #0078D7;
  --primary-dark: #005A9E;
  --secondary: #3FB2AC;
  --background: #ffffff;
  --text: #1e3557;
  --text-light: #64748b;
  --border: #e2e8f0;
  --muted-bg: #f8fafc;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.5rem;
  padding: 0 1rem;
}

.navbar-logo img {
  height: 4.5rem;
  width: auto;
}

.navbar-links {
  display: none;
  gap: 0.5rem;
}

.navbar-links a {
  padding: 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.navbar-links a:hover {
  background: var(--muted-bg);
  color: var(--primary);
}

.mobile-menu-button {
  display: flex;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0.375rem;
}

.mobile-menu-button:hover {
  background: var(--muted-bg);
}

.mobile-menu-button svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 0.75rem 1rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.mobile-menu a:hover {
  background: var(--muted-bg);
}

/* ===== MAIN CONTENT ===== */
main {
  margin-top: 5.5rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: white;
  overflow: hidden;
}

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

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-background .desktop {
  display: none;
}

.hero-content-main {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
  padding-top: 4rem;
}

.hero-heading {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  animation: fadeIn 0.8s ease-in;
}

.hero-bottom {
  position: relative;
  z-index: 10;
  padding-bottom: 2rem;
}

.hero-tagline {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  opacity: 0.9;
  animation: fadeIn 0.8s ease-in 0.2s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 0.8s ease-in 0.4s both;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 56rem;
  margin: 0 auto 2rem;
  animation: fadeIn 0.8s ease-in 0.6s both;
}

.hero-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, white, transparent);
  z-index: 5;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 120, 215, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid white;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: white;
  color: var(--primary);
  border: 2px solid white;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.9);
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.bg-muted {
  background: var(--muted-bg);
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.bg-gradient-light {
  background: linear-gradient(to bottom right, rgba(0, 120, 215, 0.05), rgba(63, 178, 172, 0.05));
}

/* ===== CARDS ===== */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.card-content {
  padding: 2rem;
}

.card-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 3rem;
  height: 3rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-align: center;
}

.card-description {
  color: var(--text-light);
  text-align: center;
  line-height: 1.6;
}

/* ===== GRIDS ===== */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

/* ===== STRENGTH ITEMS ===== */
.strength-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(to bottom right, rgba(0, 120, 215, 0.05), rgba(63, 178, 172, 0.05));
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.strength-item svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.strength-item span {
  font-size: 1.125rem;
  font-weight: 600;
}

/* ===== PARTNERS ===== */
.partner-badge {
  background: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  display: inline-block;
}

.brands-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  margin-bottom: 3rem;
}

.brands-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}

.brands-image:hover img {
  transform: scale(1.05);
}

/* ===== OFFICE CARDS ===== */
.office-card {
  text-align: center;
  padding: 2rem;
}

.office-flag {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.office-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.office-subtitle {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.office-address {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: white;
  padding: 3rem 0 2rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
}

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

.footer a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer a:hover {
  opacity: 1;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.hidden { display: none; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.mx-auto { margin: 0 auto; }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
  .navbar-container {
    height: 6.5rem;
  }
  
  .navbar-logo img {
    height: 5.5rem;
  }
  
  main {
    margin-top: 6.5rem;
  }
  
  .hero-background .desktop {
    display: block;
  }
  
  .hero-background .mobile {
    display: none;
  }
  
  .hero-content-main {
    padding-top: 0;
  }
  
  .hero-heading {
    font-size: 4rem;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 3rem;
  }
  
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
  
  .hero-buttons .btn {
    width: auto;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .navbar-links {
    display: flex;
  }
  
  .mobile-menu-button {
    display: none;
  }
  
  .hero-heading {
    font-size: 5rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .hero-heading {
    font-size: 6rem;
  }
}
