/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --blue: #1a2980;
  --teal: #26d0ce;
  --coral: #ff6b4a;
  --coral-hover: #e85a3a;
  --dark: #0d1117;
  --dark2: #151b25;
  --dark3: #1c2333;
  --gray: #8892a4;
  --light: #f4f7fa;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, var(--blue), var(--teal));
  --gradient-r: linear-gradient(135deg, var(--teal), var(--blue));
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --transition: 0.3s ease;
  --max-w: 1200px;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    sans-serif;
  color: #333;
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
  font-weight: 700;
}
.container {
  width: 90%;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition:
    background var(--transition),
    padding var(--transition),
    box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(13, 17, 23, 0.97);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-cta {
  background: var(--coral);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
}
.nav-cta:hover {
  background: var(--coral-hover);
}
.nav-cta::after {
  display: none !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0d1117 0%, #1a2980 50%, #26d0ce 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(38, 208, 206, 0.12) 0%,
    transparent 70%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: var(--teal);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(38, 208, 206, 0.25);
}
.hero h1 {
  font-size: 3.4rem;
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--coral);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 74, 0.3);
}
.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ===== SECTIONS ===== */
section {
  padding: 90px 0;
}
.section-dark {
  background: var(--dark);
  color: var(--white);
}
.section-dark2 {
  background: var(--dark2);
  color: var(--white);
}
.section-light {
  background: var(--light);
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .label {
  display: inline-block;
  background: rgba(26, 41, 128, 0.08);
  color: var(--blue);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.section-dark .section-header .label,
.section-dark2 .section-header .label {
  background: rgba(38, 208, 206, 0.12);
  color: var(--teal);
}
.section-header h2 {
  font-size: 2.4rem;
  margin-bottom: 14px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}
.section-dark .section-header p,
.section-dark2 .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

/* ===== SERVICES CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid #eef1f6;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--gray);
  font-size: 0.93rem;
}
.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 16px;
}
.service-card .learn-more:hover {
  color: var(--teal);
}

/* dark variant */
.section-dark .service-card,
.section-dark2 .service-card {
  background: var(--dark3);
  border-color: rgba(255, 255, 255, 0.06);
}
.section-dark .service-card h3,
.section-dark2 .service-card h3 {
  color: var(--white);
}
.section-dark .service-card p,
.section-dark2 .service-card p {
  color: rgba(255, 255, 255, 0.6);
}

/* ===== STATS ===== */
.stats-section {
  background: var(--gradient);
  padding: 70px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 6px;
}
.stat-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--dark3);
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.testimonial-card .stars {
  color: #f5a623;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}
.testimonial-card blockquote {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}
.testimonial-info h4 {
  color: var(--white);
  font-size: 0.95rem;
}
.testimonial-info p {
  color: var(--gray);
  font-size: 0.82rem;
}

/* ===== CASE STUDIES PREVIEW ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.case-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.case-thumb {
  height: 200px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
  position: relative;
}
.case-thumb .case-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}
.case-body {
  padding: 28px 24px;
}
.case-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.case-body p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.case-results {
  display: flex;
  gap: 20px;
}
.case-result {
  text-align: center;
}
.case-result .num {
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.case-result .lbl {
  font-size: 0.72rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--gradient);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}
.btn-white {
  background: var(--white);
  color: var(--blue);
}
.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ===== ABOUT PAGE ===== */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #0d1117, #1a2980);
  text-align: center;
}
.page-hero h1 {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 14px;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.88rem;
}
.breadcrumb a {
  color: var(--teal);
}
.breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-intro-img {
  height: 400px;
  border-radius: var(--radius);
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.2);
}
.about-intro h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.about-intro p {
  color: var(--gray);
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  text-align: center;
  padding: 30px 20px;
}
.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  margin: 0 auto 16px;
}
.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--white);
}
.value-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-card {
  text-align: center;
}
.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--gradient);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
  border: 4px solid rgba(38, 208, 206, 0.3);
}
.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.team-card .role {
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.team-card p {
  color: var(--gray);
  font-size: 0.85rem;
}

/* ===== SERVICES PAGE DETAIL ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid #eef1f6;
}
.service-detail:last-child {
  border-bottom: none;
}
.service-detail:nth-child(even) {
  direction: rtl;
}
.service-detail:nth-child(even) > * {
  direction: ltr;
}
.service-detail-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 20px;
}
.service-detail h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.service-detail p {
  color: var(--gray);
  margin-bottom: 18px;
}
.service-detail ul {
  list-style: none;
}
.service-detail ul li {
  padding: 6px 0;
  color: var(--gray);
  font-size: 0.93rem;
}
.service-detail ul li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  margin-right: 10px;
}
.service-detail-img {
  height: 300px;
  border-radius: var(--radius);
  background: linear-gradient(
    135deg,
    rgba(26, 41, 128, 0.1),
    rgba(38, 208, 206, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(26, 41, 128, 0.15);
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  border: 1px solid #eef1f6;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--teal);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}
.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.pricing-card .price {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 16px 0 8px;
}
.pricing-card .price span {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--gray);
}
.pricing-card .price-sub {
  color: var(--gray);
  font-size: 0.88rem;
  margin-bottom: 24px;
}
.pricing-features {
  text-align: left;
  margin-bottom: 28px;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
}
.pricing-features li::before {
  content: "✓";
  color: var(--teal);
  margin-right: 10px;
  font-weight: 700;
}
.pricing-features li.disabled {
  color: #ccc;
}
.pricing-features li.disabled::before {
  content: "✗";
  color: #ccc;
}
.btn-pricing {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-pricing.primary {
  background: var(--coral);
  color: var(--white);
}
.btn-pricing.primary:hover {
  background: var(--coral-hover);
}
.btn-pricing.outline {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
}
.btn-pricing.outline:hover {
  background: var(--blue);
  color: var(--white);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #eef1f6;
}
.section-dark .faq-item {
  border-color: rgba(255, 255, 255, 0.08);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.section-dark .faq-question {
  color: var(--white);
}
.faq-question .icon {
  font-size: 1.3rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  color: var(--teal);
}
.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s ease;
}
.faq-answer-inner {
  padding: 0 0 20px;
  color: var(--gray);
  font-size: 0.93rem;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.blog-thumb {
  height: 200px;
  background: var(--gradient);
  position: relative;
}
.blog-thumb .blog-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--coral);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.blog-body {
  padding: 24px;
}
.blog-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--gray);
}
.blog-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-body h3 a:hover {
  color: var(--blue);
}
.blog-body p {
  color: var(--gray);
  font-size: 0.88rem;
  margin-bottom: 14px;
}
.read-more {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.read-more:hover {
  color: var(--teal);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dde1e8;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(38, 208, 206, 0.12);
}
.form-group textarea {
  height: 130px;
  resize: vertical;
}
.form-group .error-msg {
  color: var(--coral);
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--coral);
}
.form-group.has-error .error-msg {
  display: block;
}
.contact-info-block {
  margin-bottom: 28px;
}
.contact-info-block h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.contact-info-item .ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.contact-info-item p {
  color: var(--gray);
  font-size: 0.88rem;
}
.contact-info-item a {
  color: var(--blue);
}
.contact-info-item a:hover {
  color: var(--teal);
}
.map-placeholder {
  height: 200px;
  border-radius: var(--radius);
  background: linear-gradient(
    135deg,
    rgba(26, 41, 128, 0.08),
    rgba(38, 208, 206, 0.08)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.95rem;
  margin-top: 20px;
  border: 1px dashed #ccc;
}

/* ===== CASE STUDY DETAIL ===== */
.case-study-full {
  padding: 40px 0 20px;
  border-bottom: 1px solid #eef1f6;
}
.case-study-full:last-child {
  border-bottom: none;
}
.case-study-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 30px;
}
.case-study-img {
  height: 280px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.25);
}
.cs-green {
  background: linear-gradient(135deg, #2d8a4e, #6dd5a0);
}
.cs-orange {
  background: linear-gradient(135deg, #d35400, #f39c12);
}
.cs-blue {
  background: linear-gradient(135deg, #1a2980, #26d0ce);
}
.case-study-header h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.case-study-header .cs-client {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.case-study-header p {
  color: var(--gray);
}
.case-study-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cs-block {
  background: var(--light);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.cs-block h4 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--blue);
}
.cs-block p {
  color: var(--gray);
  font-size: 0.9rem;
}
.cs-block ul {
  margin-top: 10px;
}
.cs-block ul li {
  padding: 4px 0;
  font-size: 0.88rem;
  color: var(--gray);
}
.cs-block ul li::before {
  content: "→";
  color: var(--teal);
  margin-right: 8px;
}
.cs-results-bar {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.cs-result-item {
  background: var(--gradient);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  text-align: center;
  min-width: 140px;
}
.cs-result-item .num {
  font-size: 1.8rem;
  font-weight: 800;
}
.cs-result-item .lbl {
  font-size: 0.78rem;
  opacity: 0.85;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin: 36px 0 14px;
  color: var(--blue);
}
.legal-content h3 {
  font-size: 1.2rem;
  margin: 24px 0 10px;
}
.legal-content p {
  color: #555;
  margin-bottom: 14px;
  font-size: 0.93rem;
}
.legal-content ul {
  margin: 10px 0 18px 20px;
  list-style: disc;
}
.legal-content ul li {
  padding: 4px 0;
  color: #555;
  font-size: 0.93rem;
}
.legal-content .last-updated {
  color: var(--gray);
  font-size: 0.88rem;
  font-style: italic;
  margin-bottom: 28px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-about .logo {
  margin-bottom: 14px;
  display: inline-block;
}
.footer-about p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 18px;
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.social-links a:hover {
  background: var(--teal);
  color: var(--white);
}
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-col a:hover {
  color: var(--teal);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom-links a:hover {
  color: var(--teal);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-3px);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== WHY CHOOSE US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.why-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.why-card p {
  color: var(--gray);
  font-size: 0.88rem;
}

/* ===== SUCCESS MESSAGE ===== */
.form-success {
  display: none;
  background: rgba(38, 208, 206, 0.1);
  border: 1px solid var(--teal);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  color: var(--blue);
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid,
  .pricing-grid,
  .testimonials-grid,
  .cases-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-intro,
  .contact-grid,
  .service-detail,
  .case-study-header {
    grid-template-columns: 1fr;
  }
  .service-detail:nth-child(even) {
    direction: ltr;
  }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 20px;
    transition: right var(--transition);
  }
  .nav-links.active {
    right: 0;
  }
  .hamburger {
    display: flex;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero {
    padding: 120px 0 60px;
  }
  .section-header h2 {
    font-size: 1.8rem;
  }
  .page-hero h1 {
    font-size: 2rem;
  }
  .services-grid,
  .pricing-grid,
  .testimonials-grid,
  .cases-grid,
  .blog-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .team-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .case-study-content {
    grid-template-columns: 1fr;
  }
  .cs-results-bar {
    justify-content: center;
  }
  section {
    padding: 60px 0;
  }
  .hero-btns {
    flex-direction: column;
  }
  .btn {
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .stat-item h3 {
    font-size: 2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
