/* 
   Ilfracombe Together - Core Stylesheet
   Premium brochure design system for community councillors group.
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Color Palette - Ocean-inspired Premium */
  --primary-deep: #0b1a30;      /* Deep Sea Navy */
  --primary-brand: #1a5fb4;     /* Coastal Blue */
  --primary-light: #2a7ade;     /* Bright Water */
  --accent-mint: #33d17a;       /* Seafoam Green */
  --accent-cyan: #00f2fe;       /* Neon Cyan */
  --bg-light: #f6f8fb;          /* Off-white Sand */
  --text-dark: #1e293b;         /* Slate dark body text */
  --text-muted: #64748b;        /* Cool grey body text */
  --white: #ffffff;
  
  /* Glassmorphism / Shadow effects */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(11, 26, 48, 0.08);
  --card-shadow: 0 10px 25px -5px rgba(11, 26, 48, 0.05), 0 8px 10px -6px rgba(11, 26, 48, 0.05);
  --hover-shadow: 0 20px 35px -5px rgba(11, 26, 48, 0.12), 0 10px 10px -5px rgba(11, 26, 48, 0.08);
  
  /* Transitions & Curves */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --border-radius: 16px;
  --border-radius-lg: 24px;
}

/* Base resets & styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary-deep);
  line-height: 1.25;
}

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

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

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

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-brand), var(--accent-cyan));
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Glassmorphic Components */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

/* Header & Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 26, 48, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  padding: 10px 0;
  background: var(--primary-deep);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.main-header.scrolled .nav-container {
  height: 60px;
}

.logo-wrapper a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
}

.logo-wrapper span {
  background: linear-gradient(90deg, var(--white), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-icon {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-brand), var(--accent-cyan));
  color: var(--white);
  font-size: 1.2rem;
}

.nav-logo-img {
  max-height: 48px;
  width: auto;
  background-color: var(--white);
  padding: 6px 14px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
  display: block;
}

.main-header.scrolled .nav-logo-img {
  max-height: 38px;
  padding: 4px 10px;
}

.footer-logo-img {
  width: 150px;
  height: 150px;
  background-color: var(--white);
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  display: inline-block;
  object-fit: contain;
}

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

.desktop-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--white);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: var(--transition-fast);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  width: 100%;
}

.desktop-nav a.btn-nav {
  padding: 10px 24px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--primary-brand), var(--primary-light));
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(26, 95, 180, 0.3);
}

.desktop-nav a.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 95, 180, 0.4);
}

.desktop-nav a.btn-nav::after {
  display: none !important;
}

/* Hamburger mobile menu button */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--primary-deep);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  z-index: 999;
  padding: 100px 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-nav-drawer a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-drawer a:hover,
.mobile-nav-drawer a.active {
  color: var(--accent-cyan);
}

/* Hero Section */
.hero-section {
  min-height: 90vh;
  background: linear-gradient(135deg, rgba(11, 26, 48, 0.95), rgba(11, 26, 48, 0.75)), url('../assets/ilfracombe_harbour_hero.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: var(--white);
  padding-top: 100px;
}

.hero-content {
  max-width: 700px;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-tagline {
  font-family: 'Outfit', sans-serif;
  color: var(--accent-cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: block;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-brand), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26, 95, 180, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(26, 95, 180, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

.btn-outline {
  border-color: var(--primary-brand);
  color: var(--primary-brand);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-brand);
  color: var(--white);
  transform: translateY(-3px);
}

/* Feature/Mission Grid */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.mission-card {
  padding: 40px 30px;
  border-radius: var(--border-radius);
  background: var(--white);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

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

.mission-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(26, 95, 180, 0.08);
  color: var(--primary-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  transition: var(--transition-smooth);
}

.mission-card:hover .mission-icon {
  background: var(--primary-brand);
  color: var(--white);
  transform: rotateY(180deg);
}

.mission-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.mission-card p {
  color: var(--text-muted);
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary-deep), #142846);
  color: var(--white);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cyan), var(--white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 5px;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Facebook Feed Integration Design */
.fb-feed-section {
  background: #f0f2f5; /* Light grey backdrop mimicking FB environment but clean */
}

.feed-container {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  align-items: start;
}

.feed-posts-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Custom Styled Facebook Post Card */
.fb-post-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.fb-post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.fb-post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-brand), var(--accent-cyan));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.fb-post-meta h4 {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.fb-post-meta span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.fb-post-content {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.fb-post-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  max-height: 350px;
}

.fb-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fb-post-actions {
  display: flex;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 8px 0;
  margin-bottom: 8px;
}

.fb-action-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 0;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.fb-action-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--primary-brand);
}

.fb-action-btn.active {
  color: var(--primary-brand);
}

.fb-post-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.fb-sidebar-card {
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
}

.fb-sidebar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.fb-sidebar-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  color: var(--text-dark);
  transition: var(--transition-fast);
  font-size: 1.1rem;
}

