/* --- HEADER --- */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4vw 1.2rem 4vw;
  background: #0a183d;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.logo-circle {
  background: #29b6f6;
  color: #fff;
  font-weight: 900;
  font-size: 1.5rem;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(41,182,246,0.18);
}
.logo-text {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.logo-text .dreamer {
  color: #29b6f6;
  font-weight: 900;
}
.main-nav {
  display: flex;
  gap: 2.2rem;
}
.main-nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 1rem;
  transition: color 0.18s;
  position: relative;
}
.main-nav a.active,
.main-nav a:hover {
  color: #29b6f6;
}

/* --- HERO SECTION --- */
.hero-card {
  background: linear-gradient(120deg, #0a183d 0%, #1a237e 100%);
  border-radius: 32px;
  margin: 2.5rem auto 0 auto;
  max-width: 1200px;
  position: relative;
  min-height: 420px;
  box-shadow: 0 8px 32px 0 rgba(14,165,233,0.18);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 2.5rem;
  font-weight: 900;
  color: #1e335c;
  opacity: 0.18;
  letter-spacing: 0.2em;
  position: absolute;
  left: 2.2rem;
  top: 2.5rem;
  user-select: none;
  z-index: 1;
}
.hero-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 3.5rem 4vw 3.5rem 8vw;
  position: relative;
  z-index: 2;
}
.hero-text {
  flex: 1 1 0;
  z-index: 2;
}
.hero-text h2 {
  color: #29b6f6;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}
.hero-text h1 {
  color: #fff;
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}
.hero-text h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.hero-text p {
  color: #b0bec5;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}
.hero-typewriter-sub {
  color: #29b6f6;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  min-height: 1.4em;
}
.hero-btns {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.3rem;
}
.cta-btn {
  background: linear-gradient(90deg, #1976d2 60%, #29b6f6 100%);
  color: #fff;
  padding: 1rem 2.3rem;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(41,182,246,0.10);
  transition: background 0.18s, color 0.18s;
}
.cta-btn:hover {
  background: linear-gradient(90deg, #29b6f6 60%, #1976d2 100%);
  color: #fff;
}
.cta-btn-outline {
  background: transparent !important;
  border: 2px solid #29b6f6;
  color: #29b6f6 !important;
  box-shadow: none;
}
.cta-btn-outline:hover {
  background: #29b6f6 !important;
  color: #fff !important;
}
.hero-socials {
  display: flex;
  gap: 1.1rem;
  margin-top: 0.7rem;
}
.hero-socials a {
  background: #1e335c;
  color: #29b6f6;
  font-size: 1.3rem;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.hero-socials a:hover {
  background: #29b6f6;
  color: #fff;
}
.hero-img-card {
  position: relative;
  background: #16244a;
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(41,182,246,0.18);
  padding: .2rem .2rem .2rem .2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  min-height: 240px;
}
.profile-badge {
  position: absolute;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%) rotate(-18deg);
  background: linear-gradient(90deg, #1976d2 60%, #29b6f6 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.4rem 1.2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(41,182,246,0.18);
  z-index: 3;
  letter-spacing: 0.08em;
}
.profile-img {
  width: 180px;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(41,182,246,0.10);
  background: #1e335c;
}

/* --- WHAT I DO --- */
.what-i-do {
  background: linear-gradient(120deg, #223c5a 0%, #1a237e 100%);
  border-radius: 32px;
  margin: 3.5rem auto 0 auto;
  max-width: 1200px;
  box-shadow: 0 4px 24px 0 rgba(41,182,246,0.08);
  padding: 3.5rem 4vw;
}
.what-i-do h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
  text-align: center;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  justify-items: center;
  align-items: stretch;
  width: 100%;
}
.service-card {
  background: rgba(30,41,59,0.85);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(41,182,246,0.08);
  padding: 2.3rem 1.5rem 1.8rem 1.5rem;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(41,182,246,0.18);
}
.service-icon {
  background: #29b6f6;
  color: #fff;
  font-size: 2.2rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(41,182,246,0.18);
}
.service-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.service-card p {
  color: #b0bec5;
  font-size: 1rem;
  line-height: 1.6;
}

/* --- RESUME SECTION --- */
.resume-section {
  background: linear-gradient(120deg, #1a237e 0%, #283593 100%);
  border-radius: 32px;
  margin: 3.5rem auto 0 auto;
  max-width: 1200px;
  box-shadow: 0 4px 24px 0 rgba(41,182,246,0.10);
  padding: 3.5rem 4vw;
}
.resume-section h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
  text-align: center;
}
.resume-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  width: 100%;
}
.tab-btn {
  background: none;
  border: none;
  color: #b0bec5;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.7rem 2.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.tab-btn.active, .tab-btn:hover {
  background: #29b6f6;
  color: #fff;
}
.resume-content {
  width: 100%;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: flex;
  gap: 2.3rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.resume-card {
  background: #283593;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(41,182,246,0.10);
  padding: 1.7rem 1.3rem 1.3rem 1.3rem;
  margin-bottom: 1.7rem;
  min-width: 220px;
  color: #fff;
  flex: 1 1 220px;
  text-align: center;
}
.resume-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.resume-card span {
  color: #29b6f6;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  display: block;
}
.resume-card p {
  color: #b0bec5;
  font-size: 1rem;
  line-height: 1.6;
}

/* --- PORTFOLIO SECTION --- */
.portfolio-section {
  background: linear-gradient(120deg, #223c5a 0%, #232b47 100%);
  border-radius: 32px;
  margin: 3.5rem auto 0 auto;
  max-width: 1200px;
  box-shadow: 0 4px 24px 0 rgba(41,182,246,0.08);
  padding: 3.5rem 4vw;
}
.portfolio-section h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
  text-align: center;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  justify-items: center;
  align-items: stretch;
  width: 100%;
}
.portfolio-card {
  background: #25325b;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(41,182,246,0.08);
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
  width: 100%;
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.portfolio-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
.portfolio-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,41,59,0.82);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.18s;
  text-align: center;
  pointer-events: none;
}
.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  pointer-events: auto;
}
.portfolio-overlay span {
  color: #29b6f6;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* --- GENERAL --- */
body {
  font-family: 'Poppins', 'Open Sans', Arial, sans-serif;
  background: linear-gradient(135deg, #0f172a 60%, #1e293b 100%);
  color: #fff;
  min-height: 100vh;
  scroll-behavior: smooth;
  height: 100%;
  overflow-y: auto;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Open Sans', Arial, sans-serif;
  color: #fff;
  font-weight: 800;
  margin-bottom: 1.2rem;
}
.accent {
  color: #29b6f6;
}

/* --- FOOTER --- */
footer {
  background: #0a183d;
  color: #b0bec5;
  text-align: center;
  padding: 2rem 0 1.2rem 0;
  margin-top: 3rem;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 16px rgba(41,182,246,0.08);
}
footer .socials {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}
footer .socials a {
  color: #29b6f6;
  font-size: 1.3rem;
  background: #1e335c;
  border-radius: 50%;
  width: 2.3rem;
  height: 2.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
footer .socials a:hover {
  background: #29b6f6;
  color: #fff;
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
  .hero-card, .what-i-do, .resume-section, .portfolio-section {
    max-width: 98vw;
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .hero-content {
    flex-direction: column;
    padding: 3.5rem 2vw;
    gap: 2.5rem;
  }
}
@media (max-width: 900px) {
  .services-grid, .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-content {
    flex-direction: column;
    padding: 2.5rem 2vw;
    gap: 2.5rem;
  }
  .vertical-text {
    display: none;
  }
}
@media (max-width: 600px) {
  .main-header {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.2rem 2vw;
  }
  .services-grid, .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .hero-card, .what-i-do, .resume-section, .portfolio-section {
    padding: 1.2rem 1vw;
    border-radius: 18px;
  }
  .hero-img-card {
    min-width: 160px;
    min-height: 180px;
    padding: 1.2rem;
  }
  .profile-img {
    width: 110px;
    height: 130px;
  }
}

/* --- ABOUT PAGE --- */
.about-card {
  background: linear-gradient(120deg, #0a183d 0%, #1a237e 100%);
  border-radius: 32px;
  margin: 3.5rem auto 0 auto;
  max-width: 1200px;
  box-shadow: 0 8px 32px 0 rgba(14,165,233,0.18);
  padding: 3.5rem 4vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 3.5rem;
  width: 100%;
}
.about-img-card {
  background: #16244a;
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(41,182,246,0.18);
  padding: 2.2rem 2.2rem 1.2rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 260px;
}
.about-bio {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-bio h1 {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
}
.about-intro {
  color: #b0bec5;
  font-size: 1.18rem;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}
.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 2.5rem;
  margin-bottom: 2.2rem;
}
.fact {
  color: #e2e8f0;
  font-size: 1.08rem;
  font-weight: 600;
}
.fact span {
  color: #29b6f6;
  font-weight: 800;
  margin-right: 0.5rem;
}
.about-skills {
  margin-top: 0.5rem;
}
.about-skills h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.skills-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.skill-badge {
  background: #223c5a;
  color: #29b6f6;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 18px;
  padding: 0.5rem 1.3rem;
  box-shadow: 0 2px 8px rgba(41,182,246,0.10);
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}
.download-cv-btn {
  display: inline-block;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, #1976d2 60%, #29b6f6 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 10px;
  padding: 0.9rem 2.2rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(41,182,246,0.10);
  transition: background 0.18s, color 0.18s;
}
.download-cv-btn:hover {
  background: linear-gradient(90deg, #29b6f6 60%, #1976d2 100%);
  color: #fff;
}
.about-resume-section {
  margin-top: 2.5rem;
}
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
    align-items: center;
    gap: 2.2rem;
  }
  .about-img-card {
    min-width: 140px;
    min-height: 140px;
    padding: 1.2rem;
  }
}
@media (max-width: 600px) {
  .about-card {
    padding: 1.2rem 1vw;
    border-radius: 18px;
  }
  .about-bio h1 {
    font-size: 1.5rem;
  }
  .about-intro {
    font-size: 1rem;
  }
  .about-facts {
    grid-template-columns: 1fr;
    gap: 0.7rem 0;
  }
  .skills-badges {
    gap: 0.4rem;
  }
}

/* --- ABOUT PAGE TIMELINE & ICONS --- */
.about-experience-section, .about-education-section {
  position: relative;
  margin: 3.5rem auto 0 auto;
  max-width: 1200px;
  padding: 2.5rem 2vw 1.5rem 2vw;
}
.timeline {
  position: relative;
  margin-left: 2.5rem;
  padding-left: 2.5rem;
  border-left: 3px solid #29b6f6;
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: flex-start;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -2.7rem;
  top: 0.3rem;
  width: 1.5rem;
  height: 1.5rem;
  background: #29b6f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(41,182,246,0.18);
}
.timeline-content {
  background: rgba(30,41,59,0.85);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(41,182,246,0.10);
  padding: 1.3rem 1.3rem 1.1rem 1.3rem;
  color: #fff;
  flex: 1 1 0;
  margin-left: 0.5rem;
}
.timeline-content h3 {
  color: #29b6f6;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
}
.timeline-content span {
  color: #b0bec5;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  display: block;
}
.timeline-content p {
  color: #b0bec5;
  font-size: 1rem;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .about-experience-section, .about-education-section {
    padding: 1.2rem 0.5rem 1rem 1.2rem;
  }
  .timeline {
    margin-left: 1.2rem;
    padding-left: 1.2rem;
  }
  .timeline-dot {
    left: -1.7rem;
    width: 1.1rem;
    height: 1.1rem;
    font-size: 0.9rem;
  }
  .timeline-content {
    padding: 0.9rem 0.7rem 0.7rem 0.7rem;
  }
}

/* --- CONTACT PAGE --- */
.contact-card {
  background: linear-gradient(120deg, #0a183d 0%, #1a237e 100%);
  border-radius: 32px;
  margin: 3.5rem auto 0 auto;
  max-width: 1200px;
  box-shadow: 0 8px 32px 0 rgba(14,165,233,0.18);
  padding: 3.5rem 4vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 3.5rem;
  width: 100%;
}
.contact-info {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 220px;
}
.contact-info h1 {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
}
.contact-intro {
  color: #b0bec5;
  font-size: 1.18rem;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}
.contact-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem 0;
  margin-bottom: 2.2rem;
}
.contact-detail {
  color: #e2e8f0;
  font-size: 1.08rem;
  font-weight: 600;
}
.contact-detail span {
  color: #29b6f6;
  font-weight: 800;
  margin-right: 0.5rem;
}
.contact-form {
  flex: 1 1 0;
  background: rgba(30,41,59,0.85);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(41,182,246,0.08);
  padding: 2.3rem 1.5rem 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  min-width: 260px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-weight: 700;
  color: #29b6f6;
  margin-bottom: 0.2rem;
  letter-spacing: 0.01em;
}
.form-group input,
.form-group textarea {
  background: #223c5a;
  border: 1.5px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  color: #e2e8f0;
  font-size: 1.08rem;
  font-family: 'Poppins', Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(41,182,246,0.04);
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #29b6f6;
  box-shadow: 0 4px 16px rgba(41,182,246,0.10);
}
.cta-btn[type="submit"] {
  margin-top: 0.5rem;
  width: 100%;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.cta-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-status {
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 0.7rem;
  min-height: 1.4em;
}
.form-success {
  color: #4caf50;
}
.form-error {
  color: #ef5350;
}
@media (max-width: 900px) {
  .contact-content {
    flex-direction: column;
    align-items: center;
    gap: 2.2rem;
  }
  .contact-info h1 {
    font-size: 1.7rem;
  }
  .contact-form {
    min-width: 180px;
    padding: 1.2rem;
  }
}
@media (max-width: 600px) {
  .contact-card {
    padding: 1.2rem 1vw;
    border-radius: 18px;
  }
  .contact-info h1 {
    font-size: 1.3rem;
  }
  .contact-intro {
    font-size: 1rem;
  }
  .contact-details {
    gap: 0.7rem 0;
  }
}

/* --- MARKETING SECTION --- */
.marketing-section {
  background: linear-gradient(120deg, #223c5a 0%, #1a237e 100%);
  border-radius: 32px;
  margin: 3.5rem auto 0 auto;
  max-width: 1200px;
  box-shadow: 0 4px 24px 0 rgba(41,182,246,0.08);
  padding: 3.5rem 4vw;
  text-align: center;
}
.marketing-section h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
}
.marketing-desc {
  color: #b0bec5;
  font-size: 1.18rem;
  margin-bottom: 0;
  line-height: 1.7;
}

/* --- EXTRA SERVICES SECTION --- */
.extra-services-section {
  background: linear-gradient(120deg, #1a237e 0%, #283593 100%);
  border-radius: 32px;
  margin: 3.5rem auto 0 auto;
  max-width: 1200px;
  box-shadow: 0 4px 24px 0 rgba(41,182,246,0.10);
  padding: 3.5rem 4vw;
  text-align: center;
}
.extra-services-section h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 2.2rem;
  letter-spacing: 0.04em;
}
.extra-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem;
  justify-items: center;
  align-items: stretch;
  width: 100%;
}
.extra-service-card {
  background: rgba(30,41,59,0.85);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(41,182,246,0.08);
  padding: 2.3rem 1.5rem 1.8rem 1.5rem;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
}
.extra-service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(41,182,246,0.18);
}
.extra-service-icon {
  background: #29b6f6;
  color: #fff;
  font-size: 2.2rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(41,182,246,0.18);
}
.extra-service-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.extra-service-card p {
  color: #b0bec5;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .extra-services-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .extra-services-grid {
    grid-template-columns: 1fr;
  }
}

/* --- WHY CHOOSE ME SECTION --- */
.why-choose-section {
  background: linear-gradient(120deg, #223c5a 0%, #1a237e 100%);
  border-radius: 32px;
  margin: 3.5rem auto 0 auto;
  max-width: 1200px;
  box-shadow: 0 4px 24px 0 rgba(41,182,246,0.08);
  padding: 3.5rem 4vw;
  text-align: center;
}
.why-choose-section h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
}
.why-choose-desc {
  color: #b0bec5;
  font-size: 1.18rem;
  margin-bottom: 0;
  line-height: 1.7;
}

/* --- TRUSTED BY SECTION --- */
.trusted-by-section {
  background: linear-gradient(120deg, #1a237e 0%, #283593 100%);
  border-radius: 32px;
  margin: 3.5rem auto 0 auto;
  max-width: 1200px;
  box-shadow: 0 4px 24px 0 rgba(41,182,246,0.10);
  padding: 2.5rem 4vw;
  text-align: center;
}
.trusted-by-section h3 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
}
.trusted-logos {
  display: flex;
  justify-content: center;
  gap: 2.2rem;
  flex-wrap: wrap;
}
.trusted-logo {
  background: #223c5a;
  color: #29b6f6;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 14px;
  padding: 0.7rem 2.2rem;
  box-shadow: 0 2px 8px rgba(41,182,246,0.10);
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}
@media (max-width: 600px) {
  .marketing-section, .extra-services-section, .why-choose-section, .trusted-by-section {
    padding: 1.2rem 1vw;
    border-radius: 18px;
  }
  .trusted-logos {
    gap: 0.7rem;
  }
}

/* --- DETAILED SERVICES SECTION --- */
.detailed-services-section {
  background: linear-gradient(120deg, #223c5a 0%, #1a237e 100%);
  border-radius: 32px;
  margin: 3.5rem auto 0 auto;
  max-width: 1200px;
  box-shadow: 0 4px 24px 0 rgba(41,182,246,0.08);
  padding: 3.5rem 4vw;
  text-align: center;
}
.detailed-service-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background: rgba(30,41,59,0.85);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(41,182,246,0.08);
  padding: 2.3rem 2rem 1.8rem 2rem;
  margin-bottom: 2.2rem;
  text-align: left;
  gap: 2.2rem;
  transition: transform 0.18s, box-shadow 0.18s;
}
.detailed-service-row:last-child {
  margin-bottom: 0;
}
.detailed-service-row:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(41,182,246,0.18);
}
.detailed-service-icon {
  background: #29b6f6;
  color: #fff;
  font-size: 3.2rem;
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 5.2rem;
  min-height: 5.2rem;
  margin-top: 0.2rem;
  box-shadow: 0 2px 8px rgba(41,182,246,0.18);
}
.detailed-service-text {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.detailed-service-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
  color: #fff;
}
.detailed-service-text p {
  color: #b0bec5;
  font-size: 1.08rem;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .detailed-service-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    padding: 1.5rem 1rem 1.2rem 1rem;
  }
  .detailed-service-icon {
    margin: 0 auto 0.7rem auto;
  }
  .detailed-service-text {
    align-items: center;
  }
}

.about-img-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-skills-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.skills-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 2.5rem;
  margin-top: 2.2rem;
  align-items: start;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
}
@media (max-width: 900px) {
  .skills-list {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}
.skill-bar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.skill-bar span {
  min-width: 120px;
  color: #29b6f6;
  font-weight: 800;
  font-size: 1.08rem;
}
.bar {
  background: #23304a;
  border-radius: 10px;
  height: 18px;
  width: 100%;
  min-width: 120px;
  max-width: 400px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(41,182,246,0.09);
}
.fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #1976d2 60%, #29b6f6 100%);
  box-shadow: 0 2px 12px rgba(41,182,246,0.11);
  transition: width 1.2s cubic-bezier(.22,1,.36,1);
}
@media (max-width: 600px) {
  .skill-bar span {
    min-width: 80px;
    font-size: 0.98rem;
  }
  .bar {
    min-width: 80px;
    max-width: 100vw;
    height: 14px;
  }
}

/* PORTFOLIO PAGE STYLES */
.portfolio-hero {
  background: linear-gradient(120deg, #0a183d 0%, #1a237e 100%);
  
  padding: 8rem 2rem 6rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.portfolio-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.portfolio-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.portfolio-hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.portfolio-hero p {
  font-size: 1.3rem;
  opacity: 0.9;
  line-height: 1.6;
}

.portfolio-filter-section {
  padding: 3rem 2rem;
  background: #000000;
  text-align: center;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.filter-btn {
  padding: 0.8rem 1.5rem;
  border: 2px solid #1976d2;
  background: transparent;
  color: #1976d2;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: #1976d2;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.portfolio-grid-section {
  padding: 4rem 2rem;
  background: #000000;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  justify-items: center;
  align-items: stretch;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 1100px) {
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}
.portfolio-card {
  background: #181f33;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(41,182,246,0.08);
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
  width: 25%;
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}
.portfolio-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
.portfolio-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(41,182,246,0.18);
}
.portfolio-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(16,22,36,0.98));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.18s;
  text-align: center;
  pointer-events: none;
}
.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  pointer-events: auto;
}
.portfolio-overlay h3 {
  color: #29b6f6;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.portfolio-overlay p {
  color: #b0bec5;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.portfolio-category {
  background: #1976d2;
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}
.portfolio-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}
.portfolio-link {
  color: #29b6f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border: 1px solid #29b6f6;
  border-radius: 25px;
  transition: all 0.3s ease;
  background: transparent;
}
.portfolio-link:hover {
  background: #29b6f6;
  color: white;
}

