/* Base Styles */
:root {
  --primary-color: #2c5282;
  --secondary-color: #4299e1;
  --accent-color: #f6ad55;
  --dark-color: #1a202c;
  --light-color: #f7fafc;
  --gray-color: #718096;
  --border-color: #e2e8f0;
  --success-color: #48bb78;
  --font-main: "Nunito Sans", sans-serif;
  --font-heading: "Montserrat", sans-serif;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-main);
  color: var(--dark-color);
  line-height: 1.6;
  background-color: var(--light-color);
}

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

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

a:hover {
  color: var(--secondary-color);
}

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

ul {
  list-style: none;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--dark-color);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  animation: fadeIn 0.8s ease-out;
}

.section-title:after {
  content: "";
  display: block;
  width: 0;
  height: 4px;
  background: var(--primary-color);
  margin: 0.5rem auto 0;
  transition: width 0.3s ease;
}

.section-title.visible:after {
  width: 80px;
}

section {
  padding: 5rem 0;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  border: none;
}

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

.primary-btn:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

.secondary-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  display: flex;
  align-items: center;
  z-index: 101;
}

.logo img {
  height: 50px;
  margin-right: 1rem;
}

.logo-text h1 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0;
}

.tagline {
  font-size: 0.9rem;
  color: var(--gray-color);
}

/* Navigation */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  z-index: 101;
}

.nav-toggle-label span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

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

nav ul {
  display: flex;
  align-items: center;
  height: 100%;
}

nav ul li {
  margin-left: 1.5rem;
  display: flex;
  align-items: center;
  height: 100%;
}

nav ul li a {
  color: var(--dark-color);
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
  display: flex;
  align-items: center;
}

nav ul li a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

/* Client Portal Button */
li.portal-button {
  margin-left: 1.5rem;
  display: flex;
  align-items: center;
}

li.portal-button a {
  color: white !important;
  font-weight: 700;
  display: flex;
  align-items: center;
  background-color: var(--accent-color);
  padding: 0.6rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

li.portal-button a:hover {
  background-color: #e69c3b;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  color: white !important;
}

li.portal-button a:after {
  display: none !important;
}

li.portal-button a i {
  margin-right: 5px;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

li.portal-button a:hover i {
  transform: translateY(-2px);
}

.contact-info {
  display: flex;
  align-items: center;
  margin-left: 2rem;
  height: 100%;
}

.phone {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
}

.phone i {
  margin-right: 0.5rem;
}

/* Hero Section */
.hero {
  background-color: #f8fafc;
  padding: 5rem 0;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  flex: 1;
  animation: fadeIn 1s ease-out;
}

.hero-content h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--gray-color);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: slideInRight 1s ease-out;
}

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

.hero-image:hover img {
  transform: scale(1.02);
}

/* Services Overview Section */
.services-overview {
  background-color: white;
}

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

.service-card {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid var(--border-color);
  animation: scaleIn 0.5s ease-out;
}

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

