:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --card: #111827;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.15);
  --primary: #2563eb;
  --primary-soft: rgba(37, 99, 235, 0.4);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: #1f2937;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.65);
  --shadow-subtle: 0 10px 30px rgba(15, 23, 42, 0.5);
}

/* Global reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #020617);
  color: var(--text-main);
  scroll-behavior: smooth;
}

body {
  padding-top: 72px; /* space for fixed header */
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* containers */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* unified section container for all sections */

.section-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 10%, #38bdf8, #1d4ed8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.logo-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.logo-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
}

.nav a {
  position: relative;
  padding: 4px 0;
  color: var(--text-muted);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transition: width 0.2s ease-out;
}

.nav a:hover {
  color: var(--text-main);
}

.nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.3rem;
  cursor: pointer;
}

/* Hero */

.hero {
  padding: 56px 0 40px;
  background: radial-gradient(circle at 0 0, #1e293b 0, #020617 48%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 32px;
  align-items: center;
}

.hero-tagline {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #a5b4fc;
  margin-bottom: 8px;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0 0 10px;
}

.highlight {
  background: linear-gradient(120deg, #60a5fa, #a855f7, #f97316);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtext {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.6;
  max-width: 720px;
  margin-bottom: 18px;
}

/* Mobile optimisation */
@media (max-width: 768px) {
  .hero-subtext {
    text-align: left;
    line-height: 1.5;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
    background 0.15s ease-out, border-color 0.15s ease-out;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.56);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.35);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.7);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

/* Hero – right profile card */

.hero-right {
  display: flex;
  justify-content: flex-end;
}

/* 🔼 Enlarge photo card slightly */
.profile-card {
  background: radial-gradient(circle at 0 0, #1d4ed8 0, #020617 62%);
  border-radius: 26px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.4);
  max-width: 420px; /* was 320px */
  text-align: center;
  margin-left: auto;
  margin-right: 0;
}

/* 🔼 Enlarge photo circle slightly */
.profile-photo-ring {
  width: 220px;  /* was 200px */
  height: 220px; /* was 200px */
  margin: 0 auto 10px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.profile-photo-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #020617;
}

.profile-card h3 {
  margin: 6px 0 4px;
  font-size: 1rem;
}

.profile-card p {
  margin: 0 0 10px;
  font-size: 0.8rem;
  color: #e5e7eb;
}

.profile-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 1rem;
}

.profile-icons a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.profile-icons a:hover {
  border-color: var(--primary);
}

/* Sections */

.section {
  padding: 60px 0;
  background: radial-gradient(circle at top left, #020617 0, #020617 60%);
}

.section-alt {
  background: radial-gradient(circle at top right, #020617 0, #020617 60%);
}

.section-title {
  font-size: 1.5rem;
  margin: 0 0 24px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-title::after {
  content: "";
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

/* About */

.about-text {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.7;
  font-size: 16px;
  max-width: 900px;
}

/* Core Expertise – portfolio style */

.expertise-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 20px;
}

.expertise-card {
  position: relative;
  padding: 22px 22px;
  border-radius: 22px;
  background: linear-gradient(145deg, #1e3a8a, #020617);
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 25px 55px rgba(2, 6, 23, 0.9);
  overflow: hidden;
  transition: all 0.35s ease;
}

.expertise-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.8),
    rgba(56, 189, 248, 0.6),
    transparent
  );
  opacity: 0.6;
  z-index: 0;
}

.expertise-card * {
  position: relative;
  z-index: 1;
}

.expertise-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}

.expertise-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #c7d2fe;
}

.expertise-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 70px rgba(99, 102, 241, 0.8);
  border-color: #6366f1;
}

/* Programs list */

.programs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.programs-list li {
  background: linear-gradient(145deg, #0b1220, #050816);
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ✅ FIXED: h3 colour + higher specificity */
.programs-list li h3 {
  margin: 0 0 6px;                 /* reset browser margin */
  font-size: 1.05rem;
  font-weight: 600;
  color: #93c5fd;       /* visible blue */
  letter-spacing: 0.3px;
}

/* Paragraphs */
.programs-list li p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Testimonials base style */

blockquote {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  border-left: 3px solid var(--primary);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 16px;
}

/* Testimonials Marquee */

.testimonials-marquee {
  overflow: hidden;
  margin-top: 10px;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: testimonials-scroll 58s linear infinite;
}

/* Pause on hover – FIXED */
.testimonials-marquee:hover .marquee-track,
.marquee-track:hover {
  animation-play-state: paused;
}

.testimonials-marquee blockquote {
  min-width: 320px;
  max-width: 420px;
  flex-shrink: 0;
  white-space: normal;
}

/* Animation */
@keyframes testimonials-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Contact */

#contact p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Footer */

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  background: #020617;
  padding: 14px 0 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* Floating WhatsApp */

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #22c55e;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 14px 32px rgba(22, 163, 74, 0.7);
}

/* Responsive */

@media (max-width: 900px) {
  body {
    padding-top: 64px;
  }

  .header-inner {
    height: 64px;
  }

  .nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    padding: 10px 16px 14px;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease-out, opacity 0.18s ease-out;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    justify-content: flex-start;
    margin-top: 20px;
  }

  .expertise-grid-new {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 36px 0 30px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .about-text {
    font-size: 15px;
    line-height: 1.6;
  }

  .testimonials-marquee blockquote {
    min-width: 260px;
    max-width: 320px;
  }
}

/* FULL PROOF pause on hover */
.testimonials-marquee {
  overflow: hidden;
  position: relative;
}

.testimonials-marquee:hover .marquee-track {
  animation-play-state: running;
  animation-delay: 0s;
}

/* ❌ REMOVED THIS: .section .section-container { padding-left: 0 !important; } */
/* That line was breaking alignment between hero & other sections */

/* Ensure marquee doesn't visually push content */
.testimonials-marquee {
  margin-left: 0 !important;
}

/* Brand icons override */

.profile-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 1rem;
}

