/* ==========================================================================
   CSS Variables & Themes
   ========================================================================== */
:root {
  /* DARK MODE (DEFAULT) */
  --bg-primary: #0f172a;      /* Deep Slate */
  --bg-secondary: #1e293b;    /* Lighter Slate for sections/cards */
  --bg-glass: rgba(15, 23, 42, 0.85);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  
  --accent-primary: #38bdf8;  /* Light Blue */
  --accent-hover: #0ea5e9;
  
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.2);
  
  --transition: all 0.3s ease;
}

/* Light Mode Overrides */
html.light-mode {
  --bg-primary: #ffffff;
  --bg-secondary: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  
  --accent-primary: #2563eb;  /* Deeper Blue */
  --accent-hover: #1d4ed8;
  
  --border-color: rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for fixed header */
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.bg-alt {
  background-color: var(--bg-secondary);
}

/* Typography Utilities */
.accent-text {
  color: var(--accent-primary);
}

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

/* Section Headers */
.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.divider {
  height: 4px;
  width: 60px;
  background: var(--accent-primary);
  margin: 0 auto;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #fff;
  border: 2px solid var(--accent-primary);
  box-shadow: 0 4px 14px 0 rgba(56, 189, 248, 0.39);
}

html.light-mode .btn-primary {
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px 0 rgba(56, 189, 248, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
}

.btn-outline:hover {
  background-color: var(--accent-primary);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px 0 rgba(56, 189, 248, 0.2);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-unavailable {
  cursor: not-allowed;
  opacity: 0.62;
}

.btn-unavailable:hover {
  background-color: transparent;
  color: var(--accent-primary);
  box-shadow: none;
  transform: none;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
  border-bottom-color: transparent;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.logo span {
  color: var(--accent-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

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

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

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

.mode-toggle {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: var(--transition);
}

.mode-toggle:hover {
  background-color: var(--bg-secondary);
  color: var(--accent-primary);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
}

.greeting {
  font-size: 1.2rem;
  color: var(--accent-primary);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.7;
  transition: var(--transition);
}

.scroll-indicator:hover {
  opacity: 1;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--text-secondary);
  border-radius: 15px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: var(--accent-primary);
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% { top: 10px; opacity: 1; }
  100% { top: 30px; opacity: 0; }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  padding: 80px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}

.about-image {
  border-radius: 50%;
  overflow: hidden;
  background-color: transparent;
  aspect-ratio: 1;
  width: 330px;
  max-width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.4); /* Sky blue glow filling the gap */
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: var(--text-secondary);
}

.img-placeholder i {
  font-size: 5rem;
  color: var(--border-color);
}

.img-placeholder span {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -25px;
  border: 2px solid var(--accent-primary); /* Blue border to match the new picture */
  border-radius: 50%;
  z-index: 0;
  animation: ringPulse 4s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { 
    transform: scale(1); 
    opacity: 0.6; 
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4), inset 0 0 25px rgba(125, 211, 252, 0.3);
  }
  50% { 
    transform: scale(1.03); 
    opacity: 0.3; 
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.6), inset 0 0 40px rgba(125, 211, 252, 0.5);
  }
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.experience-badge .number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  line-height: 1.3;
  color: var(--accent-primary);
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 500px;
}

.about-highlights {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 15px;
}

.highlight i {
  color: var(--accent-primary);
  font-size: 1.2rem;
  background: rgba(56, 189, 248, 0.1);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* ==========================================================================
   Skills Section
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 30px;
}

.skill-category {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.skill-category:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-primary);
}

.category-icon {
  font-size: 2.5rem;
  color: var(--accent-primary);
  margin-bottom: 20px;
  height: 60px;
  display: flex;
  align-items: center;
}

.skill-category h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
  height: 50px;
  display: flex;
  align-items: center;
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.skill-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-weight: 500;
}

.skill-list i {
  color: var(--text-primary);
  width: 20px;
  text-align: center;
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 40px;
}

.project-card {
  background-color: var(--bg-secondary);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}



