/* ==========================================
   1. CSS VARIABLES & THEME SYSTEM
   ========================================== */
:root {
  /* Color Palette */
  --bg-primary: #050814;
  --bg-secondary: #0A0F24;
  --bg-card: rgba(10, 15, 36, 0.6);
  
  --accent-cyan: #00b4d8;
  --accent-blue: #0077b6;
  --accent-light: #90e0ef;
  
  --text-main: #f8f9fa;
  --text-muted: #bdc9e1;
  --text-dark: #64748b;
  
  /* Glassmorphism Defaults */
  --glass-bg: rgba(10, 15, 36, 0.45);
  --glass-border: rgba(144, 224, 239, 0.12);
  --glass-shadow: rgba(0, 0, 0, 0.4);
  
  /* Fonts */
  --font-poppins: 'Poppins', sans-serif;
  --font-inter: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
  
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-inter);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background glows for premium visual design */
.glow-bg {
  position: absolute;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.12;
  pointer-events: none;
}

.glow-bg-1 {
  background: radial-gradient(circle, var(--accent-cyan), transparent 70%);
  top: 10%;
  left: -10%;
}

.glow-bg-2 {
  background: radial-gradient(circle, var(--accent-blue), transparent 70%);
  bottom: 10%;
  right: -10%;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-poppins);
  font-weight: 600;
  letter-spacing: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border: 2px solid var(--bg-primary);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* ==========================================
   3. LAYOUT UTILITIES
   ========================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 7rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-poppins);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--accent-cyan), var(--accent-blue));
  margin: 0 auto;
  border-radius: 2px;
}

.gradient-text {
  background: linear-gradient(to right, var(--accent-cyan) 30%, var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent-cyan); /* Fallback */
}

/* Glassmorphic cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(144, 224, 239, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(0, 180, 216, 0.15);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-poppins);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-icon {
  width: 1.1rem;
  height: 1.1rem;
  transition: var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.2);
  color: var(--accent-cyan);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================
   4. NAVIGATION HEADER
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  background: rgba(5, 8, 20, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 0.75rem 0;
  background: rgba(5, 8, 20, 0.85);
  border-bottom: 1px solid rgba(0, 180, 216, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 28px;
  height: 28px;
}

.logo-text {
  font-family: var(--font-poppins);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.logo-text .highlight {
  color: var(--accent-cyan);
}

.nav-menu {
  display: none; /* Mobile first */
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-poppins);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-cyan);
}

.nav-btn {
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.3);
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  color: var(--accent-cyan);
}

.nav-btn:hover {
  background: var(--accent-cyan);
  color: #fff;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 180, 216, 0.3);
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 25px;
}

.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-fast);
}

.nav-toggle.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 300px;
  height: 100vh;
  background: rgba(7, 10, 25, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--glass-border);
  z-index: 999;
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.mobile-nav-link {
  font-family: var(--font-poppins);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
}

.mobile-nav-link:hover {
  color: var(--accent-cyan);
  padding-left: 5px;
}

.mobile-nav-link.active {
  color: var(--accent-cyan);
}

.mobile-btn {
  border: 1px solid var(--accent-cyan);
  padding: 0.65rem;
  border-radius: 8px;
  text-align: center;
  color: var(--accent-cyan);
  background: rgba(0, 180, 216, 0.05);
}

.mobile-btn:hover {
  background: var(--accent-cyan);
  color: #fff;
}

/* ==========================================
   5. HERO SECTION
   ========================================== */
