/* Updated Hero.css with full site styling and wave-hover effect */

:root {
  --midnight-blue: #0A1128;
  --vibrant-coral: #FF6B6B;
  --mint-green: #4ECDC4;
  --light-sand: #F7FFF7;
  --slate-gray: #2C2C54;
  --soft-gray: #E0E6ED; /* Softer gray for text readability */
  --shadow-dark: rgba(0, 0, 0, 0.15); /* Consistent shadow */
}

body {
  margin: 0;
  font-family: 'Montserrat', 'Orbitron', sans-serif;
  background: var(--midnight-blue);
  color: var(--light-sand);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

/* Section wave-hover animation */
section.wave-hover {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

section.wave-hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 400%;
  height: 100%;
  background: linear-gradient(
    120deg,
    var(--vibrant-coral),
    var(--mint-green),
    var(--light-sand),
    var(--vibrant-coral)
  );
  animation: waveFlow 3s linear infinite;
  opacity: 0.08;
  z-index: -1;
}

@keyframes waveFlow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

/* [Keep existing styles below unchanged unless needed] */
/* Header */
.main-header {
  background: var(--slate-gray);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  width: 100%;
  left: 0;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 2rem;
  padding: 0.7rem 0;
  background: none;
  padding: 0;
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.7rem 3rem;
  box-sizing: border-box;
}

.logo-area {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 48px;
  margin-right: 0.75rem;
}

.brand-name {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--light-sand);
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.header-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
}

.light-mode-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  display: flex;
  align-items: center;
}

.light-mode-icon {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 2px #fff8);
  transition: filter 0.2s;
}

.get-started-btn {
  background: #FFA500;
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 24px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  margin-left: 0.5rem;
  transition: background 0.2s;
  border: none;
  display: inline-block;
}

.get-started-btn:hover {
  background: #ff8800;
}

.nav-links a {
  text-decoration: none;
  color: var(--light-sand);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 1.2rem;
}

.nav-links a:hover {
  color: var(--mint-green);
}

.nav-links a.active {
  color: var(--mint-green);
  font-weight: 700;
  border-bottom: 2px solid var(--mint-green);
}


.menu-icon {
  display: none;
  cursor: pointer;
  font-size: 2rem;
  color: var(--mint-green);
  margin-left: 1rem;
}
.hero-btn {
  margin-left: 0.5rem;
}


/* Hero Section */
.hero-section {
  padding: 100px 0;
  background: radial-gradient(circle at top left, var(--slate-gray), var(--midnight-blue));
}

.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-content {
  flex: 1;
  min-width: 300px;
}

.hero-pretitle {
  color: var(--mint-green);
  font-size: 1.3rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-headline {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

.gradient-text {
  background: linear-gradient(90deg, var(--vibrant-coral), var(--mint-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.hero-description {
  font-size: 1.5rem;
  max-width: 500px;
  margin-bottom: 2rem;
  color: #e0e6ed;
}

.hero-btn {
  background: linear-gradient(to right, var(--vibrant-coral), var(--mint-green));
  color: var(--midnight-blue);
  padding: 20px 44px;
  border: none;
  border-radius: 30px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  box-shadow: 0 4px 24px rgba(78,205,196,0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.hero-btn:hover {
  background: linear-gradient(to right, var(--mint-green), var(--vibrant-coral));
  color: var(--light-sand);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 320px;
}

.hero-logo {
  width: 100%;
  max-width: 280px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  background: rgba(10,17,40,0.85);
  padding: 1rem;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

/* Section Layouts */
section {
  padding: 80px 0;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--mint-green);
}

/* About */
.about-section p {
  max-width: 800px;
  margin: auto;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #dce3ec;
  text-align: center;
}

/* --- About Section Enhanced --- */
.about-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-text {
  flex: 2;
  min-width: 280px;
}

.about-hello {
  display: block;
  font-size: 1.3rem;
  color: var(--mint-green);
  font-family: 'Orbitron', 'Montserrat', Arial, sans-serif;
  margin-bottom: 0.5rem;
  animation: fadeInDown 1s;
}

.about-title {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  animation: fadeInLeft 1.2s;
}

.about-animated {
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
  color: var(--vibrant-coral);
  font-weight: 600;
  min-height: 2.2em;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-highlight {
  animation: fadeIn 1.5s;
}

.about-typewriter {
  display: inline-block;
  border-right: 2px solid var(--mint-green);
  white-space: nowrap;
  overflow: hidden;
  vertical-align: bottom;
  min-width: 1em;
  font-size: 1em;
  font-family: 'Orbitron', 'Montserrat', Arial, sans-serif;
  color: var(--mint-green);
  margin-left: 0.5em;
  /* Remove margin: 0 auto or text-align */
}

.typing {
  animation: typing 2.5s steps(30, end), blink-caret 0.7s step-end infinite;
  width: 100% !important;
}

.about-typewriter {
  animation: blink-caret 0.8s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--mint-green); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px);}
  to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px);}
  to { opacity: 1; transform: translateX(0);}
}
@keyframes fadeIn {
  from { opacity: 0;}
  to { opacity: 1;}
}

.about-keyword {
  color: var(--mint-green);
  font-weight: 700;
  font-family: 'Orbitron', 'Montserrat', Arial, sans-serif;
}

.about-cta {
  display: inline-block;
  margin-top: 1.2rem;
  color: var(--vibrant-coral);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  animation: fadeIn 2s;
}

.about-badge {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-end;
  min-width: 180px;
}

.about-badge-inner {
  background: linear-gradient(90deg, var(--mint-green) 60%, var(--vibrant-coral) 100%);
  color: var(--midnight-blue);
  border-radius: 18px;
  padding: 1.2rem 2.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 24px rgba(78,205,196,0.10);
  font-family: 'Orbitron', 'Montserrat', Arial, sans-serif;
  animation: fadeInUp 1.2s;
}

.about-badge-title {
  font-size: 1.5rem;
  font-weight: 800;
  display: block;
}

.about-badge-desc {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.8;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}

/* Skills */
.skills-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.skills-list li {
  background: var(--slate-gray);
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--light-sand);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Projects Timeline */
.projects-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  color: var(--mint-green);
  margin-bottom: 0.5rem;
  text-align: center;
}

.projects-subtitle {
  color: var(--light-sand);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.timeline-filter {
  text-align: center;
  margin-bottom: 2rem;
}

.timeline-filter label {
  color: var(--light-sand);
  font-size: 1rem;
  margin-right: 1rem;
}

#year-slider {
  width: 200px;
  accent-color: var(--vibrant-coral);
}

#reset-timeline {
  background: var(--vibrant-coral);
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  cursor: pointer;
  margin-left: 1rem;
  transition: background 0.3s;
}

#reset-timeline:hover {
  background: var(--mint-green);
}

