@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  --primary: #2C3E50;
  --accent: #3498DB;
  --light-gray: #ECF0F1;
  --white: #FFFFFF;
  --muted-gray: #95A5A6;
  --font-primary: 'Montserrat', sans-serif;
  --font-fallback: 'Open Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-fallback);
  color: var(--primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

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

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: var(--light-gray);
  border-bottom: 1px solid var(--muted-gray);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  height: 80px;
}

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

.logo img {
  height: 50px;
  width: auto;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-desktop a {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-desktop a:hover {
  color: var(--accent);
}

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

.header-cta {
  display: none;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
  padding: 100px 30px 30px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: var(--primary);
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  margin-bottom: 20px;
}

.mobile-menu a {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 600;
  display: block;
  padding: 10px 0;
}

.mobile-menu .btn-primary {
  margin-top: 20px;
  text-align: center;
}

.mobile-phone-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 20px;
}

/* Hero Sections */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.75);
}

.hero-content {
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 36px;
  margin-bottom: 20px;
  overflow: hidden;
}

.hero-content h1 .reveal-text {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: revealText 0.8s ease forwards;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.5s forwards;
}

.hero-content .btn-primary {
  opacity: 0;
  animation: fadeIn 0.6s ease 0.8s forwards;
  animation-delay: 0s;
}

@keyframes revealText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  padding: 18px 36px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.btn-primary:hover {
  background: #2a73b3;
  transform: scale(1.02);
}

.btn-secondary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #3B5266;
  transform: scale(1.01);
}

.btn-text {
  color: var(--accent);
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.btn-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.btn-text:hover::after {
  width: 100%;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-gray {
  background: var(--light-gray);
}

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

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--primary);
}

.section-dark .section-title h2 {
  color: var(--white);
}

/* Problem Solution Section */
.problem-solution {
  display: grid;
  grid-template-columns: 1fr;
}

.problem-block {
  background: var(--light-gray);
  padding: 60px 30px;
}

.problem-block blockquote {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary);
}

.solution-block {
  background: var(--white);
  padding: 60px 30px;
}

.solution-block p {
  font-size: 16px;
  line-height: 1.8;
}

/* Why Choose Us Cards */
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 0 20px;
}

.why-choose-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.why-choose-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.why-choose-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose-card .icon svg {
  width: 30px;
  height: 30px;
  fill: var(--accent);
}

.why-choose-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary);
}

.why-choose-card p {
  font-size: 15px;
  color: var(--muted-gray);
  line-height: 1.6;
}

/* Services Overview */
.services-overview {
  padding: 0 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  position: relative;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
  filter: grayscale(30%) brightness(0.9);
}

.service-card:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

.service-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(44, 62, 80, 0.9));
  color: var(--white);
}

.service-card-overlay h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

.service-card-overlay a {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
}

/* Process Timeline */
.process-timeline {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.process-step {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  position: relative;
}

.process-step::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 50px;
  width: 2px;
  height: calc(100% + 20px);
  background: var(--accent);
  opacity: 0.3;
}

.process-step:last-child::before {
  display: none;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary);
}

.step-content p {
  font-size: 15px;
  color: var(--muted-gray);
  line-height: 1.6;
}

/* Testimonials */
.testimonials-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 20px;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.testimonial-slide blockquote {
  font-size: 20px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--primary);
}

.testimonial-slide cite {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.testimonial-nav button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--muted-gray);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-nav button.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* Case Studies Preview */
.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 0 20px;
}

.case-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.case-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case-card-content {
  padding: 25px;
}

.case-card-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary);
}

.case-card-content p {
  font-size: 14px;
  color: var(--muted-gray);
  margin-bottom: 15px;
  line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
  text-align: center;
  padding: 80px 20px;
}

.cta-banner h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: var(--white);
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-item {
  border-bottom: 1px solid var(--muted-gray);
  margin-bottom: 15px;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--muted-gray);
  line-height: 1.6;
}

/* Contact Section */
.contact-snippet {
  text-align: center;
  padding: 60px 20px;
}

.contact-snippet h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.contact-snippet p {
  font-size: 16px;
  color: var(--muted-gray);
  margin-bottom: 30px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-info-item svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

.contact-info-item a,
.contact-info-item span {
  font-size: 16px;
  color: var(--primary);
}

/* Footer */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 0 20px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-gray);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  font-size: 14px;
  color: var(--muted-gray);
  transition: color 0.3s ease;
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

.footer-contact-item a,
.footer-contact-item span {
  font-size: 14px;
  color: var(--muted-gray);
}

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

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

.social-links a:hover {
  background: var(--accent);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--muted-gray);
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hero-content h1 .reveal-text,
  .hero-content p,
  .hero-content .btn-primary {
    opacity: 1;
    animation: none;
    transform: none;
  }
  
  .btn-primary {
    animation: none;
  }
  
  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
  
  .why-choose-card:hover,
  .case-card:hover,
  .service-card:hover {
    transform: none;
  }
}

/* Tablet */
@media (min-width: 768px) {
  .header-inner {
    height: 75px;
    padding: 15px 30px;
  }
  
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  
  .nav-desktop ul {
    display: flex;
    gap: 25px;
  }
  
  .header-cta {
    display: block;
  }
  
  .header-cta .btn-secondary {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 48px;
  }
  
  .hero-content p {
    font-size: 20px;
  }
  
  .problem-solution {
    grid-template-columns: 1fr 1fr;
  }
  
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  section {
    padding: 100px 0;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .header-inner {
    height: 80px;
    padding: 15px 60px;
  }
  
  .nav-desktop ul {
    gap: 30px;
  }
  
  .nav-desktop a {
    font-size: 14px;
  }
  
  .hero {
    min-height: 90vh;
  }
  
  .hero-content h1 {
    font-size: 56px;
  }
  
  .section-title h2 {
    font-size: 40px;
  }
  
  .why-choose-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .case-studies-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .process-step {
    gap: 30px;
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  
  section {
    padding: 120px 0;
  }
}

/* Mobile header specific */
@media (max-width: 767px) {
  .header-inner {
    height: 65px;
    padding: 10px 20px;
  }
  
  .logo img {
    height: 40px;
  }
  
  .mobile-menu-btn {
    display: flex;
    padding: 8px;
  }
  
  .header-cta {
    display: none;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .hero-content h1 {
    font-size: 28px;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 26px;
  }
  
  .problem-block blockquote {
    font-size: 20px;
  }
  
  .testimonial-slide blockquote {
    font-size: 16px;
  }
  
  .cta-banner h2 {
    font-size: 26px;
  }
  
  .btn-primary {
    width: 100%;
    text-align: center;
  }
}