.hero-section {
  padding: 9rem 0 5rem;
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-size: clamp(2.65rem, 14vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-top: 1rem;
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}

.hero-subtitle {
  font-family: var(--font-poppins);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-image-container {
  display: flex;
  justify-content: center;
  position: relative;
}

.profile-card {
  position: relative;
  width: min(280px, calc(100vw - 4rem));
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: visible; /* To allow floating tags to spill out */
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.profile-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  filter: blur(15px);
  opacity: 0.35;
  z-index: -1;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 23px;
  background: var(--bg-secondary);
}

/* Floating tags around profile image */
.tech-tag {
  position: absolute;
  background: rgba(10, 15, 36, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(144, 224, 239, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  animation: float 4s ease-in-out infinite;
}

.tag-html {
  top: 15%;
  left: -24px;
  animation-delay: 0s;
}

.tag-css {
  bottom: 25%;
  right: -24px;
  animation-delay: 1.3s;
}

.tag-js {
  bottom: 10%;
  left: -12px;
  animation-delay: 2.6s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ==========================================
   6. ABOUT ME SECTION
   ========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.about-info-card {
  padding: 2.5rem;
}

.about-info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--accent-cyan);
}

.about-info-card p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.about-info-card p:last-child {
  margin-bottom: 0;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.stat-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.stat-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 180, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.stat-icon {
  width: 22px;
  height: 22px;
}

.stat-card h4 {
  font-size: 1.15rem;
  font-weight: 600;
}

.stat-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================
   7. EDUCATION SECTION
   ========================================== */
.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 7px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-cyan), rgba(0, 180, 216, 0.1));
}

.timeline-item {
  position: relative;
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -29px;
  top: 2.8rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-cyan);
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 10px rgba(0, 180, 216, 0.8);
}

