/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  z-index: 100000;
  transition: opacity 0.5s ease, visibility 0.5s ease, background var(--transition-theme);
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* CSS-only fallback: auto-hide after 6s even if JS never runs */
#preloader {
  animation: preloader-auto-hide 0.5s ease 6s forwards;
}

@keyframes preloader-auto-hide {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.preloader-logo {
  font-size: 1.9rem;
  font-weight: 800;
  font-family: var(--font-secondary);
  color: var(--text-light);
  letter-spacing: -0.5px;
}

.preloader-logo span {
  background: linear-gradient(135deg, #1565c0, #4f46e5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 5px;
}

[data-theme="dark"] .preloader-logo span {
  background: linear-gradient(135deg, #ffb81c, #ffd700);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.preloader-spinner {
  width: 46px;
  height: 46px;
  border: 4px solid rgba(21, 101, 192, 0.12);
  border-top: 4px solid #1565c0;
  border-right: 4px solid #4f46e5;
  border-radius: 50%;
  animation: preloader-spin 0.9s linear infinite;
}

[data-theme="dark"] .preloader-spinner {
  border: 4px solid rgba(255, 184, 28, 0.15);
  border-top-color: var(--primary-yellow);
  border-right-color: #4d9eff;
}

@keyframes preloader-spin {
  to {
    transform: rotate(360deg);
  }
}

#preloader .preloader-bar {
  width: 160px;
  height: 4px;
  background: var(--input-bg);
  border-radius: 10px;
  overflow: hidden;
}

#preloader .preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1565c0, #4f46e5);
  border-radius: 10px;
  animation: preloader-fill 1.2s ease-in-out infinite;
}

[data-theme="dark"] #preloader .preloader-bar-fill {
  background: linear-gradient(90deg, #ffb81c, #ffd700);
}

@keyframes preloader-fill {
  0% { width: 0%; margin-left: 0%; }
  50% { width: 70%; margin-left: 10%; }
  100% { width: 0%; margin-left: 100%; }
}


:root {
  /* LIGHT THEME (DEFAULT) - White + Blue + Yellow accent */
  --bg-dark: #f4f7fb;
  --bg-card: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(13, 71, 161, 0.12);
  --primary-yellow: #ffb81c;
  --primary-yellow-dark: #e6a700;
  --gradient-yellow: linear-gradient(135deg, #1565c0 0%, #2563eb 50%, #4f46e5 100%);
  --accent-blue: #1565c0;
  --accent-blue-dark: #0d47a1;
  --text-light: #16213a;
  --text-dim: #5b6b85;
  --shadow-sm: 0 4px 20px rgba(21, 101, 192, 0.07), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-hover: 0 12px 32px rgba(21, 101, 192, 0.18), 0 2px 8px rgba(0,0,0,0.06);
  --header-bg: rgba(255, 255, 255, 0.85);
  --footer-bg: #0f1b33;
  --footer-text: #b8c4dc;
  --input-bg: rgba(21, 101, 192, 0.05);
  --input-border: rgba(21, 101, 192, 0.18);
  --nav-mobile-bg: rgba(255, 255, 255, 0.98);
  --cursor-color: #1565c0;
  --cursor-ring-color: rgba(21, 101, 192, 0.45);
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
  --transition-theme: 0.4s ease;
}

/* ========== DARK THEME (TOGGLED) ========== */
[data-theme="dark"] {
  --bg-dark: #0b0c10;
  --bg-card: rgba(20, 22, 28, 0.8);
  --glass-border: rgba(255, 215, 0, 0.15);
  --primary-yellow: #ffb81c;
  --primary-yellow-dark: #e6a700;
  --gradient-yellow: linear-gradient(135deg, #ffb81c, #ffd700);
  --accent-blue: #4d9eff;
  --accent-blue-dark: #2e7bd6;
  --text-light: #f0f4fa;
  --text-dim: #c0c6d0;
  --shadow-sm: 0 12px 30px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 20px 40px rgba(255, 184, 28, 0.2);
  --header-bg: rgba(11, 12, 16, 0.9);
  --footer-bg: #050608;
  --footer-text: #c0c6d0;
  --input-bg: rgba(255, 255, 255, 0.05);
  --input-border: rgba(255, 184, 28, 0.2);
  --nav-mobile-bg: rgba(11, 12, 16, 0.98);
  --cursor-color: #f5c518;
  --cursor-ring-color: rgba(245, 197, 24, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Mouse ka best effact  Start here*/

* { cursor: none; }

#cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--cursor-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background 0.4s ease;
}

#cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--cursor-ring-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s, border-color 0.4s ease;
}

/* Hover pe ring badi ho jaati hai */
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  width: 52px;
  height: 52px;
  opacity: 0.5;
}

/* Mouse ka best effact  End here*/

body {
  font-family: var(--font-primary);
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition-theme), color var(--transition-theme);
}

/* ===== GLASS EFFECT ===== */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s ease, transform 0.35s ease, background var(--transition-theme), border-color var(--transition-theme);
  padding: 20px;
}

