/* ==========================================================================
   Credible Ads - Modern 360° Marketing & Advertising Theme
   Pixel-perfect Replica of https://credibleads.com/
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Chivo:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&family=Comfortaa:wght@300;400;500;600;700&display=swap');

:root {
  --font-primary: 'Chivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Lucida Sans', sans-serif;
  --font-body: 'Comfortaa', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Lucida Sans', sans-serif;

  --color-header-bg: #f8dee7;
  --color-hero-bg: #f4dee6;
  --color-dark-main: #19191c;
  --color-dark-card: #26262b;
  --color-dark-card-hover: #2c2c32;
  --color-purple-box: #382abe;
  --color-accent: #f44848;
  --color-accent-hover: #dc4141;
  --color-hover-cyan: #74e6ff;
  
  --color-text-dark: #19191c;
  --color-text-white: #ffffff;
  --color-text-muted: #abb8c3;
  --color-text-body: #4a4a50;
  
  --color-border-dark: #272626;
  --max-width: 1380px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --------------------------------------------------------------------------
   Reset & Global Setup
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-dark-main);
  color: var(--color-text-white);
  line-height: 1.7;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: var(--font-primary);
  font-size: inherit;
  border: none;
  outline: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 30px;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text-dark);
}

h2 {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-text-white);
}

.section-title {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 30px;
}

h5 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h6 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

p {
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.03em;
  height: 52px;
  padding: 0 32px;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-black {
  background-color: #19191c;
  color: #ffffff;
}

.btn-black:hover {
  background-color: var(--color-accent);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 72, 72, 0.35);
}

.btn-accent {
  background-color: var(--color-accent);
  color: #ffffff;
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 72, 72, 0.4);
}

.btn-outline-danger {
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}

.btn-outline-danger:hover {
  background-color: var(--color-accent);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 72, 72, 0.35);
}

.btn-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.25s ease;
}

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

/* --------------------------------------------------------------------------
   Header Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-header-bg);
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  background-color: rgba(248, 222, 231, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper .logo-img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--color-text-dark);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  cursor: pointer;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--color-text-dark);
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 14px;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-text-dark);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Mobile Menu Overlay & Drawer
   -------------------------------------------------------------------------- */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100%;
  background-color: #19191c;
  z-index: 2001;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -10px 0 40px rgba(0,0,0,0.6);
  transition: right 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-close-btn {
  background: transparent;
  cursor: pointer;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 50px;
}

.mobile-nav-link {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--color-accent);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer-footer p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  background-color: var(--color-hero-bg);
  padding: 80px 0 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-welcome-badge {
  color: var(--color-accent);
  margin-bottom: 20px;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 13px;
}

.hero-title {
  color: var(--color-text-dark);
  margin-bottom: 24px;
  line-height: 1.08;
}

.hero-description {
  font-size: 16px;
  color: var(--color-text-body);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper img {
  max-height: 520px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.08));
}

/* --------------------------------------------------------------------------
   Value Pillars (360 Marketing, Strategy, Agile)
   -------------------------------------------------------------------------- */
.pillars-section {
  background-color: var(--color-dark-main);
  padding: 40px 0 40px 0;
  position: relative;
  z-index: 10;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background-color: var(--color-dark-card);
  border-radius: 6px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.pillar-card:hover {
  transform: translateY(-5px);
  background-color: var(--color-dark-card-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.pillar-icon-wrapper {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.pillar-icon-wrapper img {
  max-width: 58px;
  height: auto;
  object-fit: contain;
}

.pillar-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  transition: color 0.25s ease;
}

.pillar-card:hover .pillar-title {
  color: var(--color-hover-cyan);
}

.pillar-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about-section {
  padding: 80px 0 100px 0;
  background-color: var(--color-dark-main);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-heading {
  color: #ffffff;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
}

.about-body {
  font-size: 16px;
  line-height: 1.8;
  color: #d1d5db;
}

.about-image-card {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.about-image-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   Core Services Matrix (Purple Box with Center BG)
   -------------------------------------------------------------------------- */
.services-banner-section {
  padding: 40px 0 80px 0;
}

.purple-services-box {
  background-color: var(--color-purple-box);
  background-image: url('../assets/images/center-bg.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 6px 80px 6px 6px;
  padding: 60px 48px;
  margin-top: 20px;
  box-shadow: 0 20px 50px rgba(56, 42, 190, 0.4);
}

.core-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.service-item-card {
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  justify-content: center;
}

.service-item-card:hover {
  transform: translateY(-6px);
}

.service-item-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.service-item-card:hover img {
  transform: scale(1.02);
}

/* --------------------------------------------------------------------------
   Extended Services Section (Our Services)
   -------------------------------------------------------------------------- */
.services-extended-section {
  padding: 40px 0 100px 0;
}

.extended-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.extended-service-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition);
}

.extended-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.extended-service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.extended-service-card:hover img {
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   Clients Grid (Client Trust Credible Ads)
   -------------------------------------------------------------------------- */
.clients-section {
  padding: 40px 0 120px 0;
  background-color: var(--color-dark-main);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--color-border-dark);
  border-left: 1px solid var(--color-border-dark);
  margin-top: 30px;
}

.client-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-right: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
  background-color: transparent;
  transition: var(--transition);
}

.client-box img {
  max-width: 140px;
  max-height: 100px;
  object-fit: contain;
  padding: 10px;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.client-box:hover img {
  opacity: 1;
  transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   CTA Banner Box
   -------------------------------------------------------------------------- */
.cta-banner-wrapper {
  margin-top: -80px;
  margin-bottom: 60px;
  position: relative;
  z-index: 40;
}

.cta-banner {
  background: var(--color-purple-box);
  border-radius: 6px 6px 60px 6px;
  padding: 30px 40px;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 30px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.cta-illustration img {
  max-width: 180px;
  height: auto;
}

.cta-text h3 {
  color: #ffffff;
  line-height: 1.35;
  font-size: 24px;
  font-weight: 500;
}

.cta-action {
  display: flex;
  justify-content: flex-end;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-dark-main);
  padding: 40px 0 60px 0;
  position: relative;
  z-index: 30;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.footer-col h6 {
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 400;
  font-size: 16px;
  text-transform: none;
  font-family: var(--font-primary);
}

.footer-col p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-col a {
  color: #ffffff;
}

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

.footer-bottom-bar {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #777780;
}

/* --------------------------------------------------------------------------
   Modal & Contact Form
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #202025;
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--color-accent);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-header h3 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 8px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: #141416;
  border: 1px solid #333338;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 15px;
  font-family: var(--font-body);
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--color-accent);
}

.budget-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.budget-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #141416;
  border: 1px solid #333338;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: #cfcfd4;
  transition: var(--transition);
}

.budget-chip:hover {
  border-color: var(--color-accent);
}

.budget-chip.active {
  border-color: var(--color-accent);
  background: rgba(244, 72, 72, 0.12);
  color: #ffffff;
}

.form-feedback {
  display: none;
  background: rgba(0, 208, 132, 0.15);
  border: 1px solid #00d084;
  color: #00d084;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 18px;
  font-size: 14px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Scroll to Top Button
   -------------------------------------------------------------------------- */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(244, 72, 72, 0.4);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition);
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1068px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

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

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

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

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

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .purple-services-box {
    padding: 30px 20px;
  }

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

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

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

  .budget-options {
    grid-template-columns: 1fr;
  }
}