.timeline-date {
  font-family: var(--font-poppins);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.education-degree {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.education-inst {
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.education-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================
   8. SKILLS SECTION
   ========================================== */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.skills-category-card {
  padding: 2.5rem;
}

.skills-category-card h3 {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: var(--accent-cyan);
  border-left: 3px solid var(--accent-cyan);
  padding-left: 0.75rem;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-item {
  width: 100%;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.skill-name {
  font-weight: 500;
}

.skill-percent {
  color: var(--accent-cyan);
  font-weight: 600;
}

.skill-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(to right, var(--accent-blue), var(--accent-cyan));
  border-radius: 3px;
  width: 0; /* Animated dynamically or set directly */
}

/* Professional Skills Grid */
.prof-skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.prof-skill-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.prof-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 180, 216, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.prof-icon svg {
  width: 18px;
  height: 18px;
}

.prof-skill-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.prof-skill-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================
   9. SERVICES SECTION
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.service-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 180, 216, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.service-icon {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================
   10. PROJECTS SECTION
   ========================================== */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.project-card {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-img-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-secondary);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 20, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.project-btn {
  background: var(--text-main);
  color: var(--bg-primary);
  font-family: var(--font-poppins);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  transform: translateY(15px);
  transition: var(--transition-smooth);
}

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

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

.project-card:hover .project-btn {
  transform: translateY(0);
}

.project-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.project-content .project-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.project-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================
   11. LEADERSHIP SECTION
   ========================================== */
.leadership-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.lead-role-card {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.lead-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lead-badge {
  align-self: flex-start;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.3);
  color: var(--accent-cyan);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.lead-role-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
}

.lead-role-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

.lead-attributes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.attribute-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.attr-icon {
  color: var(--accent-cyan);
}

.attr-icon svg {
  width: 24px;
  height: 24px;
}

.attribute-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

.attribute-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================
   12. FUTURE VISION SECTION
   ========================================== */
.vision-card {
  padding: 4rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

.vision-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vision-title {
  font-size: 2rem;
  font-weight: 700;
}

.vision-description {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.vision-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vision-point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.point-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.vision-point span {
  font-family: var(--font-poppins);
  font-size: 0.95rem;
  font-weight: 500;
}

.vision-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo-sphere {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rotating-logo {
  width: 100px;
  height: 100px;
  z-index: 2;
  animation: logoPulse 4s ease-in-out infinite;
}

.pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(0, 180, 216, 0.25);
  z-index: 1;
}

.pulse-1 {
  animation: pulseRotate 12s linear infinite;
}

.pulse-2 {
  animation: pulseRotate 8s linear infinite reverse;
  width: 80%;
  height: 80%;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(0, 180, 216, 0.2));
  }
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 15px rgba(0, 180, 216, 0.5));
  }
}

@keyframes pulseRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ==========================================
   13. CONTACT SECTION
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-panel h3 {
  font-size: 1.75rem;
}

.contact-info-panel > p {
  color: var(--text-muted);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-method-card {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.method-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 180, 216, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.method-icon svg {
  width: 20px;
  height: 20px;
}

.contact-method-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

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

.contact-link:hover {
  color: var(--accent-cyan);
}

.contact-link {
  overflow-wrap: anywhere;
}

.social-links-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-links-container h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
}

.social-row {
  display: flex;
  gap: 1rem;
}

.social-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-family: var(--font-poppins);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.social-badge svg {
  width: 16px;
  height: 16px;
}

.social-badge:hover {
  background: rgba(0, 180, 216, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-panel {
  padding: 3rem 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: var(--font-poppins);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(0, 180, 216, 0.15);
}

.error-msg {
  display: none;
  color: #ff6b6b;
  font-size: 0.75rem;
  margin-top: 0.35rem;
}

.form-group.invalid input,
.form-group.invalid textarea {
  border-color: #ff6b6b;
}

.form-group.invalid .error-msg {
  display: block;
}

.btn-submit {
  width: 100%;
  border: none;
}

.form-status {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  text-align: center;
  display: none;
}

.form-status.success {
  display: block;
  color: #2ec4b6;
}

.form-status.error {
  display: block;
  color: #ff6b6b;
}

/* ==========================================
   14. FOOTER SECTION
   ========================================== */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 3rem 0 1.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 360px;
  line-height: 1.5;
}

.footer-links h4,
.footer-socials h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
  color: var(--text-main);
}

.footer-links ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(86px, 1fr));
  gap: 0.55rem 1rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 2px;
}

.footer-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-icons a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-icons a:hover {
  background: var(--accent-cyan);
  color: #fff;
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.1rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-dark);
  font-size: 0.85rem;
}

/* ==========================================
   14.5. SUB-PAGE BANNER STYLES
   ========================================== */
.page-banner {
  padding: 8rem 0 3rem;
  background: linear-gradient(180deg, rgba(10, 15, 36, 0.5) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.page-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

/* ==========================================
   15. ANIMATIONS & REVEALS
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
              transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  html {
    scroll-behavior: auto !important;
  }
  
  .rotating-logo, .tag-html, .tag-css, .tag-js {
    animation: none !important;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-section {
    padding-top: 8.25rem;
  }

  .hero-title .gradient-text {
    display: block;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    max-width: 220px;
    margin: 0 auto;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .tech-tag {
    padding: 0.35rem 0.85rem;
    font-size: 0.72rem;
  }

  .tag-html {
    left: 8px;
  }

  .tag-css {
    right: 8px;
  }

  .tag-js {
    left: 12px;
  }
}

/* ==========================================
   16. MEDIA BREAKPOINTS (RESPONSIVENESS)
   ========================================== */

/* Tablet & Landscape Mobile (600px+) */
@media screen and (min-width: 600px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-card.span-2 {
    grid-column: span 2;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .lead-attributes {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .lead-attributes .span-2 {
    grid-column: span 2;
  }
}

/* Desktop Medium (768px+) */
@media screen and (min-width: 768px) {
  .nav-menu {
    display: block;
  }
  
  .nav-toggle {
    display: none;
  }
  
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
  
  .hero-content {
    text-align: left;
  }
  
  .hero-description {
    margin: 0 0 2.5rem;
  }
  
  .hero-ctas {
    justify-content: flex-start;
  }
  
  .profile-card {
    width: 320px;
    height: 320px;
  }
  
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: flex-start;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .leadership-content-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
  }
  
  .vision-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
  
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* Desktop Large (1024px+) */
@media screen and (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
  
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .vision-card {
    padding: 5rem;
  }
}
