:root {
  /* Bright Color Scheme */
  --primary-color: #ff6b6b;
  --primary-dark: #e74c4c;
  --secondary-color: #4ecdc4;
  --secondary-dark: #36b1a8;
  --accent-color: #ffe66d;
  --accent-dark: #f2d94c;
  --success-color: #6bff8d;
  --warning-color: #ffa36b;
  --danger-color: #ff6b8e;
  --light-color: #f8f9fa;
  --dark-color: #333333;
  --text-color: #333333;
  --text-light: #f8f9fa;
  --text-muted: #6c757d;
  --border-color: #dee2e6;
  --box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.05), -10px -10px 20px rgba(255, 255, 255, 0.8);
  --inset-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.05), inset -5px -5px 10px rgba(255, 255, 255, 0.8);
  --transition-elastic: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  --transition-smooth: all 0.3s ease-in-out;
  --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-color), var(--accent-dark));
}

html {
  overflow-x: hidden;
}

/* Base Styles */
body {
  font-family: 'Merriweather', serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

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

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

.btn-link {
  padding: 0;
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-link:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

.btn-link .bi-arrow-right {
  transition: var(--transition-elastic);
  margin-left: 5px;
}

.btn-link:hover .bi-arrow-right {
  margin-left: 10px;
}

/* Button Styles */
.btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: var(--transition-elastic);
  box-shadow: var(--box-shadow);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
}

.btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: var(--inset-shadow);
}

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

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  color: var(--text-light);
}

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

.btn-outline-primary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--gradient-primary);
  color: var(--text-light);
  border-color: transparent;
}

.btn-outline-light {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

/* Form Styles */
.form-control, .form-select {
  padding: 0.75rem 1rem;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  box-shadow: var(--inset-shadow);
  transition: var(--transition-smooth);
}

.form-control:focus, .form-select:focus {
  box-shadow: var(--inset-shadow), 0 0 0 0.25rem rgba(255, 107, 107, 0.25);
  border-color: var(--primary-color);
}

.form-floating label {
  padding: 0.75rem 1rem;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
  color: var(--primary-color);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Card Styles */
.card {
  border: none;
  border-radius: 20px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
}

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

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

.card-image img {
  width: 100%;
  height: auto;
  transition: var(--transition-smooth);
  object-fit: cover;
  margin: 0 auto;
}

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

.card-content {
  padding: 1.5rem;
  width: 100%;
}

.card-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Header & Navigation */
.header-section {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: 50px;
  transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
  background-color: rgba(255, 107, 107, 0.1);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.navbar-toggler:focus {
  box-shadow: var(--inset-shadow);
}

/* Hero Section */
.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text-light);
  padding: 5rem 0;
}

.hero-section::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.5));
}

.hero-section .row {
  position: relative;
  z-index: 1;
}

.hero-section h1, .hero-section p {
  color: #FFFFFF;
}

.min-vh-75 {
  min-height: 75vh;
}

/* About Section */
.about-section {
  padding: 5rem 0;
}

.about-image-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-content h3 {
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.progress {
  height: 10px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.05);
  box-shadow: var(--inset-shadow);
  margin-bottom: 0.5rem;
}

.progress-bar {
  background: var(--gradient-primary);
  border-radius: 5px;
  position: relative;
}

.progress-wrapper p {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

/* Process Section */
.process-section {
  padding: 5rem 0;
}

.process-timeline {
  position: relative;
  padding: 2rem 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--text-light);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: var(--box-shadow);
}

.timeline-content {
  width: 80%;
  max-width: 800px;
  margin-top: 30px;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
  margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
  margin-right: 0;
}

/* Community Section */
.community-section {
  padding: 5rem 0;
}

.community-image-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.community-content h3 {
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.stat-item h4 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-item p {
  font-weight: 600;
  color: var(--text-muted);
}

/* Resources Section */
.resources-section {
  padding: 5rem 0;
}

.resource-card {
  height: 100%;
}

.resource-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Pricing Section */
.pricing-section {
  padding: 5rem 0;
}

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

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

.pricing-card .card-header {
  background: transparent;
  border-bottom: none;
  padding-top: 2rem;
  position: relative;
}

.pricing-card .price {
  margin: 1.5rem 0;
}

.pricing-card .currency {
  font-size: 1.5rem;
  vertical-align: top;
  margin-right: 0.25rem;
}

.pricing-card .amount {
  font-size: 3rem;
  font-weight: 700;
}

.pricing-card .period {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-card ul {
  margin: 1.5rem 0;
  text-align: left;
}

.pricing-card ul li {
  margin-bottom: 0.75rem;
}

.pricing-note {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 107, 107, 0.2));
  border: none;
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
}