.portfolio-stats {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #1976d2 0%, #29b6f6 100%);
  color: white;
}

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

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.stat-card h3 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: #29b6f6;
}

.stat-card p {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 600;
}

/* Responsive adjustments for portfolio page */
@media (max-width: 768px) {
  .portfolio-hero h1 {
    font-size: 2.5rem;
  }
  
  .portfolio-hero p {
    font-size: 1.1rem;
  }
  
  .filter-buttons {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .portfolio-overlay {
    transform: translateY(0);
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-card h3 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-links {
    flex-direction: column;
  }
  
  .portfolio-link {
    text-align: center;
  }
}

.dark-bg {
  background: #101624;
}

.portfolio-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 2.5rem;
  letter-spacing: 1px;
}

.portfolio-grid-section.dark-bg {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.portfolio-card {
  background: #181f33;
  box-shadow: 0 8px 25px rgba(0,0,0,0.18);
}

.portfolio-card img {
  background: #232b43;
}

.portfolio-overlay {
  background: linear-gradient(transparent, rgba(16,22,36,0.98));
}

.portfolio-overlay h3 {
  color: #29b6f6;
}

.portfolio-category {
  background: #1976d2;
}

@media (max-width: 768px) {
  .portfolio-title {
    font-size: 2rem;
  }
  .portfolio-grid-section.dark-bg {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

/* --- PROJECTS PAGE --- */
.projects-hero {
  background: linear-gradient(120deg, #0a183d 0%, #1a237e 100%);
  border-radius: 32px;
  margin: 2.5rem auto 0 auto;
  max-width: 1200px;
  padding: 4.5rem 4vw;
  text-align: center;
}
.projects-hero-content h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
}
.projects-hero-content p {
  color: #b0bec5;
  font-size: 1.2rem;
  line-height: 1.7;
}
.projects-section {
  max-width: 1200px;
  margin: 3.5rem auto 0 auto;
  padding: 0 2vw;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
}
.project-card-full {
  background: linear-gradient(135deg, #16244a 0%, #1e2d5a 100%);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(41,182,246,0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.project-card-full:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(41,182,246,0.22);
}
.project-card-header {
  background: linear-gradient(90deg, #1976d2 0%, #29b6f6 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.5rem;
}
.project-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}
.project-type {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.project-card-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-card-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #29b6f6;
  margin-bottom: 0.8rem;
}
.project-card-content p {
  color: #b0bec5;
  font-size: 0.98rem;
  line-height: 1.7;
  flex: 1;
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}
.tech-tag {
  background: #1e335c;
  color: #29b6f6;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 0.2rem 0.65rem;
  letter-spacing: 0.02em;
}
.project-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}
.project-link {
  color: #29b6f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.1rem;
  border: 1.5px solid #29b6f6;
  border-radius: 25px;
  transition: all 0.2s ease;
}
.project-link:hover {
  background: #29b6f6;
  color: #fff;
}

/* Projects Stats */
.projects-stats {
  background: linear-gradient(90deg, #1976d2 0%, #29b6f6 100%);
  border-radius: 32px;
  margin: 3.5rem auto 3.5rem auto;
  max-width: 1200px;
  padding: 3rem 4vw;
}
.projects-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.pstat-card {
  text-align: center;
  padding: 1.8rem 1rem;
  background: rgba(255,255,255,0.12);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.2);
}
.pstat-card h3 {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.4rem;
}
.pstat-card p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .projects-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .projects-hero {
    border-radius: 18px;
    padding: 2.5rem 2vw;
  }
  .projects-hero-content h1 {
    font-size: 2rem;
  }
  .project-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  .projects-stats-grid {
    grid-template-columns: 1fr;
  }
  .pstat-card h3 {
    font-size: 2rem;
  }
}

/* --- THEME TOGGLE BUTTON --- */
.theme-toggle {
  background: #1e335c;
  border: none;
  border-radius: 50%;
  width: 2.3rem;
  height: 2.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: background 0.3s, transform 0.2s;
  padding: 0;
  line-height: 1;
}
.theme-toggle:hover {
  transform: scale(1.12);
}
.theme-toggle::after {
  content: '\2600'; /* sun */
  font-size: 1.15rem;
}
[data-theme="light"] .theme-toggle::after {
  content: '\1F319'; /* crescent moon */
}

/* --- EDUCATION & EXPERIENCE - MATCHES HEADER NAV WIDTH --- */
.about-resume-section {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 4vw;
}

/* ================================================================
   LIGHT THEME OVERRIDES
   ================================================================ */

/* Body & General */
[data-theme="light"] body {
  background: linear-gradient(135deg, #f0f4f8 60%, #e2e8f0 100%);
  color: #1a202c;
}
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
  color: #1a202c;
}
[data-theme="light"] .accent {
  color: #1976d2;
}

/* Header */
[data-theme="light"] .main-header {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
[data-theme="light"] .logo-text {
  color: #1a202c;
}
[data-theme="light"] .logo-text .dreamer {
  color: #1976d2;
}
[data-theme="light"] .main-nav a {
  color: #4a5568;
}
[data-theme="light"] .main-nav a.active,
[data-theme="light"] .main-nav a:hover {
  color: #1976d2;
}
[data-theme="light"] .theme-toggle {
  background: #e8eaf6;
}

/* Hero */
[data-theme="light"] .hero-card {
  background: linear-gradient(120deg, #ffffff 0%, #e8eaf6 100%);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
[data-theme="light"] .hero-text h1 {
  color: #1a202c;
}
[data-theme="light"] .hero-text h2 {
  color: #1976d2;
}
[data-theme="light"] .hero-text h3 {
  color: #2d3748;
}
[data-theme="light"] .hero-text p {
  color: #4a5568;
}
[data-theme="light"] .hero-typewriter-sub {
  color: #1976d2;
}
[data-theme="light"] .hero-img-card {
  background: #e8eaf6;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
[data-theme="light"] .hero-socials a {
  background: #e8eaf6;
  color: #1976d2;
}
[data-theme="light"] .hero-socials a:hover {
  background: #1976d2;
  color: #fff;
}
[data-theme="light"] .vertical-text {
  color: #c5cae9;
}
[data-theme="light"] .profile-badge {
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

/* Marketing / Why Choose Me */
[data-theme="light"] .marketing-section,
[data-theme="light"] .why-choose-section {
  background: linear-gradient(120deg, #ffffff 0%, #e8eaf6 100%);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
[data-theme="light"] .marketing-desc,
[data-theme="light"] .why-choose-desc {
  color: #4a5568;
}

/* Extra Services */
[data-theme="light"] .extra-services-section {
  background: linear-gradient(120deg, #e8eaf6 0%, #c5cae9 100%);
}
[data-theme="light"] .extra-service-card {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
[data-theme="light"] .extra-service-card h3 {
  color: #1a202c;
}
[data-theme="light"] .extra-service-card p {
  color: #4a5568;
}

/* Detailed Services */
[data-theme="light"] .detailed-services-section {
  background: linear-gradient(120deg, #ffffff 0%, #e8eaf6 100%);
}
[data-theme="light"] .detailed-service-row {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
[data-theme="light"] .detailed-service-text h3 {
  color: #1a202c;
}
[data-theme="light"] .detailed-service-text p {
  color: #4a5568;
}

/* What I Do */
[data-theme="light"] .what-i-do {
  background: linear-gradient(120deg, #e8eaf6 0%, #c5cae9 100%);
}
[data-theme="light"] .service-card {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
[data-theme="light"] .service-card h3 {
  color: #1a202c;
}
[data-theme="light"] .service-card p {
  color: #4a5568;
}

/* Footer */
[data-theme="light"] footer {
  background: #ffffff;
  color: #4a5568;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
}
[data-theme="light"] footer .socials a {
  background: #e8eaf6;
  color: #1976d2;
}
[data-theme="light"] footer .socials a:hover {
  background: #1976d2;
  color: #fff;
}

/* About Page */
[data-theme="light"] .about-card {
  background: linear-gradient(120deg, #ffffff 0%, #e8eaf6 100%);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
[data-theme="light"] .about-intro {
  color: #4a5568;
}
[data-theme="light"] .about-img-card {
  background: #e8eaf6;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
[data-theme="light"] .fact {
  color: #2d3748;
}
[data-theme="light"] .fact span {
  color: #1976d2;
}
[data-theme="light"] .skill-badge {
  background: #e8eaf6;
  color: #1976d2;
}

/* Timeline / Resume */
[data-theme="light"] .tab-btn {
  color: #4a5568;
}
[data-theme="light"] .tab-btn.active,
[data-theme="light"] .tab-btn:hover {
  background: #1976d2;
  color: #fff;
}
[data-theme="light"] .timeline {
  border-left-color: #1976d2;
}
[data-theme="light"] .timeline-dot {
  background: #1976d2;
}
[data-theme="light"] .timeline-content {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
[data-theme="light"] .timeline-content h3 {
  color: #1976d2;
}
[data-theme="light"] .timeline-content span,
[data-theme="light"] .timeline-content p {
  color: #4a5568;
}

/* Skills Bars */
[data-theme="light"] .skill-bar {
  color: #1a202c;
}
[data-theme="light"] .skill-bar span {
  color: #1976d2;
}
[data-theme="light"] .bar {
  background: #e2e8f0;
}

/* Contact Page */
[data-theme="light"] .contact-card {
  background: linear-gradient(120deg, #ffffff 0%, #e8eaf6 100%);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
[data-theme="light"] .contact-intro,
[data-theme="light"] .contact-detail {
  color: #4a5568;
}
[data-theme="light"] .contact-detail span {
  color: #1976d2;
}
[data-theme="light"] .contact-form {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
[data-theme="light"] .form-group label {
  color: #1976d2;
}
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
  background: #f7fafc;
  color: #1a202c;
  border-color: #e2e8f0;
}
[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
  border-color: #1976d2;
  box-shadow: 0 4px 16px rgba(25,118,210,0.10);
}

/* Projects Page */
[data-theme="light"] .projects-hero {
  background: linear-gradient(120deg, #ffffff 0%, #e8eaf6 100%);
}
[data-theme="light"] .projects-hero-content p {
  color: #4a5568;
}
[data-theme="light"] .project-card-full {
  background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
[data-theme="light"] .project-card-content h2 {
  color: #1976d2;
}
[data-theme="light"] .project-card-content p {
  color: #4a5568;
}
[data-theme="light"] .tech-tag {
  background: #e8eaf6;
  color: #1976d2;
}
[data-theme="light"] .project-link {
  color: #1976d2;
  border-color: #1976d2;
}
[data-theme="light"] .project-link:hover {
  background: #1976d2;
  color: #fff;
}

/* Logo circle in light mode */
[data-theme="light"] .logo-circle {
  background: #1976d2;
}

/* ================================================================
   COMPREHENSIVE MOBILE RESPONSIVE OVERRIDES
   ================================================================ */

/* Prevent horizontal overflow globally */
*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* --- TABLET / SMALL DESKTOP: 768px --- */
@media (max-width: 768px) {
  /* Header */
  .main-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem 4vw;
  }
  .main-nav {
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .main-nav a {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
  }

  /* Hero */
  .hero-card {
    margin: 1.5rem 1rem 0 1rem;
    border-radius: 20px;
  }
  .hero-content {
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 2rem;
    align-items: center;
    text-align: center;
  }
  .hero-text h1 { font-size: 2.2rem; }
  .hero-text h2 { font-size: 1rem; }
  .hero-text h3 { font-size: 1.2rem; }
  .hero-text p  { font-size: 1rem; }
  .hero-btns {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-socials { justify-content: center; }

  /* Section containers */
  .marketing-section,
  .why-choose-section,
  .extra-services-section,
  .what-i-do {
    margin: 2rem 1rem 0 1rem;
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }
  .marketing-section h2,
  .why-choose-section h2,
  .extra-services-section h2,
  .what-i-do h2 {
    font-size: 1.8rem;
  }
  .marketing-desc,
  .why-choose-desc {
    font-size: 1rem;
  }

  /* About page */
  .about-card {
    margin: 1.5rem 1rem 0 1rem;
    border-radius: 20px;
  }
  .about-skills-section {
    padding: 2rem 1.5rem;
  }
  .about-resume-section {
    padding: 0 1rem;
  }

  /* Contact page */
  .contact-card {
    margin: 1.5rem 1rem 0 1rem;
    border-radius: 20px;
  }
  .contact-form {
    min-width: 0;
    width: 100%;
  }

  /* Projects page */
  .projects-hero {
    margin: 1.5rem 1rem 0 1rem;
    border-radius: 20px;
    padding: 3rem 1.5rem;
  }
  .projects-hero-content h1 { font-size: 2.2rem; }
  .projects-section { padding: 0 1rem; }
  .projects-stats {
    margin: 2rem 1rem 2rem 1rem;
    border-radius: 20px;
    padding: 2rem 1.5rem;
  }
}

/* --- MOBILE: 480px --- */
@media (max-width: 480px) {
  /* Header */
  .main-header {
    padding: 1rem 3vw;
  }
  .logo-text { font-size: 1rem; }
  .main-nav {
    gap: 0.7rem;
  }
  .main-nav a {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
  }

  /* Hero */
  .hero-card {
    margin: 1rem 0.5rem 0 0.5rem;
    border-radius: 16px;
  }
  .hero-content {
    padding: 2rem 1rem;
    gap: 1.5rem;
  }
  .hero-text h1 { font-size: 1.9rem; }
  .hero-text h2 { font-size: 0.9rem; }
  .hero-text h3 { font-size: 1.1rem; margin-bottom: 0.8rem; }
  .hero-text p  { font-size: 0.95rem; line-height: 1.65; }
  .hero-btns {
    flex-direction: column;
    gap: 0.8rem;
    align-items: stretch;
  }
  .cta-btn {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    text-align: center;
  }
  .hero-img-card {
    min-height: 180px;
    min-width: 0;
    padding: 0.3rem;
  }
  .profile-img {
    width: 130px;
    height: 160px;
  }

  /* Section headings & containers */
  .marketing-section,
  .why-choose-section,
  .extra-services-section,
  .what-i-do {
    margin: 1.5rem 0.5rem 0 0.5rem;
    padding: 1.8rem 1rem;
    border-radius: 16px;
  }
  .marketing-section h2,
  .why-choose-section h2,
  .extra-services-section h2,
  .what-i-do h2 {
    font-size: 1.5rem;
  }
  .marketing-desc,
  .why-choose-desc {
    font-size: 0.95rem;
  }
  .extra-service-card {
    padding: 1.5rem 1rem;
  }
  .service-card {
    padding: 1.5rem 1rem;
  }

  /* About page */
  .about-card {
    margin: 1rem 0.5rem 0 0.5rem;
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }
  .about-bio h1 { font-size: 1.8rem; }
  .about-intro { font-size: 0.98rem; }
  .about-resume-section { padding: 0 0.5rem; }
  .about-skills-section { padding: 1.5rem 0.75rem; }
  .skill-bar { max-width: 100%; }
  .download-cv-btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    width: 100%;
    text-align: center;
  }

  /* Contact page */
  .contact-card {
    margin: 1rem 0.5rem 0 0.5rem;
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }
  .contact-info h1 { font-size: 1.8rem; }
  .contact-intro { font-size: 0.98rem; }
  .contact-form {
    padding: 1.2rem 0.8rem;
    min-width: 0;
  }
  .contact-detail { font-size: 0.98rem; }

  /* Projects page */
  .projects-hero {
    margin: 1rem 0.5rem 0 0.5rem;
    padding: 2rem 1rem;
    border-radius: 16px;
  }
  .projects-hero-content h1 { font-size: 1.8rem; }
  .projects-hero-content p  { font-size: 1rem; }
  .projects-section { padding: 0 0.5rem; }
  .projects-stats {
    margin: 1.5rem 0.5rem 1.5rem 0.5rem;
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }
  .project-card-content { padding: 1.2rem; }
  .project-card-content h2 { font-size: 1.2rem; }
  .project-card-content p  { font-size: 0.93rem; }

  /* Footer */
  footer {
    padding: 1.5rem 1rem 1rem 1rem;
    border-radius: 16px 16px 0 0;
  }
}