/* ===== VARIABLES ===== */
:root {
  /* Основная аналоговая цветовая схема */
  --primary-color: #3a6ea5;
  --primary-light: #4a86c5;
  --primary-dark: #2a5285;
  --secondary-color: #3a95a5;
  --secondary-light: #4aafc0;
  --secondary-dark: #2a7585;
  --accent-color: #5a6ea5;
  --accent-light: #6a86c5;
  --accent-dark: #4a5285;
  
  /* Нейтральные цвета */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #2c3e50;
  --gray-light: #e9ecef;
  --gray-medium: #adb5bd;
  --gray-dark: #495057;
  
  /* Нейроморфные тени */
  --neuro-shadow-light: 10px 10px 20px rgba(174, 174, 192, 0.2), -10px -10px 20px rgba(255, 255, 255, 0.7);
  --neuro-shadow-dark: 8px 8px 16px rgba(46, 54, 68, 0.3), -8px -8px 16px rgba(70, 80, 100, 0.1);
  --neuro-shadow-inset: inset 8px 8px 16px rgba(174, 174, 192, 0.2), inset -8px -8px 16px rgba(255, 255, 255, 0.7);
  
  /* Размеры и отступы */
  --container-width: 1200px;
  --section-padding: 80px 0;
  --card-border-radius: 15px;
  --button-border-radius: 8px;
  
  /* Шрифты */
  --heading-font: 'Roboto', sans-serif;
  --body-font: 'Lato', sans-serif;
  
  /* Z-индексы */
  --z-header: 1000;
  --z-modal: 2000;
  --z-cookie: 9999;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--text-dark);
}

p {
  margin-bottom: 1.5rem;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  color: var(--primary-dark);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: var(--gray-dark);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

/* ===== BUTTON STYLES ===== */
.btn {
  display: inline-block;
  padding: 12px 25px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--button-border-radius);
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: var(--neuro-shadow-light);
  background: var(--background-light);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: width 0.3s ease;
  z-index: 1;
}

.btn:hover::before {
  width: 100%;
}

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

.btn-primary:hover {
  background: var(--primary-light);
  box-shadow: 0 5px 15px rgba(58, 110, 165, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--text-light);
}

.btn-secondary:hover {
  background: var(--secondary-light);
  box-shadow: 0 5px 15px rgba(58, 149, 165, 0.3);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 15px;
  font-size: 0.85rem;
}

button, input[type='submit'] {
  font-family: var(--body-font);
  font-size: 1rem;
}

