:root {
  --primary-blue: #3f3d99;
  --primary-yellow: #ffd333;
  --dark-blue: #2d2b70;
  --light-blue: #5452b0;
  --light-yellow: #ffe066;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
  --white: #ffffff;
  --gradient-blue: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  --gradient-yellow: linear-gradient(135deg, var(--primary-yellow) 0%, #ffb400 100%);
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary-blue);
}

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  font-size: 16px;
  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.1);
  transition: width 0.3s ease;
  z-index: -1;
}

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

.btn-primary {
  background: var(--gradient-yellow);
  color: var(--dark-blue);
  box-shadow: 0 4px 15px rgba(255, 211, 51, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 211, 51, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 2px solid var(--white);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

header.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

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

.logo-container {
  display: block;
}

.logo {
  height: 80px; /* Increased logo size */
  transition: var(--transition);
}

header.scrolled .logo {
  height: 70px;
}

nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

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

.nav-link:hover {
  color: var(--primary-blue);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient-yellow);
  color: var(--dark-blue);
  padding: 10px 20px;
  border-radius: 6px;
  margin-left: 15px;
}

.nav-cta:hover {
  color: var(--dark-blue);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 211, 51, 0.3);
}

.nav-cta::after {
  display: none;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-blue);
}

/* Hero Section */
.hero {
  background: var(--gradient-blue);
  color: var(--white);
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shape {
  position: absolute;
  background-color: var(--primary-yellow);
  border-radius: 50%;
  opacity: 0.1;
}

.shape-1 {
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  animation: float 10s ease-in-out infinite;
}

.shape-3 {
  top: 40%;
  right: 30%;
  width: 200px;
  height: 200px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-20px);
  }
  100% {
      transform: translateY(0);
  }
}

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

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--white);
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  gap: 15px;
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--primary-yellow);
  opacity: 0.05;
  border-radius: 50%;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

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

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: #666;
  font-size: 18px;
}

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

.service-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 211, 51, 0.05) 0%, rgba(63, 61, 153, 0.05) 100%);
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 36px;
  margin: 30px auto 20px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(63, 61, 153, 0.2);
}

.service-content {
  padding: 0 30px 30px;
  text-align: center;
}

.service-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-blue);
}

/* About Section */
.about {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.about::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--primary-blue);
  opacity: 0.05;
  border-radius: 50%;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image {
  flex: 1;
  position: relative;
  z-index: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
}

.about-image-accent {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 20px;
  left: 20px;
  background: var(--gradient-yellow);
  border-radius: 12px;
  z-index: -1;
  opacity: 0.3;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  position: relative;
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--gradient-yellow);
  border-radius: 2px;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  background-color: var(--white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: #666;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--gradient-blue);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.features .section-header h2 {
  color: var(--white);
}

.features .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

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

.feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-blue);
  font-size: 30px;
  margin: 0 auto 20px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(255, 211, 51, 0.3);
}

.feature-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--white);
}

.feature-item p {
  color: rgba(255, 255, 255, 0.8);
}

/* Testimonials */
.testimonials {
  padding: 120px 0;
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--primary-yellow);
  opacity: 0.05;
  border-radius: 50%;
}

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

.testimonial-card {
  background-color: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
}

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

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 80px;
  color: var(--primary-yellow);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

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

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.author-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.author-info p {
  font-size: 14px;
  color: #666;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background: var(--gradient-yellow);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--dark-blue);
}

.cta p {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--dark-blue);
}

.cta .btn-primary {
  background: var(--gradient-blue);
  color: var(--white);
  box-shadow: 0 5px 15px rgba(63, 61, 153, 0.3);
}

.cta .btn-primary:hover {
  box-shadow: 0 8px 25px rgba(63, 61, 153, 0.4);
}

/* Contact Section */
.contact {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.contact::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--primary-blue);
  opacity: 0.05;
  border-radius: 50%;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin-top: 60px;
}

.contact-info {
  background-color: var(--light-gray);
  padding: 40px;
  border-radius: 12px;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 20px;
  position: relative;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-yellow);
  border-radius: 2px;
}

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

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

.contact-icon {
  margin-right: 15px;
  color: var(--primary-blue);
  font-size: 24px;
  background-color: var(--white);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-text {
  flex: 1;
}

.contact-text h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gradient-blue);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
  font-size: 18px;
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(63, 61, 153, 0.3);
}

.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
}

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

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(63, 61, 153, 0.1);
}

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

/* Footer */
footer {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 80px 0 20px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-yellow);
}

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

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 80px;
  filter: brightness(0) invert(1);
}

.footer-about p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-heading {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--white);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-yellow);
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: 10px;
}

.footer-link a {
  color: var(--white);
  opacity: 0.8;
  text-decoration: none;
  transition: var(--transition);
}

.footer-link a:hover {
  opacity: 1;
  color: var(--primary-yellow);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero h1 {
      font-size: 40px;
  }
  
  .about-container {
      flex-direction: column;
  }
  
  .contact-container {
      grid-template-columns: 1fr;
  }
  
  .section-header h2 {
      font-size: 32px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
      display: none;
      position: absolute;
      top: 100px;
      left: 0;
      width: 100%;
      background-color: var(--white);
      flex-direction: column;
      padding: 20px;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
      display: flex;
  }
  
  .nav-item {
      margin: 10px 0;
  }
  
  .mobile-menu-btn {
      display: block;
  }
  
  .hero h1 {
      font-size: 32px;
  }
  
  .hero-btns {
      flex-direction: column;
  }
  
  .about-stats {
      grid-template-columns: 1fr;
  }
  
  .testimonials-container {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .section-header h2 {
      font-size: 28px;
  }
  
  .service-card {
      margin-bottom: 20px;
  }
  
  .hero {
      padding: 150px 0 80px;
  }
  
  .logo {
      height: 60px;
  }
  
  header.scrolled .logo {
      height: 50px;
  }
}