/* Base CSS for ConFinanza - Financial Consultancy Website */

:root {
  /* Main Brand Colors */
  --primary-color: #0052cc;
  --primary-dark: #003d99;
  --primary-light: #4d8bf5;
  --secondary-color: #ff6b00;
  --secondary-dark: #cc5500;
  --secondary-light: #ff9248;
  
  /* Accent Colors */
  --accent-1: #00cc9b;
  --accent-2: #7b00ff;
  --accent-3: #f5c400;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f4f5f7;
  --medium-gray: #e0e2e8;
  --dark-gray: #303242;
  --black: #121220;
  
  /* Text Colors */
  --text-primary: #121220;
  --text-secondary: #4a4b57;
  --text-light: #ffffff;
  --text-muted: #767888;
  
  /* Glassmorphism Variables */
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  --glass-blur: 12px;
  
  /* 3D Effects */
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 12px 36px rgba(0, 0, 0, 0.25);
  
  /* Animations */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Layout */
  --container-padding: 2rem;
  --section-spacing: 5rem;
  --card-spacing: 1.5rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-rounded: 50%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--light-gray);
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

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

/* Section Styles */
section {
  padding: 4rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Glassmorphism */
.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glassmorphism:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px 0 rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

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

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 82, 204, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(0, 82, 204, 0.5);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

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

.animated-btn {
  position: relative;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.animated-btn:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform 0.5s, opacity 1s;
}

.animated-btn:active:after {
  transform: scale(0, 0);
  opacity: 0.3;
  transition: 0s;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-normal);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
}

.logo a {
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
}

.desktop-nav ul li {
  margin-left: 1.5rem;
}

.desktop-nav ul li a {
  color: var(--white);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.desktop-nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.mobile-menu-toggle span {
  height: 3px;
  width: 100%;
  background-color: var(--white);
  border-radius: 3px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  z-index: 999;
  transform: translateY(-100%);
  transition: transform var(--transition-normal);
}

.mobile-menu.active {
  transform: translateY(0);
}

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

.mobile-menu ul li {
  margin-bottom: 1rem;
}

.mobile-menu ul li a {
  display: block;
  color: var(--white);
  font-size: 1.2rem;
  padding: 0.5rem 0;
  text-align: center;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.parallax-section {
  background-attachment: fixed;
}

.hero-section .overlay {
  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.4));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--white);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.animated-title {
  position: relative;
  display: inline-block;
  overflow: hidden;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-2), var(--secondary-color));
  background-size: 200% 200%;
  color: var(--white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  animation: gradient 8s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Services Section */
.services-section {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  height: 100%;
}

.card-image {
  width: 100%;
  height: 250px;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
}

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

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

.card-content {
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.card-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--medium-gray);
  border-radius: 4px;
  overflow: hidden;
  margin-top: auto;
}

.progress {
  height: 100%;
  background: linear-gradient(to right, var(--primary-color), var(--accent-1));
  border-radius: 4px;
}

.progress-bar span {
  display: block;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  color: var(--text-muted);
  text-align: right;
}

.service-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Mission Section */
.mission-section {
  color: var(--white);
  position: relative;
  background-size: cover;
  background-position: center;
}