.glass:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.contact-info {
  padding: 30px;
}

.about-image img {
  width: 500px;
  padding: 10px;
  border-radius: 25px;
}

/* ===== CONTAINER ===== */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: var(--gradient-yellow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 10px;
  font-weight: 600;
}

/* ===== DUAL LOGO (LIGHT / DARK) ===== */
.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease;
}

.logo-light { display: block; }
.logo-dark  { display: none;  }

[data-theme="dark"] .logo-light { display: none;  }
[data-theme="dark"] .logo-dark  { display: block; }

/* Footer logo */
.footer-logo-light { display: block; }
.footer-logo-dark  { display: none;  }

[data-theme="dark"] .footer-logo-light { display: none;  }
[data-theme="dark"] .footer-logo-dark  { display: block; }

/* ===== STICKY NAVIGATION ===== */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 999;
  transition: background var(--transition-theme), border-color var(--transition-theme);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-size: 1.9rem;
  font-weight: 800;
  font-family: var(--font-secondary);
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: color var(--transition-theme);
}

.logo span {
  background: var(--gradient-yellow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
  font-size: 1rem;
}

.nav-link.active,
.nav-link:hover {
  color: var(--accent-blue);
  border-bottom: 2px solid var(--primary-yellow);
  text-shadow: 0 0 6px rgba(255, 184, 28, 0.25);
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
  position: relative;
  width: 56px;
  height: 30px;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  background: var(--input-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 3px;
  transition: background var(--transition-theme), border-color var(--transition-theme);
  flex-shrink: 0;
}

.theme-toggle .toggle-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #0b0c10;
  transition: transform 0.35s cubic-bezier(0.68, -0.4, 0.27, 1.4), background var(--transition-theme);
  transform: translateX(0);
}

[data-theme="dark"] .theme-toggle .toggle-thumb {
  transform: translateX(24px);
}

.theme-toggle .toggle-thumb i {
  pointer-events: none;
}

.theme-toggle .toggle-thumb .fa-sun {
  display: inline-block;
}

.theme-toggle .toggle-thumb .fa-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .toggle-thumb .fa-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .toggle-thumb .fa-moon {
  display: inline-block;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 26px;
  height: 3px;
  background: var(--text-light);
  margin: 3px 0;
  border-radius: 3px;
  transition: background var(--transition-theme);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gradient-yellow);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(21, 101, 192, 0.22);
}

