:root {
  --purple: #7B2FBE;
  --purple-light: #9B59B6;
  --purple-dark: #4A0E8F;
  --purple-bg: #2D0A6E;
  --dark: #0A0A0A;
  --dark2: #111111;
  --dark3: #1A1A2E;
  --white: #FFFFFF;
  --gray: #888;
  --accent: #8B5CF6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: rgba(10, 10, 10, 0.15);
  backdrop-filter: blur(10px);
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 2px;
  flex-shrink: 0;
}

.logo span {
  color: var(--purple-light);
}

.nav-links {
  display: flex;
  gap: 0;
  background: rgba(30, 10, 60, 0.7);
  border-radius: 40px;
  padding: 8px 16px;
  border: 1px solid rgba(120, 60, 200, 0.3);
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 30px;
  transition: all 0.3s;
  white-space: nowrap;
}

.nav-links a:hover {
  background: rgba(123, 47, 190, 0.3);
}

.hire-btn {
  background: var(--purple);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: background 0.3s;
}

.hire-btn:hover {
  background: var(--purple-dark);
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #2D0A6E 0%, #4A0E8F 40%, #6B1FA8 70%, #8B35C0 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(139, 53, 192, 0.4) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 60px 60px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-left h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 30px;
}

.hero-left h1 span {
  font-weight: 800;
}

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

.hero-right img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  filter:
    drop-shadow(0 0 40px rgba(155, 89, 182, 0.6)) drop-shadow(0 0 80px rgba(123, 47, 190, 0.35)) brightness(1.08) contrast(1.05);
  animation: heroFadeIn 1s ease forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-buttons .hire-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-buttons .more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-arrow {
  font-size: 1.1em;
  transition: transform 0.3s;
}

.hero-buttons .hire-btn:hover .btn-arrow,
.hero-buttons .more-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.hero-tagline-right {
  position: absolute;
  top: 180px;
  right: 60px;
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}

.hero-specialist {
  position: absolute;
  bottom: 100px;
  right: 60px;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  text-align: right;
  line-height: 1.1;
}

.hero-image {
  display: none;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.expertise-card {
  position: absolute;
  bottom: 40px;
  left: 60px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 28px 80px 28px 28px;
  max-width: 500px;
  z-index: 3;
}

.expertise-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.expertise-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.expertise-arrow {
  position: absolute;
  top: 50%;
  right: -25px;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  color: black;
}

/* ===== TICKER ===== */
.ticker-wrap {
  background: #4A0E8F;
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-flex;
  animation: ticker 20s linear infinite;
  gap: 80px;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.1rem;
  font-weight: 500;
}

.ticker-item img {
  height: 30px;
  opacity: 0.7;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ===== ABOUT ===== */
#about {
  background: var(--dark);
  padding: 100px 60px;
}

.about-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.section-label {
  color: var(--purple-light);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.about-left h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

.about-left p {
  color: #bbb;
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.stats-row {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  color: var(--purple-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.about-right p {
  color: #bbb;
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 30px;
  margin-top: 60px;
}

.more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: all 0.3s;
}

.more-btn:hover {
  background: var(--white);
  color: var(--dark);
}

/* ===== PROJECTS ===== */
#projects {
  background: var(--dark);
  padding: 80px 60px;
}

.projects-header {
  max-width: 1400px;
  margin: 0 auto 60px;
  text-align: center;
}

.projects-header .section-label {
  display: inline-block;
  border: 1.5px solid var(--purple-light);
  border-radius: 30px;
  padding: 6px 20px;
}

.projects-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  margin: 16px 0 12px;
}

.projects-header p {
  color: #888;
  font-size: 0.95rem;
}

.projects-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.project-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 340px;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.project-card:hover img {
  transform: scale(1.07);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 0, 30, 0.85) 0%, rgba(10, 0, 30, 0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0.92;
  transition: opacity 0.3s;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-tag {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  width: fit-content;
}

.project-label {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* ===== SKILLS ===== */
#skills {
  background: var(--dark);
  padding: 80px 60px;
}

.skills-intro {
  max-width: 1400px;
  margin: 0 auto 60px;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.skills-intro .section-label {
  border: 1.5px solid var(--purple-light);
  border-radius: 30px;
  padding: 6px 20px;
  white-space: nowrap;
  margin-top: 6px;
}

.skills-intro p {
  color: #ccc;
  line-height: 1.7;
  font-size: 0.95rem;
}

.skills-intro p strong {
  color: var(--white);
}

.hire-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  float: right;
  margin-top: -20px;
  transition: all 0.3s;
}

.hire-btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.skills-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.skills-photo {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  height: 500px;
}

.skills-bars {
  padding-top: 30px;
}

.skill-group {
  margin-bottom: 40px;
}

.skill-group-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.skill-bar-wrap {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  height: 36px;
  overflow: hidden;
  position: relative;
}

.skill-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 30px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: width 1s ease;
}

.skill-pct {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ccc;
}

/* ===== SERVICES ===== */
#services {
  background: var(--dark);
  padding: 80px 60px;
}

.services-header {
  max-width: 1400px;
  margin: 0 auto 60px;
}

.services-header .section-label {
  border: 1.5px solid var(--purple-light);
  border-radius: 30px;
  padding: 6px 20px;
  display: inline-block;
}

.services-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  font-style: italic;
  margin-top: 16px;
}

