/*
Theme Name: StarEdge Global Solutions
Theme URI: https://staredgeglobal.com
Author: StarEdge Global Solutions
Author URI: https://staredgeglobal.com
Description: A professional, enterprise-grade WordPress theme for StarEdge Global Solutions — a premier call center and BPO solutions company. Designed for credibility, lead generation, and corporate presence.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: staredge-global
Tags: business, corporate, call-center, bpo, one-page, responsive, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

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

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

body {
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #1a1f2e;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #0057ff;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* =========================================================
   2. CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
  --color-primary:        #0057ff;
  --color-primary-dark:   #003fcc;
  --color-primary-light:  #e8f0ff;
  --color-secondary:      #00d4aa;
  --color-accent:         #ff6b35;
  --color-dark:           #0a0e1a;
  --color-dark-2:         #111827;
  --color-dark-3:         #1a2236;
  --color-text:           #1a1f2e;
  --color-text-muted:     #64748b;
  --color-border:         #e2e8f0;
  --color-bg:             #ffffff;
  --color-bg-alt:         #f8fafc;

  --font-sans:   'Inter', 'Segoe UI', sans-serif;
  --font-heading:'Inter', 'Segoe UI', sans-serif;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.14);
  --shadow-xl:   0 20px 60px rgba(0,0,0,.18);

  --container-max: 1200px;
  --container-pad: 0 24px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

/* =========================================================
   4. LAYOUT UTILITIES
   ========================================================= */
.container {
  max-width: var(--container-max);
  padding: var(--container-pad);
  margin: 0 auto;
  width: 100%;
}

.section {
  padding: 100px 0;
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--dark {
  background-color: var(--color-dark-2);
  color: #ffffff;
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section--dark .section__label { color: var(--color-secondary); }

.section__title {
  margin-bottom: 16px;
}

.section--dark .section__title { color: #ffffff; }

.grid {
  display: grid;
  gap: 32px;
}

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

@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
}

/* =========================================================
   5. BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

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

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 87, 255, 0.35);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn--white {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: #ffffff;
}

.btn--white:hover {
  background-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn--outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.6);
}

.btn--outline-white:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: #ffffff;
  color: #ffffff;
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1rem;
}

.btn--sm {
  padding: 10px 22px;
  font-size: 0.875rem;
}

/* =========================================================
   6. HEADER / NAVIGATION
   ========================================================= */

.site-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#ffffff;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
    z-index:9999;
    padding:12px 0;
}

.site-header .container{
    max-width:1300px;
    margin:auto;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* Logo */

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

.site-logo img,
.custom-logo{
    height:75px;
    width:auto;
}

/* Navigation */

.main-nav{
    display:flex;
    align-items:center;
    gap:45px;
}

.main-nav ul{
    display:flex;
    align-items:center;
    list-style:none;
    gap:35px;
    margin:0;
    padding:0;
}

.main-nav ul li{
    list-style:none;
}

.main-nav ul li a{
    color:#222;
    font-size:16px;
    font-weight:600;
    text-decoration:none;
    transition:.3s;
}

.main-nav ul li a:hover{
    color:#0057ff;
}

.current-menu-item>a{
    color:#0057ff !important;
}

/* Button */

.main-nav .btn{
    margin-left:20px;
}

/* Mobile */

.menu-toggle{
    display:none;
}

@media(max-width:991px){

.main-nav{
display:none;
}

.menu-toggle{
display:block;
}

}

/* =========================================================
   7. HERO SECTION
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-dark);
  overflow: hidden;
  padding-top: 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0e1a 0%, #0d1b40 50%, #0a1628 100%);
  z-index: 0;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  z-index: 1;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 87, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 87, 255, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 2;
}

.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 87, 255, 0.2) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  z-index: 2;
  border-radius: 50%;
}

.hero__glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, transparent 70%);
  bottom: -50px;
  left: 10%;
  z-index: 2;
  border-radius: 50%;
}

.hero__container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.hero__content {}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(0, 87, 255, 0.15);
  border: 1px solid rgba(0, 87, 255, 0.35);
  color: #7eb3ff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero__title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero__title span {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.hero__stat-value span {
  color: var(--color-secondary);
}

.hero__stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 87, 255, 0.25);
}

.hero__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
}

.hero__image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background-color: rgba(10, 14, 26, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__image-badge-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.hero__image-badge-text { color: #ffffff; }
.hero__image-badge-text strong { display: block; font-size: 0.95rem; line-height: 1.2; }
.hero__image-badge-text span { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@media (max-width: 900px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 24px;
  }

  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { display: none; }
}

/* =========================================================
   8. CLIENTS / LOGOS BAR
   ========================================================= */
.clients-bar {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-bg-alt);
}

.clients-bar__label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.clients-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.clients-bar__logo {
  font-size: 1rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.02em;
  transition: color var(--transition-base);
}

.clients-bar__logo:hover { color: var(--color-text); }

/* =========================================================
   9. SERVICES SECTION
   ========================================================= */
.services {}

.service-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--color-primary);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary-light), #c7dbff);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: background var(--transition-base);
}

