/* =========================================================
   santripedia.online – Modern Interactive Styles
   ========================================================= */

/* ---------- VARIABLES ---------- */
:root {
  /* Brand colors */
  --primary-color: #0052cc;
  --primary-dark: #003b8e;
  --primary-light: #4c9aff;
  --secondary-color: #172b4d;
  --accent-color: #ffab00;

  /* Neutrals */
  --white: #ffffff;
  --light: #f8f9fa;
  --light-gray: #e9ecef;
  --gray: #6c757d;
  --dark: #343a40;
  --black: #212529;

  /* Layout & effects */
  --section-padding: 70px 0;
  --radius: 12px;
  --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 12px 30px rgba(0, 0, 0, 0.15);

  /* Typography */
  --font-primary: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--primary-dark);
}

/* Utility */
.section-padding {
  padding: var(--section-padding);
}

.bg-light {
  background-color: var(--light) !important;
}

.text-accent {
  color: var(--accent-color) !important;
}

/* ---------- TOP BAR ---------- */
.top-bar {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
}

.top-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

.top-bar-contact span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
  transition: all 0.3s ease;
  cursor: pointer;
}

.top-bar-contact span:hover {
  opacity: 1;
  transform: translateX(2px);
}

.top-bar-social a {
  color: var(--white);
  margin-left: 10px;
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.top-bar-social a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent-color);
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: -1;
}

.top-bar-social a:hover {
  opacity: 1;
  transform: translateY(-3px) scale(1.1);
}

.top-bar-social a:hover::before {
  transform: scale(1);
}

/* ---------- NAVBAR ---------- */
.navbar {
  background: var(--white) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
  transition: all 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
  padding: 0.5rem 0;
}

.navbar-brand img {
  height: 38px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-brand:hover img {
  transform: scale(1.08) rotate(2deg);
}

/* Brand text santripedia.online */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo i {
  font-size: 1.8rem;
  color: var(--primary-color);
  animation: pulse 2s ease-in-out infinite;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

.brand-logo:hover .brand-text strong {
  color: var(--primary-color);
}

.brand-text small {
  font-size: 0.85rem;
  color: var(--accent-color);
  font-weight: 500;
}

/* Nav links */
.navbar-nav .nav-link {
  color: var(--secondary-color) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.2rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 82, 204, 0.1);
  border-radius: 999px;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: -1;
}

.navbar-nav .nav-link i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
  transform: scale(1);
}

.navbar-nav .nav-link:hover i {
  transform: rotate(15deg) scale(1.1);
}

/* Navbar actions */
.navbar-actions .btn {
  border-radius: 999px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border: none;
  color: var(--white);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  box-shadow: 0 10px 30px rgba(0, 82, 204, 0.4);
  transform: translateY(-3px) scale(1.02);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn-outline-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
  z-index: -1;
}

.btn-outline-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-outline-primary:hover {
  color: var(--white);
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

.btn-accent {
  background: var(--accent-color);
  color: var(--secondary-color);
  border: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.btn-accent::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
}

.btn-accent:hover::after {
  animation: shine 0.6s ease;
}

.btn-accent:hover {
  filter: brightness(1.1);
  box-shadow: 0 10px 30px rgba(255, 171, 0, 0.5);
  transform: translateY(-3px) scale(1.02);
}

/* ---------- HERO SECTION (HOME) ---------- */
.hero-section-about {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top left, var(--primary-light), var(--primary-color)),
              radial-gradient(circle at bottom right, #091e42, var(--secondary-color));
  color: var(--white);
}

.hero-section-about::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(76, 154, 255, 0.3), transparent 70%);
  border-radius: 50%;
  top: -200px;
  right: -200px;
  animation: float 8s ease-in-out infinite;
}

.hero-section-about::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 171, 0, 0.2), transparent 70%);
  border-radius: 50%;
  bottom: -100px;
  left: -100px;
  animation: float 6s ease-in-out infinite reverse;
}

.hero-section-about .container {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  font-family: var(--font-heading);
  animation: fadeInUp 0.8s ease;
}

.hero-description {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.85rem;
  animation: fadeInUp 0.8s ease 0.1s backwards;
  backdrop-filter: blur(10px);
}