.services-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  border: 1px solid rgba(120, 60, 200, 0.4);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, transform 0.3s;
}

.service-card:hover {
  border-color: var(--purple);
  transform: translateY(-4px);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: rgba(123, 47, 190, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.service-card p {
  color: #aaa;
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ===== DEGREES ===== */
#degrees {
  background: var(--dark);
  padding: 80px 60px;
}

.degrees-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.degree-item {
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.degree-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.degree-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.degree-year {
  background: #1a3a1a;
  color: #4ade80;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.degree-meta span {
  color: #888;
  font-size: 0.9rem;
}

.degrees-right .section-label {
  border: 1.5px solid var(--purple-light);
  border-radius: 30px;
  padding: 6px 20px;
  display: inline-block;
  margin-bottom: 24px;
}

.degrees-right h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.degrees-right p {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: all 0.3s;
}

.download-btn:hover {
  background: var(--white);
  color: var(--dark);
}

/* ===== REVIEWS ===== */
#reviews {
  background: var(--dark);
  padding: 80px 60px;
}

.reviews-header {
  max-width: 1400px;
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 60px;
  align-items: center;
}

.reviews-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
}

.reviews-header p {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.6;
}

.see-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s;
}

.see-more-btn:hover {
  background: var(--white);
  color: var(--dark);
}

.reviews-grid {
  max-width: 1400px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
}

.stars {
  color: #f59e0b;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.review-card p {
  color: #aaa;
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #333;
  overflow: hidden;
}

.reviewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviewer-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--purple-light);
}

.reviewer-title {
  font-size: 0.8rem;
  color: #666;
}

/* ===== BLOG ===== */
#blog {
  background: var(--dark);
  padding: 80px 60px;
}

.blog-header {
  max-width: 1400px;
  margin: 0 auto 40px;
}

.blog-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
}

.blog-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.blog-card:hover {
  border-color: var(--purple);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
}

.blog-card-body a {
  color: var(--white);
  text-decoration: underline;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

/* ===== FAQ ===== */
#faq {
  background: var(--dark3);
  padding: 80px 60px;
  position: relative;
}

#faq::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 255, 150, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.faq-header {
  max-width: 1400px;
  margin: 0 auto 50px;
}

.faq-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
}

