
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  /* Dark Theme Colors */
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: rgba(255, 255, 255, 0.05);
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --accent-primary: #0071e3;
  --accent-secondary: #06c;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow: rgba(0, 0, 0, 0.3);
}

:root[data-theme="light"] {
  --bg-primary: #dbdada;
  --bg-secondary: #f5f5f7;
  --bg-card: rgba(0, 0, 0, 0.03);
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-muted: #86868b;
  --accent-primary: #0071e3;
  --accent-secondary: #06c;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.1);
  --shadow: rgba(0, 0, 0, 0.1);
}

/* ==================== RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

/* ==================== 3D ANIMATED BACKGROUND ==================== */
.background-3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: float 30s infinite ease-in-out;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  top: -20%;
  left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  top: 40%;
  right: -10%;
  animation-delay: 8s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  bottom: -10%;
  left: 30%;
  animation-delay: 16s;
}

.orb-4 {
  width: 550px;
  height: 550px;
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  bottom: 30%;
  right: 20%;
  animation-delay: 24s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  25% {
    transform: translate(100px, -150px) rotate(90deg) scale(1.1);
  }
  50% {
    transform: translate(-80px, 100px) rotate(180deg) scale(0.9);
  }
  75% {
    transform: translate(120px, 80px) rotate(270deg) scale(1.05);
  }
}

/* ==================== GLASS EFFECT ==================== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 8px 32px var(--shadow);
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 48px var(--shadow);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==================== NAVIGATION ==================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px var(--shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

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

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.theme-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  
}

.theme-toggle:hover {
  transform: scale(1.1);
  background: var(--bg-card);
}

.theme-toggle svg {
  position: absolute;
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.theme-toggle .sun-icon {
  opacity: 0;
  transform: rotate(-90deg);
}

.theme-toggle .moon-icon {
  opacity: 1;
  transform: rotate(0deg);
}

[data-theme=\"light\"] .theme-toggle .sun-icon {
  opacity: 1;
  transform: rotate(0deg);
}

[data-theme=\"light\"] .theme-toggle .moon-icon {
  opacity: 0;
  transform: rotate(90deg);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* ==================== HERO SECTION ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
}

.hero-content {
  max-width: 1000px;
  text-align: center;
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: clamp(1rem, 3vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-subtitle {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-weight: 600;
  min-height: 60px;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--gradient-1);
  color: white;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {  
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-card);
  transform: translateY(-3px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.hero-scroll {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.scroll-indicator {
  width: 2px;
  height: 40px;
  background: var(--gradient-1);
  border-radius: 10px;
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(10px);
  }
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 8rem 2rem;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.container-full {
  max-width: 100%;
  margin: 0 auto;
}

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

.section-tag {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 650;
  margin-bottom: 1rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== ABOUT SECTION ==================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background-color: var(--gradient-3); /* fallback gradient color */
  background-image: url('assets/images/profile.png'); /* your picture */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.image-placeholder svg {
  width: 100px;
  height: 100px;
  color: white;
}

.about-text .glass-card {
  padding: 2.5rem;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

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

.stat-item h4 {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

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

/* ==================== MOBILE RESPONSIVE ==================== */
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr; 
    gap: 2rem;
  }

  .about-image {
    padding: 1rem;
   
  }

  .about-text .glass-card {
    padding: 1.5rem;
  }

  .image-placeholder {
    width: clamp(250px, 70vw, 350px); 
    aspect-ratio: 1;                
    margin: 0 auto;                  
  }
}