.social-icon:hover {
  background: var(--primary-brand);
  color: var(--white);
  transform: scale(1.1);
}

/* Initiatives Grid Page & Modal */
.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.initiative-card {
  overflow: hidden;
  border-radius: var(--border-radius);
  background: var(--white);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

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

.initiative-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.initiative-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.initiative-card:hover .initiative-img img {
  transform: scale(1.08);
}

.initiative-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, var(--accent-mint), #20a05a);
  color: var(--white);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
}

.initiative-tag.advocacy {
  background: linear-gradient(135deg, var(--primary-brand), var(--primary-light));
}

.initiative-tag.community {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.initiative-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.initiative-body h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.initiative-body p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
  flex-grow: 1;
}

.card-link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  align-self: flex-start;
  color: var(--primary-brand);
  cursor: pointer;
}

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

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 26, 48, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

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

.modal-content {
  background: var(--white);
  max-width: 600px;
  width: 90%;
  border-radius: var(--border-radius-lg);
  padding: 40px;
  position: relative;
  transform: translateY(30px);
  transition: var(--transition-smooth);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-light);
  border: none;
  font-size: 1.25rem;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: #e2e8f0;
}

.modal-header-section {
  margin-bottom: 20px;
}

.modal-header-section h3 {
  font-size: 1.75rem;
  margin-top: 10px;
}

.modal-details p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

.modal-meta-list {
  background: var(--bg-light);
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  list-style: none;
}

.modal-meta-list li {
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.modal-meta-list li:last-child {
  margin-bottom: 0;
}

.modal-meta-list strong {
  color: var(--primary-deep);
}

/* Councillors Page & Bio Cards */
.councillors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.councillor-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.councillor-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 4px solid var(--bg-light);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.councillor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.councillor-card h3 {
  font-size: 1.25rem;
  margin-bottom: 5px;
}

.councillor-role {
  color: var(--primary-brand);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.councillor-quote {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  position: relative;
  padding: 0 15px;
}

.councillor-quote::before,
.councillor-quote::after {
  content: '"';
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: rgba(26, 95, 180, 0.2);
  line-height: 0;
  position: absolute;
}

.councillor-quote::before {
  top: 5px;
  left: 0;
}

.councillor-quote::after {
  bottom: -5px;
  right: 0;
}

.councillor-contact {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Recruitment (Join Us) Section & Forms */
.recruitment-section {
  background: linear-gradient(135deg, rgba(26, 95, 180, 0.03), rgba(0, 242, 254, 0.03));
  border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.recruitment-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.recruitment-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.recruitment-info p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.requirements-list {
  list-style: none;
  margin-bottom: 30px;
}

.requirements-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.requirements-list li svg {
  color: var(--accent-mint);
  margin-top: 4px;
  flex-shrink: 0;
}

/* Custom Forms */
.form-card {
  padding: 40px;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--bg-light);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-brand);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Contact Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-detail-card {
  padding: 30px;
}

.contact-detail-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

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

.contact-detail-icon {
  width: 45px;
  height: 45px;
  background: rgba(26, 95, 180, 0.08);
  color: var(--primary-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-detail-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.map-container {
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 15px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Alert Notification Popups */
.custom-alert {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--white);
  border-left: 5px solid var(--accent-mint);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 20px 25px;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 15px;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 400px;
}

.custom-alert.active {
  transform: translateX(0);
}

.alert-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(51, 209, 122, 0.1);
  color: var(--accent-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.alert-body h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.alert-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer styling */
.main-footer {
  background: var(--primary-deep);
  color: var(--white);
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-logo h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

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

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 5px;
}

.footer-newsletter h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 0.85rem;
  flex-grow: 1;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-form button {
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  background: var(--accent-cyan);
  color: var(--primary-deep);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.footer-bottom-links a:hover {
  color: var(--accent-cyan);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .feed-container {
    grid-template-columns: 1fr;
  }
  
  .recruitment-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
