
/* Base Styles */
:root {
  --primary: #0c3b87;
  --primary-light: rgba(12, 59, 135, 0.1);
  --primary-dark: #082a61;
  --accent: #e74c3c;
  --accent-light: rgba(231, 76, 60, 0.1);
  --accent-dark: #c0392b;
  --secondary: #f0f5ff;
  --text: #333333;
  --text-light: #6b7280;
  --text-dark: #111827;
  --background: #ffffff;
  --background-alt: #f9fafb;
  --border: #e5e7eb;
  --shadow: rgba(0, 0, 0, 0.1);
  --radius: 0.5rem;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--background);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

section {
  padding: 5rem 0;
}

.text-primary {
  color: var(--primary);
}

.accent-text {
  color: var(--accent);
}

.gradient-text {
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-divider {
  height: 4px;
  width: 80px;
  background: var(--accent);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.btn-full {
  width: 100%;
}

.btn-icon .icon {
  width: 20px;
  height: 20px;
}

/* Icons */
.icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--accent);
  margin-right: 0.5rem;
}

.check-icon::before {
  content: '✓';
}

/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  background-color: transparent;
  transition: var(--transition);
}

#navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-accent {
  color: var(--accent);
}

.nav-links {
  display: none;
}

.nav-link {
  padding: 0.5rem 0.75rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition);
}

.menu-icon::before, .menu-icon::after {
  content: '';
  position: absolute;
}

.menu-icon::before {
  transform: translateY(-8px);
}

.menu-icon::after {
  transform: translateY(8px);
}

.menu-active .menu-icon {
  background-color: transparent;
}

.menu-active .menu-icon::before {
  transform: rotate(45deg);
}

.menu-active .menu-icon::after {
  transform: rotate(-45deg);
}

/* Hero Section */
.hero {
  padding: 9rem 0 5rem;
  background-color: var(--background-alt);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.hero-text {
  text-align: center;
}

.hero-text h1 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.hero-image {
  width: 100%;
  max-width: 600px;
}

.image-container {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-container::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  z-index: -1;
  border-radius: calc(var(--radius) + 3px);
  opacity: 0.7;
}

/* About Section */
.about {
  background-color: var(--secondary);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: flex-start;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--background);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Why Choose Us Section */
.why-us {
  background-color: var(--secondary);
}

.feature-card {
  display: flex;
  padding: 1.5rem;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  margin-right: 1rem;
  flex-shrink: 0;
}

.feature-content h3 {
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Testimonials Section */
.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-container {
  margin-bottom: 2rem;
}

.testimonial-card {
  background-color: var(--background);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-image {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.stars {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  color: #FFD700;
}

.star {
  margin: 0 2px;
}

.testimonial-text p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.testimonial-author h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-author p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.testimonial-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.testimonial-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--background);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-btn:hover {
  background-color: var(--primary);
  color: white;
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

/* Contact Section */
.contact {
  background-color: var(--primary);
  color: white;
}

.contact .section-header h2, .contact .section-header p {
  color: white;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background-color: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  color: var(--text);
  height: 100%;
}

.contact-card h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.contact-item p {
  margin-bottom: 0;
}

.social-links h4 {
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary);
  color: white;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: #f9fafb;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  background-color: #1f2937;
  color: #f3f4f6;
  padding: 4rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column .logo {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-column p {
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.footer-column h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #f3f4f6;
}

.footer-links {
  list-style-type: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #9ca3af;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.footer-links a::before {
  content: '›';
  margin-right: 0.5rem;
  color: var(--accent);
}

.footer-links a:hover {
  color: #f3f4f6;
}

.newsletter-form {
  margin-top: 1rem;
}

.newsletter-input {
  display: flex;
  width: 100%;
}

.newsletter-input input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius) 0 0 var(--radius);
  background-color: #374151;
  color: white;
  outline: none;
}

.newsletter-input button {
  padding: 0.75rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  border: none;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  text-align: center;
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.legal-links a {
  color: #9ca3af;
  font-size: 0.875rem;
  transition: var(--transition);
}

.legal-links a:hover {
  color: #f3f4f6;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #10b981;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-element {
  opacity: 0;
}

.revealed {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Responsive Styles */
@media (min-width: 640px) {
  h1 {
    font-size: 3rem;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .menu-toggle {
    display: none;
  }

  .hero-text {
    text-align: left;
  }

  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hero-text {
    width: 50%;
  }

  .hero-image {
    width: 50%;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }

  .hero-text p {
    margin-left: 0;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-stats {
    justify-content: flex-start;
  }

  .about-content {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .about-image {
    width: 40%;
  }

  .about-text {
    width: 60%;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-content {
    flex-direction: row;
    text-align: left;
  }

  .testimonial-image {
    margin-right: 2rem;
    margin-bottom: 0;
  }

  .stars {
    justify-content: flex-start;
  }

  .contact-container {
    flex-direction: row;
  }

  .contact-info {
    width: 40%;
  }

  .contact-form-container {
    width: 60%;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-bottom p {
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}