[data-theme="dark"] .btn-primary {
  color: #0b0c10;
  box-shadow: 0 8px 18px rgba(255, 184, 28, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(21, 101, 192, 0.35);
  transform: scale(1.04);
  color: #ffffff;
}

[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 12px 26px rgba(255, 184, 28, 0.5);
  color: #000;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-outline {
  border: 2px solid var(--accent-blue);
  color: var(--text-light);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
}

[data-theme="dark"] .btn-outline {
  border: 2px solid var(--primary-yellow);
}

[data-theme="dark"] .btn-outline:hover {
  background: var(--primary-yellow);
  color: #0b0c10;
  border-color: var(--primary-yellow);
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: 0.25s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #20b859;
}

/* ===== SCROLL TO TOP ===== */
#scrollTopBtn {
  position: fixed;
  bottom: 110px;
  right: 30px;
  background: linear-gradient(135deg, #1565c0, #4f46e5);
  color: #ffffff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 998;
  transition: 0.2s, background var(--transition-theme), color var(--transition-theme);
  box-shadow: 0 4px 14px rgba(21, 101, 192, 0.3);
}

[data-theme="dark"] #scrollTopBtn {
  background: var(--gradient-yellow);
  color: #0b0c10;
  box-shadow: 0 4px 14px rgba(255, 184, 28, 0.5);
}

#scrollTopBtn.show {
  display: flex;
}

/* ===== HERO ===== */
.hero {
  padding: 50px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  width: 500px; height: 500px;
  background: rgba(21, 101, 192, 0.08);
  top: -120px; right: -100px;
}

.hero::after {
  width: 350px; height: 350px;
  background: rgba(255, 184, 28, 0.07);
  bottom: -80px; left: -80px;
}

[data-theme="dark"] .hero::before { background: rgba(255, 184, 28, 0.07); }
[data-theme="dark"] .hero::after  { background: rgba(21, 101, 192, 0.10); }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* --- LEFT SIDE --- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--input-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 22px;
  transition: background var(--transition-theme), color var(--transition-theme);
}
[data-theme="dark"] .hero-badge { color: var(--primary-yellow); }

.hero-badge .badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.25); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0.10); }
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-title .line-normal  { display: block; color: var(--text-light); }
.hero-title .line-gradient {
  display: block;
  background: var(--gradient-yellow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: 10px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 0;
  margin: 28px 0 32px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-stat { display: flex; flex-direction: column; padding: 0 24px; }
.hero-stat:first-child { padding-left: 0; }
.hero-stat strong {
  font-size: 1.8rem; font-weight: 800;
  color: var(--accent-blue);
  font-family: var(--font-secondary);
  line-height: 1;
  transition: color var(--transition-theme);
}
[data-theme="dark"] .hero-stat strong { color: var(--primary-yellow); }
.hero-stat span {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-dim);
  font-weight: 600; margin-top: 4px;
}
.hero-stat-divider {
  width: 1px; height: 38px;
  background: var(--glass-border);
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero-trust { display: flex; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.hero-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-dim);
}
.hero-trust-item i {
  color: var(--accent-blue); font-size: 1rem;
  transition: color var(--transition-theme);
}
[data-theme="dark"] .hero-trust-item i { color: var(--primary-yellow); }

/* --- RIGHT SIDE --- */
.hero-right { display: flex; flex-direction: column; gap: 16px; }

.hero-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 26px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease, background var(--transition-theme);
}
.hero-profile-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

.hero-profile-top {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.hero-profile-avatar {
  width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid var(--accent-blue); object-fit: cover; flex-shrink: 0;
  transition: border-color var(--transition-theme);
}
[data-theme="dark"] .hero-profile-avatar { border-color: var(--primary-yellow); }
.hero-profile-info h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 2px; }
.hero-profile-info p  { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 6px; }

.open-to-work {
  display: inline-block;
  background: rgba(34,197,94,0.1); color: #16a34a;
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 30px; padding: 3px 12px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px;
}
[data-theme="dark"] .open-to-work { background: rgba(34,197,94,0.15); color: #4ade80; }

.hero-services-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 12px;
}

.hero-service-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