.timeline {
  position: relative;
  margin: 50px 0;
  padding: 0 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--mint-green);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-content {
  background: var(--slate-gray);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background: var(--vibrant-coral);
  border-radius: 50%;
}

.timeline-item.left .timeline-content::before {
  right: -10px;
}

.timeline-item.right .timeline-content::before {
  left: -10px;
}

.timeline-content .date {
  color: var(--mint-green);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-family: 'Orbitron', sans-serif;
  color: var(--light-sand);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.timeline-content p {
  color: var(--light-sand);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.timeline-content button {
  background: var(--vibrant-coral);
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.timeline-content button:hover {
  background: var(--mint-green);
}

/* Project Modal Overlay */
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 17, 40, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  overflow: auto;
  padding: 1rem;
}

/* Project Modal Content */
.modal-content {
  background: var(--slate-gray);
  color: var(--light-sand);
  max-width: 700px;
  width: 90%;
  padding: 2rem;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  max-height: 80vh; /* 👈 Prevents modal from growing too tall */
  overflow-y: auto;  /* 👈 Enables vertical scroll when content is long */
  overflow-x: hidden; /* 👈 Prevents horizontal scroll */
}

/* Project Modal Buttons */
.project-btn {
  display: inline-block;
  margin: 0.5rem 0.7rem 0 0;
  padding: 0.8rem 1.5rem;
  background: var(--mint-green);
  color: var(--midnight-blue);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s, transform 0.3s, color 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.project-btn:hover {
  background: var(--vibrant-coral);
  color: var(--light-sand);
  transform: scale(1.05);
}

.project-btn:active {
  transform: scale(0.98);
}

.project-btn i {
  margin-right: 0.5rem;
}



.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
  background-color: var(--mint-green);
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0.1);
}


.modal-content .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--light-sand);
}


@keyframes modalIn {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--mint-green);
  cursor: pointer;
}

.close-btn:hover {
  color: var(--vibrant-coral);
}

.project-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.project-gallery img {
  max-width: 100%;
  max-height: 220px;
  width: auto;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  background: #181830;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}


@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    left: 0;
    padding-left: 40px;
  }
  .timeline-item.right {
    left: 0;
  }
  .timeline-content::before {
    left: -10px;
  }
}

/* Testimonials */
.testimonials-section blockquote {
  max-width: 700px;
  margin: auto;
  font-size: 1.2rem;
  line-height: 1.6;
  font-style: italic;
  text-align: center;
  color: #e0e6ed;
}

.testimonials-section cite {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: var(--mint-green);
}