.testimonial-card {
  text-align: left;
}

.testimonial-image-container {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

.testimonial-text {
  font-style: italic;
  margin: 1.5rem 0;
}

.testimonial-rating {
  color: var(--accent-color);
}

.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
}

.carousel-control-prev {
  left: -20px;
}

.carousel-control-next {
  right: -20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

/* Partners Section */
.partners-section {
  padding: 5rem 0;
}

.partner-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  padding: 1.5rem;
  border-radius: 15px;
  background-color: white;
  box-shadow: var(--box-shadow);
  transition: var(--transition-elastic);
}

.partner-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.partners-note {
  margin-top: 2rem;
  color: var(--text-muted);
  text-align: center;
}

/* Blog Section */
.blog-section {
  padding: 5rem 0;
}

.blog-card {
  height: 100%;
}

.blog-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.blog-date {
  font-size: 0.875rem;
}

/* Projects Section */
.projects-section {
  padding: 5rem 0;
}

.project-card {
  overflow: hidden;
}

.project-card img {
  transition: var(--transition-smooth);
}

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

/* Contact Section */
.contact-section {
  padding: 5rem 0;
}

.contact-info, .contact-form {
  height: 100%;
}

.contact-details li {
  margin-bottom: 1.5rem;
}

.contact-details i {
  color: var(--primary-color);
}

/* Footer Section */
.footer-section {
  background-color: var(--dark-color);
  color: var(--text-light);
  padding: 5rem 0 2rem;
}

.footer-section h3 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.social-links a {
  transition: var(--transition-smooth);
  display: inline-block;
  margin-right: 1rem;
}

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

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-container {
  max-width: 700px;
  padding: 3rem;
  background-color: white;
  border-radius: 20px;
  box-shadow: var(--box-shadow);
}

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

/* Privacy & Terms Pages */
.page-content {
  padding-top: 100px;
  padding-bottom: 5rem;
}

.page-content h1 {
  margin-bottom: 2rem;
}

.page-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Animations */
[data-aos] {
  opacity: 0;
  transition: var(--transition-elastic);
}

[data-aos="fade-up"] {
  transform: translateY(50px);
}

[data-aos="fade-down"] {
  transform: translateY(-50px);
}

[data-aos="fade-left"] {
  transform: translateX(-50px);
}

[data-aos="fade-right"] {
  transform: translateX(50px);
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
}

[data-aos="flip-left"] {
  transform: rotateY(90deg);
}

[data-aos="flip-right"] {
  transform: rotateY(-90deg);
}

[data-aos="flip-up"] {
  transform: rotateX(90deg);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0) rotate(0) scale(1);
}

/* Cookie Consent */
#cookieConsent {
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

#acceptCookies:hover {
  background-color: var(--primary-color);
}

/* Media Queries */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }
  
  .process-timeline::before {
    left: 40px;
  }
  
  .timeline-number {
    left: 40px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    width: calc(100% - 80px);
    margin-left: auto;
    margin-right: 0;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .hero-section {
    text-align: center;
  }
  
  .card-image img {
    height: 200px;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}

@media (max-width: 576px) {
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
  }
  
  .timeline-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .testimonial-image-container {
    width: 60px;
    height: 60px;
  }
  
  .partner-logo {
    height: 100px;
  }
}

/* Utility Classes */
.bg-light {
  background-color: #f8f9fa !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.text-accent {
  color: var(--accent-color) !important;
}

.text-white {
  color: var(--text-light) !important;
}

.rounded-custom {
  border-radius: 20px;
}

.shadow-custom {
  box-shadow: var(--box-shadow);
}

.animation-delay-100 {
  animation-delay: 100ms;
}

.animation-delay-200 {
  animation-delay: 200ms;
}

.animation-delay-300 {
  animation-delay: 300ms;
}