/* ========== FONTS ========== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/Inter-variable.woff2') format('woff2');
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --coral: rgb(230, 126, 34);
  --coral-hover: rgb(205, 108, 22);
  --dark-blue: rgb(22, 78, 120);
  --dark-blue-light: rgb(27, 116, 183);
  --accent-light: rgba(26, 156, 212, 0.1);
  --accent-blue: rgb(26, 156, 212);
  --text-gray: rgb(105, 104, 113);
  --bg-white: rgb(255, 255, 255);
  --bg-light: rgb(243, 244, 246);
  --bg-alt: rgb(243, 248, 252);
  --font-base: 1rem;
  --section-padding: 6rem 0;
  --container-width: 1200px;
}

/* Highlight underline effect */
.highlight {
  position: relative;
  display: inline;
}

.highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.05em;
  width: 100%;
  height: 0.18em;
  background: var(--coral);
  opacity: 0.45;
  border-radius: 2px;
  z-index: -1;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--font-base);
  line-height: 1.7;
  color: var(--dark-blue);
  background: var(--bg-white);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========== TYPOGRAPHY ========== */
h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
}

p {
  color: var(--text-gray);
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-text {
  max-width: 640px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
}

.btn-primary:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 126, 34, 0.35);
}

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

.btn-secondary:hover {
  background: var(--dark-blue);
  color: #fff;
  transform: translateY(-2px);
}

.btn .arrow {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ========== HEADER / NAV ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-blue);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--coral);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

.logo-svg {
  width: 50px;
  height: 50px;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav ul li {
  position: relative;
}

nav ul li a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-blue);
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

nav ul li a:hover {
  color: var(--coral);
}

nav ul li .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -1rem;
  background: #fff;
  border-radius: 12px;
  padding: 1rem 0;
  min-width: 220px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

nav ul li:hover .dropdown {
  display: block;
}

nav ul li .dropdown a {
  display: block;
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

nav ul li .dropdown a:hover {
  background: var(--bg-light);
}

.nav-cta {
  background: var(--coral);
  color: #fff !important;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--coral-hover) !important;
  color: #fff !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--dark-blue);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ========== HERO ========== */
.hero {
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  flex: 1;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

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

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image .blob {
  position: absolute;
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  background: var(--accent-blue);
  opacity: 0.12;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  animation: blobAnim 8s ease-in-out infinite;
}

@keyframes blobAnim {
  0%, 100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  50% { border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%; }
}

.hero-image img {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  max-width: 580px;
  width: 100%;
}

.hero-image.no-blob .blob {
  display: none;
}

/* ========== CLIENTS LOGOS ========== */
.clients-bar {
  padding: 3rem 0;
  background: var(--bg-light);
}

.clients-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.client-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-gray);
  opacity: 0.5;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.client-logo:hover {
  opacity: 0.8;
}

.client-logo-img {
  height: 35px;
  width: auto;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.client-logo-img:hover {
  opacity: 0.8;
  filter: grayscale(0%);
}

/* ========== STATS ROW ========== */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.stat-item-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.stat-number-inline {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
}

.stat-label-inline {
  font-size: 0.85rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  padding: var(--section-padding);
  background: var(--coral);
}

.cta-banner .section-title {
  color: #fff;
}

/* ========== CONTACT METHODS ========== */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem;
  background: var(--bg-alt);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  text-align: center;
}

.contact-method-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.contact-icon {
  font-size: 2rem;
  color: var(--coral);
}

.contact-method-card strong {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark-blue);
}

.contact-method-card span:last-child {
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* ========== SERVICES ========== */
.services {
  padding: var(--section-padding);
}

.services-header {
  margin-bottom: 3rem;
}

.services-columns {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.services-left {
  flex: 0 0 40%;
}

.services-right {
  flex: 1;
}

.services-approach {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
}

.services-approach h3 {
  margin-bottom: 1rem;
}

.services-approach p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.services-approach ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.services-approach ul li {
  color: var(--text-gray);
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
}

.services-approach ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 700;
}

.services-approach .learn-more {
  color: var(--coral);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s ease;
}

.services-approach .learn-more:hover {
  gap: 0.8rem;
}

/* Tabs */
.service-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.service-tab {
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  border: 2px solid var(--bg-light);
  background: var(--bg-white);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-gray);
  transition: all 0.3s ease;
}

.service-tab.active,
.service-tab:hover {
  border-color: var(--coral);
  color: var(--coral);
  background: rgba(230, 126, 34, 0.05);
}

.service-cards {
  display: none;
}

.service-cards.active {
  display: block;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

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

.service-card p {
  margin-bottom: 1.5rem;
}

.service-card .learn-more {
  color: var(--coral);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s ease;
}

.service-card:hover .learn-more {
  gap: 0.8rem;
}

/* ========== ABOUT ========== */
.about {
  padding: var(--section-padding);
  background: var(--dark-blue);
}

.about .section-label {
  color: var(--coral);
}

.about .section-title {
  color: #fff;
}

.about-content p {
  color: rgba(255, 255, 255, 0.8);
}

.about-image .blob {
  opacity: 0.15;
  background: var(--coral);
}

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

.about-content {
  flex: 1;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.about-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.about-image .blob {
  position: absolute;
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  background: var(--accent-blue);
  opacity: 0.1;
  border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%;
  animation: blobAnim 10s ease-in-out infinite reverse;
}

.about-image img {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  max-width: 380px;
  width: 100%;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: var(--section-padding);
}

.testimonials-header {
  margin-bottom: 3rem;
}

.testimonials-stats {
  display: flex;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-top: 0.3rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark-blue);
}

.testimonial-info span {
  font-size: 0.8rem;
  color: var(--text-gray);
}

/* ========== BLOG ========== */
.blog {
  padding: var(--section-padding);
  background: var(--bg-light);
}

.blog-header {
  margin-bottom: 3rem;
}

.blog-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.blog-filter {
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: none;
  background: var(--bg-white);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-gray);
  transition: all 0.3s ease;
}

.blog-filter.active,
.blog-filter:hover {
  background: var(--coral);
  color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.blog-card {
  background: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--coral), var(--dark-blue));
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.blog-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--dark-blue);
}

.blog-card-body p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========== CONTACT CTA ========== */
.contact-cta {
  padding: var(--section-padding);
  text-align: center;
}

.contact-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-cta h2 {
  margin-bottom: 1rem;
}

.contact-cta p {
  max-width: 560px;
  margin-bottom: 2rem;
}

/* ========== FOOTER ========== */
footer {
  background: var(--dark-blue);
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content p {
    max-width: 100%;
  }

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

  .hero-image {
    max-width: 350px;
  }

  .services-columns {
    flex-direction: column;
  }

  .services-left {
    flex: 1;
  }

  .about .container {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    max-width: 300px;
    order: -1;
  }

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

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

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

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 16px 16px;
  }

  nav ul.open {
    display: flex;
  }

  nav ul li a {
    display: block;
    padding: 0.8rem 0;
  }

  nav ul li .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 7rem 0 4rem;
  }

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