/* Testimonial Slider */
.testimonials-section {
  background: radial-gradient(circle at center, #181926, var(--midnight-blue));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.testimonials-section > .container {
  position: relative;
  z-index: 1;
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--mint-green);
  margin-bottom: 2.5rem;
  font-family: 'Orbitron', 'Montserrat', sans-serif;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.testimonial-track blockquote {
  min-width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.3rem;
  font-style: italic;
  color: #e0e6ed;
  background: rgba(44, 44, 84, 0.6);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  position: relative;
  animation: fadeInUp 0.6s ease-in-out;
}

.testimonial-track blockquote::before {
  content: "❝";
  font-size: 3rem;
  color: var(--mint-green);
  margin-bottom: 1rem;
}

.testimonial-track cite {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: var(--mint-green);
  font-size: 1.1rem;
}

.slider-indicators {
  text-align: center;
  margin-top: 1.5rem;
}

.slider-indicators .indicator {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: #aaa;
  border-radius: 50%;
  margin: 0 6px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.slider-indicators .indicator.active {
  background-color: var(--mint-green);
  transform: scale(1.4);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Background Pattern Animation */
.background-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(var(--mint-green) 1.5px, transparent 1.5px);
  background-size: 40px 40px;
  opacity: 0.06;
  animation: moveDots 30s linear infinite;
  z-index: 0;
}

@keyframes moveDots {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 40px;
  }
}



/* Contact */
/* Contact Section Styling */
.contact-section {
  background: radial-gradient(circle at top right, var(--slate-gray), var(--midnight-blue));
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.contact-section h2 {
  font-family: 'Orbitron', 'Montserrat', sans-serif;
  font-size: 2.8rem;
  color: var(--mint-green);
  margin-bottom: 1rem;
}

.contact-section p {
  font-size: 1.3rem;
  color: var(--vibrant-coral);
  margin-bottom: 2.5rem;
  font-style: italic;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1.2rem;
  border-radius: 10px;
  border: none;
  background: #f7fff7;
  font-size: 1rem;
  color: black;
  transition: box-shadow 0.3s, transform 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 12px var(--mint-green);
  transform: scale(1.02);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  background: linear-gradient(90deg, var(--mint-green), var(--vibrant-coral));
  color: var(--midnight-blue);
  font-size: 1.2rem;
  font-weight: bold;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, color 0.3s;
}

.contact-form button:hover {
  background: linear-gradient(90deg, var(--vibrant-coral), var(--mint-green));
  color: var(--light-sand);
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--mint-green);
}


/* Scroll Entrance Animation */
.section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Back to Top Button Styling */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--mint-green);
  color: var(--midnight-blue);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, transform 0.3s;
}

.back-to-top:hover {
  background: var(--vibrant-coral);
  transform: scale(1.1);
}

.back-to-top i {
  pointer-events: none; /* Ensure only button captures click */
}



/* --- Footer Styles --- */
.main-footer {
  background: linear-gradient(135deg, var(--midnight-blue), var(--slate-gray));
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.footer-left {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
  color: var(--light-sand);
  font-size: 1rem;
}

.footer-left p {
  color: var(--light-sand);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  margin: 0;
}

.footer-privacy {
  color: var(--mint-green);
  font-size: 1rem;
  text-decoration: underline;
  cursor: pointer;
}

.footer-privacy:hover {
  color: var(--vibrant-coral);
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
}

.social-icon {
  color: var(--mint-green);
  font-size: 1.5rem;
  transition: color 0.3s, transform 0.3s;
}

.social-icon:hover {
  color: var(--vibrant-coral);
  transform: scale(1.2);
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }
}


/* --- Start a Project Section --- */
.start-project-section {
  background: radial-gradient(circle at center, var(--slate-gray) 0%, var(--midnight-blue) 100%);
  padding: 100px 0 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.start-project-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.start-project-title {
  font-family: 'Orbitron', 'Montserrat', Arial, sans-serif;
  font-size: 2.2rem;
  color: var(--light-sand);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 24px rgba(78,205,196,0.12);
}

.start-project-btn {
  font-family: 'Orbitron', 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 1.2rem 3.5rem;
  border: none;
  border-radius: 16px;
  background: var(--mint-green);
  color: var(--midnight-blue);
  box-shadow: 0 0 0 rgba(255,255,255,0);
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.3s, background 0.3s, color 0.3s;
  outline: none;
}

.start-project-btn:hover {
  background: var(--vibrant-coral);
  color: var(--light-sand);
  box-shadow: 0 0 40px 10px var(--vibrant-coral), 0 0 80px 20px var(--mint-green);
  filter: brightness(1.1);
}

/* --- Sidebar Form Styles --- */
.sidebar-form {
  position: fixed;
  top: 0;
  right: -100vw;
  width: 100%;
  max-width: 540px; /* Increased width */
  height: 100vh;
  background: var(--midnight-blue);
  box-shadow: -8px 0 32px rgba(44,44,84,0.18);
  z-index: 9999;
  transition: right 0.5s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.sidebar-form.open {
  right: 0;
}

.sidebar-form-content {
  padding: 2.5rem 2rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.close-sidebar {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--mint-green);
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s;
}

.close-sidebar:hover {
  color: var(--vibrant-coral);
}

.sidebar-form-content h2 {
  font-family: 'Orbitron', 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  color: var(--mint-green);
  margin-bottom: 1.5rem;
  text-align: left;
}

.sidebar-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.2rem;
}

.sidebar-form-row {
  display: flex;
  gap: 1rem;
}

.sidebar-form-row input {
  flex: 1;
  padding: 1rem;
  border-radius: 8px;
  border: none;
  background: #fff;
  font-size: 1rem;
  color: var(--midnight-blue);
  font-family: 'Montserrat', Arial, sans-serif;
}

.sidebar-contact-form textarea {
  padding: 1rem;
  border-radius: 8px;
  border: none;
  background: #fff;
  font-size: 1rem;
  color: var(--midnight-blue);
  font-family: 'Montserrat', Arial, sans-serif;
  min-height: 90px;
  resize: vertical;
}

.sidebar-tags {
  margin-bottom: 0.5rem;
}

.sidebar-tags span {
  font-size: 1rem;
  color: var(--mint-green);
  font-family: 'Orbitron', 'Montserrat', Arial, sans-serif;
  margin-bottom: 0.5rem;
  display: block;
}

.sidebar-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.3rem;
}

