/* ============================================================================
   WHOLEVOLT - Advanced Clean Energy Platform
   ============================================================================ */

:root {
  /* Primary Colors */
  --primary: #0052cc;
  --primary-light: #4c7fff;
  --primary-dark: #003da5;

  /* Accent Colors */
  --accent-teal: #00d9d9;
  --accent-success: #00b383;
  --accent-warning: #ff9500;
  --accent-danger: #ff4444;

  /* Light Mode */
  --bg-primary-light: #ffffff;
  --bg-secondary-light: #f8fafb;
  --bg-tertiary-light: #f0f2f5;
  --text-primary-light: #0a0e27;
  --text-secondary-light: #64748b;
  --border-light-mode: #e2e8f0;

  /* Dark Mode */
  --bg-primary-dark: #0f1419;
  --bg-secondary-dark: #1a1f2e;
  --bg-tertiary-dark: #252b3a;
  --text-primary-dark: #f1f5f9;
  --text-secondary-dark: #cbd5e1;
  --border-dark-mode: #334155;

  /* Current Mode (Light by default) */
  --bg-primary: var(--bg-primary-light);
  --bg-secondary: var(--bg-secondary-light);
  --bg-tertiary: var(--bg-tertiary-light);
  --text-primary: var(--text-primary-light);
  --text-secondary: var(--text-secondary-light);
  --border-color: var(--border-light-mode);

  /* Typography */
  --font-family: "Times New Roman", Times, serif;
  --font-display: "Times New Roman", Times, serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode styles */
body.dark-mode {
  --bg-primary: var(--bg-primary-dark);
  --bg-secondary: var(--bg-secondary-dark);
  --bg-tertiary: var(--bg-tertiary-dark);
  --text-primary: var(--text-primary-dark);
  --text-secondary: var(--text-secondary-dark);
  --border-color: var(--border-dark-mode);
}

/* ============================================================================
   Global Styles
   ============================================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color var(--transition), color var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* ============================================================================
   Floating Navigation (Pill/Capsule Style)
   ============================================================================ */

.floating-navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 0.75rem 2rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all var(--transition);
}

body.dark-mode .floating-navbar {
  background: rgba(15, 20, 25, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  margin-right: 0.5rem;
}

/* .footer-logo {
  width: 300px;
  height: auto;
  display: block;
  margin-bottom: rem;
} */

.footer-logo {
  width: 300px !important;
  height: auto !important;
  border: 2px;
}


.brand-icon {
  font-size: 1.25rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all var(--transition);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  width: 100%;
}

/* Theme toggle button */
.theme-toggle {
  background: rgba(0, 82, 204, 0.1);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition);
}

.theme-toggle:hover {
  background: rgba(0, 82, 204, 0.2);
  transform: scale(1.1);
}

body.dark-mode .theme-toggle {
  background: rgba(0, 217, 217, 0.1);
  color: var(--accent-teal);
}

/* ============================================================================
   AI Assistant Chatbot
   ============================================================================ */

.ai-assistant {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.assistant-toggle {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  border-radius: 50px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 82, 204, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
}

.assistant-toggle:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 82, 204, 0.4);
}

.assistant-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  height: 500px;
  background: var(--bg-primary);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8) translateY(20px);
  transition: all var(--transition);
  border: 1px solid var(--border-color);
}

.ai-assistant.active .assistant-panel {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.assistant-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.assistant-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition);
}

.close-btn:hover {
  color: var(--text-primary);
}

.assistant-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.message {
  display: flex;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.bot-message {
  justify-content: flex-start;
}

.bot-message p {
  background: var(--bg-secondary);
  padding: 0.75rem 1rem;
  border-radius: 15px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  max-width: 85%;
}

.user-message {
  justify-content: flex-end;
}

.user-message p {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 15px;
  font-size: 0.875rem;
  max-width: 85%;
}

.assistant-input-area {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 0.5rem;
}

.assistant-input {
  flex: 1;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-family);
  font-size: 0.875rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
  transition: all var(--transition);
}

.assistant-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-primary);
}

.send-btn {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all var(--transition);
}

.send-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

/* ============================================================================
   Section Headers with Capsule Style
   ============================================================================ */

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

.section-capsule {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent-teal));
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0, 82, 204, 0.25);
  animation: slideInUp 0.6s ease-out;
}

.section-capsule:hover {
  border-color: rgba(0, 82, 204, 0.4);
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.15), rgba(0, 217, 217, 0.15));
}

body.dark-mode .section-capsule {
  border-color: rgba(0, 217, 217, 0.3);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================================
   Hero Section
   ============================================================================ */

.hero {
  padding: 150px var(--spacing-lg) 60px;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  margin-top: 0;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-capsule {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.1), rgba(0, 217, 217, 0.1));
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 82, 204, 0.2);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: var(--font-family);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 10px 30px rgba(0, 82, 204, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 82, 204, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background: rgba(0, 82, 204, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 82, 204, 0.2);
}

.btn-secondary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--border-color);
  color: var(--text-primary);
}

.btn-full {
  width: 100%;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 350px;
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
}

.card-visual {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  color: white;
}

.card-1 {
  animation: float 4s ease-in-out infinite;
}