.hero-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--input-bg); border: 1px solid var(--glass-border);
  border-radius: 8px; padding: 6px 13px;
  font-size: 0.8rem; font-weight: 600; color: var(--text-light);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  cursor: default;
}
.hero-chip:hover { background: var(--accent-blue); border-color: var(--accent-blue); color: #fff; }
[data-theme="dark"] .hero-chip:hover { background: var(--primary-yellow); border-color: var(--primary-yellow); color: #0b0c10; }
.hero-chip i { font-size: 0.78rem; color: var(--accent-blue); transition: color 0.2s; }
[data-theme="dark"] .hero-chip i { color: var(--primary-yellow); }
.hero-chip:hover i { color: #fff; }
[data-theme="dark"] .hero-chip:hover i { color: #0b0c10; }

.hero-available {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--glass-border);
}
.hero-available-left { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; }
.avail-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse-dot 1.8s infinite; }
.hero-available a { font-size: 0.85rem; font-weight: 700; color: var(--accent-blue); text-decoration: none; transition: color var(--transition-theme); }
[data-theme="dark"] .hero-available a { color: var(--primary-yellow); }

/* mini cards row */
.hero-mini-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.hero-mini-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 16px 18px;
  backdrop-filter: blur(12px); box-shadow: var(--shadow-sm);
  transition: all 0.3s ease, background var(--transition-theme);
}
.hero-mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.hero-mini-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--gradient-yellow);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; margin-bottom: 10px;
}
.hero-mini-info strong {
  display: block; font-size: 1.4rem; font-weight: 800;
  color: var(--accent-blue); font-family: var(--font-secondary);
  line-height: 1; transition: color var(--transition-theme);
}
[data-theme="dark"] .hero-mini-info strong { color: var(--primary-yellow); }
.hero-mini-info span { font-size: 0.78rem; color: var(--text-dim); }

.hero-mini-badge {
  display: inline-block; margin-top: 6px;
  background: rgba(34,197,94,0.1); color: #16a34a;
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 6px; padding: 2px 8px;
  font-size: 0.72rem; font-weight: 700;
}
[data-theme="dark"] .hero-mini-badge { background: rgba(34,197,94,0.15); color: #4ade80; }


/* ===== STATS (ABOUT PAGE) ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 50px 0;
}

.stat-item {
  background: var(--input-bg);
  padding: 30px 20px;
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: background var(--transition-theme);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-blue);
  transition: color var(--transition-theme);
}

[data-theme="dark"] .stat-number {
  color: var(--primary-yellow);
}

/* ===== SKILL PROGRESS BARS ===== */
.skill {
  margin-bottom: 20px;
}

.skill span {
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: var(--input-bg);
  border-radius: 20px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-yellow);
  width: 0%;
  border-radius: 20px;
  transition: width 1.5s ease;
}

/* ===== SERVICES CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  padding: 35px 20px;
  text-align: center;
}

.service-icon i {
  font-size: 2.6rem;
  background: var(--gradient-yellow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-link {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 15px;
  transition: color var(--transition-theme);
}

[data-theme="dark"] .service-link {
  color: var(--primary-yellow);
}

/* ===== WHY CHOOSE ME ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin: 40px 0;
}

.why-item {
  padding: 30px 20px;
  text-align: center;
  border-radius: 20px;
  background: var(--input-bg);
  transition: background var(--transition-theme);
}

.why-item i {
  font-size: 2.2rem;
  color: var(--accent-blue);
  margin-bottom: 15px;
  transition: color var(--transition-theme);
}

[data-theme="dark"] .why-item i {
  color: var(--primary-yellow);
}

/* ===== PORTFOLIO FILTER ===== */
.filter-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--input-border);
  color: var(--text-dim);
  padding: 10px 26px;
  border-radius: 40px;
  font-weight: 500;
  transition: 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gradient-yellow);
  color: #ffffff;
  border-color: transparent;
}

[data-theme="dark"] .filter-btn.active,
[data-theme="dark"] .filter-btn:hover {
  color: #0b0c10;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.portfolio-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 27, 51, 0.92), rgba(21, 101, 192, 0.25));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: 0.3s;
  color: #ffffff;
}

