/*
Theme Name: A3 Leadership Group
Theme URI: http://a3leadership.eicoat.in/
Author: Antigravity AI
Author URI: https://deepmind.google/
Description: A premium, fast, custom WordPress theme designed for A3 Leadership Group, incorporating custom animations, glassmorphism, responsive timelines, and accordions.
Version: 1.0.0
Text Domain: a3-leadership
*/

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@300;400;600;700&family=Urbanist:wght@400;500;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
  --primary: #00A8BC;
  --primary-hover: #008C9C;
  --dark: #08363B;
  --dark-hover: #052326;
  --light-bg: #F4F8F9;
  --accent-bg: #EDF9FC;
  --text: #334E51;
  --text-light: #627F82;
  --white: #FFFFFF;
  --border: #E2ECEF;
  --shadow-sm: 0 2px 8px rgba(8, 54, 59, 0.04);
  --shadow-md: 0 8px 24px rgba(8, 54, 59, 0.06);
  --shadow-lg: 0 16px 40px rgba(8, 54, 59, 0.08);
  --font-title: 'Urbanist', sans-serif;
  --font-body: 'Mulish', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

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

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

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

/* --- Helper Classes --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

.bg-light {
  background-color: var(--light-bg);
}

.bg-accent {
  background-color: var(--accent-bg);
}

.bg-dark {
  background-color: var(--dark);
  color: var(--white);
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 {
  color: var(--white);
}

/* --- Image Containers with Zoom --- */
.zoom-img-container {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background: var(--white);
  padding: 6px;
}

.zoom-img-container img {
  width: 100%;
  border-radius: calc(var(--radius-md) - 6px);
  transition: transform 0.5s ease;
}

.zoom-img-container:hover img {
  transform: scale(1.03);
}

/* --- Animations & Effects --- */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

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

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

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

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-title);
  font-weight: 600;
  border-radius: var(--radius-sm);
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 8px;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 168, 188, 0.25);
}

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

.btn-secondary:hover {
  background-color: var(--accent-bg);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.bg-dark .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.bg-dark .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo a {
  display: flex;
  align-items: center;
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  gap: 8px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
}

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

.nav-menu a {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  position: relative;
  padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
  color: var(--primary);
}

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

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
  width: 100%;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--dark);
  margin-bottom: 5px;
  transition: var(--transition);
}

.mobile-nav-toggle span:last-child {
  margin-bottom: 0;
}

/* --- Centered Page Heroes with Image & Overlay --- */
.page-hero {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8, 54, 59, 0.92) 0%, rgba(8, 54, 59, 0.75) 100%);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(32px, 3.5vw, 46px);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.page-hero p {
  color: #CADBDD;
  max-width: 800px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.6;
}

/* --- Hero Banner --- */
.hero-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background-color: var(--white);
}

.hero-section.hero-with-bg {
  padding: 140px 0;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero-section.hero-with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8, 54, 59, 0.92) 0%, rgba(8, 54, 59, 0.75) 100%);
  z-index: 1;
}

.hero-section.hero-with-bg .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(36px, 4vw, 52px);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-section.hero-with-bg h1 {
  color: var(--white);
}

.hero-content p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 32px;
}

.hero-section.hero-with-bg p {
  color: #CADBDD;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-credibility {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.hero-section.hero-with-bg .hero-credibility {
  color: #849A9C;
  border-top-color: rgba(255, 255, 255, 0.1);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-badge {
  background-color: rgba(0, 168, 188, 0.15);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  display: inline-block;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 168, 188, 0.3);
}

/* --- Carousel Auto Slider --- */
.achieve-slider-container {
  position: relative;
  max-width: 1100px;
  margin: 48px auto 0;
  padding: 0 50px;
}

.achieve-slider-wrapper {
  overflow: hidden;
  width: 100%;
}

.achieve-slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  gap: 30px;
}

.achieve-slide {
  flex: 0 0 calc(33.333% - 20px);
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .achieve-slide {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 767px) {
  .achieve-slide {
    flex: 0 0 100%;
  }
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  z-index: 10;
  outline: none;
}

.slider-arrow:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.prev-arrow { left: -5px; }
.next-arrow { right: -5px; }

/* --- WhatsApp Float Widget --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: #25D366;
  color: var(--white) !important;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  z-index: 9999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background-color: #20BA5A;
  color: var(--white) !important;
}

/* --- Flexbox Card Grids (Balanced & Centered) --- */
.services-flex-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 48px;
}

.services-flex-grid .card {
  flex: 0 1 calc(33.333% - 20px);
  min-width: 280px;
}

@media (max-width: 991px) {
  .services-flex-grid .card {
    flex: 0 1 calc(50% - 15px);
  }
}

@media (max-width: 767px) {
  .services-flex-grid .card {
    flex: 0 1 100%;
  }
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 48px;
}

.card {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}

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

.card-icon {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 24px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.card p {
  color: var(--text-light);
  font-size: 15px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-title);
  gap: 6px;
}

/* --- Timelines --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 48px auto 0;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 31px;
  width: 2px;
  background-color: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 80px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 20px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--white);
  border: 6px solid var(--primary);
  z-index: 2;
  transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
  background-color: var(--primary);
}

.timeline-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--text-light);
  font-size: 15px;
}

/* --- Table styling --- */
.compare-table-wrapper {
  overflow-x: auto;
  margin-top: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: var(--white);
}