.card-2 {
  animation: float 4s ease-in-out 1s infinite;
  background: linear-gradient(135deg, var(--accent-teal) 0%, #00b383 100%);
}

.visual-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.visual-label {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.visual-value {
  font-size: 2.5rem;
  font-weight: 700;
}

.visual-icon {
  font-size: 2rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-visuals {
  position: relative;
  height: 400px;
}

.floating-card {
  position: absolute;
  background: var(--bg-tertiary);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.card-1 {
  top: 50px;
  left: 0;
  animation-delay: 0s;
}

.card-2 {
  bottom: 50px;
  right: 0;
  animation-delay: 1s;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.card-value {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================================
   Section Styles
   ============================================================================ */

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

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* ============================================================================
   Overview Section
   ============================================================================ */

.overview {
  padding: 6rem var(--spacing-lg);
  background: var(--bg-primary);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.overview-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all var(--transition);
}

.overview-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.card-badge {
  display: inline-block;
  background: rgba(255, 68, 68, 0.1);
  color: var(--accent-danger);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.card-badge.accent {
  background: rgba(0, 217, 217, 0.1);
  color: var(--accent-teal);
}

.card-badge.success {
  background: rgba(0, 179, 131, 0.1);
  color: var(--accent-success);
}

.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-list li {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

.card-list strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================================================
   Solutions Section
   ============================================================================ */

.solutions {
  padding: 6rem var(--spacing-lg);
  background: var(--bg-secondary);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.solution-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.solution-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.solution-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.solution-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.solution-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.solution-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.1), rgba(0, 217, 217, 0.1));
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================================
   Values Section
   ============================================================================ */

.values {
  padding: 6rem var(--spacing-lg);
  background: var(--bg-primary);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, var(--bg-secondary), rgba(0, 82, 204, 0.05));
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================================================
   Team Section
   ============================================================================ */

.team {
  padding: 6rem var(--spacing-lg);
  background: var(--bg-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.team-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

  .team-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  margin: 0 auto 1.5rem auto;
  overflow: hidden;
  border: 4px solid var(--bg-primary);
  box-shadow: 0 8px 24px rgba(0, 82, 204, 0.3);
  }

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0052cc 0%, #00d9d9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: white;
}

.avatar-placeholder.ak-pathak::before {
  content: 'AK';
}

.avatar-placeholder.pardeep::before {
  content: 'PV';
}

.avatar-placeholder.shashank::before {
  content: 'AS';
}

.team-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.team-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.team-credentials {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.team-bio {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================================================
   Investment Section
   ============================================================================ */

.investment {
  padding: 6rem var(--spacing-lg);
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

.investment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.investment-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  transition: all var(--transition);
}

.investment-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.investment-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.featured {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  position: relative;
  overflow: hidden;
}

.featured h3,
.featured p {
  color: white;
}

.funding-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ============================================================================
   Footer Styles
   ============================================================================ */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
  color: var(--text-primary);
}

.footer-top {
  padding: 3rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-column a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-column ul {
  list-style: none;
}

.pdf-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all var(--transition);
}

.pdf-link:hover {
  background: rgba(0, 82, 204, 0.1);
  color: var(--primary);
  padding-left: 0.75rem;
}

.footer-divider {
  height: 1px;
  background: var(--border-color);
  margin: 2rem 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.875rem;
  gap: 2rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-left p {
  margin: 0;
}

.footer-left strong {
  color: var(--primary);
  font-weight: 700;
}

.footer-certificate {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-style: italic;
}

.footer-right {
  text-align: right;
}

.footer-right p {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 500;
}

.contact {
  padding: var(--spacing-2xl) 0;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 217, 217, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact > .container {
  position: relative;
  z-index: 1;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: transparent;
}

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

/* Contact Form Styling */
.contact-form-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 82, 204, 0.08);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  background: var(--bg-primary);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 0.875rem 1rem;
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--text-primary);
  transition: all var(--transition);
  background-clip: padding-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-secondary);
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.form-submit-btn {
  width: 100%;
  padding: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  display: none;
  font-weight: 600;
}

.form-status.success {
  display: block;
  background: rgba(0, 179, 131, 0.1);
  color: var(--accent-success);
  border: 1px solid var(--accent-success);
}

.form-status.error {
  display: block;
  background: rgba(255, 68, 68, 0.1);
  color: var(--accent-danger);
  border: 1px solid var(--accent-danger);
}

/* Map Container Styling */
.map-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 82, 204, 0.08);
  margin-bottom: 2rem;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 350px;
}

/* Certificate Section */
.certificate-section {
  text-align: center;
}

.certificate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 10px 30px rgba(0, 82, 204, 0.3);
  width: 100%;
}

.certificate-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 82, 204, 0.4);
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  animation: fadeIn var(--transition);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.modal-content {
  background: var(--bg-primary);
  border-radius: 20px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--text-primary);
  cursor: pointer;
  z-index: 100;
  transition: all var(--transition);
}

.modal-close:hover {
  color: var(--primary);
  transform: scale(1.2);
}

.modal-header {
  padding: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.certificate-preview {
  padding: 2rem;
  min-height: 400px;
  background: var(--bg-secondary);
}

.certificate-info {
  padding: 2rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.certificate-info p {
  margin: 0.75rem 0;
  color: var(--text-secondary);
}

.contact-left {
  display: block;
}

.contact-right {
  display: block;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 12px;
  transition: all var(--transition);
}

.info-item:hover {
  background: var(--bg-tertiary);
  transform: translateX(5px);
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.info-item a {
  color: var(--primary);
  text-decoration: none;
  transition: all var(--transition);
}

.info-item a:hover {
  text-decoration: underline;
}

.info-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}