.faq-list {
  max-width: 1400px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item.open {
  background: var(--purple);
  border-color: var(--purple);
  border-radius: 20px;
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 30px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  user-select: none;
}

.faq-q-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-q-icon {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 30px 20px 74px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.faq-item.open .faq-a {
  display: block;
}

/* ===== CONTACT ===== */
#contact {
  background: linear-gradient(180deg, var(--dark) 0%, #1a0a3a 100%);
  padding: 80px 60px;
}

.contact-top {
  max-width: 1400px;
  margin: 0 auto 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-top h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
}

.contact-top-right {
  max-width: 500px;
  text-align: right;
}

.contact-top-right p {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact-email-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-bottom: 60px;
  max-width: 1400px;
  margin: 0 auto 60px;
}

.contact-email-bar a {
  color: #ccc;
  text-decoration: none;
  font-size: 1rem;
}

.contact-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-brand p {
  color: #888;
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: 20px;
  text-align: center;
}

.contact-brand-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  letter-spacing: 3px;
  color: var(--purple-light);
  display: block;
  text-align: center;
  margin-bottom: 8px;
}

.contact-info {
  padding-top: 10px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  color: var(--purple-light);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  color: #888;
  font-size: 0.85rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-input,
.form-textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}

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

.form-input::placeholder,
.form-textarea::placeholder {
  color: #555;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 4px;
  display: block;
}

.form-label span {
  color: red;
}

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

.submit-btn {
  background: var(--purple);
  color: var(--white);
  border: none;
  padding: 16px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.3s;
  align-self: flex-start;
}

.submit-btn:hover {
  background: var(--purple-dark);
}

/* ===== FOOTER ===== */
footer {
  background: var(--purple-light);
  text-align: center;
  padding: 18px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== FLOATING HIRE BTN ===== */
.floating-hire {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--dark);
  color: var(--white);
  border: 2px solid var(--white);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.floating-hire:hover {
  background: var(--white);
  color: var(--dark);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  nav {
    padding: 14px 30px;
  }

  /* Hero padding at tablet — grid & image handled by new section below */
  .hero-content {
    padding: 120px 30px 60px;
    gap: 30px;
  }

  .expertise-card {
    left: 30px;
    right: 30px;
    max-width: unset;
    padding: 20px;
  }

  .hero-tagline-right {
    right: 30px;
  }

  .hero-specialist {
    right: 30px;
  }

  #about,
  #projects,
  #skills,
  #services,
  #degrees,
  #reviews,
  #blog,
  #faq,
  #contact {
    padding: 60px 30px;
  }
}

/* Mobile */
@media (max-width: 900px) {
  nav {
    padding: 14px 20px;
  }

  .nav-links {
    display: none;
  }

  /* Hero layout at ≤900px handled by the consolidated mobile section below */

  #about,
  #projects,
  #skills,
  #services,
  #degrees,
  #reviews,
  #blog,
  #faq,
  #contact {
    padding: 60px 20px;
  }

  .about-grid,
  .projects-grid,
  .skills-layout,
  .degrees-layout,
  .reviews-grid,
  .blog-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .stats-row {
    gap: 20px;
  }

  .contact-top {
    flex-direction: column;
    gap: 20px;
  }

  .contact-top h2 {
    font-size: 2.4rem;
    text-align: center;
  }

  .contact-top-right {
    text-align: center;
    max-width: unset;
  }

  .contact-top-right div {
    justify-content: center !important;
  }

  .reviews-header {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .reviews-header h2 {
    font-size: 2rem;
  }

  /* Buttons and hero-left alignment handled by consolidated mobile section */
}

/* Small mobile */
@media (max-width: 430px) {
  /* Hero sizing at ≤430px handled by consolidated mobile section below */

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .hire-btn,
  .hero-buttons .more-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  #about,
  #projects,
  #skills,
  #services,
  #degrees,
  #reviews,
  #blog,
  #faq,
  #contact {
    padding: 50px 16px;
  }

  .expertise-card {
    padding: 16px;
  }

  .faq-q {
    padding: 16px 20px;
    font-size: 0.88rem;
  }

  .faq-a {
    padding: 0 20px 16px 54px;
  }

  .services-header h2 {
    font-size: 2rem;
  }

  .projects-header h2 {
    font-size: 2rem;
  }

  .faq-header h2 {
    font-size: 1.8rem;
  }

  .contact-top h2 {
    font-size: 2rem;
  }
}