.service-card .icon {
  background-color: rgba(66, 153, 225, 0.1);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-card .icon i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.service-card:hover .icon {
  transform: scale(1.1);
  background-color: rgba(66, 153, 225, 0.2);
}

.service-card h3 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.service-card p {
  color: var(--gray-color);
  margin-bottom: 1.5rem;
}

.learn-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

.learn-more:after {
  content: "→";
  margin-left: 0.5rem;
  transition: var(--transition);
}

.learn-more:hover:after {
  transform: translateX(5px);
}

.learn-more:hover {
  color: var(--secondary-color);
}

/* Why Choose Us Section */
.why-choose-us {
  background-color: #f8fafc;
}

.why-choose-us .container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.content-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.content-text {
  flex: 1;
}

.content-text .section-title {
  text-align: left;
}

.content-text .section-title:after {
  margin-left: 0;
}

.benefits-list li {
  display: flex;
  margin-bottom: 1.5rem;
}

.benefits-list i {
  color: var(--success-color);
  font-size: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.benefits-list h3 {
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.benefits-list p {
  color: var(--gray-color);
}

/* CTA Section */
.cta-section {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .primary-btn {
  background-color: white;
  color: var(--primary-color);
}

.cta-section .primary-btn:hover {
  background-color: var(--accent-color);
  color: var(--dark-color);
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  animation: fadeIn 1s ease-out;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-weight: 600;
}

.footer-content h3 {
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

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

.footer-content ul li a {
  color: #cbd5e0;
  transition: var(--transition);
}

.footer-content ul li a:hover {
  color: white;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: #cbd5e0;
}

.footer-contact p i {
  margin-right: 0.8rem;
  color: var(--secondary-color);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  background-color: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px) rotate(8deg);
}

.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;
  gap: 1rem;
}

.footer-bottom p {
  color: #cbd5e0;
}

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

.footer-legal a {
  color: #cbd5e0;
}

.footer-legal a:hover {
  color: white;
}

/* Services Page Styles */

/* Page Header */
.page-header {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Services Intro */
.services-intro {
  padding: 5rem 0;
  background-color: white;
}

.services-intro .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.intro-content {
  flex: 1;
}

.intro-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
}

.intro-content p {
  margin-bottom: 1.5rem;
  color: var(--gray-color);
  font-size: 1.1rem;
}

.intro-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Service Detail Sections */
.service-detail {
  padding: 5rem 0;
}

.service-detail .container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.service-detail.alt-bg {
  background-color: #f8fafc;
}

.service-content {
  flex: 1;
  animation: slideInLeft 0.8s ease-out;
}

.service-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: slideInRight 0.8s ease-out;
}

.service-icon {
  background-color: rgba(66, 153, 225, 0.1);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-color);
}

.service-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.service-content p {
  color: var(--gray-color);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.service-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.service-features {
  margin-bottom: 2rem;
}

.service-features li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.service-features li i {
  color: var(--success-color);
  margin-right: 0.8rem;
}

/* Service CTA Section */
.service-cta {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.service-cta h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.service-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.service-cta .primary-btn {
  background-color: white;
  color: var(--primary-color);
}

.service-cta .primary-btn:hover {
  background-color: var(--accent-color);
  color: var(--dark-color);
}

.service-cta .secondary-btn {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.service-cta .secondary-btn:hover {
  background-color: white;
  color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero .container,
  .why-choose-us .container,
  .services-intro .container,
  .service-detail .container {
    flex-direction: column;
  }

  .hero-content {
    text-align: center;
  }

  .cta-buttons {
    justify-content: center;
  }

  .content-text .section-title {
    text-align: center;
  }

  .content-text .section-title:after {
    margin: 0.5rem auto 0;
  }

  .content-image {
    order: -1;
  }
  
  .service-detail:nth-child(even) .container {
    flex-direction: column;
  }
  
  .service-image {
    width: 100%;
    margin-bottom: 2rem;
  }
  
  .service-detail:nth-child(odd) .service-image {
    order: -1;
  }

  li.portal-button a {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .nav-toggle-label {
    display: block;
  }
  
  nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: white;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: height 0.3s ease;
    z-index: 100;
  }
  
  nav ul {
    flex-direction: column;
    text-align: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    height: auto;
  }
  
  nav ul li {
    margin: 1rem 0;
    height: auto;
  }
  
  .contact-info {
    margin: 1.5rem 0 0;
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  
  .nav-toggle:checked ~ nav {
    height: 100vh;
    padding: 6rem 0;
  }
  
  .nav-toggle:checked ~ nav ul,
  .nav-toggle:checked ~ nav .contact-info {
    opacity: 1;
  }
  
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-contact p {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .page-header h1 {
    font-size: 2rem;
  }
  
  .intro-content h2,
  .service-content h2 {
    font-size: 1.8rem;
  }
  
  .service-cta .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .service-cta .btn {
    width: 100%;
  }

  /* Mobile portal button specific styling */
  li.portal-button {
    margin: 1.5rem 0;
  }
  
  li.portal-button a {
    justify-content: center;
    width: 200px;
  }
}

/* About Page Styles */
.about-intro {
  padding: 5rem 0;
  background-color: white;
}

.about-intro .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

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

.value-card {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.5s ease-out;
}

.value-card:hover {
  transform: translateY(-5px) scale(1.02);
}

.value-card .icon {
  width: 60px;
  height: 60px;
  background-color: rgba(66, 153, 225, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-card .icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.value-card:hover .icon i {
  transform: scale(1.2);
}

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

.value-card p {
  color: var(--gray-color);
}

.team-section {
  padding: 5rem 0;
}

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

.team-member {
  text-align: center;
  animation: fadeIn 0.8s ease-out;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.team-member h3 {
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

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

.team-member .bio {
  color: var(--gray-color);
}

.stats-section {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  animation: fadeIn 0.8s ease-out;
}

.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  animation: float 3s ease-in-out infinite;
}

.stat-item .stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Contact Page Styles */
.contact-section {
  padding: 5rem 0;
  background-color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info-card,
.contact-form-card {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-info-card h2,
.contact-form-card h2 {
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.contact-methods {
  margin: 2rem 0;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  animation: fadeIn 0.5s ease-out;
}

.contact-method i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
  width: 24px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-method:hover i {
  transform: scale(1.2);
  color: var(--secondary-color);
}

.contact-method h3 {
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.contact-method p {
  color: var(--gray-color);
}

.emergency-support {
  background-color: rgba(66, 153, 225, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.emergency-support h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-main);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(44, 82, 130, 0.1);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.map-section {
  padding: 5rem 0;
  background-color: #f8fafc;
}

.map-section .section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--gray-color);
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background-color: #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-color);
}

.map-placeholder .small {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Responsive Styles for About and Contact Pages */
@media (max-width: 992px) {
  .about-intro .container {
    flex-direction: column;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-info-card,
  .contact-form-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .team-member img {
    width: 150px;
    height: 150px;
  }
}

/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* Add animation classes */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease-out;
}

/* Responsive Animation Adjustments */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Privacy Policy and Terms of Service Pages */
.privacy-content,
.terms-content {
  padding: 4rem 0;
  background-color: white;
}

.privacy-section,
.terms-section {
  margin-bottom: 3rem;
  animation: fadeIn 0.8s ease-out;
}

.privacy-section h2,
.terms-section h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.privacy-section h2:after,
.terms-section h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.privacy-section h3,
.terms-section h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--dark-color);
  margin: 2rem 0 1rem;
}

.privacy-section p,
.terms-section p {
  color: var(--gray-color);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.privacy-section ul,
.terms-section ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.privacy-section ul li,
.terms-section ul li {
  color: var(--gray-color);
  margin-bottom: 0.8rem;
  position: relative;
  line-height: 1.6;
}

.privacy-section ul li:before,
.terms-section ul li:before {
  content: "•";
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: -1.5rem;
}

@media (max-width: 768px) {
  .privacy-section h2,
  .terms-section h2 {
    font-size: 1.6rem;
  }

  .privacy-section h3,
  .terms-section h3 {
    font-size: 1.2rem;
  }

  .privacy-section p,
  .terms-section p,
  .privacy-section ul li,
  .terms-section ul li {
    font-size: 0.95rem;
  }
}