/* CTA box */
.hero-cta {
  background: rgba(9, 30, 66, 0.7);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.8rem;
  margin: 2rem 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.8s ease 0.3s backwards;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.hero-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero-cta .cta-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-cta .cta-domain {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-color), #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons group */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* Hero visual */
.hero-visual {
  text-align: center;
  position: relative;
  animation: fadeInUp 0.8s ease 0.5s backwards;
}

.hero-main-image {
  border-radius: 30px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  max-height: 480px;
  object-fit: cover;
  transition: all 0.4s ease;
}

.hero-visual:hover .hero-main-image {
  transform: scale(1.02) translateY(-5px);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}

.image-glow {
  position: absolute;
  inset: 5%;
  border-radius: 30px;
  background: radial-gradient(circle, rgba(76, 154, 255, 0.6), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: pulse 3s ease-in-out infinite;
}

/* Floating mini cards */
.floating-stats {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  animation: float 4s ease-in-out infinite;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.floating-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.floating-card i {
  color: var(--primary-color);
  font-size: 1.4rem;
  animation: pulse 2s ease-in-out infinite;
}

.floating-card .fw-bold {
  font-size: 0.95rem;
  color: var(--secondary-color);
}

.floating-card.card-1 {
  top: 10%;
  right: 8%;
}

.floating-card.card-2 {
  bottom: 18%;
  left: 8%;
  animation-delay: 0.8s;
}

.floating-card.card-3 {
  top: 5%;
  left: 15%;
  animation-delay: 1.4s;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  animation: fadeIn 1s ease 1s backwards;
}

.scroll-line {
  width: 2px;
  height: 40px;
  margin: 0 auto 8px;
  background: linear-gradient(to bottom, var(--accent-color), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ---------- SERVICES SECTION ---------- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease;
}

.section-subtitle {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0.7rem;
  position: relative;
  padding: 0 1rem;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--accent-color);
}

.section-subtitle::before {
  left: -35px;
}

.section-subtitle::after {
  right: -35px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--secondary-color);
  margin-bottom: 0.8rem;
}

.section-description {
  font-size: 1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Service card */
.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-gray);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(76, 154, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 50px rgba(0, 82, 204, 0.2);
  border-color: var(--primary-light);
}

.service-card.featured {
  border: 2px solid var(--accent-color);
  background: linear-gradient(135deg, rgba(255, 171, 0, 0.03), var(--white));
}

.service-badge {
  position: absolute;
  top: -12px;
  right: 1.6rem;
  background: var(--accent-color);
  color: var(--secondary-color);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 171, 0, 0.4);
  animation: bounce 2s ease-in-out infinite;
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 82, 204, 0.3);
}

.service-card:hover .service-icon {
  transform: rotateY(360deg) scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 82, 204, 0.4);
}

.service-title {
  font-size: 1.2rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--secondary-color);
  margin-bottom: 0.6rem;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: var(--primary-color);
}

.service-description {
  font-size: 0.92rem;
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.service-price h5 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.price-note {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ---------- PORTFOLIO CARDS ---------- */
.portfolio-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  height: 100%;
  position: relative;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none; /* tidak blokir klik */
}

.portfolio-card:hover::before {
  opacity: 1;
}

.portfolio-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 82, 204, 0.25);
}

.portfolio-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.15) rotate(2deg);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 59, 142, 0.95), rgba(0, 82, 204, 0.92));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(5px);
  z-index: 1;              /* di bawah actions */
  pointer-events: none;    /* overlay hanya visual */
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-actions {
  display: flex;
  gap: 0.7rem;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
  position: relative;
  z-index: 2;              /* tombol di atas overlay */
  pointer-events: auto;    /* bisa diklik */
}

.portfolio-card:hover .portfolio-actions {
  transform: translateY(0);
}

.portfolio-content {
  padding: 1.6rem;
  position: relative;
  z-index: 2;
}

.portfolio-category {
  display: inline-block;
  background: rgba(0, 82, 204, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-category {
  background: var(--primary-color);
  color: var(--white);
}

.portfolio-title {
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--secondary-color);
  margin-bottom: 0.6rem;
  transition: color 0.3s ease;
}

.portfolio-card:hover .portfolio-title {
  color: var(--primary-color);
}

.portfolio-description {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 0.9rem;
  line-height: 1.6;
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray);
}


/* ---------- CTA SECTION ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 171, 0, 0.2), transparent 70%);
  border-radius: 50%;
  top: -200px;
  right: -150px;
  animation: float 6s ease-in-out infinite;
}

.cta-title {
  font-size: 2.4rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
}

.cta-description {
  font-size: 1.05rem;
  opacity: 0.95;
  margin: 0;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* ---------- BLOG CARDS ---------- */