/* Very small mobile (320px) */
@media (max-width: 360px) {
  /* Hero sizing at ≤360px handled by consolidated mobile section below */

  nav {
    padding: 12px 12px;
  }

  .logo {
    font-size: 1.8rem;
  }

  #about,
  #projects,
  #skills,
  #services,
  #degrees,
  #reviews,
  #blog,
  #faq,
  #contact {
    padding: 40px 12px;
  }

  .review-card {
    padding: 20px;
  }

  .service-card {
    padding: 30px 20px;
  }
}

/* Inline styles override for mobile sections */
@media (max-width: 900px) {

  section[style*="padding: 80px 60px"],
  section[style*="padding:80px 60px"] {
    padding: 60px 20px !important;
  }

  div[style*="padding: 80px 60px"],
  div[style*="padding:80px 60px"] {
    padding: 60px 20px !important;
  }

  .skills-layout ul[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .page-banner {
    padding: 120px 20px 60px !important;
  }

  .page-banner h1 {
    font-size: 2.2rem !important;
  }
}

@media (max-width: 430px) {

  section[style*="padding: 80px 60px"],
  section[style*="padding:80px 60px"] {
    padding: 50px 16px !important;
  }

  div[style*="padding: 80px 60px"],
  div[style*="padding:80px 60px"] {
    padding: 50px 16px !important;
  }

  .page-banner {
    padding: 110px 16px 50px !important;
  }

  .page-banner h1 {
    font-size: 1.8rem !important;
  }
}


/* ===== PAGE HERO BANNER ===== */
.page-banner {
  padding: 140px 60px 80px;
  background: linear-gradient(135deg, #2D0A6E 0%, #4A0E8F 40%, #6B1FA8 70%, #8B35C0 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(139, 53, 192, 0.4) 0%, transparent 70%);
}

.page-banner h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--purple-light);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}


.blog-grid-full {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card-full {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  background: rgba(255, 255, 255, 0.02);
}

.blog-card-full:hover {
  border-color: var(--purple);
  transform: translateY(-4px);
}

.blog-card-full img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.blog-card-full-body {
  padding: 24px;
}

.blog-tag {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.blog-card-full-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--white);
}

