/* Reset & Base Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-sky: #00a8e8;
  --deep-sky: #0077b6;
  --soft-ice: #e0f2fe;
  --glass-bg: rgba(255, 255, 255, 0.18);
  --glass-card-bg: rgba(255, 255, 255, 0.22);
  --glass-border: rgba(255, 255, 255, 0.4);
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --brand-navy: #000080; /* Deep rich navy blue for brand from your image */
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 50%, #0369a1 100%);
  color: var(--text-primary);
  position: relative;
  overflow-x: hidden;
  padding: 2rem 1rem;
}

/* Background Animated Gradient Orbs */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.7;
  animation: floatOrb 12s infinite ease-in-out alternate;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: #7dd3fc;
  top: 10%;
  left: 15%;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: #38bdf8;
  bottom: 10%;
  right: 15%;
  animation-delay: -4s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: #e0f2fe;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -8s;
}

@keyframes floatOrb {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-40px) scale(1.1); }
}

/* Main Glassmorphic Wrapper */
.glass-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  animation: slideUpFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(35px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Header Section */
.header {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeIn 1s ease-out 0.2s backwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Top Center Company Brand Styling (Recreated from your image) */
.logo-wrapper {
  display: flex;
  flex-direction: column; /* Stack name and logo vertically */
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.company-name {
  font-weight: 900;
  color: var(--brand-navy);
  font-size: clamp(2.5rem, 5vw, 4rem); /* Very big responsive size */
  text-transform: uppercase;
  letter-spacing: 0.1em; /* Increased spacing for big text */
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease;
  animation: fadeIn 1s ease-out 0.15s backwards; /* Slightly delayed entrance */
}

.company-name:hover {
  transform: scale(1.03);
}

.company-logo {
  max-width: 250px; /* Adjust size as needed */
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s ease;
  margin-top: 1rem; /* Space below the company name */
  animation: fadeIn 1s ease-out 0.3s backwards; /* Slightly delayed entrance */
}

.company-logo:hover {
  transform: scale(1.05);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0369a1;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #0284c7;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(2, 132, 199, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

.header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 1.05rem;
  color: #f0f9ff;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Offices Grid */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.office-card:nth-child(1) {
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s backwards;
}

.office-card:nth-child(2) {
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
}

/* Individual Glass Office Cards */
.office-card {
  background: var(--glass-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.office-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

.office-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0c4a6e;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.office-details {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.office-details p {
  margin-bottom: 0.4rem;
}

.office-details .location {
  margin-bottom: 1rem;
}

.office-details strong {
  color: #0f172a;
}

.office-details a {
  color: #0284c7;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.office-details a:hover {
  color: #0369a1;
  text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
  .glass-card {
    padding: 2rem 1.5rem;
  }
  
  .office-card {
    padding: 1.5rem;
  }

  .company-name {
    font-size: 2.2rem; /* Reduce big font on small screens */
  }

  .company-logo {
    max-width: 180px; /* Reduce logo size on small screens */
  }
}