.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  transition: color var(--transition-base);
}

.service-card:hover .service-card__icon svg { color: #ffffff; }

.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.service-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.service-card__link:hover { gap: 10px; color: var(--color-primary); }

/* =========================================================
   10. STATS / WHY US
   ========================================================= */
.why-us { background-color: var(--color-dark-2); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background-color: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 80px;
}

.stat-item {
  background-color: var(--color-dark-3);
  padding: 40px 24px;
  text-align: center;
  transition: background-color var(--transition-base);
}

.stat-item:hover { background-color: rgba(0, 87, 255, 0.08); }

.stat-item__value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__value span { color: var(--color-secondary); }

.stat-item__label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

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

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-base), background-color var(--transition-base);
}

.feature-item:hover {
  border-color: rgba(0, 87, 255, 0.4);
  background-color: rgba(0, 87, 255, 0.05);
}

.feature-item__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(0,87,255,0.2), rgba(0,212,170,0.15));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.feature-item__icon svg { width: 22px; height: 22px; color: var(--color-secondary); }

.feature-item__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.feature-item__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   11. INDUSTRIES
   ========================================================= */
.industries {}

.industry-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-base);
  cursor: default;
}

.industry-card:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.industry-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  transition: transform var(--transition-base);
}

.industry-card:hover .industry-card__icon { transform: scale(1.15); }

.industry-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  transition: color var(--transition-base);
}

.industry-card:hover .industry-card__title { color: #ffffff; }

.industry-card__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
  transition: color var(--transition-base);
}

.industry-card:hover .industry-card__desc { color: rgba(255,255,255,0.75); }

/* =========================================================
   12. PROCESS / HOW IT WORKS
   ========================================================= */
.process { background-color: var(--color-bg-alt); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.process-step__number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary), #4d8eff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 auto 24px;
  position: relative;
  box-shadow: 0 0 0 8px var(--color-bg-alt), 0 0 0 10px rgba(0,87,255,0.2);
}

.process-step__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
}

@media (max-width: 600px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* =========================================================
   13. TESTIMONIALS
   ========================================================= */
.testimonials { background-color: var(--color-dark); }

.testimonial-card {
  background-color: var(--color-dark-3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.testimonial-card:hover {
  border-color: rgba(0, 87, 255, 0.3);
  box-shadow: 0 0 40px rgba(0, 87, 255, 0.08);
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-card__star {
  color: #fbbf24;
  font-size: 1rem;
}

.testimonial-card__quote {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.testimonial-card__name {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}

.testimonial-card__role {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* =========================================================
   14. CTA SECTION
   ========================================================= */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0033bb 100%);
  position: relative;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
}

.cta-section__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-section__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-section__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   15. CONTACT SECTION
   ========================================================= */
.contact {}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__info-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact__info-text {
  color: var(--color-text-muted);
  margin-bottom: 36px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact__detail-icon {
  width: 44px;
  height: 44px;
  background-color: var(--color-primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__detail-icon svg { width: 20px; height: 20px; color: var(--color-primary); }

.contact__detail-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.contact__detail-value {
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 500;
}

/* Form */
.contact-form {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 87, 255, 0.12);
}

.form-control::placeholder { color: #94a3b8; }

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit { width: 100%; margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
}

/* =========================================================
   16. FOOTER
   ========================================================= */
.site-footer {
  background-color: var(--color-dark);
  color: rgba(255,255,255,0.6);
  padding-top: 80px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__brand {}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer__logo-text {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
}

.footer__logo-text span { color: var(--color-secondary); }

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 28px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  background-color: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: background-color var(--transition-fast), color var(--transition-fast);
  font-size: 0.9rem;
}

.footer__social-link:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

.footer__col-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

.footer__links a:hover { color: #ffffff; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.8rem;
}

.footer__copyright { color: rgba(255,255,255,0.35); }

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  color: rgba(255,255,255,0.35);
  transition: color var(--transition-fast);
}

.footer__bottom-links a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* =========================================================
   17. WIDGETS
   ========================================================= */
.widget {
  margin-bottom: 40px;
}

.widget-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
}

/* =========================================================
   18. WORDPRESS CORE CLASSES
   ========================================================= */
.wp-block-image { margin-bottom: 1.5rem; }
.wp-caption { max-width: 100%; margin-bottom: 1.5rem; }
.wp-caption-text { font-size: 0.85rem; color: var(--color-text-muted); text-align: center; margin-top: 8px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 1.5rem; }
.gallery-item img { border-radius: var(--radius-sm); }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* Entry content */
.entry-content {
  max-width: 800px;
  margin: 0 auto;
}

.entry-content h1, .entry-content h2,
.entry-content h3, .entry-content h4,
.entry-content h5, .entry-content h6 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.entry-content p { margin-bottom: 1.25rem; }

.entry-content ul, .entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  list-style: disc;
}

.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 0.5rem; }

.entry-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 16px 24px;
  background-color: var(--color-bg-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}

.entry-content blockquote p { color: var(--color-text); font-style: italic; }

.entry-content code {
  background-color: var(--color-bg-alt);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.9em;
}

.entry-content pre {
  background-color: var(--color-dark);
  color: #e2e8f0;
  padding: 24px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 24px 0;
}

.entry-content a { color: var(--color-primary); text-decoration: underline; }
.entry-content a:hover { color: var(--color-primary-dark); }

/* =========================================================
   19. PAGE BANNER
   ========================================================= */
.page-banner {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-3) 100%);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 87, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 87, 255, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-banner__content { position: relative; z-index: 1; }

.page-banner__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #ffffff;
  margin-bottom: 12px;
}

.page-banner__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.page-banner__breadcrumb a { color: var(--color-secondary); }
.page-banner__breadcrumb a:hover { color: var(--color-secondary); opacity: 0.8; }
.page-banner__breadcrumb span { font-size: 0.75rem; }

/* =========================================================
   20. BLOG
   ========================================================= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.post-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.post-card__thumbnail {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.post-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.post-card:hover .post-card__thumbnail img { transform: scale(1.05); }

.post-card__body { padding: 24px; }

.post-card__category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.post-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.post-card__title a { color: var(--color-text); }
.post-card__title a:hover { color: var(--color-primary); }

.post-card__excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}

.pagination .page-numbers {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

/* =========================================================
   21. SINGLE POST
   ========================================================= */
.single-post { padding: 60px 0 100px; }

.single-post__layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}