.mission-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.mission-content {
  position: relative;
  z-index: 2;
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.mission-content h2 {
  color: var(--white);
  text-align: center;
}

.mission-content p {
  margin-bottom: 2rem;
  color: var(--white);
}

.values-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.value-item h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.value-item p {
  color: var(--white);
  margin-bottom: 0;
}

/* Team Section */
.team-section {
  background-color: var(--light-gray);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

.team-card .card-image {
  width: 100%;
  height: 350px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  text-align: center;
}

.team-card .card-content {
  text-align: center;
  flex-grow: 1;
}

.team-card h3 {
  margin-bottom: 0.5rem;
}

.team-card .position {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.social-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

.social-links a:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

/* Projects Section */
.projects-section {
  background-color: var(--white);
}

.custom-slider {
  position: relative;
  margin-bottom: 3rem;
}

.slider-container {
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.slider-item {
  flex: 0 0 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slider-item .card-image {
  width: 100%;
  height: 250px;
  margin-bottom: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.prev-btn, .next-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--radius-rounded);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.prev-btn:hover, .next-btn:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin: 0 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-rounded);
  background-color: var(--medium-gray);
  margin: 0 5px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* Community Section */
.community-section {
  color: var(--white);
  position: relative;
  background-size: cover;
  background-position: center;
}

.community-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.community-content {
  position: relative;
  z-index: 2;
  padding: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.community-content h2, .community-content .section-subtitle {
  color: var(--white);
}

.community-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.feature h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.feature p {
  color: var(--white);
  margin-bottom: 0;
}

.community-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.testimonial {
  padding: 2rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial p {
  font-style: italic;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-align: center;
}

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

.testimonial-author span {
  display: block;
  font-weight: 600;
  color: var(--white);
}

.testimonial-author .position {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.community-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Insights Section */
.insights-section {
  background-color: var(--light-gray);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.insight-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

.insight-card .card-image {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  text-align: center;
}

.insight-card .card-content {
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.read-more {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: auto;
  position: relative;
  transition: all var(--transition-normal);
}

.read-more::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

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

.read-more:hover::after {
  width: 100%;
}

.external-resources {
  padding: 2rem;
  margin-top: 4rem;
}

.external-resources h3 {
  text-align: center;
  margin-bottom: 1rem;
}

.external-resources p {
  text-align: center;
  margin-bottom: 2rem;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.resource-link {
  display: block;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-normal);
  text-align: center;
}

.resource-link:hover {
  background-color: var(--white);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.resource-link h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.resource-link p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--text-secondary);
}

/* Awards Section */
.awards-section {
  position: relative;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.awards-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.awards-content {
  position: relative;
  z-index: 2;
  padding: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.awards-content h2, .awards-content .section-subtitle {
  color: var(--white);
}

.awards-slider {
  margin-bottom: 3rem;
}

.awards-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--radius-md);
  max-width: 300px;
  text-align: center;
}

.award-icon {
  margin-bottom: 1.5rem;
  width: 150px;
  height: 150px;
  border-radius: var(--radius-rounded);
  overflow: hidden;
  text-align: center;
}

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

.award-details h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.award-details p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.certifications {
  margin-top: 4rem;
  text-align: center;
}

.certifications h3 {
  color: var(--white);
  margin-bottom: 2rem;
}

.certification-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.certification-logos img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: all var(--transition-normal);
}

.certification-logos img:hover {
  transform: scale(1.1);
}

/* Pricing Section */
.pricing-section {
  background-color: var(--white);
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.tab-btn {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.tab-btn:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.tab-btn:last-child {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.tab-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.pricing-content {
  margin-bottom: 3rem;
}

.pricing-tab-content {
  display: none;
}

.pricing-tab-content.active {
  display: block;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border: 2px solid var(--accent-1);
  transform: scale(1.05);
  z-index: 2;
}

.ribbon {
  position: absolute;
  top: 20px;
  right: -30px;
  padding: 0.5rem 2rem;
  background-color: var(--accent-1);
  color: var(--white);
  font-weight: 600;
  transform: rotate(45deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  width: 100%;
}

.price {
  margin: 1.5rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.period {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  margin-left: 0.25rem;
}

.pricing-features {
  margin-bottom: 2rem;
  width: 100%;
}

.pricing-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing-features ul li {
  padding: 0.75rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.pricing-features ul li::before {
  content: '✓';
  color: var(--accent-1);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.pricing-cta {
  margin-top: auto;
}

.pricing-note {
  text-align: center;
  margin-top: 3rem;
  color: var(--text-muted);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.faq-section {
  background-color: var(--light-gray);
}

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

.faq-item {
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.3rem;
  flex-grow: 1;
}

.toggle-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: all var(--transition-normal);
}

.faq-answer {
  padding: 0 1.5rem;
  height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item.active .faq-question {
  background-color: var(--primary-color);
}

.faq-item.active .faq-question h3 {
  color: var(--white);
}

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

.faq-item.active .faq-answer {
  height: auto;
  padding: 1.5rem;
}

/* Contact Section */
.contact-section {
  position: relative;
  background-size: cover;
  background-position: center;
}

.contact-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.contact-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  padding: 2.5rem;
  color: var(--white);
}

.contact-info h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 2rem;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.contact-item p {
  margin-bottom: 0.5rem;
}

.contact-form-container {
  padding: 2.5rem;
}

.contact-form-container h3 {
  color: var(--white);
  margin-bottom: 2rem;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--white);
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: all var(--transition-normal);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.2);
}

.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--white);
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.checkbox-container:hover input ~ .checkmark {
  background-color: rgba(255, 255, 255, 0.2);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary-color);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Footer */
.footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.footer-column h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-normal);
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-column p {
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

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

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

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: all var(--transition-normal);
}

.legal-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Animations */
.animated-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animated-card.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.success-content {
  max-width: 600px;
  padding: 3rem;
  text-align: center;
}

.success-icon {
  font-size: 5rem;
  color: var(--accent-1);
  margin-bottom: 1.5rem;
}

.success-content h2 {
  margin-bottom: 1.5rem;
}

.success-content p {
  margin-bottom: 2rem;
}

/* Privacy & Terms Pages */
.legal-page {
  padding-top: 100px;
  background-color: var(--white);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
}

.legal-content h2 {
  margin-bottom: 2rem;
}

.legal-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.legal-content p {
  margin-bottom: 1.5rem;
}

.legal-content ul {
  margin-bottom: 2rem;
}

/* Media Queries */
@media screen and (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .mission-content, .community-content, .awards-content {
    padding: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .values-container, .community-features, .community-testimonials {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .legal-links {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .contact-content, .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .award-item {
    width: 100%;
  }
}

.mobile-menu.active{
  display: block;
  background-color: #767888;
}