/* =====================================================
   GLOBAL VARIABLES & RESET
===================================================== */
:root {
  --bg-main: #F8FAFB;
  --bg-dark: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.9);

  --primary: #1A9B8E;
  --primary-dark: #158078;
  --secondary: #FF6B6B;
  --accent: #FFA500;

  --text-main: #1F2937;
  --text-muted: #6B7280;

  --border-glass: rgba(26, 155, 142, 0.15);
  --shadow-soft: 0 10px 30px rgba(26, 155, 142, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #F8FAFB 0%, #EEF4F9 50%, #F0F4F8 100%);
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
}

/* =====================================================
   REUSABLE CLASSES
===================================================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  font-size: 40px;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  display: block;
  margin: 15px auto 0;
  border-radius: 20px;
}

.btn {
  padding: 14px 34px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s ease;
  display: inline-block;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFFFFF;
  border: none;
}

.btn.secondary {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 50px rgba(26, 155, 142, 0.35);
}

/* =====================================================
   NAVBAR
===================================================== */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  background: linear-gradient(135deg, #1A9B8E, #158078);
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(26, 155, 142, 0.3);
}

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

.logo {
  font-size: 26px;
  font-weight: 700;
  color: #FFFFFF;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

.nav-links a::after {
  content: "";
  width: 0;
  height: 2px;
  background: #FFFFFF;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.3s;
}

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

.btn-nav {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 10px 24px;
  border-radius: 30px;
  color: #FFFFFF !important;
}

/* =====================================================
   HERO SECTION
===================================================== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.hero-content h1 {
  font-size: 56px;
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content h2 {
  font-size: 22px;
  margin: 15px 0;
  color: var(--text-muted);
}

.hero-content p {
  max-width: 700px;
  margin: 20px auto 40px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-content p .highlight {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* =====================================================
   ABOUT SECTION
===================================================== */
.about {
  padding: 120px 0;
}

.about-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.about-content {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.about-content p {
  max-width: 850px;
  text-align: left;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.8;
}

.about-profile {
  flex: 0 1 400px;
  display: flex;
  justify-content: center;
}

.profile-image {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(26, 155, 142, 0.25);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 3px solid var(--primary);
  position: relative;
}

.profile-image:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 35px 80px rgba(26, 155, 142, 0.35), 
              0 0 0 8px rgba(255, 107, 107, 0.1);
  border-color: var(--secondary);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: 0.4s;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(26, 155, 142, 0.25);
  border-color: var(--primary);
}

.stat-card h3 {
  font-size: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card p {
  margin-top: 10px;
  color: var(--text-muted);
}

/* =====================================================
   CTA SECTION
===================================================== */
.cta {
  padding: 100px 20px;
  background: linear-gradient(135deg, rgba(26, 155, 142, 0.1), rgba(255, 107, 107, 0.08));
  border-radius: 20px;
  text-align: center;
  margin: 40px 20px;
}

.cta h2 {
  font-size: 38px;
}

.cta p {
  margin: 15px 0 30px;
  color: var(--text-muted);
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
  padding: 25px;
  text-align: center;
  background: linear-gradient(135deg, #1F2937, var(--primary));
  color: #FFFFFF;
  font-size: 14px;
}

/* =====================================================
   SCROLL ANIMATIONS
===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: 1s ease;
}

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

/* =====================================================
   RESPONSIVE DESIGN
===================================================== */
@media (max-width: 768px) {
  .navbar {
    padding: 20px;
  }

  .nav-links {
    display: none;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .section-title {
    font-size: 32px;
  }

  .about-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .profile-image {
    width: 280px;
    height: 280px;
  }

  .about-content p {
    text-align: center;
  }
}
/* Navbar scroll state */
.header.scrolled {
  background: linear-gradient(135deg, #158078, #1A6B5F);
  box-shadow: 0 10px 35px rgba(26, 155, 142, 0.3);
}

/* Page transition */
body.page-exit {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Button ripple */
.btn {
  position: relative;
  overflow: hidden;
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transform: scale(0);
  animation: ripple 600ms linear;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
/* ===================== SKILLS PAGE ===================== */
.page-header {
  padding: 140px 20px 80px;
  text-align: center;
}

.page-header h1 {
  font-size: 48px;
}

.page-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 10px auto 0;
}

.skills-section {
  padding: 100px 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.skill-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  transition: 0.4s;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(26, 155, 142, 0.2);
  border-color: var(--primary);
}

.skill-card h3 {
  margin-bottom: 15px;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  overflow: hidden;
}

.progress-bar span {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  animation: loadBar 1.5s ease forwards;
}

@keyframes loadBar {
  from { width: 0; }
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.tools-grid span {
  padding: 12px 26px;
  border-radius: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: 0.3s;
}

.tools-grid span:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFFFFF;
  border-color: var(--primary);
}
/* ===================== PROJECTS PAGE ===================== */
.projects-section {
  padding: 100px 0;
}

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

.project-card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  transition: 0.4s;
}

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

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(26, 155, 142, 0.25);
  border-color: var(--primary);
}

.project-content {
  padding: 25px;
}

.project-content h3 {
  margin-bottom: 10px;
}

.project-content p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.project-links {
  display: flex;
  gap: 20px;
}

.project-links a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.project-links a:hover {
  text-decoration: underline;
}
/* ===================== RESUME PAGE ===================== */
.resume-section {
  padding: 100px 0;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  margin-top: 50px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
}

.timeline-item {
  padding-left: 60px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
}

.timeline-item h3 {
  margin-bottom: 5px;
}

.timeline-item span {
  font-size: 14px;
  color: var(--text-muted);
}

.timeline-item p {
  margin-top: 8px;
  color: var(--text-muted);
}

/* PDF Embed Section */
.resume-pdf {
  padding: 80px 0;
  text-align: center;
}

.resume-pdf iframe {
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  margin-bottom: 20px;
}
/* ===================== CONTACT PAGE ===================== */
.contact-section {
  padding: 100px 0;
}

.contact-wrapper {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-form-card,
.contact-info-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  width: 400px;
  box-shadow: var(--shadow-soft);
  transition: 0.4s;
}

.contact-form-card:hover,
.contact-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(26, 155, 142, 0.2);
  border-color: var(--primary);
}

.contact-form-card h2,
.contact-info-card h2 {
  margin-bottom: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border-radius: 10px;
  border: 2px solid rgba(26, 155, 142, 0.2);
  background: rgba(26, 155, 142, 0.04);
  color: var(--text-main);
  font-size: 15px;
  transition: 0.3s;
}

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

.form-message {
  margin-top: 15px;
  font-weight: 500;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 25px;
}

.social-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.social-links a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
  }
}
/* ===================== LOGO + PROFILE PIC ===================== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo .profile-pic {
  width: 80px;
  height: 80px;
  border-radius: 50%; /* circular */
  object-fit: cover;
  border: 2px solid var(--primary); /* optional border for professional look */
}
/* Hover zoom effect */
.logo .profile-pic:hover {
  transform: scale(1.5);       /* enlarge 1.5x */
  box-shadow: 0 8px 25px rgba(26, 155, 142, 0.4); /* subtle shadow while enlarged */
  z-index: 10;                 /* bring to front if overlapping */
}
/* ================= MOBILE NAVBAR FIX ================= */

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

/* Mobile view */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .navbar {
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #1A9B8E, #158078);
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    display: none;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(26, 155, 142, 0.3);
  }

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

  .nav-links li a {
    font-size: 1.2rem;
  }
}
.nav-links a[href*="canva.site"] {
  color: var(--secondary);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  transition: 0.3s;
}

.nav-links a[href*="canva.site"]:hover {
  background: var(--secondary);
  color: #FFFFFF;
  text-decoration: none;
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .nav-links {
    transition: all 0.3s ease;
  }
}