.post-header { margin-bottom: 40px; }

.post-header__category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.post-header__title { margin-bottom: 20px; }

.post-header__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.post-thumbnail {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 48px;
}

.post-thumbnail img { width: 100%; height: auto; }

/* Sidebar */
.sidebar {}
.sidebar .widget-title { font-size: 0.85rem; }

@media (max-width: 900px) {
  .single-post__layout { grid-template-columns: 1fr; }
}

/* =========================================================
   22. 404 PAGE
   ========================================================= */
.error-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.error-404__code {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.error-404__title { font-size: 1.8rem; margin-bottom: 12px; }
.error-404__text { color: var(--color-text-muted); margin-bottom: 32px; }

/* =========================================================
   23. COMMENTS
   ========================================================= */
.comments-section { margin-top: 60px; padding-top: 60px; border-top: 1px solid var(--color-border); }
.comments-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 36px; }

.comment {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}

.comment:last-child { border-bottom: none; }

.comment__avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.comment__avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment__meta { margin-bottom: 8px; }
.comment__author { font-weight: 700; font-size: 0.95rem; }
.comment__date { font-size: 0.8rem; color: var(--color-text-muted); margin-left: 10px; }
.comment__content p { font-size: 0.9375rem; }

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--color-primary);
}

/* =========================================================
   24. SEARCH PAGE
   ========================================================= */
.search-page { padding: 60px 0 100px; }
.search-form { display: flex; gap: 12px; margin-bottom: 48px; }
.search-form input[type="search"] {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition-fast);
}
.search-form input[type="search"]:focus { border-color: var(--color-primary); }

/* =========================================================
   25. BACK TO TOP
   ========================================================= */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 87, 255, 0.4);
  transition: all var(--transition-base);
  opacity: 0;
  pointer-events: none;
}

.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background-color: var(--color-primary-dark); transform: translateY(-2px); }

/* =========================================================
   26. ANIMATION UTILITIES
   ========================================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.animate-fade-in-up { animation: fadeInUp 0.6s ease forwards; }
.animate-fade-in-left { animation: fadeInLeft 0.6s ease forwards; }
.animate-fade-in-right { animation: fadeInRight 0.6s ease forwards; }

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   27. RESPONSIVE UTILITIES
   ========================================================= */
@media (max-width: 1200px) { :root { --container-max: 960px; } }
@media (max-width: 1024px) { .section { padding: 80px 0; } }
@media (max-width: 768px)  { .section { padding: 60px 0; } }
@media (max-width: 480px)  { .section { padding: 48px 0; } }