/* ==================== EDUCATION SECTION ==================== */
.education-card {
  padding: 3rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.education-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: var(--gradient-1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.education-icon svg {
  color: white;
}

.education-card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.education-card h4 {
  font-size: 1.2rem;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.education-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.modules-section {
  margin: 2rem 0;
  text-align: left;
}

.modules-section strong {
  color: var(--text-primary);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 1rem;
}

.key-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.module-tag {
  padding: 0.6rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.module-tag:hover {
  background: var(--gradient-1);
  color: white;
  border-color: transparent;
}

.education-achievements {
  margin-top: 2rem;
  text-align: left;
}

.uni-link {
  text-decoration: none;
  color: inherit;
  display: block;
}


.education-achievements strong {
  color: var(--text-primary);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 1rem;
}

.education-achievements ul {
  list-style: none;
  padding: 0;
}

.education-achievements li {
  color: var(--text-secondary);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.education-achievements li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: bold;
}

/* ==================== SKILLS MARQUEE SECTION ==================== */
.marquee-wrapper {
  overflow: hidden;
  padding: 3rem 0;
  background: var(--bg-secondary);
  width: 100%;
}

.marquee-content {
  display: flex;
  gap: 2rem;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
  min-width: 100%;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.skill-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  min-width: 150px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.skill-item:hover {
  transform: translateY(-10px);
  background: var(--bg-card);
  box-shadow: 0 10px 30px var(--shadow);
}

.skill-item img,
.skill-item svg {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.skill-item svg {
  color: var(--accent-primary);
}

.skill-item span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* ==================== MOBILE RESPONSIVE (IMPROVED) ==================== */
@media (max-width: 768px) {
  .marquee-wrapper {
    padding: 2rem 0;
  }

  .marquee-content {
    gap: 1.5rem;
    animation-duration: 30s; 
  }

  .skill-item {
    min-width: 120px;
    padding: 1.2rem 1.5rem;
  }

  .skill-item img,
  .skill-item svg {
    width: 45px;
    height: 45px;
  }

  .skill-item span {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .marquee-content {
    gap: 1rem;
    animation-duration: 20s;
  }

  .skill-item {
    min-width: 100px;
    padding: 1rem;
  }

  .skill-item img,
  .skill-item svg {
    width: 40px;
    height: 40px;
  }

  .skill-item span {
    font-size: 0.85rem;
  }
}

/* ==================== PROJECTS SECTION ==================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.project-card {
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 1.5rem;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: contain;    
  display: block;
  border-radius: 15px;
  background: transparent;
  transition: transform 0.3s ease, filter 0.3s ease;   
}

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

.project-card:hover {
  transform: scale(1.1) rotate(3deg);
}


.project-content {
  padding: 1.5rem;
}

.project-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.project-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.project-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.project-tech span {
  padding: 0.4rem 1rem;
  background: var(--bg-card);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.project-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.project-links {
  display: flex;                
  justify-content: space-between; 
  align-items: center;                       
  gap: 0.5rem;                  
}

.project-link:hover {
  color: var(--accent-secondary);
  transform: translateX(5px);
  display: inline-block;
}

/* ==================== EXPERIENCE SECTION ==================== */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--gradient-1);
}

.timeline-item {
  position: relative;
  padding: 2.5rem;
  margin-bottom: 3rem;
  width: calc(50% - 2rem);
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
  margin-right: auto;
}

.timeline-item:nth-child(even) {
  margin-left: auto;
  margin-right: 0;
}

.timeline-dot {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--gradient-1);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -62px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -62px;
}

.timeline-date {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--gradient-1);
  color: white;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.company-logo {
    width: 40px;      
    height: 40px;          
    object-fit: contain;   
    margin-right: 0.5rem;  
    vertical-align: middle; 
    border-radius: 5px;     
}

.company-logo2 {
    width: 70px;      
    height: 50px;          
    object-fit: contain;   
    margin-right: 0.5rem;  
    vertical-align: middle; 
    border-radius: 5px;     
}

.timeline-item h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.timeline-item h4 {
  font-size: 1.1rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.timeline-item p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.timeline-item ul {
  list-style: none;
  padding-left: 0;
}

.timeline-item li {
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.timeline-item li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

/* ==================== RECOMMENDATION SECTION ==================== 
.recommendation-content {
  max-width: 800px;
  margin: 0 auto;
}

.recommendation-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.recommendation-image {
  position: relative;
  padding: 2rem;
  background: var(--gradient-3);
  border-radius: 20px;
  margin-bottom: 1rem;
}

.recommendation-image svg {
  color: white;
}

.letter-badge {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1.5rem;
  background: var(--gradient-1);
  color: white;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.recommendation-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.recommender {
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.recommendation-preview {
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-left: 4px solid var(--accent-primary);
  border-radius: 10px;
}

*/

/* ==================== CERTIFICATIONS SECTION ==================== */
.certifications-grid {
  margin: 0 auto;
  max-width: 500px;
  gap: 2rem;
}

.cert-card {
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.cert-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: none;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-icon svg {
  color: white;
}

.cert-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.cert-issuer {
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cert-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.cert-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.cert-skills span {
  padding: 0.4rem 1rem;
  background: var(--bg-card);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cert-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cert-link:hover {
  color: var(--accent-secondary);
}

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

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

.contact-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.contact-card svg {
  color: var(--accent-primary);
}

.contact-card h4 {
  font-size: 1.2rem;
  color: var(--text-primary);
}

.contact-card p {
  color: var(--text-secondary);
}

.contact-form {
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

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

/* ==================== SOCIAL CONNECT SECTION ==================== */
.social-connect {
  background: transparent;
  padding: 6rem 2rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.social-item {
  padding: 2.5rem;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.social-icon {
  width: 80px;
  height: 80px;
  background: transparent;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.social-item.github .social-icon svg {
  color: #181717; 
}
.social-item.linkedin .social-icon svg {
  color: #0077B5; 
}
.social-item.substack .social-icon svg {
  color: #FF6719; 
}

.social-item h4 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 0;
}

.social-item p {
  font-size: 1.1rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin: 0;
}

.social-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.social-item:hover {
  transform: translateY(-10px);
}

.social-item:hover .social-icon {
  transform: rotateY(360deg);
  transition: transform 0.6s ease;
}

/* ==================== FOOTER ==================== */
.footer {
  padding: 4rem 2rem 2rem;
  background: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-section h3,
.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-name {
  font-size: 2rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-quote {
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.footer-contact,
.footer-location {
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
}

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

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.slide-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.zoom-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
}

.visible {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}
