/* --- Core Variables & Styles --- */
:root {
  /* Neomorphic Split-Complementary Color Scheme */
  --primary-color: #4D46B0;
  --primary-dark: #332E8B;
  --primary-light: #6A64D1;
  
  --complementary-color: #F15A22;
  --complementary-dark: #C43C09;
  --complementary-light: #FF7E4F;
  
  --split-complementary-1: #22C2F1;
  --split-complementary-1-dark: #0A96C2;
  --split-complementary-1-light: #50D3FB;
  
  --split-complementary-2: #58D868;
  --split-complementary-2-dark: #3AAF4A;
  --split-complementary-2-light: #7DE98B;
  
  /* Neomorphic Shades */
  --neomorphic-light: rgba(255, 255, 255, 0.5);
  --neomorphic-shadow: rgba(0, 0, 0, 0.05);
  
  /* Typography */
  --heading-font: 'Archivo Black', sans-serif;
  --body-font: 'Roboto', sans-serif;
  
  /* Spacing */
  --section-spacing: 5rem;
  --card-spacing: 2rem;
  
  /* Neomorphic UI Elements */
  --border-radius: 16px;
  --box-shadow-neomorphic: 
    8px 8px 16px var(--neomorphic-shadow),
    -8px -8px 16px var(--neomorphic-light);
  --box-shadow-neomorphic-inset: 
    inset 6px 6px 12px var(--neomorphic-shadow),
    inset -6px -6px 12px var(--neomorphic-light);
}

/* --- Global Styles --- */
body {
  font-family: var(--body-font);
  color: #333;
  overflow-x: hidden;
  background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.8rem;
  position: relative;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

p {
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

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

section {
  padding: 5rem 0;
  position: relative;
}

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

/* --- Button Styles --- */
.btn, button, input[type="submit"] {
  border-radius: var(--border-radius);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  font-size: 0.95rem;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  z-index: -1;
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.btn-primary {
  background-color: var(--primary-color);
  color: white !important;
  box-shadow: var(--box-shadow-neomorphic);
}

.btn-primary::before {
  background-color: var(--primary-dark);
}

.btn-primary:hover {
  transform: translateY(-3px);
}

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

.btn-outline-primary::before {
  background-color: var(--primary-color);
}

.btn-outline-primary:hover {
  color: white !important;
  transform: translateY(-3px);
}

.btn-outline-light {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline-light::before {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
  color: white;
  transform: translateY(-3px);
}

/* --- Section Headers --- */
.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--complementary-color));
  border-radius: 2px;
}

.section-header p {
  max-width: 700px;
  margin: 1rem auto;
  font-size: 1.2rem;
  color: #666;
}

/* --- Card Base Styles --- */
.card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-neomorphic);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

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

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

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

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

.card-content {
  padding: 2rem;
  flex-grow: 1;
  width: 100%;
  text-align: center;
}

/* --- Navigation --- */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
  background-color: transparent;
}

.navbar-brand {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  color: white;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

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

.navbar.scrolled {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
  color: #333;
}

.navbar.scrolled .nav-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
}

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

.hero-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(77, 70, 176, 0.8), rgba(241, 90, 34, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 2rem 0;
}

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

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1.4s ease;
}

.hero-buttons {
  animation: fadeInUp 1.6s ease;
}

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

/* --- Services Section --- */
.services-section {
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--split-complementary-1-light), var(--split-complementary-1));
  border-radius: 50%;
  top: -150px;
  right: -150px;
  opacity: 0.05;
  z-index: 0;
}

.service-card {
  height: 100%;
  background-color: white;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card .card-image {
  height: 250px;
  overflow: hidden;
}

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

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

.service-card .card-content {
  padding: 2rem;
}

.service-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

/* --- Statistics Section --- */
.statistics-section {
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.statistics-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--split-complementary-2-light), var(--split-complementary-2));
  border-radius: 50%;
  bottom: -200px;
  left: -200px;
  opacity: 0.05;
  z-index: 0;
}

.stats-container {
  position: relative;
  z-index: 1;
}

.stat-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-neomorphic);
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-family: var(--heading-font);
}

.stat-label {
  font-size: 1.1rem;
  color: #555;
}

/* --- Case Studies Section --- */
.case-studies-section {
  background-color: #f9f9f9;
  position: relative;
}

.case-study-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-neomorphic);
  margin-bottom: 2rem;
  background-color: white;
  height: 100%;
}