.sidebar-tag-list label {
  background: var(--slate-gray);
  color: var(--light-sand);
  border-radius: 16px;
  padding: 0.4rem 1.1rem;
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  user-select: none;
}

.sidebar-tag-list input[type="checkbox"] {
  accent-color: var(--mint-green);
  margin-right: 0.4em;
}

.sidebar-tag-list label:hover,
.sidebar-tag-list input[type="checkbox"]:checked + label {
  background: var(--mint-green);
  color: var(--midnight-blue);
}

.sidebar-contact-form select {
  padding: 1rem;
  border-radius: 8px;
  border: none;
  background: #fff;
  font-size: 1rem;
  color: var(--midnight-blue);
  font-family: 'Montserrat', Arial, sans-serif;
}

.sidebar-send-btn {
  background: linear-gradient(90deg, var(--mint-green), var(--vibrant-coral));
  color: var(--midnight-blue);
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 0.7rem;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 0 rgba(255,255,255,0);
}

.sidebar-send-btn:hover {
  background: linear-gradient(90deg, var(--vibrant-coral), var(--mint-green));
  color: var(--light-sand);
  box-shadow: 0 0 32px 8px var(--mint-green), 0 0 64px 16px var(--vibrant-coral);
}

.sidebar-privacy {
  font-size: 0.85rem;
  color: #b8c0cc;
  margin-top: 1.2rem;
  text-align: left;
}

/* Sidebar overlay for blur effect */
.sidebar-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 17, 40, 0.25);
  backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Privacy Modal Styling */
.privacy-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 17, 40, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.privacy-modal.active {
  display: flex;
}

.privacy-modal-content {
  background: var(--slate-gray);
  color: var(--light-sand);
  max-width: 600px;
  width: 90%;
  padding: 2rem;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
  max-height: 80vh;
}

.privacy-modal-content h2 {
  margin-top: -10px;
  color: var(--mint-green);
  margin-bottom: 1rem;
  font-family: 'Orbitron', 'Montserrat', sans-serif;
}

.privacy-modal-content h3 {
  color: var(--vibrant-coral);
  margin-top: 1.5rem;
}

.privacy-modal-content ul {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.privacy-modal-content li {
  margin-bottom: 0.7rem;
}

.close-privacy-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--mint-green);
  cursor: pointer;
}

.close-privacy-btn:hover {
  color: var(--vibrant-coral);
}

.privacy-link {
  color: var(--mint-green);
  cursor: pointer;
  text-decoration: underline;
}

.privacy-link:hover {
  color: var(--vibrant-coral);
}

/* Privacy Policy Blur Overlay */
.privacy-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.1); /* Transparent to activate blur */
  backdrop-filter: blur(20px); /* Strong, visible blur */
  -webkit-backdrop-filter: blur(20px); /* Safari support */
  z-index: 9998;
  display: none;
}

