:root {
  /* Colors */
  --primary-color: #2e7ad3;
  --primary-dark: #1b5ca7;
  --primary-light: #68a4e8;
  --secondary-color: #ff6b35;
  --secondary-dark: #e04e1a;
  --secondary-light: #ff8f68;
  --accent-color: #7c4dff;
  --accent-dark: #5e35b1;
  --accent-light: #b388ff;

  /* Neutrals */
  --text-color: #333333;
  --text-light: #666666;
  --text-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --bg-dark: #2c3e50;
  --bg-gradient: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  --border-color: #e0e0e0;

  /* UI Elements */
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
  --card-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  --transition-speed: 0.3s ease;

  /* Typography */
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Source Sans Pro', sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;

  /* Container */
  --container-width: 1200px;
  --container-padding: 1.5rem;
}

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

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  line-height: var(--line-height-base);
  color: var(--text-color);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--text-color);
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--spacing-md);
}

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

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

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

ul, ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--secondary-color);
  margin: var(--spacing-md) auto 0;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Buttons */
.btn, 
button, 
input[type='submit'] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: none;
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1;
}

.btn:hover, 
button:hover, 
input[type='submit']:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-white);
  box-shadow: 0 4px 10px rgba(46, 122, 211, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 6px 15px rgba(46, 122, 211, 0.35);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-white);
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.25);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  box-shadow: 0 6px 15px rgba(255, 107, 53, 0.35);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  box-shadow: var(--box-shadow);
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-speed);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: inline-block;
  font-family: var(--heading-font);
  font-weight: var(--font-weight-bold);
  font-size: 1.75rem;
  color: var(--primary-color);
  text-decoration: none;
}

.logo h1 {
  margin-bottom: 0;
}

.nav-desktop {
  display: flex;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin-left: var(--spacing-md);
}

.nav-menu a {
  font-weight: var(--font-weight-medium);
  color: var(--text-color);
  padding: 0.5rem;
  position: relative;
}

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

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

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  transition: all var(--transition-speed);
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all var(--transition-speed);
}

.nav-mobile.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-menu-mobile {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu-mobile li {
  padding: 0.75rem var(--spacing-lg);
  border-bottom: 1px solid var(--border-color);
}

.nav-menu-mobile li:last-child {
  border-bottom: none;
}

.nav-menu-mobile a {
  display: block;
  font-weight: var(--font-weight-medium);
  color: var(--text-color);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 180px 0 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: var(--text-white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  color: var(--text-white);
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xl);
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  animation: fadeInUp 1s ease-out 0.4s;
  animation-fill-mode: both;
}

/* Features Section */
.features {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.feature-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.feature-icon {
  margin-bottom: var(--spacing-md);
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
}

.feature-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Projects Section */
.projects {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-light);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: var(--spacing-xl);
}

.project-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  display: flex;
  flex-direction: column;
}

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

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.project-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--spacing-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
}

.progress-container {
  margin-top: auto;
  padding-top: var(--spacing-md);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 4px;
  transition: width 1s ease-in-out;
}

.progress-text {
  display: block;
  text-align: right;
  margin-top: var(--spacing-xs);
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Team Section */
.team {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-xl);
}

.team .card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  display: flex;
  flex-direction: column;
}

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

.team .card-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.team .card:hover .card-image img {
  transform: scale(1.05);
}

.team .card-content {
  padding: var(--spacing-lg);
  text-align: center;
}

.position {
  color: var(--secondary-color);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.social-link {
  color: var(--text-light);
  font-size: 0.9rem;
  padding: 0.5rem;
  transition: color var(--transition-speed);
}

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

/* Resources Section */
.resources {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-light);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.resource-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.resource-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  font-size: 1.3rem;
}

.resource-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resource-links li {
  margin-bottom: var(--spacing-sm);
  padding-left: 1.5rem;
  position: relative;
}

.resource-links li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.resource-links a {
  color: var(--text-color);
  transition: color var(--transition-speed);
}

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

/* Community Section */
.community {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-white);
}

.community-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.community-text {
  padding-right: var(--spacing-lg);
}

.community-image {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  justify-content: center;
  align-items: center;
}

.community-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.community-image:hover img {
  transform: scale(1.05);
}