.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  background-color: var(--bg-primary);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-img-real {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.project-placeholder {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  opacity: 0.5;
  letter-spacing: 1px;
  z-index: 0;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}

html.light-mode .project-overlay {
  background: rgba(255, 255, 255, 0.8);
}

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

.project-link {
  width: 50px;
  height: 50px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: translateY(20px);
  transition: var(--transition);
}

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

.project-info {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-info h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.project-info p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 0.95rem;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tags span {
  font-size: 0.8rem;
  padding: 5px 12px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  color: var(--accent-primary);
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--bg-primary);
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-primary);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 25px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent-primary);
  color: #fff;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

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

/* ==========================================================================
   Experience/Timeline Section
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--border-color);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

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

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--accent-primary);
  border: 4px solid var(--bg-primary);
  border-radius: 50%;
  top: 15px;
  z-index: 1;
}

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

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

.timeline-content {
  padding: 30px;
  background-color: var(--bg-secondary);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  position: relative;
  transition: var(--transition);
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-primary);
}

.timeline-date {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-primary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.timeline-content h4 {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 15px;
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.timeline-content ul {
  list-style-type: disc;
  padding-left: 20px;
}

.timeline-item:nth-child(odd) .timeline-content ul {
  padding-left: 0;
  padding-right: 20px;
  direction: rtl;
}

.timeline-item:nth-child(odd) .timeline-content ul li {
  direction: ltr;
  text-align: right;
}

.timeline-content ul li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

/* ==========================================================================
   Career Objective Section
   ========================================================================== */
.career-objective .container {
  max-width: 800px;
}

.objective-icon {
  font-size: 3rem;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

.objective-text {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 30px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-item .icon-box {
  width: 60px;
  height: 60px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-primary);
}

.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-item a {
  color: var(--text-secondary);
}

.contact-item a:hover {
  color: var(--accent-primary);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.social-links a:hover {
  background-color: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
  transform: translateY(-3px);
}

.contact-form {
  background-color: var(--bg-secondary);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.form-group label {
  position: absolute;
  top: 15px;
  left: 20px;
  color: var(--text-secondary);
  transition: var(--transition);
  pointer-events: none;
  background-color: var(--bg-primary);
  padding: 0 5px;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 15px;
  font-size: 0.8rem;
  color: var(--accent-primary);
}

.btn-submit {
  width: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--bg-secondary);
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.footer-logo span {
  color: var(--accent-primary);
}

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

.back-to-top {
  width: 40px;
  height: 40px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.back-to-top:hover {
  background-color: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

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

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

.slide-in-left.appear, .slide-in-right.appear {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media screen and (max-width: 992px) {
  .about-grid, .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-image-wrapper {
    max-width: 400px;
    margin: 0 auto 30px;
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item:nth-child(odd) {
    text-align: left;
  }
  
  .timeline-item:nth-child(odd) .timeline-content ul {
    direction: ltr;
    padding-left: 20px;
    padding-right: 0;
  }

  .timeline-item:nth-child(odd) .timeline-content ul li {
    text-align: left;
  }
  
  .timeline-dot,
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 21px;
    right: auto;
  }
}

@media screen and (max-width: 576px) {
  .timeline::after {
    left: 15px;
  }
  
  .timeline-item {
    padding-left: 45px;
  }
  
  .timeline-dot,
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 5px;
    width: 16px;
    height: 16px;
  }
  
  .timeline-content {
    padding: 20px;
  }
}

@media screen and (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 80px;
    left: -100%;
    width: 100%;
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    transition: left 0.3s ease;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 20px;
  }
}

/* ==========================================================================
   Continuous Dynamic Animations
   ========================================================================== */
.cursor {
  display: inline-block;
  width: 3px;
  background-color: var(--accent-primary);
  margin-left: 4px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.about-image-wrapper {
  animation: float 6s ease-in-out infinite;
}

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

.service-icon {
  animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); }
  100% { box-shadow: 0 0 15px 5px rgba(56, 189, 248, 0.1); }
}

.accent-text {
  background: linear-gradient(90deg, var(--accent-primary), #d4af37, var(--accent-primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* ==========================================================================
   Form Submission Messages
   ========================================================================== */
.form-message {
  margin-top: 15px;
  font-size: 0.9rem;
  transition: 0.3s;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.form-message.success {
  color: #22c55e;
}

.form-message.error {
  color: #ef4444;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