.case-study-card .card-image {
  height: 300px;
  overflow: hidden;
}

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

.case-study-card:hover .card-image img {
  transform: scale(1.1);
}

.case-study-card .card-content {
  padding: 2rem;
}

.case-study-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

/* --- Resources Section --- */
.resources-section {
  background-color: #fff;
}

.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-neomorphic);
  background: linear-gradient(135deg, #fff, #f5f5f5);
  transition: transform 0.3s ease;
}

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

.resource-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

/* --- Testimonials Section --- */
.testimonials-section {
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.testimonial-card {
  text-align: center;
  padding: 3rem 2rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-neomorphic);
  background-color: white;
  position: relative;
  height: 100%;
  transition: transform 0.3s ease;
}

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

.testimonial-card .card-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: -80px auto 1.5rem;
  border: 5px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.testimonial-rating {
  color: #FFD700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.testimonial-position {
  font-size: 0.9rem;
  color: #777;
}

/* --- Blog Section --- */
.blog-section {
  background-color: #fff;
}

.blog-card {
  height: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-neomorphic);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-card .card-image {
  height: 220px;
  overflow: hidden;
}

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

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

.blog-date {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.75rem;
}

.blog-card .card-content {
  padding: 1.5rem;
}

.blog-card h3 {
  font-size: 1.4rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.blog-card .btn {
  margin-top: 1rem;
}

/* --- Contact Section --- */
.contact-section {
  background-color: #f9f9f9;
  position: relative;
}

.contact-info {
  padding: 2rem;
  height: 100%;
}

.contact-info h2 {
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.contact-form-container {
  background-color: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-neomorphic);
  height: 100%;
}

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

.form-control {
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  border: 1px solid #e1e1e1;
  box-shadow: var(--box-shadow-neomorphic-inset);
  background-color: #f9f9f9;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.25rem rgba(77, 70, 176, 0.25);
}

.form-label {
  font-weight: 500;
  color: #555;
}

/* --- Footer --- */
.footer {
  background-color: #2a2a2a;
  color: #fff;
  padding: 4rem 0 0;
}

.footer h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

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

.social-links {
  margin-top: 1.5rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  margin-right: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.25rem;
}

.social-links a:hover {
  color: white;
  border-bottom-color: var(--complementary-color);
  transform: translateY(-3px);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 1rem;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 1.5rem;
}

.footer-links a:hover::before {
  opacity: 1;
}

address p {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

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

.footer-bottom-links li {
  display: inline-block;
  margin-left: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-bottom-links a:hover {
  color: white;
}

/* --- About Page --- */
.about-hero {
  background-color: var(--primary-color);
  color: white;
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.team-section {
  background-color: #f9f9f9;
}

.team-card {
  text-align: center;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-neomorphic);
  background-color: white;
  transition: transform 0.3s ease;
  height: 100%;
}

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

.team-member-image {
  height: 300px;
  overflow: hidden;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.team-member-info {
  padding: 1.5rem;
}

.team-member-name {
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.team-member-position {
  color: var(--complementary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-member-social a {
  display: inline-block;
  margin: 0 0.5rem;
  color: #555;
  transition: all 0.3s ease;
}

.team-member-social a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* --- Success Page --- */
.success-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f9f9f9;
  text-align: center;
}

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

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

/* --- Privacy & Terms Pages --- */
.privacy-page, .terms-page {
  padding-top: 100px;
}

.privacy-content, .terms-content {
  background-color: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-neomorphic);
}

/* --- Animations & Effects --- */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* --- 3D Effects --- */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.tilt-card-inner {
  transition: transform 0.5s;
}

.tilt-card:hover .tilt-card-inner {
  transform: rotateY(10deg) rotateX(5deg);
}

/* --- Responsive Styles --- */
@media (max-width: 991.98px) {
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .navbar-collapse {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    border-radius: var(--border-radius);
  }
  
  .navbar.scrolled .navbar-collapse {
    background-color: white;
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 2.4rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .hero-buttons .btn:last-child {
    margin-bottom: 0;
  }
  
  .stat-card {
    margin-bottom: 1.5rem;
  }
  
  .contact-info {
    margin-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .footer {
    text-align: center;
  }
  
  .footer-links {
    margin-bottom: 2rem;
  }
  
  .footer-bottom-links {
    margin-top: 1rem;
    text-align: center;
  }
  
  .footer-bottom-links li {
    display: block;
    margin: 0.5rem 0;
  }
}

header,.navbar{
  background-color: #555 !important;
}