* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #05070a;
  color: #eef2ff;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* Video Background */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.35) saturate(1.1);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(5, 7, 10, 0.88), rgba(0, 0, 0, 0.92));
  z-index: -1;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #0f1419;
}

::-webkit-scrollbar-thumb {
  background: #2c7da0;
  border-radius: 10px;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(8, 12, 18, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(44, 125, 160, 0.3);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  max-width: 1300px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7bc5f0, #2c7da0, #ffb347);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo span {
  background: linear-gradient(135deg, #ffb347, #ff8c00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.menu-toggle {
  display: block;
  font-size: 1.7rem;
  cursor: pointer;
  color: #6ab0de;
  transition: 0.2s;
  z-index: 1001;
}

.menu-toggle:hover {
  color: #ffb347;
}

.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background: rgba(5, 8, 12, 0.98);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  text-align: center;
  gap: 1.2rem;
  border-bottom: 1px solid #2c7da0;
  z-index: 999;
}

.nav-links.active {
  display: flex;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  color: #d1d9ff;
  padding: 0.75rem;
  transition: 0.2s;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffb347;
  background: rgba(44, 125, 160, 0.2);
}

/* Container */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 3rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #f0f4ff, #9bb5d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ffb347, #2c7da0);
  margin: 10px auto 0;
  border-radius: 4px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.hero-left {
  order: 2;
}

.hero-right {
  order: 1;
}

.badge-glow {
  display: inline-block;
  background: linear-gradient(135deg, #2c7da0, #ffb347);
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.hero h1 span {
  background: linear-gradient(135deg, #6ab0de, #2c7da0, #ffb347);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 0.95rem;
  color: #b9c7da;
  margin: 0.8rem 0;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 1.2rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(95deg, #2c7da0, #1f5e7a);
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: white;
  transition: all 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #2c7da0;
  color: #6ab0de;
}

.btn-primary-glow {
  background: linear-gradient(95deg, #ffb347, #e69422);
  color: #0a0c10;
  box-shadow: 0 0 15px rgba(255, 180, 71, 0.3);
}

.btn-primary-glow:hover {
  box-shadow: 0 0 25px rgba(255, 180, 71, 0.6);
}

.btn:hover {
  transform: translateY(-2px);
}

.stat-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(44, 125, 160, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.7rem;
  margin-top: 1rem;
}

.profile-frame {
  position: relative;
  display: inline-block;
}

.profile-photo {
  width: 200px;
  height: 240px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 35px -12px black;
  border: 2px solid rgba(255, 180, 71, 0.3);
  transition: 0.3s;
}

.profile-status {
  position: absolute;
  bottom: 10px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  padding: 4px 10px;
  border-radius: 40px;
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* About Section */
.about-text {
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
  text-align: center;
  background: rgba(15, 25, 32, 0.5);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  border-radius: 1.5rem;
  font-size: 0.9rem;
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #ffb347;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}

.skills span {
  background: rgba(30, 42, 58, 0.7);
  padding: 0.4rem 1rem;
  border-radius: 40px;
  font-size: 0.7rem;
  border: 1px solid #2c7da0;
  transition: 0.2s;
}

.skills span:hover {
  border-color: #ffb347;
}

/* ===== TECH STACK - EXACT MATCH TO IMAGE STYLE ===== */
#tech-stack {
  padding: 3rem 0;
}

.tech-category-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.tech-category-item {
  background: rgba(10, 18, 24, 0.65);
  backdrop-filter: blur(12px);
  border-radius: 1.5rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(44, 125, 160, 0.25);
  transition: transform 0.2s, border-color 0.2s;
}

.tech-category-item:hover {
  border-color: rgba(255, 180, 71, 0.5);
  transform: translateY(-2px);
}

.tech-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  border-bottom: 1px dashed rgba(44, 125, 160, 0.4);
  padding-bottom: 0.6rem;
}

.category-icon {
  font-size: 1.5rem;
  color: #ffb347;
  background: rgba(255, 180, 71, 0.12);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.tech-category-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #eef2ff;
  margin: 0;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.tech-chip {
  background: rgba(20, 30, 38, 0.8);
  border-radius: 40px;
  padding: 0.45rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cdddfc;
  border: 1px solid #2c4b5e;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}

.tech-chip i {
  font-size: 0.85rem;
  color: #ffb347;
  width: 18px;
  text-align: center;
}

.tech-chip:hover {
  border-color: #ffb347;
  background: rgba(44, 125, 160, 0.25);
  transform: translateY(-1px);
}

/* Projects Grid */
.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.project-card {
  background: rgba(17, 27, 34, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 1.5rem;
  padding: 1.3rem;
  border: 1px solid rgba(44, 125, 160, 0.3);
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: #ffb347;
}

.project-card h3 {
  font-size: 1.3rem;
  margin: 0.5rem 0;
}

.project-card p {
  color: #b9cadf;
  font-size: 0.85rem;
  margin: 0.5rem 0;
}

.project-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.project-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  color: #7bc5f0;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.project-links a:hover {
  color: #ffb347;
  gap: 8px;
}

/* Contact Section */
.contact {
  background: rgba(10, 18, 24, 0.7);
  backdrop-filter: blur(14px);
  border-radius: 2rem;
  margin: 0.5rem auto;
}

.quick-contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.quick-card {
  background: linear-gradient(135deg, rgba(44, 125, 160, 0.2), rgba(255, 180, 71, 0.1));
  border: 1px solid rgba(44, 125, 160, 0.4);
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 200px;
}

.quick-card:hover {
  transform: translateY(-3px);
  border-color: #ffb347;
  background: linear-gradient(135deg, rgba(44, 125, 160, 0.3), rgba(255, 180, 71, 0.15));
}

.quick-card-icon {
  width: 45px;
  height: 45px;
  background: rgba(44, 125, 160, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffb347;
}

.quick-card-info {
  flex: 1;
}

.quick-card-info h4 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  color: #eef2ff;
}

.quick-card-info p {
  font-size: 0.7rem;
  color: #9ca3af;
}

.quick-card-action {
  color: #2c7da0;
  transition: 0.2s;
}

.quick-card:hover .quick-card-action {
  transform: translateX(5px);
  color: #ffb347;
}

.contact-form-wrapper {
  background: rgba(5, 10, 14, 0.6);
  border-radius: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(44, 125, 160, 0.3);
}

.form-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-header i {
  font-size: 2rem;
  color: #ffb347;
  margin-bottom: 0.5rem;
}

.form-header h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.form-header p {
  font-size: 0.8rem;
  color: #9ca3af;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-row .form-group {
  flex: 1;
  min-width: 200px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #b9c7da;
}

.form-group label i {
  margin-right: 6px;
  color: #ffb347;
  font-size: 0.7rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  background: rgba(15, 25, 32, 0.8);
  border: 1px solid rgba(44, 125, 160, 0.3);
  border-radius: 0.8rem;
  color: white;
  font-family: inherit;
  font-size: 0.9rem;
  transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffb347;
  background: rgba(15, 25, 32, 0.95);
  box-shadow: 0 0 0 3px rgba(255, 180, 71, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #6c86a0;
}

.submit-btn {
  justify-content: center;
  border: none;
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

.submit-btn i {
  font-size: 1rem;
}

.submit-btn:hover {
  transform: translateY(-2px);
}

.availability-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem;
  background: rgba(44, 125, 160, 0.1);
  border-radius: 50px;
  text-align: center;
  font-size: 0.8rem;
}

.availability-badge i {
  color: #ffb347;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #1e2a3a;
  border-left: 4px solid #4ade80;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  z-index: 3000;
  transform: translateY(100px);
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.toast.show {
  transform: translateY(0);
}

/* Modal */
.modal-glass {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(18px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-card {
  max-width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  background: #0f1920;
  border-radius: 1.5rem;
  border: 1px solid #ffb347;
  padding: 1.5rem;
  position: relative;
  animation: modalPop 0.3s ease;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.7rem;
  color: #6c86a0;
  border-top: 1px solid rgba(44, 125, 160, 0.2);
}

/* Tablet & Desktop */
@media (min-width: 768px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-content {
    flex-direction: row;
    text-align: left;
    gap: 3rem;
  }
  
  .hero-left {
    order: 1;
    flex: 1.2;
    text-align: left;
  }
  
  .hero-right {
    order: 2;
    flex: 0.8;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .nav-links {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    width: auto;
    border: none;
    gap: 2rem;
  }
  
  .nav-links a {
    font-size: 0.95rem;
    padding: 0.5rem;
  }
  
  .toast {
    left: auto;
    right: 20px;
    max-width: 320px;
    text-align: left;
  }
  
  .profile-photo {
    width: 280px;
    height: 340px;
  }
  
  .quick-card {
    min-width: 180px;
  }
}

@media (min-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero h1 {
    font-size: 3.2rem;
  }
}