/* ===== VARIABLES ===== */
:root {
  /* Primary Colors */
  --primary-color: #3498db;
  --primary-dark: #2980b9;
  --primary-light: #5dade2;
  --secondary-color: #2ecc71;
  --secondary-dark: #27ae60;
  --secondary-light: #58d68d;
  
  /* Accent Colors */
  --accent-1: #e74c3c;
  --accent-2: #f39c12;
  --accent-3: #9b59b6;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  --gradient-accent: linear-gradient(135deg, var(--accent-2), var(--accent-1));
  --gradient-dark: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
  
  /* Neutral Colors */
  --text-color: #333333;
  --text-light: #777777;
  --text-white: #ffffff;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  
  /* Glassmorphism */
  --glass-background: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== BASE STYLES ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-light);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
  color: var(--text-color);
  font-weight: 600;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-sm);
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
}

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

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

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

/* ===== UTILITY CLASSES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

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

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

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

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

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.py-sm {
  padding-top: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
}

.py-md {
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
}

.py-lg {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

/* ===== BUTTONS ===== */
.btn,
button,
input[type="submit"] {
  display: inline-block;
  padding: 12px 24px;
  background: var(--gradient-primary);
  color: var(--text-white);
  border: none;
  border-radius: var(--border-radius-md);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn:active,
button:active,
input[type="submit"]:active {
  transform: translateY(-1px);
}

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

.btn-secondary {
  background: var(--gradient-secondary);
}

.btn-accent {
  background: var(--gradient-accent);
}

.btn-facebook {
  background: #3b5998;
}

.btn-instagram {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.btn-twitter {
  background: #1da1f2;
}

/* ===== LAYOUT ===== */
section {
  padding: var(--spacing-lg) 0;
  position: relative;
}

/* ===== GLASSMORPHISM CARD ===== */
.glass-card {
  background: var(--glass-background);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--glass-shadow);
  padding: var(--spacing-md);
  transition: transform var(--transition-medium);
}

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

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-sm) 0;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

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

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

.logo img {
  height: 60px;
  width: auto;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--spacing-sm);
}

.desktop-nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-color);
  padding: var(--spacing-xs) var(--spacing-sm);
  position: relative;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-medium);
}

.desktop-nav a:hover::after {
  width: 80%;
}

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

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: transform var(--transition-fast);
}

.mobile-nav {
  display: none;
  padding: var(--spacing-sm) 0;
  background-color: var(--background-white);
  box-shadow: var(--shadow-md);
}

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

.mobile-nav li {
  padding: var(--spacing-xs) 0;
  text-align: center;
}

.mobile-nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-color);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  z-index: 1;
}

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

.hero-content {
  max-width: 700px;
  color: var(--text-white);
  text-align: center;
  margin: 0 auto;
  transform: translateY(0);
  opacity: 1;
  transition: transform var(--transition-medium), opacity var(--transition-medium);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-white);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-white);
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

/* ===== SERVICES SECTION ===== */
.services {
  background-color: var(--background-white);
}

.service-tabs {
  margin-top: var(--spacing-md);
}

.tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.tab-button {
  padding: 10px 20px;
  margin: 0 5px;
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: var(--border-radius-md);
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.tab-button.active, 
.tab-button:hover {
  background: var(--primary-color);
  color: var(--text-white);
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

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

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--background-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

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

.card-content {
  padding: var(--spacing-md);
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: var(--spacing-sm);
}

/* ===== GALLERY SECTION ===== */
.gallery {
  background-color: var(--background-light);
}

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

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

.gallery-item .image-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 300px;
  margin-bottom: var(--spacing-sm);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.gallery-item:hover .image-container {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

.gallery-item p {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
  background-color: var(--background-white);
}

.portfolio-showcase {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-md);
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  background-color: var(--background-light);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.portfolio-item .image-container {
  width: 100%;
  max-width: 500px;
  height: 350px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-content {
  width: 100%;
  max-width: 800px;
  text-align: center;
}

.progress-container {
  margin-top: var(--spacing-sm);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-weight: 600;
}

.progress-bar {
  height: 8px;
  background-color: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width var(--transition-medium);
}

.progress-value {
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 5px;
  text-align: right;
}

@media (min-width: 768px) {
  .portfolio-item {
    flex-direction: row;
  }

  .portfolio-content {
    text-align: left;
  }
}

/* ===== WEBINARS SECTION ===== */
.webinars {
  background-color: var(--background-light);
}

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

.webinar-info {
  display: flex;
  justify-content: space-around;
  margin: var(--spacing-sm) 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.date, .duration {
  display: flex;
  align-items: center;
  gap: 5px;
}

.date::before {
  content: "📅";
}

.duration::before {
  content: "⏱️";
}

/* ===== EXTERNAL RESOURCES SECTION ===== */
.external-resources {
  background-color: var(--background-white);
}

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

.resource-card {
  background-color: var(--background-light);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  text-align: center;
}

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

.resource-card h3 {
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: var(--spacing-xs);
  margin-bottom: var(--spacing-sm);
}

.resource-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.resource-card li {
  margin-bottom: var(--spacing-xs);
}

.resource-card a {
  position: relative;
  display: inline-block;
  padding-left: 20px;
  transition: color var(--transition-fast);
}

.resource-card a::before {
  content: "➤";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  transition: transform var(--transition-fast);
}

.resource-card a:hover::before {
  transform: translateX(5px);
}

/* ===== CUSTOMER STORIES SECTION ===== */
.customer-stories {
  background-color: var(--background-light);
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--spacing-md);
  background-color: var(--background-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin: 0 var(--spacing-md);
  transition: transform var(--transition-medium);
}

.testimonial-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

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

.testimonial-content {
  flex-grow: 1;
}

.testimonial-car {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: var(--spacing-xs);
}

.rating {
  color: var(--accent-2);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
}

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

.prev-testimonial,
.next-testimonial {
  background: var(--primary-color);
  color: var(--text-white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.prev-testimonial:hover,
.next-testimonial:hover {
  background: var(--primary-dark);
}

@media (min-width: 768px) {
  .testimonial {
    flex-direction: row;
    text-align: left;
    gap: var(--spacing-md);
  }
}

/* ===== FAQ SECTION ===== */
.faq {
  background-color: var(--background-white);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--spacing-sm);
  border-radius: var(--border-radius-md);
  background-color: var(--background-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 var(--spacing-md);
  transition: max-height var(--transition-medium), padding var(--transition-medium);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: var(--spacing-sm) var(--spacing-md) var(--spacing-md);
}

/* ===== COMMUNITY SECTION ===== */
.community {
  background-color: var(--background-light);
}

.social-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.social-item {
  background-color: var(--background-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.social-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.social-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.social-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}

.social-icon.facebook {
  background-color: #3b5998;
  position: relative;
}

.social-icon.facebook::before {
  content: "f";
  position: absolute;
  color: white;
  font-weight: bold;
  font-family: Arial, sans-serif;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.social-icon.instagram {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
  position: relative;
}

.social-icon.instagram::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 30%;
  width: 40%;
  height: 40%;
  border: 2px solid white;
  border-radius: 30%;
}

.social-icon.instagram::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 20%;
  width: 10%;
  height: 10%;
  background-color: white;
  border-radius: 50%;
}

.social-icon.twitter {
  background-color: #1da1f2;
  position: relative;
}

.social-icon.twitter::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 40%;
  background-color: white;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z'/%3E%3C/svg%3E") no-repeat 50% 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z'/%3E%3C/svg%3E") no-repeat 50% 50%;
  mask-size: cover;
  -webkit-mask-size: cover;
}

.social-item .image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.social-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.social-item:hover img {
  transform: scale(1.05);
}

.social-item p {
  padding: var(--spacing-sm);
}

.social-stats {
  display: flex;
  justify-content: space-around;
  padding: var(--spacing-sm);
  border-top: 1px solid rgba(0,0,0,0.1);
  color: var(--text-light);
  font-size: 0.9rem;
}

.community-cta {
  text-align: center;
  margin-top: var(--spacing-lg);
}

.community-cta h3 {
  margin-bottom: var(--spacing-sm);
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

/* ===== CONTACT SECTION ===== */
.contact {
  background-color: var(--background-white);
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-md);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.info-item {
  text-align: center;
  padding: var(--spacing-sm);
}

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

.map-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 300px;
  grid-column: 1 / -1;
  margin-top: var(--spacing-sm);
  box-shadow: var(--shadow-sm);
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form {
  background-color: var(--background-light);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
}

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

.form-checkbox input {
  width: auto;
}

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

.contact-form button {
  width: 100%;
  margin-top: var(--spacing-sm);
}

@media (min-width: 768px) {
  .contact-container {
    flex-direction: row;
  }

  .contact-info {
    flex: 1;
  }

  .contact-form {
    flex: 1;
  }
}

/* ===== FOOTER ===== */
.footer {
  background-color: #333;
  color: var(--text-white);
  padding: var(--spacing-lg) 0 var(--spacing-sm);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.footer-links h3,
.footer-services h3,
.footer-contact h3,
.footer-social h3 {
  color: var(--text-white);
  margin-bottom: var(--spacing-sm);
  position: relative;
  padding-bottom: var(--spacing-xs);
}

.footer-links h3::after,
.footer-services h3::after,
.footer-contact h3::after,
.footer-social h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
}

.footer-links ul,
.footer-services ul,
.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-services li,
.footer-social li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a,
.footer-services a,
.footer-social a {
  color: #ddd;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover,
.footer-services a:hover,
.footer-social a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.footer-social a {
  position: relative;
  padding-left: 30px;
}

.footer-social a[href*="facebook"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: #3b5998;
  border-radius: 50%;
}

.footer-social a[href*="instagram"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
  border-radius: 50%;
}

.footer-social a[href*="twitter"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: #1da1f2;
  border-radius: 50%;
}

.footer-social a[href*="youtube"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: #ff0000;
  border-radius: 50%;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

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

.legal-links {
  display: flex;
  gap: var(--spacing-md);
}

.legal-links a {
  color: #ddd;
}

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

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .copyright {
    margin-bottom: 0;
  }
}

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

.success-container {
  max-width: 600px;
  text-align: center;
  padding: var(--spacing-lg);
  background-color: var(--background-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  color: white;
  font-size: 40px;
}

/* ===== PRIVACY & TERMS PAGES ===== */
.privacy-page,
.terms-page {
  padding-top: 100px;
  background-color: var(--background-light);
  padding-bottom: var(--spacing-lg);
}

.privacy-container,
.terms-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--background-white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.privacy-container h1,
.terms-container h1 {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.privacy-container p,
.terms-container p {
  margin-bottom: var(--spacing-sm);
}

.privacy-container h2,
.terms-container h2 {
  margin-top: var(--spacing-md);
  text-align: left;
}

.privacy-container h2::after,
.terms-container h2::after {
  left: 0;
  transform: none;
  width: 100px;
}

.privacy-container ul,
.terms-container ul {
  margin-bottom: var(--spacing-sm);
  padding-left: var(--spacing-md);
}

.privacy-container li,
.terms-container li {
  margin-bottom: var(--spacing-xs);
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-menu-open .mobile-nav {
    display: block;
  }
  
  .mobile-menu-open .mobile-menu-toggle span:first-child {
    transform: translateY(9px) rotate(45deg);
  }
  
  .mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-open .mobile-menu-toggle span:last-child {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .services-grid,
  .gallery-grid,
  .webinars-grid,
  .social-feed {
    grid-template-columns: 1fr;
  }
  
  .portfolio-item {
    flex-direction: column;
  }
  
  .portfolio-content {
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .testimonial {
    flex-direction: column;
    text-align: center;
  }
  
  .social-buttons {
    flex-direction: column;
  }
  
  .tab-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .tab-button {
    margin-bottom: var(--spacing-xs);
    width: 100%;
  }
}

html,body{
  overflow-x: hidden;
}