.compare-table th {
  background-color: var(--dark);
  color: var(--white);
  padding: 18px 24px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 16px;
}

.compare-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:nth-child(even) {
  background-color: var(--light-bg);
}

/* --- FAQ Accordion --- */
.accordion {
  max-width: 800px;
  margin: 48px auto 0;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 10px 0;
  text-align: left;
  cursor: pointer;
}

.accordion-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 18px;
  color: var(--dark);
}

.accordion-icon {
  font-size: 16px;
  color: var(--primary);
  transition: var(--transition);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-content p {
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-light);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

/* --- Highlighted Info Box --- */
.highlight-box {
  background-color: var(--accent-bg);
  border-left: 4px solid var(--primary);
  padding: 32px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  height: 100%;
}

.highlight-box h3 {
  margin-bottom: 16px;
}

.highlight-box ul {
  list-style: none;
}

.highlight-box li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 15px;
}

.highlight-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* --- Biography Sections --- */
.bio-section {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: flex-start;
  margin-top: 48px;
}

.bio-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 100%;
}

.bio-credentials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.bio-badge {
  background-color: var(--accent-bg);
  color: var(--primary-hover);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.bio-content h3 {
  font-size: 26px;
  margin-bottom: 6px;
}

.bio-content h4 {
  font-size: 15px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 24px;
}

/* --- ICEF Domains Interactive Section --- */
.icef-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.icef-tab-btn {
  background-color: var(--light-bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.icef-tab-btn.active, .icef-tab-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.icef-tab-pane {
  display: none;
  background-color: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.icef-tab-pane.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

/* --- Forms & Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  margin-top: 48px;
}

.contact-card-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.selectable-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.selectable-card.selected {
  border-color: var(--primary);
  background-color: var(--accent-bg);
}

.selectable-card h4 {
  font-size: 15px;
  margin-bottom: 8px;
}

.selectable-card p {
  font-size: 12px;
  color: var(--text-light);
}

.contact-form {
  background-color: var(--light-bg);
  padding: 40px;
  border-radius: var(--radius-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 168, 188, 0.15);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.form-check input {
  margin-top: 4px;
}

.form-check label {
  font-size: 13px;
  color: var(--text-light);
}

/* --- World Map / Map Graphic --- */
.world-map-container {
  position: relative;
  background-color: var(--dark);
  border-radius: var(--radius-md);
  padding: 40px;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.world-map-graphic {
  position: relative;
  height: 200px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-node {
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  border-radius: 50%;
  position: absolute;
  animation: pulse 2s infinite;
}

.map-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  width: 120px;
  transform: rotate(-15deg);
}

/* --- Banner CTA --- */
.banner-cta {
  text-align: center;
  padding: 80px 24px;
  border-radius: var(--radius-lg);
  background-color: var(--accent-bg);
  margin-top: 60px;
}

.banner-cta h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.banner-cta p {
  max-width: 650px;
  margin: 0 auto 32px;
  color: var(--text-light);
}

.banner-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* --- Contact Popup --- */
.contact-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(8, 54, 59, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.contact-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.contact-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  z-index: 10;
}

.contact-popup-close:hover {
  color: var(--primary);
}

/* --- Two-Column Contact Popup --- */
.contact-popup-card.two-column-popup {
  max-width: 880px;
  width: 95%;
  padding: 0;
  overflow: hidden;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.85);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.contact-popup-overlay.active .contact-popup-card.two-column-popup {
  transform: scale(1);
}

.popup-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.popup-image-side {
  background-color: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-right: 1px solid var(--border);
}

.popup-image-side img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
}

.popup-form-side {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popup-subtitle {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 800;
  color: #1b365d;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.popup-form-side h3 {
  font-size: 26px;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.popup-form-side p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 24px;
}

.popup-input {
  border-radius: 8px;
  border: 1.5px solid var(--border);
  padding: 12px 16px;
  font-size: 14px;
  background-color: var(--white);
  transition: var(--transition);
}

.popup-input:focus {
  border-color: #1b365d;
  box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.1);
}

.btn-popup-submit {
  background-color: #1b365d;
  color: var(--white);
  padding: 14px;
  border-radius: 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.btn-popup-submit:hover {
  background-color: #0d203a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27, 54, 93, 0.2);
}

/* --- Footer --- */
.site-footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 60px 0 30px;
  border-top: 1px solid var(--dark-hover);
}

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

.footer-logo {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-text {
  color: #CADBDD;
  font-size: 14px;
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 20px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #849A9C;
  font-size: 14px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(202, 219, 221, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: #849A9C;
  font-size: 13px;
}

/* --- Animations --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 168, 188, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(0, 168, 188, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 168, 188, 0); }
}

/* --- Responsive Media Queries --- */
@media (max-width: 991px) {
  .hero-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .bio-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .bio-image {
    max-width: 240px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .nav-menu {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .hero-buttons, .banner-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .popup-grid {
    grid-template-columns: 1fr;
  }
  
  .popup-image-side {
    display: none;
  }
  
  .popup-form-side {
    padding: 30px 24px;
  }
}