.privacy-overlay.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* --- Services Section --- */
.services-section {
  background: #181926;
  padding: 80px 0 60px 0;
  margin: 60px 0 0 0;
  border-radius: 24px;
  box-shadow: 0 4px 32px rgba(10,17,40,0.10);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.services-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.services-title {
  font-family: 'Orbitron', 'Montserrat', Arial, sans-serif;
  font-size: 2.2rem;
  color: var(--light-sand);
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 24px rgba(78,205,196,0.10);
}

.services-title .highlight-service {
  color: var(--mint-green);
  font-weight: 800;
  letter-spacing: 1px;
}

.services-subtitle {
  display: block;
  font-size: 1.2rem;
  color: var(--vibrant-coral);
  font-weight: 600;
  margin-top: 0.5rem;
}

.services-content {
  display: flex;
  gap: 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.services-description {
  flex: 1 1 320px;
  font-size: 1.15rem;
  color: #e0e6ed;
  font-family: 'Montserrat', Arial, sans-serif;
  background: rgba(44,44,84,0.13);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  min-width: 260px;
  margin-bottom: 1.5rem;
  height: 100%;
  box-sizing: border-box;
}

.services-list {
  flex: 2 1 600px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.service-block {
  background: #23243a;
  border-radius: 16px;
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  min-width: 170px;
  min-height: 210px;
  box-shadow: 0 2px 12px rgba(44,44,84,0.10);
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-badge {
  display: inline-block;
  font-size: 0.95rem;
  font-family: 'Orbitron', 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 16px;
  padding: 0.3rem 1.1rem;
  margin-bottom: 0.7rem;
  letter-spacing: 1px;
}

.service-badge.design {
  background: var(--mint-green);
  color: var(--midnight-blue);
}

.service-badge.development {
  background: var(--vibrant-coral);
  color: var(--light-sand);
}

.service-badge.working {
  background: var(--slate-gray);
  color: var(--mint-green);
}

.service-badge.consulting {
  background: var(--light-sand);
  color: var(--slate-gray);
}

.service-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-block ul li {
  font-size: 1.05rem;
  color: var(--light-sand);
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding-left: 0.5rem;
}

/* --- Skills Section Animated Bars --- */
.skills-section {
  padding: 70px 0 60px 0;
  background: transparent;
}

.skills-section h2 {
  text-align: center;
  font-family: 'Orbitron', 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  color: var(--mint-green);
  margin-bottom: 2.5rem;
  letter-spacing: 1px;
}

.skills-bars {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.skill-bar {
  width: 100%;
}

.skill-label {
  font-family: 'Orbitron', 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: var(--light-sand);
  margin-bottom: 0.5rem;
  display: block;
  letter-spacing: 1px;
}

.bar-bg {
  width: 100%;
  height: 18px;
  background: #23243a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(44,44,84,0.10);
  position: relative;
}

.bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--mint-green) 0%, var(--vibrant-coral) 100%);
  border-radius: 10px;
  transition: width 1.5s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 0 16px 2px var(--mint-green), 0 0 32px 4px var(--vibrant-coral, #ff6b6b, 0.2);
  position: relative;
}

.bar-fill::after {
  content: attr(data-width);
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--midnight-blue);
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  opacity: 0.85;
}

/* responsive styles */

@media (max-width: 700px) {
  .skills-bars {
    gap: 1.2rem;
  }
  .bar-bg {
    height: 14px;
  }
}

@media (max-width: 900px) {
  .services-content {
    flex-direction: column;
    gap: 2rem;
  }
  .services-list {
    grid-template-columns: 1fr 1fr;
  }
  .about-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .about-badge {
    flex-direction: row;
    gap: 1.2rem;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
  }
  .header-flex {
    flex-wrap: wrap;
  }
  nav {
    flex: 100%;
    order: 3;
    justify-content: flex-start;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px; /* adjust as needed for your header height */
    left: 0;
    width: 100vw;
    background: var(--slate-gray);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    z-index: 999;
    box-shadow: 0 4px 24px rgba(44,44,84,0.10);
  }
  .nav-links.active {
    display: flex;
  }
  .menu-icon {
    display: block;
    margin-left: 1rem;
  }
  .header-actions {
    order: 2;
    margin-left: auto;
  }
  .header-flex,
  .header-inner {
    flex-direction: row;
    align-items: center;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--slate-gray);
    padding: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-icon {
    display: block;
  }

  .header-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .skills-list li,
  .project-card {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .sidebar-form {
    max-width: 100vw;
    width: 100vw;
  }
  .sidebar-form-content {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
  .sidebar-form-row {
    flex-direction: column;
    gap: 0.7rem;
  }
  .services-list {
    grid-template-columns: 1fr;
  }
  .modal-content {
    padding: 18px 6px;
    max-width: 98vw;
  }
  .project-gallery img {
    max-height: 140px;
  }
  .header-inner {
    padding: 0.7rem 0.5rem;
  }
  .brand-name {
    font-size: 1.2rem;
  }
  .get-started-btn {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 700px) {
  .sidebar-form {
    max-width: 100vw;
    width: 100vw;
  }
}



 /* Light Mode Toggle Button */

.light-mode-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
  padding: 0.3rem;
  display: flex;
  align-items: center;
}

.light-mode-toggle:hover {
  background: #FFF3CD; /* soft yellow for hover */
}

body.light-mode .light-mode-toggle:hover {
  background: #FFE5A0;
}

.light-mode-icon {
  stroke: #FFA500; /* orange accent */
  transition: stroke 0.2s;
}

body.light-mode .light-mode-icon {
  stroke: #23243a; /* dark for sun in light mode, or swap to moon icon */
}

/* --- Light Mode Styles --- */
body.light-mode {
  --midnight-blue: #f7fff7;
  --slate-gray: #f0f4f8;
  --light-sand: #23243a;
  --mint-green: #4ecdc4;
  --vibrant-coral: #ffa500;
  background: #f7fff7;
  color: #23243a;
}

body.light-mode .main-header {
  background: var(--slate-gray);
  box-shadow: 0 2px 10px rgba(44,44,84,0.07);
}

body.light-mode .brand-name,
body.light-mode .nav-links a,
body.light-mode .nav-links a.active,
body.light-mode .get-started-btn {
  color: var(--light-sand);
}

body.light-mode .nav-links a.active,
body.light-mode .nav-links a:hover {
  color: var(--mint-green);
  border-bottom: 2px solid var(--mint-green);
}

body.light-mode .get-started-btn {
  background: var(--vibrant-coral);
  color: #fff;
}

body.light-mode .get-started-btn:hover {
  background: #ff8800;
}

body.light-mode .hero-section {
  background: radial-gradient(circle at top left, #fffbe9, #f0f4f8);
}

body.light-mode .hero-headline,
body.light-mode .hero-pretitle,
body.light-mode .hero-description {
  color: var(--light-sand);
}

body.light-mode .hero-btn {
  background: linear-gradient(to right, var(--mint-green), var(--vibrant-coral));
  color: var(--light-sand);
  box-shadow: 0 4px 24px rgba(78,205,196,0.10);
}

body.light-mode .hero-btn:hover {
  background: linear-gradient(to right, var(--vibrant-coral), var(--mint-green));
  color: #fff;
}

body.light-mode .hero-logo {
  background: #fff;
  box-shadow: 0 8px 24px rgba(44,44,84,0.10);
}

body.light-mode section,
body.light-mode .services-section,
body.light-mode .start-project-section,
body.light-mode .testimonials-section,
body.light-mode .contact-section {
  background: #fff;
  color: var(--light-sand);
}

body.light-mode .services-title,
body.light-mode .projects-title,
body.light-mode .skills-section h2,
body.light-mode .contact-section h2 {
  color: var(--mint-green);
}

body.light-mode .service-block,
body.light-mode .timeline-content,
body.light-mode .modal-content,
body.light-mode .sidebar-form,
body.light-mode .sidebar-form-content,
body.light-mode .sidebar-tag-list label,
body.light-mode .about-badge-inner {
  background: #f0f4f8;
  color: var(--light-sand);
  box-shadow: 0 2px 12px rgba(44,44,84,0.07);
}

body.light-mode .service-badge.design {
  background: var(--mint-green);
  color: #fff;
}
body.light-mode .service-badge.development {
  background: var(--vibrant-coral);
  color: #fff;
}
body.light-mode .service-badge.working {
  background: #e0e6ed;
  color: var(--mint-green);
}
body.light-mode .service-badge.consulting {
  background: var(--mint-green);
  color: #fff;
}

body.light-mode .timeline::before {
  background: var(--mint-green);
}

body.light-mode .timeline-content::before {
  background: var(--vibrant-coral);
}

body.light-mode .sidebar-form,
body.light-mode .modal-content {
  background: #fff;
  color: var(--light-sand);
}

body.light-mode .sidebar-form-row input,
body.light-mode .sidebar-contact-form textarea,
body.light-mode .sidebar-contact-form select {
  background: #f0f4f8;
  color: var(--light-sand);
}

body.light-mode .sidebar-send-btn,
body.light-mode .contact-form button {
  background: linear-gradient(90deg, var(--mint-green), var(--vibrant-coral));
  color: var(--light-sand);
}

body.light-mode .sidebar-send-btn:hover,
body.light-mode .contact-form button:hover {
  background: linear-gradient(90deg, var(--vibrant-coral), var(--mint-green));
  color: #fff;
}

body.light-mode .footer-container,
body.light-mode .main-footer {
  background: linear-gradient(135deg, #fff, #f0f4f8);
  color: var(--light-sand);
}

body.light-mode .footer-left,
body.light-mode .footer-left p,
body.light-mode .footer-privacy,
body.light-mode .footer-socials .social-icon {
  color: var(--light-sand);
}

body.light-mode .footer-privacy:hover,
body.light-mode .footer-socials .social-icon:hover {
  color: var(--vibrant-coral);
}

body.light-mode .background-dots {
  background: radial-gradient(var(--mint-green) 1.5px, transparent 1.5px);
  opacity: 0.08;
}

body.light-mode .modal {
  background: rgba(240, 244, 248, 0.92);
  backdrop-filter: blur(4px);
}

/* Make hero and about/service texts darker in light mode for clarity */
body.light-mode .hero-description,
body.light-mode .about-section p,
body.light-mode .services-description {
  color: #23243a; /* strong dark for readability */
}

body.light-mode .hero-headline,
body.light-mode .about-title,
body.light-mode .about-animated,
body.light-mode .about-keyword,
body.light-mode .about-cta {
  color: #23243a;
}

body.light-mode .gradient-text {
  /* Keep gradient, but fallback to dark if needed */
  -webkit-text-fill-color: initial;
  color: #23243a;
}



/* Media query for tablets and below (max-width: 900px) */
/* Enhance hero image for a professional look on tablets and below */
@media (max-width: 900px) {
  .hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 100%;
    padding: 1rem 0;
  }

  .hero-logo {
    width: 100%;
    max-width: 280px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    background: rgba(10, 17, 40, 0.9);
    padding: 1rem;
    transition: transform 0.3s ease;
  }

  .hero-logo:hover {
    transform: scale(1.05);
  }
}

/* Disable typewriter effect on mobile screens */
@media (max-width: 600px) {
  .about-typewriter {
    border-right: none;
    animation: none;
    width: auto;
    overflow: visible;
    white-space: normal;
  }

  .about-animated {
    min-height: auto;
    display: block;
  }
}

@media (max-width: 900px) {
  .container {
    padding: 0 1.2rem; /* Tighter padding for tablets */
  }

  .header-flex {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .header-inner {
    padding: 0.5rem 1.2rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--slate-gray);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    z-index: 999;
    box-shadow: 0 4px 16px var(--shadow-dark);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.5rem 0;
  }

  .menu-icon {
    display: block;
    margin-left: 0.5rem;
    font-size: 1.6rem;
  }

  .brand-name {
    font-size: clamp(1.4rem, 4vw, 1.6rem);
  }

  .get-started-btn {
    padding: 0.4rem 0.9rem;
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  }

  .hero-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
  }

  .hero-pretitle {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  }

  .hero-headline {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .hero-description {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    max-width: 95%;
    margin: 0 auto 1.2rem;
    color: var(--soft-gray);
  }

  .hero-btn {
    padding: 0.7rem 1.8rem;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  }

  .hero-image {
    margin-top: 1rem;
  }

  .hero-logo {
    max-width: 220px;
    padding: 0.7rem;
  }

  .about-flex {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .about-hello {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  }

  .about-title {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
  }

  .about-animated {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  }

  .about-cta {
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  }

  .about-badge {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 0.8rem;
  }

  .about-badge-inner {
    padding: 0.8rem 1.2rem;
  }

  .about-badge-title {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
  }

  .about-badge-desc {
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  }

  .services-content {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }

  .services-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-block {
    min-height: auto;
    padding: 1.2rem;
  }

  .skills-list li {
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    padding: 0.5rem 1rem;
  }

  .projects-title {
    font-size: clamp(1.6rem, 4vw, 2rem);
  }

  .projects-subtitle {
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  }

  .timeline {
    margin: 30px 0;
    padding: 0 10px;
  }

  .timeline::before {
    left: 15px;
  }

  .timeline-item {
    width: 100%;
    left: 0;
    padding-left: 30px;
  }

  .timeline-item.right {
    left: 0;
  }

  .timeline-content::before {
    left: -8px;
  }

  .timeline-content {
    padding: 12px;
  }

  .testimonial-track blockquote {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    padding: 1.2rem;
  }

  .contact-section {
    padding: clamp(50px, 8vw, 70px) 0;
  }

  .contact-section p {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  }

  .contact-form {
    max-width: 95%;
    gap: 0.8rem;
  }

  .start-project-title {
    font-size: clamp(1.6rem, 4vw, 2rem);
  }

  .start-project-btn {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    padding: 0.9rem 2rem;
  }

  .sidebar-form {
    max-width: 100%;
    width: 100%;
  }

  .sidebar-form-content {
    padding: 1.5rem 1.2rem;
  }

  .sidebar-form-row {
    flex-direction: column;
    gap: 0.8rem;
  }
}

/* Media query for mobile devices (max-width: 600px) */
@media (max-width: 600px) {
  .container {
    padding: 0 1rem;
  }

  .header-inner {
    padding: 0.4rem 1rem;
  }

  .brand-name {
    font-size: clamp(1.2rem, 4vw, 1.4rem);
  }

  .get-started-btn {
    padding: 0.3rem 0.8rem;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  }

  .nav-links {
    top: 55px;
    padding: 0.8rem;
  }

  .menu-icon {
    font-size: 1.4rem;
  }

  .hero-headline {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  .hero-btn {
    padding: 0.6rem 1.5rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }

  .hero-logo {
    max-width: 200px;
    padding: 0.6rem;
  }

  .about-hello {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }

  .about-title {
    font-size: clamp(1.4rem, 4vw, 1.6rem);
  }

  .about-animated {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }

  .about-cta {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  }

  .about-badge-inner {
    padding: 0.7rem 1rem;
  }

  .about-badge-title {
    font-size: clamp(1rem, 3vw, 1.2rem);
  }

  .about-badge-desc {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  }

  .services-list {
    gap: 0.8rem;
  }

  .service-block {
    padding: 1rem;
  }

  .skills-list li {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    padding: 0.4rem 0.8rem;
  }

  .projects-title {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
  }

  .projects-subtitle {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  }

  .timeline {
    margin: 20px 0;
    padding: 0 8px;
  }

  .timeline-content {
    padding: 10px;
  }

  .testimonial-track blockquote {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    padding: 1rem;
  }

  .contact-section p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }

  .contact-form {
    gap: 0.7rem;
  }

  .start-project-title {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
  }

  .start-project-btn {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    padding: 0.8rem 1.8rem;
  }

  .sidebar-form-content {
    padding: 1.2rem 0.8rem;
  }

  .modal-content {
    padding: 0.8rem;
    max-width: 95%;
  }

  .project-gallery img {
    max-height: 100px;
  }
}

/* Light mode text color adjustments for better contrast on smaller screens */
@media (max-width: 900px) {
  body.light-mode .hero-description,
  body.light-mode .about-section p,
  body.light-mode .services-description {
    color: #1A1A2E; /* Darker for readability */
  }

  body.light-mode .hero-headline,
  body.light-mode .about-title,
  body.light-mode .about-animated,
  body.light-mode .about-keyword,
  body.light-mode .about-cta {
    color: #1A1A2E;
  }
}


/* Hide sidebar form by default and center it when active on small screens */
@media (max-width: 900px) {
  .sidebar-form {
    position: fixed;
    top: -100%; /* Hide off-screen by default */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    width: 90%;
    max-width: 500px;
    height: 90vh;
    background: var(--midnight-blue);
    box-shadow: -8px 0 32px rgba(44, 44, 84, 0.18);
    z-index: 9999;
    transition: top 0.5s cubic-bezier(0.77, 0, 0.18, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border-radius: 10px;
    opacity: 0;
  }

  .sidebar-form.open {
    top: 5%; /* Slide down to centered position when active */
    opacity: 1;
  }

  .sidebar-form-content {
    padding: 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: stretch;
  }
}

/* Hide Get Started button on small screens */
@media (max-width: 900px) {
  .header-actions .get-started-btn {
    display: none;
  }
}


.whatsapp-btn button {
  background-color: #25D366;
  color: white;
  border: none;
  padding: 10px 16px;
  margin-top: 10px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.whatsapp-btn button:hover {
  background-color: #1ebe5d;
}


body.light-mode .photo-video-section {
  background-color: #f9f9f9;
}
body.light-mode .section-heading p {
  color: #555;
} 
body.light-mode .photo-preview-card {
  background: white;
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}
body.light-mode .photo-preview-content p,
body.light-mode .photo-preview-content .hero-btn:hover {
  color: #333;
}
body.light-mode .photo-preview-content .hero-btn {
  background-color: #1a1a1a;
  color: white;
}


.photo-video-section {
  padding: 80px 20px;
  background-color: var(--midnight-blue);
  text-align: center;
}

.section-heading h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-heading p {
  font-size: 1.1rem;
  color: var(--light-sand);
  max-width: 700px;
  margin: 0 auto 40px;
}

.photo-preview-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: var(--slate-gray);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
  max-width: 1100px;
  margin: 0 auto;
}

.photo-preview-card img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
}

.photo-preview-content {
  max-width: 500px;
  text-align: left;
}

.photo-preview-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--light-sand);
}

.photo-preview-content p {
  font-size: 1rem;
  color: var(--soft-gray);
  margin-bottom: 20px;
}

.photo-preview-content .hero-btn {
  color: #333;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.photo-preview-content .hero-btn:hover {
  color: white;
  transition: background 0.3s ease;
}


/* ==== Pricing Section Styles ==== */

/* Dark Mode (default) */
.pricing {
  padding: 3rem 1rem;
  background-color: var(--midnight-blue);
  color: #fff;
  text-align: center;
}

.pricing h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--mint-green);
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.package-card {
  background: linear-gradient(145deg, #101624, #0c101b);
  padding: 2rem;
  border-radius: 12px;
  width: 300px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, border 0.3s ease;
  border: 1px solid #1e2a3a;
}

.package-card:hover {
  transform: scale(1.04);
  border: 1px solid #b87f40;
}

.package-card.highlight {
  border: 2px solid #b87f40;
}

.package-card h3 {
  font-size: 1.5rem;
  color: #b87f40;
}

.package-card p {
  font-size: 0.95rem;
  color: #bbb;
}

.package-card ul {
  text-align: left;
  padding-left: 1.2rem;
  margin-top: 1rem;
  color: #ccc;
  font-size: 0.95rem;
}

.package-card .price {
  font-size: 1.2rem;
  margin-top: 1rem;
  color: #ffffff;
  font-weight: bold;
}

.pricing .cta-button {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 14px 30px;
  font-size: 1rem;
  background-color: transparent;
  color: #b87f40;
  border: 2px solid #b87f40;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pricing .cta-button:hover {
  background-color: #b87f40;
  color: #0b0f1a;
  box-shadow: 0 0 15px rgba(184, 127, 64, 0.4);
  transform: scale(1.05);
}

/* ==== Light Mode Styling ==== */
body.light-mode .pricing {
  background-color: #f9f9f9;
  color: #222;
}

body.light-mode .pricing h2 {
  color: var(--mint-green);
}

body.light-mode .package-card {
  background: linear-gradient(145deg, #ffffff, #f4f4f4);
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body.light-mode .package-card h3 {
  color: #b87f40;
}

body.light-mode .package-card p,
body.light-mode .package-card ul {
  color: #333;
}

body.light-mode .package-card .price {
  color: #111;
}

body.light-mode .pricing .cta-button {
  background-color: transparent;
  color: #b87f40;
  border: 2px solid #b87f40;
}

body.light-mode .pricing .cta-button:hover {
  background-color: #b87f40;
  color: #fff;
  box-shadow: 0 0 10px rgba(184, 127, 64, 0.4);
}