.accordion-container {
  width: 100%;
}

.accordion {
  margin-bottom: var(--spacing-md);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.accordion-header {
  background-color: var(--bg-white);
  padding: var(--spacing-md);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.accordion-header h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.accordion-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform var(--transition-speed);
}

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

.accordion-content {
  background-color: var(--bg-white);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed), padding var(--transition-speed);
}

.accordion.active .accordion-content {
  padding: var(--spacing-md);
  max-height: 500px;
}

/* Events Calendar Section */
.events {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-light);
}

.events-calendar {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.event-card {
  display: flex;
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.event-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 100px;
  padding: var(--spacing-md);
  background-color: var(--primary-color);
  color: var(--text-white);
  text-align: center;
}

.day {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

.month {
  font-size: 1.2rem;
  font-weight: var(--font-weight-medium);
}

.event-details {
  padding: var(--spacing-lg);
  flex-grow: 1;
}

.event-details h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--primary-color);
}

.event-location {
  display: block;
  color: var(--text-light);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-md);
  font-style: italic;
}

/* Webinars Section */
.webinars {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-white);
}

.webinars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.webinar-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  display: flex;
  flex-direction: column;
}

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

.webinar-card .card-image {
  position: relative;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.webinar-date {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--text-white);
  padding: var(--spacing-sm);
  text-align: center;
  font-size: 0.9rem;
}

.webinar-card .card-content {
  padding: var(--spacing-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.webinar-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.webinar-card .btn {
  margin-top: auto;
}

/* Contact Section */
.contact {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-light);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.info-item h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  font-size: 1.2rem;
}

.social-media h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  font-size: 1.2rem;
}

.social-icons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.social-icon {
  color: var(--text-light);
  transition: color var(--transition-speed);
  padding-right: 10px;
}

.social-icon:hover {
  color: var(--primary-color);
}

.contact-form {
  background-color: var(--bg-white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: var(--font-weight-medium);
  color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--body-font);
  font-size: 1rem;
  transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.form-checkbox input {
  width: auto;
  margin-top: 0.25rem;
}

.form-checkbox label {
  margin-bottom: 0;
  font-weight: var(--font-weight-normal);
}

/* Careers Section */
.careers {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-white);
}

.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.career-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  display: flex;
  flex-direction: column;
}

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

.career-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.career-location {
  display: block;
  color: var(--text-light);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-md);
  font-style: italic;
}

.career-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-logo h2 {
  color: var(--text-white);
  margin-bottom: var(--spacing-sm);
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.footer-column h3 {
  color: var(--text-white);
  margin-bottom: var(--spacing-md);
  font-size: 1.2rem;
}

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

.footer-column li {
  margin-bottom: var(--spacing-sm);
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-speed);
}

.footer-column a:hover {
  color: var(--text-white);
}

.footer-subscribe {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.footer-subscribe input {
  padding: 0.75rem;
  border: none;
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-family: var(--body-font);
  font-size: 1rem;
}

.footer-subscribe input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-subscribe input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
  margin-bottom: var(--spacing-sm);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-xl);
  background-color: var(--bg-light);
}

.success-content {
  max-width: 600px;
  background-color: var(--bg-white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.success-icon {
  font-size: 4rem;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-md);
}

/* Privacy and Terms Pages */
.privacy-page, 
.terms-page {
  padding-top: 100px;
  padding-bottom: var(--spacing-xxl);
}

.privacy-content,
.terms-content {
  background-color: var(--bg-white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

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

/* Media Queries */
@media screen and (max-width: 1024px) {
  :root {
    --container-padding: 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-mobile {
    display: block;
  }

  .community-content {
    grid-template-columns: 1fr;
  }

  .community-image {
    order: -1;
    height: 300px;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .features-grid,
  .team-grid,
  .resources-grid,
  .webinars-grid,
  .careers-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    flex-direction: column;
  }

  .event-date {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    padding: var(--spacing-sm);
  }

  .day {
    margin-right: var(--spacing-sm);
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* JavaScript-dependent styles */
.accordion.active .accordion-header {
  background-color: rgba(46, 122, 211, 0.05);
}

.nav-mobile {
  display: none;
}

.nav-mobile.active {
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}