/* 
========================================================================
   BOGURA WOMEN CHAMBER OF COMMERCE AND INDUSTRY (BWCCI)
   Main Stylesheet - Clean, Premium, Responsive
========================================================================
*/

@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');

/* --- CSS VARIABLES & TOKENS --- */
:root {
  /* Colors */
  --primary-color: hsl(333, 69%, 33%);     /* Elegant Deep Berry / Rose */
  --primary-hover: hsl(333, 69%, 25%);
  --primary-light: hsl(340, 100%, 97%);
  --secondary-color: hsl(43, 65%, 52%);    /* Warm Gold / Champagne Accent */
  --secondary-hover: hsl(43, 65%, 44%);
  --secondary-light: hsl(43, 100%, 96%);
  
  --text-dark: hsl(240, 9%, 13%);
  --text-muted: hsl(227, 9%, 39%);
  --text-light: hsl(220, 10%, 60%);
  
  --bg-main: hsl(40, 15%, 98%);
  --bg-white: hsl(0, 0%, 100%);
  --bg-dark: hsl(333, 70%, 10%);          /* Very dark berry black for footer/dark areas */
  --border-color: hsl(40, 10%, 91%);
  
  --success: hsl(145, 63%, 42%);
  --info: hsl(200, 75%, 45%);
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Elevation */
  --shadow-sm: 0 4px 12px rgba(144, 26, 79, 0.03);
  --shadow-md: 0 10px 30px rgba(144, 26, 79, 0.06);
  --shadow-lg: 0 20px 50px rgba(144, 26, 79, 0.12);
  
  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- RESET & BASE STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
  list-style: none;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: var(--radius-sm);
  border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--secondary-color); }
.text-white { color: var(--bg-white); }

.section-title {
  position: relative;
  margin-bottom: 3rem;
  font-size: 2.25rem;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: var(--radius-sm);
}
.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(144, 26, 79, 0.25);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--bg-white);
}
.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

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

/* --- HEADER & NAVIGATION --- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.top-bar {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 0.5rem 0;
  font-size: 0.85rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.top-bar-info span {
  margin-right: 1.5rem;
}
.top-bar-social a {
  margin-left: 1rem;
  color: var(--bg-white);
  opacity: 0.8;
}
.top-bar-social a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.main-nav {
  padding: 1rem 0;
}
.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo-container img {
  height: 50px;
  width: auto;
}
.logo-text h1 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.logo-text p {
  font-size: 0.75rem;
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Nav Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-item {
  position: relative;
}
.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
}
.nav-link:hover, .nav-item.active .nav-link {
  color: var(--primary-color);
  background-color: var(--primary-light);
}

/* Dropdown styling */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 240px;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--primary-color);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition);
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  border-left: 3px solid transparent;
}
.dropdown-menu a:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-left-color: var(--primary-color);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  background-color: var(--bg-dark);
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--bg-white);
}
.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(33, 4, 17, 0.85) 0%, rgba(33, 4, 17, 0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  animation: slideUp 1s ease-out;
}
.hero-content h2 {
  font-size: 3.5rem;
  color: var(--bg-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}
.hero-btns {
  display: flex;
  gap: 1rem;
}

/* --- STATS COUNTERS --- */
.stats-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
  color: var(--bg-white);
  padding: 4rem 0;
}
.stat-card {
  text-align: center;
}
.stat-card .number {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}
.stat-card .label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  opacity: 0.9;
}

/* --- CARDS & GRIDS --- */
.card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}
.card-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}
.card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* News / Event Card */
.post-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.post-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: var(--border-color);
}
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.post-card:hover .post-thumb img {
  transform: scale(1.05);
}
.post-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--secondary-color);
  color: var(--bg-white);
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.post-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.post-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}
.post-content h3 a:hover {
  color: var(--secondary-color);
}
.post-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.post-more {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.post-more:hover {
  color: var(--secondary-color);
}

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-color) 100%);
  color: var(--bg-white);
  padding: 4.5rem 0;
  position: relative;
}
.page-banner h2 {
  font-size: 2.75rem;
  color: var(--bg-white);
  margin-bottom: 0.5rem;
}
.breadcrumbs {
  font-size: 0.9rem;
  opacity: 0.8;
}
.breadcrumbs a:hover {
  color: var(--secondary-color);
}

/* --- ABOUT & DETAILS LAYOUTS --- */
.message-box {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border-top: 5px solid var(--primary-color);
}
.photo-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--border-color);
}
.photo-frame img {
  width: 100%;
  transition: var(--transition);
}
.photo-frame:hover img {
  transform: scale(1.03);
}

