/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #4a90e2;
  border-radius: 6px;
  border: 3px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
  background: #357abd;
}

/* For Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #4a90e2 #f1f5f9;
}

/* Header styles */
.header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 70px;
}

.logo {
  flex: 1;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3748;
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 1px;
}

.logo a:hover {
  color: #4a5568;
}

.nav-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #4a90e2;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #4a90e2;
}

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

.nav-link.active {
  color: #4a90e2;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #2d3748;
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

.mobile-menu-btn span:nth-child(1) {
  top: 8px;
}

.mobile-menu-btn span:nth-child(2) {
  top: 14px;
}

.mobile-menu-btn span:nth-child(3) {
  top: 20px;
}

/* Animation for mobile menu button */
.mobile-menu-btn.active span:nth-child(1) {
  transform: translate(-12px, 6px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translate(-12px, -6px) rotate(-45deg);
}

/* Responsive design */
@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
    height: 70px;
  }

  .nav-menu {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    transform: translateX(100%);
    background-color: #ffffff;
    padding: 2rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
  }

  .nav-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .nav-link {
    display: block;
    padding: 1rem;
    font-size: 1.1rem;
  }

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

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu-btn span {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translate(-50%, 6px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translate(-50%, -6px) rotate(-45deg);
  }
}

/* Hero Section */
.hero {
  padding-top: 120px; /* Account for fixed header */
  min-height: 100vh;
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  padding-right: 2rem;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text p {
  color: #4a5568;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: translateY(-10px);
}

.cta-button {
  display: inline-block;
  background-color: #4a90e2;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.cta-button:hover {
  background-color: #357abd;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* Responsive design for hero section */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-text {
    padding-right: 0;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 100px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}

/* Services Page Styles */
.services {
  padding-top: 100px;
  min-height: 100vh;
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.services h1 {
  text-align: center;
  font-size: 2.5rem;
  color: #1a202c;
  margin-bottom: 3rem;
}

.service-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.service-header:hover {
  background-color: #f7fafc;
}

.service-header h2 {
  font-size: 1.5rem;
  color: #2d3748;
  margin: 0;
  pointer-events: none;
}

.expand-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.plus-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.plus-icon::before,
.plus-icon::after {
  content: "";
  position: absolute;
  background-color: #4a90e2;
  transition: all 0.3s ease;
}

.plus-icon::before {
  width: 2px;
  height: 16px;
  left: -1px;
  top: -8px;
}

.plus-icon::after {
  width: 16px;
  height: 2px;
  left: -8px;
  top: -1px;
}

.expand-btn.active {
  transform: rotate(45deg);
}

.service-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.service-card.expanded .service-content {
  max-height: 2000px;
  padding: 0 1.5rem 1.5rem;
}

.service-content p {
  color: #4a5568;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.service-content h3 {
  color: #2d3748;
  margin: 1.5rem 0 1rem;
  font-size: 1.2rem;
}

.service-content ul {
  list-style-type: none;
  padding: 0;
}

.service-content li {
  color: #4a5568;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-content li::before {
  content: "•";
  color: #4a90e2;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .services {
    padding-top: 80px;
  }

  .services h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .service-header h2 {
    font-size: 1.25rem;
  }

  .services-container {
    padding: 1rem;
  }
}

/* Contact Page Styles */
.contact {
  padding-top: 120px;
  min-height: 100vh;
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.contact h1 {
  font-size: 2.5rem;
  color: #1a202c;
  margin-bottom: 1.5rem;
}

.contact-intro {
  color: #4a5568;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

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

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.contact-icon {
  font-size: 2rem;
  color: #4a90e2;
  margin-bottom: 1rem;
}

.contact-card h3 {
  color: #2d3748;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contact-card p {
  color: #4a5568;
  line-height: 1.6;
}

.contact-card a {
  color: #4a90e2;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: #357abd;
}

/* Responsive adjustments for contact page */
@media (max-width: 768px) {
  .contact {
    padding-top: 100px;
  }

  .contact h1 {
    font-size: 2rem;
  }

  .contact-intro {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
}

/* CTA Section Styles */
.cta-section {
  background-color: #4a90e2;
  width: 100%;
  padding: 4rem 2rem;
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta-section h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-section .cta-button {
  background-color: white;
  color: #4a90e2;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 0;
}

.cta-section .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments for CTA section */
@media (max-width: 768px) {
  .cta-section {
    padding: 3rem 1rem;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-section p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }
}

.button-group {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.cta-button.outline {
  background-color: transparent;
  color: #4a90e2;
  border: 2px solid #4a90e2;
}

.cta-button.outline:hover {
  background-color: rgba(74, 144, 226, 0.1);
  color: #357abd;
  border-color: #357abd;
}

@media (max-width: 768px) {
  .button-group {
    flex-direction: column;
    align-items: center;
  }

  .button-group .cta-button {
    width: 100%;
    max-width: 200px;
    text-align: center;
  }
}

/* Expertise Section Styles */
.expertise {
  padding: 6rem 2rem;
  background-color: #f8fafc;
}

.expertise-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.expertise h2 {
  font-size: 2.5rem;
  color: #1a202c;
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-subtitle {
  color: #4a5568;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

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

.expertise-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

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

.expertise-icon {
  font-size: 2rem;
  color: #4a90e2;
  margin-bottom: 1.5rem;
}

.expertise-card h3 {
  color: #2d3748;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.expertise-card p {
  color: #4a5568;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.card-link {
  color: #4a90e2;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.card-link:hover {
  color: #357abd;
}

.card-link::after {
  content: "→";
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.card-link:hover::after {
  transform: translateX(5px);
}

/* Responsive adjustments for expertise section */
@media (max-width: 768px) {
  .expertise {
    padding: 4rem 1rem;
  }

  .expertise h2 {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .expertise-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Footer Styles */
.footer {
  background-color: #1a1f36;
  color: #ffffff;
  padding: 4rem 2rem 1rem;
}

/* Add margin-top only when footer doesn't follow CTA section */
.services-container + .footer,
.contact-container + .footer,
.privacy-container + .footer {
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.footer-section h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

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

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #4a90e2;
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

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

/* Responsive adjustments for footer */
@media (max-width: 768px) {
  .footer {
    padding: 3rem 1rem 1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

/* Privacy Policy Styles */
.privacy {
  padding: 4rem 2rem;
}

.privacy-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  padding: 3rem;
}

.privacy-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.privacy-header h1 {
  font-size: 2.5rem;
  color: #1a1f36;
  margin-bottom: 1rem;
}

.last-updated {
  color: #666;
  font-size: 0.9rem;
}

.privacy-content {
  color: #444;
  line-height: 1.6;
}

.privacy-section {
  margin-bottom: 2.5rem;
}

.privacy-section:last-child {
  margin-bottom: 0;
}

.privacy-section h2 {
  color: #1a1f36;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.privacy-section p {
  margin-bottom: 1rem;
}

.privacy-section ul {
  list-style: none;
  padding-left: 0;
}

.privacy-section ul li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.privacy-section ul li:before {
  content: "•";
  color: #4a90e2;
  position: absolute;
  left: 0;
}

.privacy-section a {
  color: #4a90e2;
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-section a:hover {
  color: #357abd;
}

.privacy-section strong {
  color: #1a1f36;
  font-weight: 500;
}

/* Responsive adjustments for privacy policy */
@media (max-width: 768px) {
  .privacy {
    padding: 2rem 1rem;
  }

  .privacy-container {
    padding: 2rem 1.5rem;
  }

  .privacy-header h1 {
    font-size: 2rem;
  }

  .privacy-section h2 {
    font-size: 1.3rem;
  }
}