.blog-card-full-body p {
  color: #aaa;
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-read-more {
  color: var(--purple-light);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.blog-read-more:hover {
  gap: 10px;
}

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


/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

@media (max-width: 900px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    background: rgba(30, 10, 60, 0.95);
    flex-direction: column;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(120, 60, 200, 0.3);
    display: none;
    transform: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    text-align: center;
    padding: 12px;
  }
}

/* ===== GLOBAL IMAGE OVERFLOW FIX ===== */
img {
  max-width: 100%;
  height: auto;
}

/* ===== HERO IMAGE DESKTOP POSITION =====
   Scoped here so mobile overrides can safely undo all of it.
   ===== */

/* Desktop hero grid: two columns, right col fixed at 520px */
.hero-content {
  display: grid;
  grid-template-columns: 1fr 520px;
  align-items: stretch;
  min-height: 680px;
  padding-bottom: 0;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.hero-right {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  height: 100%;
  position: relative;
  z-index: 2;
}

/* Desktop image: 520px wide, nudged left/down for composition */
.hero-right img {
  display: block;
  width: 520px;
  max-width: none; /* intentional on desktop; overridden on mobile */
  height: auto;
  object-fit: contain;
  position: relative;
  left: -220px;
  top: 70px;
  border-radius: 16px;
  filter:
    drop-shadow(0 0 40px rgba(155, 89, 182, 0.6))
    drop-shadow(0 0 80px rgba(123, 47, 190, 0.35))
    brightness(1.08) contrast(1.05);
  animation: heroFadeIn 1s ease forwards;
  opacity: 0;
}

/* Desktop decorative text */
.hero-tagline-right {
  position: absolute;
  top: 145px;
  right: 70px;
  z-index: 5;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.14rem;
  font-weight: 500;
  letter-spacing: 4px;
  color: #c9a7ff;
  white-space: nowrap;
}

.hero-specialist {
  position: absolute;
  top: 280px;
  right: 35px;
  z-index: 5;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 4rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -4px;
  text-align: left;
  background: linear-gradient(135deg, #ffffff 0%, #7a7a7a 45%, #727172 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================================================
   GLOBAL HORIZONTAL OVERFLOW GUARD
   ========================================================= */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

nav,
#hero,
.ticker-wrap {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* =========================================================
   TABLET  769px â€“ 1024px
   Shrink the right column so nothing clips, keep composition.
   ========================================================= */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-content {
    grid-template-columns: 1fr 420px;
    min-height: 560px;
    padding: 120px 30px 0;
    gap: 20px;
  }

  .hero-right img {
    width: 420px;
    left: -130px;
    top: 50px;
  }

  .hero-tagline-right {
    right: 30px;
    top: 140px;
    font-size: 1rem;
    letter-spacing: 3px;
  }

  .hero-specialist {
    right: 20px;
    top: 250px;
    font-size: clamp(2rem, 3vw, 3.2rem);
  }
}

/* =========================================================
   MOBILE  max-width: 768px
   Single-column layout. ALL desktop image offsets are reset.
   ========================================================= */
@media (max-width: 768px) {

  /* Hero section: plain block so flex children can't expand it */
  #hero {
    display: block;
    min-height: 0;
    overflow: hidden;
  }

  /* Content wrapper: flex column, 100% viewport width */
  .hero-content {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset; /* cancel desktop grid */
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 100px 20px 40px;
    gap: 0;
    box-sizing: border-box;
  }

  /* Text column */
  .hero-left {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: left;
    justify-content: flex-start;
  }

  /* "Rayyan KK â€” Digital Marketer" subtitle */
  .hero-left > div:first-child {
    width: 100%;
    max-width: 100%;
    font-size: 1.1rem !important;
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
    box-sizing: border-box;
  }

  /* Main heading */
  .hero-left h1,
  #hero .hero-left h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 3rem) !important;
    line-height: 1.1 !important;
    margin: 14px 0 18px;
    word-break: break-word;
    box-sizing: border-box;
  }

  /* Description */
  .hero-left p {
    width: 100%;
    max-width: 100%;
    font-size: 0.98rem !important;
    line-height: 1.6;
    margin: 0 0 24px !important;
    word-break: break-word;
    box-sizing: border-box;
  }

  /* Buttons: stacked vertically */
  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    gap: 12px;
    margin: 0;
    box-sizing: border-box;
  }

  .hero-buttons .hire-btn,
  .hero-buttons .more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 14px 20px;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
  }

  /* Image column: centered below text */
  .hero-right {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    margin: 28px 0 0;
    padding: 0;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    box-sizing: border-box;
  }

  /* Hero image: all desktop offsets cancelled */
  .hero-right img {
    display: block;
    position: relative;
    left: 0;          /* cancel: left: -220px */
    right: auto;
    top: 0;           /* cancel: top: 70px */
    width: min(88vw, 360px);
    max-width: 100%;  /* override: max-width: none */
    min-width: 0;
    height: auto;
    margin: 0 auto;
    transform: none;
    box-sizing: border-box;
  }

  /* Hide desktop absolute decorative overlays */
  .hero-tagline-right,
  .hero-specialist {
    display: none;
  }

  /* Expertise card: remove absolute positioning */
  .expertise-card {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 24px 0 0;
    box-sizing: border-box;
  }
}

/* =========================================================
   SMALL MOBILE  max-width: 430px
   ========================================================= */
@media (max-width: 430px) {
  .hero-content {
    padding: 90px 16px 30px;
  }

  .hero-left h1,
  #hero .hero-left h1 {
    font-size: clamp(1.9rem, 10vw, 2.6rem) !important;
  }

  .hero-right img {
    width: min(86vw, 320px);
  }
}

/* =========================================================
   VERY SMALL MOBILE  max-width: 360px
   ========================================================= */
@media (max-width: 360px) {
  .hero-content {
    padding: 85px 12px 24px;
  }

  .hero-left h1,
  #hero .hero-left h1 {
    font-size: 1.85rem !important;
  }

  .hero-right img {
    width: min(84vw, 280px);
  }
}