/* --- MEMBERSHIP & CONTACT FORMS --- */
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
}
.form-control {
  width: 100%;
  padding: 0.8rem 1.2rem;
  font-family: var(--font-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-main);
  transition: var(--transition);
  font-size: 0.95rem;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(144, 26, 79, 0.1);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Accordion for Committees */
.accordion-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
}
.accordion-header {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-white);
  font-weight: 600;
  color: var(--primary-color);
  transition: var(--transition);
}
.accordion-header:hover {
  background-color: var(--primary-light);
}
.accordion-header .icon {
  font-size: 1.25rem;
  transition: var(--transition);
}
.accordion-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease;
  background-color: var(--bg-white);
}
.accordion-item.active .accordion-content {
  padding: 1.5rem;
  max-height: 1000px; /* high value to allow contents */
}
.accordion-item.active .accordion-header .icon {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

/* --- NOTICE BOARD TABLE --- */
.table-responsive {
  overflow-x: auto;
}
.table-custom {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.table-custom th, .table-custom td {
  padding: 1.2rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.table-custom th {
  background-color: var(--primary-color);
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}
.table-custom tr:last-child td {
  border-bottom: none;
}
.table-custom tr:hover td {
  background-color: var(--primary-light);
}
.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}
.badge-gov { background-color: var(--secondary-light); color: var(--secondary-hover); }
.badge-chamber { background-color: var(--primary-light); color: var(--primary-color); }
.badge-alert { background-color: #ffebe6; color: #ff3b30; }

/* Notice search input */
.search-bar {
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
}
.search-bar .form-control {
  max-width: 400px;
}

/* --- GALLERY --- */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-color: var(--primary-color);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(144, 26, 79, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
  color: var(--bg-white);
  text-align: center;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay h4 {
  color: var(--bg-white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.gallery-overlay p {
  font-size: 0.8rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 4, 17, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 80vh;
}
.lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--bg-white);
  font-size: 2rem;
  cursor: pointer;
  font-family: var(--font-heading);
}

/* --- FOOTER --- */
footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 5rem 0 0 0;
  border-top: 5px solid var(--secondary-color);
}
footer h4 {
  color: var(--bg-white);
  font-size: 1.25rem;
  margin-bottom: 1.8rem;
  position: relative;
  padding-bottom: 0.5rem;
}
footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: var(--radius-sm);
}
footer .footer-about p {
  font-size: 0.95rem;
  line-height: 1.7;
}
footer .footer-links a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}
footer .footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}
footer .footer-contact li {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  display: flex;
  gap: 10px;
}
footer .footer-contact li span.icon {
  color: var(--secondary-color);
  font-weight: bold;
}
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 0;
  margin-top: 4rem;
  font-size: 0.85rem;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- KEY OFFICIALS GRID (HOME PAGE) --- */
.officer-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
}
.officer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}
.officer-photo {
  height: 250px;
  overflow: hidden;
  background-color: var(--border-color);
}
.officer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.officer-card:hover .officer-photo img {
  transform: scale(1.05);
}
.officer-info {
  padding: 1.5rem;
}
.officer-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}
.officer-info p.title {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}
.officer-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.officer-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.officer-socials a:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

/* --- KEYNOTE & EVENT TIMELINE --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-light);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}
.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--bg-white);
  border: 4px solid var(--primary-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
  transition: var(--transition);
}
.timeline-item.left {
  left: 0;
}
.timeline-item.right {
  left: 50%;
}
.timeline-item.right::after {
  left: -10px;
}
.timeline-content {
  padding: 1.5rem;
  background-color: var(--bg-white);
  position: relative;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}
.timeline-item:hover::after {
  background-color: var(--secondary-color);
  border-color: var(--secondary-hover);
}

/* --- ANIMATIONS --- */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media screen and (max-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-content h2 {
    font-size: 2.75rem;
  }
  .timeline::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-item.right {
    left: 0%;
  }
  .timeline-item::after {
    left: 21px;
    right: auto;
  }
}

@media screen and (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .top-bar-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 0.5rem;
  }
  .top-bar .container {
    justify-content: center;
    text-align: center;
  }
  .top-bar-social {
    width: 100%;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: var(--transition);
  }
  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-item {
    width: 100%;
  }
  .nav-link {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
  }
  .dropdown-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    padding-left: 1.5rem;
    display: none;
    border-left: 2px solid var(--primary-light);
  }
  .nav-item.active-drop .dropdown-menu {
    display: block;
  }
  
  .hero-content h2 {
    font-size: 2.25rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .section-padding {
    padding: 3.5rem 0;
  }
  .message-box {
    padding: 1.5rem;
  }
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
}