[data-theme="dark"] .portfolio-overlay {
  background: linear-gradient(to top, rgba(11, 12, 16, 0.95), rgba(255, 184, 28, 0.2));
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

/* ===== YOUTUBE EMBED ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  padding: 35px 25px;
  margin: 10px;
}

.testimonial-card i {
  color: var(--accent-blue);
  font-size: 1.8rem;
  opacity: 0.6;
  margin-bottom: 15px;
  transition: color var(--transition-theme);
}

[data-theme="dark"] .testimonial-card i {
  color: var(--primary-yellow);
}

.swiper-pagination-bullet {
  background: var(--accent-blue);
  opacity: 0.4;
}

[data-theme="dark"] .swiper-pagination-bullet {
  background: var(--primary-yellow);
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* ===== BLOG CARDS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.blog-link {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 15px;
  transition: color var(--transition-theme);
}

[data-theme="dark"] .blog-link {
  color: var(--primary-yellow);
}

.blog-card {
  padding: 0;
  border-radius: 20px;
  background: var(--bg-card);
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 22px;
}

.post-category {
  color: var(--accent-blue);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  font-weight: 600;
  text-transform: uppercase;
  transition: color var(--transition-theme);
}

[data-theme="dark"] .post-category {
  color: var(--primary-yellow);
}

.blog-card-body h4 {
  margin: 12px 0 10px;
  font-size: 1.15rem;
}

.blog-card-body p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.post-date {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.blog-card-cta {
  margin-top: 18px;
}

.blog-card-cta .btn {
  padding: 8px 20px;
}

.blog-card-help {
  margin-top: 15px;
  border-top: 1px solid var(--glass-border);
  padding-top: 12px;
}

.blog-card-help a {
  color: var(--accent-blue);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-theme);
}

[data-theme="dark"] .blog-card-help a {
  color: var(--primary-yellow);
}

.blog-pagination {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}


.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  padding: 40px 25px;
  text-align: center;
  background: var(--bg-card);
  border-radius: 28px;
}

.pricing-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-blue);
  margin: 20px 0;
  transition: color var(--transition-theme);
}

[data-theme="dark"] .price {
  color: var(--primary-yellow);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.price small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-dim);
}

.pricing-card ul {
  list-style: none;
  margin: 25px 0;
  text-align: left;
  padding: 0 15px;
}

.pricing-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--glass-border);
}

.pricing-card li i {
  color: var(--accent-blue);
  margin-right: 10px;
  transition: color var(--transition-theme);
}

[data-theme="dark"] .pricing-card li i {
  color: var(--primary-yellow);
}

/* ===== CONTACT & MAP ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 40px;
  padding: 16px 24px;
  color: var(--text-light);
  font-family: inherit;
  margin-bottom: 20px;
  transition: background var(--transition-theme), border-color var(--transition-theme), color var(--transition-theme);
}

.contact-form textarea {
  border-radius: 24px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-dim);
}

.contact-info h3 {
  margin-bottom: 15px;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-dim);
}

.contact-info p i {
  color: var(--accent-blue);
  font-size: 1.2rem;
  width: 22px;
  text-align: center;
  transition: color var(--transition-theme);
}

[data-theme="dark"] .contact-info p i {
  color: var(--primary-yellow);
}

.contact-info p a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
}

.contact-info p a:hover {
  color: var(--accent-blue);
}

[data-theme="dark"] .contact-info p a:hover {
  color: var(--primary-yellow);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--input-bg);
  color: var(--text-light);
  text-decoration: none;
  border: 1px solid var(--input-border);
  transition: 0.25s, background var(--transition-theme), border-color var(--transition-theme);
}

.social-icons a:hover {
  background: var(--gradient-yellow);
  color: #ffffff;
  transform: translateY(-4px);
}

[data-theme="dark"] .social-icons a:hover {
  color: #0b0c10;
}

.map-placeholder iframe {
  width: 100%;
  height: 260px;
  border-radius: 20px;
  margin-top: 20px;
  border: 1px solid var(--glass-border);
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  margin: 80px auto;
  padding: 60px 30px;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.cta-content h2 {
  font-size: 2.4rem;
}

/* ===== SECTION HEADER (shared) ===== */
.section-header {
  text-align: center;
  margin-bottom: 20px;
}

.text-center {
  text-align: center;
  margin-top: 30px;
}

section {
  padding: 70px 0;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 70px 0 20px;
  margin-top: 60px;
  transition: background var(--transition-theme), color var(--transition-theme);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-col h3 span {
  background: var(--gradient-yellow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-col p {
  color: var(--footer-text);
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: var(--footer-text);
  text-decoration: none;
  line-height: 2.4;
}

.footer-col a:hover {
  color: var(--primary-yellow);
}

.newsletter {
  display: flex;
}

.newsletter input {
  flex: 1;
  padding: 14px;
  border-radius: 40px 0 0 40px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.newsletter input::placeholder {
  color: #b8c4dc;
}

.newsletter button {
  background: var(--gradient-yellow);
  border: none;
  padding: 0 20px;
  border-radius: 0 40px 40px 0;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
}

[data-theme="dark"] .newsletter button {
  color: #0b0c10;
}

.footer-bottom {
  text-align: center;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 184, 28, 0.1);
  color: var(--footer-text);
}

/* ===== PAGE HEADER (sub-pages) ===== */
.page-header h1 {
  font-size: 3rem;
}

/* ===== PRICING: POPULAR BADGE ===== */
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-yellow);
  color: #ffffff;
  padding: 6px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 14px rgba(21, 101, 192, 0.3);
  white-space: nowrap;
}

[data-theme="dark"] .popular-badge {
  color: #0b0c10;
  box-shadow: 0 4px 14px rgba(255, 184, 28, 0.4);
}

/* ===== SERVICES PAGE: DETAILED CARDS ===== */
.service-detailed-card {
  padding: 45px 35px;
}

.service-detailed-icon i {
  font-size: 3rem;
  background: var(--gradient-yellow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-detailed-card h2 {
  font-size: 2.2rem;
  margin: 15px 0;
}

.service-detailed-card p {
  color: var(--text-dim);
  margin-bottom: 10px;
  max-width: 760px;
}

.service-sub-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  margin: 30px 0;
}

.sub-item {
  background: var(--input-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 500;
  transition: background var(--transition-theme), border-color var(--transition-theme), transform 0.2s;
}

.sub-item:hover {
  transform: translateY(-3px);
}

.sub-item i {
  color: var(--accent-blue);
  margin-right: 8px;
  transition: color var(--transition-theme);
}

[data-theme="dark"] .sub-item i {
  color: var(--primary-yellow);
}

/* ===== CONTACT PAGE: SOCIAL ICONS (transparent variant) ===== */
.contact-details .social-icons a {
  background: transparent;
  width: auto;
  height: auto;
  border: none;
}

.contact-details .social-icons a:hover {
  background: transparent;
  color: var(--accent-blue);
  transform: translateY(-3px);
}

[data-theme="dark"] .contact-details .social-icons a:hover {
  color: var(--primary-yellow);
}


@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .about-image img {
    width: 100%;
    padding: 10px;
    border-radius: 25px;
  }

  .stats-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-grid,
  .blog-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  .hero{
  
  padding: 70px 0 70px;
  position: relative;
  overflow: hidden;

  }
  .logo {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-secondary);
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: -0.5px;
  }

  .logo span {
    background: var(--gradient-yellow);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-left: 5px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 16px 15px;
    margin-bottom: 20px;
  }

  .container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 10px;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: var(--nav-mobile-bg);
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
    padding: 30px 0;
    transition: 0.3s, background var(--transition-theme);
    border-top: 1px solid var(--glass-border);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu .theme-toggle {
    margin-top: 10px;
  }

  .hamburger {
    display: flex;
    padding: 20px 0;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
  }

  .hero-mini-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats {
    gap: 0;
  }

  .hero-stat {
    padding: 0 16px;
  }

  .why-grid,
  .video-grid,
  .blog-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .price-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }
}