.blog-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.blog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 171, 0, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.blog-card:hover::before {
  opacity: 1;
}

.blog-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.blog-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blog-card:hover .blog-image img {
  transform: scale(1.12) rotate(-2deg);
}

.blog-date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent-color);
  color: var(--secondary-color);
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  text-align: center;
  min-width: 52px;
  box-shadow: 0 6px 20px rgba(255, 171, 0, 0.4);
  transition: all 0.3s ease;
  z-index: 2;
}

.blog-card:hover .blog-date {
  transform: scale(1.1) rotate(5deg);
}

.blog-date .date-day {
  font-weight: 700;
  font-size: 1.2rem;
  display: block;
}

.blog-date .date-month {
  font-size: 0.75rem;
  text-transform: uppercase;
  display: block;
}

.blog-content {
  padding: 1.6rem;
  position: relative;
  z-index: 2;
}

.blog-category {
  display: inline-block;
  background: rgba(255, 171, 0, 0.15);
  color: var(--secondary-color);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
}

.blog-card:hover .blog-category {
  background: var(--accent-color);
  transform: translateX(5px);
}

.blog-title {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.4;
}

.blog-title a {
  color: var(--secondary-color);
  transition: all 0.3s ease;
  display: inline-block;
}

.blog-title a:hover {
  color: var(--primary-color);
  transform: translateX(3px);
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--gray);
  padding-top: 0.8rem;
  border-top: 1px solid var(--light-gray);
}

/* ---------- FOOTER ---------- */
.footer {
  background: radial-gradient(circle at top left, var(--primary-dark), #091e42);
  color: var(--white);
  padding: 60px 0 25px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(76, 154, 255, 0.15), transparent 70%);
  border-radius: 50%;
  bottom: -200px;
  right: -150px;
  animation: float 8s ease-in-out infinite;
}

.footer-title {
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--accent-color);
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.footer-links li:hover {
  transform: translateX(5px);
}

.footer-links a {
  color: var(--white);
  opacity: 0.85;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '→';
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-description {
  font-size: 0.92rem;
  opacity: 0.85;
  max-width: 420px;
  line-height: 1.7;
}

/* ---------- WHATSAPP FLOAT & BACK TO TOP ---------- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: pulse 2s ease-in-out infinite;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  opacity: 0.3;
  animation: ripple 2s ease-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.15) rotate(360deg);
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7);
}

.back-to-top {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 25px;
  left: 25px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--accent-color), #ffd700);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 999;
  box-shadow: 0 6px 20px rgba(255, 171, 0, 0.4);
}

.back-to-top::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), #ffd700);
  opacity: 0.3;
  animation: ripple 2s ease-out infinite;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 30px rgba(255, 171, 0, 0.6);
}

/* ---------- ANIMATIONS ---------- */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes scrollLine {
  0%, 100% {
    transform: scaleY(1);
    opacity: 1;
  }
  50% {
    transform: scaleY(0.3);
    opacity: 0.4;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.6rem;
  }
  
  .hero-section-about {
    padding: 100px 0 70px;
    text-align: center;
    min-height: auto;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.3rem 0;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.9rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-main-image {
    max-height: 350px;
    margin-top: 2rem;
  }
  
  .floating-stats {
    display: none;
  }
  
  .cta-title {
    font-size: 1.9rem;
  }
  
  .cta-section {
    padding: 60px 0;
    text-align: center;
  }
  
  .service-card,
  .portfolio-card,
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .section-subtitle::before,
  .section-subtitle::after {
    display: none;
  }
  
  .whatsapp-float,
  .back-to-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
  }
  
  .whatsapp-float {
    right: 20px;
  }
  
  .back-to-top {
    left: 20px;
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding: 50px 0;
  }
  
  .hero-title {
    font-size: 1.9rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .blog-image,
  .portfolio-image {
    height: 180px;
  }
  
  .service-card {
    padding: 1.5rem 1.2rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .hero-cta {
    padding: 1.4rem;
  }
  
  .hero-cta .cta-domain {
    font-size: 1.2rem;
  }
  
  .navbar-brand img {
    height: 32px;
  }
  
  .brand-text strong {
    font-size: 1.2rem;
  }
  
  .top-bar {
    font-size: 0.75rem;
  }
  
  .top-bar-social a {
    width: 28px;
    height: 28px;
    margin-left: 6px;
  }
}