/* ===== HEADER STYLES ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  z-index: var(--z-header);
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 60px;
  margin-right: 10px;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
}

.nav-desktop ul li {
  margin: 0 15px;
}

.nav-desktop ul li a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 5px 0;
  position: relative;
}

.nav-desktop ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-desktop ul li a:hover {
  color: var(--primary-color);
}

.nav-desktop ul li a:hover::after {
  width: 100%;
}

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

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

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--background-light);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-mobile ul li {
  margin: 15px 0;
}

.nav-mobile ul li a {
  color: var(--text-dark);
  font-weight: 500;
  display: block;
  padding: 5px 0;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  padding-top: 0;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

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

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1.2s ease;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  animation: fadeInUp 1.4s ease;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  animation: fadeInUp 1.6s ease;
}

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

/* ===== FEATURES/SERVICES SECTION ===== */
.features {
  padding: var(--section-padding);
  background-color: var(--background-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.card {
  background-color: white;
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: var(--neuro-shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  margin: 0 auto;
}

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

.card-content {
  padding: 25px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.card-content p {
  color: var(--gray-dark);
  margin-bottom: 20px;
}

.toggle-switch {
  margin-top: 15px;
}

.toggle-input {
  display: none;
}

.toggle-label {
  display: inline-block;
  color: var(--primary-color);
  cursor: pointer;
  position: relative;
  padding-right: 25px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.toggle-label::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.toggle-input:checked + .toggle-label::after {
  transform: translateY(-50%) rotate(45deg);
}

.toggle-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 10px;
}

.toggle-input:checked ~ .toggle-content {
  max-height: 500px;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
  padding: var(--section-padding);
  background-color: #f5f7fa;
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: var(--neuro-shadow-light);
  height: 300px;
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay h3 {
  color: var(--text-light);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.gallery-overlay p {
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

/* ===== WORKSHOPS SECTION ===== */
.workshops {
  padding: var(--section-padding);
  background-color: var(--background-light);
}

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* ===== RESOURCES SECTION ===== */
.resources {
  padding: var(--section-padding);
  background-color: #f0f4f8;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.resource-item {
  background-color: white;
  padding: 30px;
  border-radius: var(--card-border-radius);
  box-shadow: var(--neuro-shadow-light);
  transition: transform 0.3s ease;
  text-align: center;
}

.resource-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.resource-item h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.resource-item p {
  margin-bottom: 20px;
  color: var(--gray-dark);
}

.resource-item a {
  color: var(--primary-color);
  font-weight: 600;
  transition: color 0.3s ease;
  display: inline-block;
  position: relative;
}

.resource-item a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

.resource-item a:hover::after {
  width: 100%;
}

/* ===== PARTNERS SECTION ===== */
.partners {
  padding: var(--section-padding);
  background-color: white;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.partner-logo {
  flex: 0 0 180px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.05);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partners-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial {
  background-color: #f8f9fa;
  border-radius: var(--card-border-radius);
  padding: 30px;
  box-shadow: var(--neuro-shadow-light);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonial-content {
  margin-bottom: 20px;
  text-align: center;
}

.testimonial-content p {
  font-style: italic;
  color: var(--gray-dark);
  position: relative;
  padding: 0 20px;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-size: 1.5rem;
  color: var(--primary-light);
  position: absolute;
}

.testimonial-content p::before {
  left: 0;
  top: -5px;
}

.testimonial-content p::after {
  right: 0;
  bottom: -15px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.testimonial-author h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.testimonial-author p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-dark);
}

/* ===== COMMUNITY SECTION ===== */
.community {
  padding: var(--section-padding);
  background-color: #f5f7fa;
}

.community-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 50px;
}

.community-image {
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: var(--neuro-shadow-light);
}

.community-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

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

.community-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.community-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.benefit {
  background-color: white;
  padding: 20px;
  border-radius: var(--card-border-radius);
  box-shadow: var(--neuro-shadow-light);
  text-align: center;
  transition: transform 0.3s ease;
}

.benefit:hover {
  transform: translateY(-5px);
}

.benefit h4 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.benefit p {
  margin: 0;
  font-size: 0.95rem;
}

/* ===== CAREERS SECTION ===== */
.careers {
  padding: var(--section-padding);
  background-color: white;
}

.careers-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 50px;
}

.careers-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.job-openings {
  margin-top: 30px;
}

.job {
  background-color: #f8f9fa;
  padding: 25px;
  border-radius: var(--card-border-radius);
  box-shadow: var(--neuro-shadow-light);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.job:hover {
  transform: translateY(-5px);
}

.job h4 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.job p {
  margin-bottom: 15px;
}

.careers-image {
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: var(--neuro-shadow-light);
}

.careers-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.careers-content:hover .careers-image img {
  transform: scale(1.03);
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: var(--section-padding);
  background-color: #f0f4f8;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--primary-dark);
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 15px;
}

.contact-text h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.contact-text p {
  margin: 0;
  color: var(--gray-dark);
}

.contact-form {
  background-color: white;
  border-radius: var(--card-border-radius);
  padding: 30px;
  box-shadow: var(--neuro-shadow-light);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-dark);
  text-align: center;
}

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

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

.form-control {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(58, 110, 165, 0.1);
}

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

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

/* ===== FOOTER STYLES ===== */
.footer {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: 70px 0 20px;
}

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

.footer-logo img {
  max-height: 60px;
  margin-bottom: 20px;
}

.footer-logo p {
  font-size: 0.95rem;
  opacity: 0.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-links-column h3 {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-light);
}

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

.footer-links-column ul li a {
  color: var(--gray-medium);
  transition: color 0.3s ease;
}

.footer-links-column ul li a:hover {
  color: var(--text-light);
}

.social-links {
  display: flex;
  flex-direction: column;
}

.social-links a {
  position: relative;
  padding-left: 0;
  transition: padding-left 0.3s ease;
}

.social-links a:hover {
  padding-left: 5px;
}

.footer-contact h3 {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-light);
}

.footer-contact p {
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: var(--gray-medium);
}

.footer-contact p strong {
  color: var(--text-light);
  margin-right: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--gray-medium);
  margin: 0;
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--background-light);
  padding: 50px 20px;
}

.success-content {
  max-width: 600px;
  text-align: center;
  background-color: white;
  border-radius: var(--card-border-radius);
  padding: 40px;
  box-shadow: var(--neuro-shadow-light);
  animation: fadeInUp 1s ease;
}

.success-content h1 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.success-content p {
  margin-bottom: 30px;
  color: var(--gray-dark);
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 2.5rem;
}

/* ===== PRIVACY & TERMS PAGES ===== */
.page-content {
  padding-top: 120px;
  padding-bottom: 80px;
}

.page-content .container {
  max-width: 800px;
}

.page-content h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--primary-dark);
}

.page-content h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--primary-dark);
}

.page-content p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-content ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.page-content ul li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
}

/* ===== COOKIE CONSENT ===== */
#cookie-consent {
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

#cookie-consent p {
  margin-bottom: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#accept-cookies {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#accept-cookies:hover {
  background-color: #3a7cc2;
  transform: translateY(-3px);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .community-content,
  .careers-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .community-image,
  .careers-image {
    order: -1;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .hamburger-menu {
    display: flex;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .partners-logos {
    gap: 20px;
  }
  
  .partner-logo {
    flex: 0 0 140px;
    height: 80px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* Animation for navbar when scrolling */
.header.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Parallax effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

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

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

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

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--primary-light);
  transform: translateY(-5px);
}

/* Animate on scroll utility classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* External links styling */
a[target="_blank"]::after {
  content: '↗';
  margin-left: 5px;
  font-size: 0.8em;
  vertical-align: super;
}

/* "Read more" links styling */
.read-more {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
  padding-right: 20px;
  transition: color 0.3s ease;
}

.read-more::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover::after {
  transform: translate(5px, -50%);
}

*{
  opacity: 1 !important;
}
.hamburger-menu{
  display: none !important;
}