/* Brand colours */
.profile-icons .gmail i {
  color: #EA4335;
}

.profile-icons .whatsapp i {
  color: #25D366;
}

.profile-icons .linkedin i {
  color: #0A66C2;
}

/* Hover glow */
.profile-icons a:hover {
  box-shadow: 0 0 0 2px rgba(255,255,255,0.08),
              0 6px 18px rgba(0,0,0,0.5);
}

/* 🔧 Desktop tweak so right side gets a bit more room (alignment under Contact) */
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.5fr);
  }
}
.real-gmail-icon {
  width: 18px;
  height: 18px;
}
/* Nav menu font colour */
.nav a {
  color: #F3FFA3 !important;
}
.nav a:hover {
  color: #ffffff !important;
}
.logo-tag {
  color: #F3FFA3 !important;
}
.profile-card p {
  color: #F3FFA3 !important;
}
.about-text {
  max-width: 100% !important;
  width: 100% !important;
}
/* 🔒 FINAL OVERRIDE – Programs H3 colour */
ul.programs-list > li > h3 {
  color: #93c5fd !important;
}

ul.programs-list > li > p {
  color: #ffffff !important;   /* rest text white */
}
/* ================================ */
/* Programs section – hover effects */
/* ================================ */

.programs-list li {
  transition: transform 0.25s ease,
              box-shadow 0.25s ease,
              border-color 0.25s ease,
              background 0.25s ease;
}

.programs-list li:hover {
  transform: translateY(-6px);
  border-color: rgba(254, 255, 130, 0.6); /* matches h3 colour */
  box-shadow: 0 18px 40px rgba(254, 255, 130, 0.15);
  background: linear-gradient(145deg, #0f172a, #050816);
}

/* h3 pop on hover */
.programs-list li:hover > h3 {
  text-shadow: 0 0 8px rgba(254, 255, 130, 0.6);
}

/* subtle text clarity */
.programs-list li:hover > p {
  opacity: 0.95;
}
/* Footer copyright highlight */
.footer {
  color: #F3FFA3 !important;
}
/* Mobile – center align profile card */
@media (max-width: 900px) {
  .hero-right {
    justify-content: center !important;
  }

  .profile-card {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* 🔼 Final scale-up for hero profile content */
.profile-card h3 {
  font-size: 1.2rem !important;
}

.profile-card p {
  font-size: 0.95rem !important;
}

.profile-icons a {
  width: 40px;
  height: 40px;
  font-size: 1.15rem;
}

/* =============================== */
/* PROFILE CARD – IT PROFILE SIZE  */
/* =============================== */

.profile-card {
  padding: 32px !important;
  border-radius: 32px !important;
  background: radial-gradient(circle at top left, #1d4ed8 0%, #020617 70%) !important;
  box-shadow: 0 36px 80px rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(148, 163, 184, 0.35) !important;
  max-width: 460px !important;   /* ⬅️ MATCH IT PROFILE */
}

/* Photo ring – exact IT profile scale */
.profile-photo-ring {
  width: 240px !important;
  height: 240px !important;
  margin: 0 auto 18px !important;
  padding: 5px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #a855f7, #f97316) !important;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.9) !important;
}

/* Photo inside ring */
.profile-photo-ring img {
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 5px solid #020617 !important;
  background: #ffffff !important;
}

/* Name */
.profile-card h3 {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  margin-top: 8px !important;
}

/* Role */
.profile-card p {
  font-size: 0.95rem !important;
  margin: 6px 0 16px !important;
  color: #F3FFA3 !important;
}

/* Icons */
.profile-icons {
  gap: 14px !important;
}

.profile-icons a {
  width: 40px !important;
  height: 40px !important;
  font-size: 1.15rem !important;
}

/* Mobile – keep center alignment */
@media (max-width: 900px) {
  .hero-right {
    justify-content: center !important;
  }

  .profile-card {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
.resume-hover {
  transition: transform 0.25s ease,
              box-shadow 0.25s ease,
              border-color 0.25s ease,
              background 0.25s ease;
}

.resume-hover:hover {
  transform: translateY(-6px);
  border-color: rgba(254, 255, 130, 0.6);
  box-shadow: 0 18px 40px rgba(254, 255, 130, 0.18);
  background: linear-gradient(145deg, #0f172a, #050816);
}
/* ===================================== */
/* GLOBAL SECTION SPACING STANDARDIZATION */
/* ===================================== */

/* Default spacing for all sections */
.section {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* Slightly tighter spacing on mobile */
@media (max-width: 768px) {
  .section {
    padding-top: 36px;
    padding-bottom: 36px;
  }
}








