/* --- Global layout --- */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #0a0f1e;
  color: #fff;
}
main {
  padding-top: 80px; /* Adjust based on navbar height */
}

/* --- NAVBAR STYLES --- */
.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(10, 15, 30, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}
/* Logo styling */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
}

.nav-logo-brand {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px;
  backdrop-filter: blur(8px);
}

.nav-logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-logo:hover {
  color: #38bdf8; /* cyan hover */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
}

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

.nav-links a:hover {
  color: #38bdf8;
}
/* Left side (logo + title) */
.navbar-left {
  display: flex;
  align-items: center;
  gap: 15px; /* space between logo and text */
}

/* Logo style */
.logo {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Brand text beside logo */
.brand-name {
  font-weight: 700;
  color: white;
  font-size: 20px;
  letter-spacing: 1px;
}
/* --- Landing Page --- */
.landing {
  display: flex;
  flex-wrap: wrap;
  height: 100vh;
}
/* --- EXPERIENCE SECTION --- */
.experience {
  padding: 100px 10%;
  background: linear-gradient(145deg, #0f172a, #1e293b);
  color: #00ffff;
  min-height: 100vh;
}

.experience h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #00ffff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.experience-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-card h3 {
  color: #00ffff;
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.experience-card h4 {
  color: #e5e7eb;
  font-weight: 400;
  margin-bottom: 1rem;
}

.experience-card ul {
  margin: 0 0 1rem 1.5rem;
  padding: 0;
}

.experience-card li {
  line-height: 1.7;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.experience-card strong {
  color: #f8fafc;
}
/* --- EXPERIENCE CARD LAYOUT WITH LOGO (CENTER-RIGHT + GLOW) --- */
.card-content {
  display: flex;
  justify-content: space-between;
  align-items: center; /* centers vertically */
  gap: 1.5rem;
  flex-wrap: wrap;
}

.card-text {
  flex: 1 1 70%;
}

.logo-container {
  flex: 1 1 25%;
  display: flex;
  justify-content: flex-end; /* aligns logo to the right */
  align-items: center;
}

.logo-container img {
  max-width: 150px;
  height: auto;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 15px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.logo-container img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
  border-color: rgba(0, 255, 255, 0.4);
}

/* Responsive layout */
@media (max-width: 768px) {
  .card-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .logo-container {
    justify-content: center;
    margin-top: 1rem;
  }
}
/* About Page - Maintain Same Layout Design */

.about-container {
  max-width: 1100px;
  margin: 120px auto;
  padding: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,255,255,0.2);
  backdrop-filter: blur(10px);
}

.about-container h1 {
  text-align: center;
  font-size: 2.5rem;
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
  margin-bottom: 30px;
}

.profile-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.about-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid rgba(0,255,255,0.6);
  box-shadow: 0 0 20px rgba(0,255,255,0.5);
  object-fit: cover;
}

.about-info {
  color: #d9d9d9;
  font-size: 1rem;
  line-height: 1.7;
}

.about-info a {
  color: #00ffff;
  text-decoration: none;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about-text {
  padding: 25px;
  border-radius: 15px;
  border: 1px solid rgba(0,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: #e0e0e0;
  line-height: 1.7;
  transition: all 0.3s ease;
}

.about-text:hover {
  box-shadow: 0 0 15px rgba(0,255,255,0.4);
  transform: translateY(-5px);
}

.about-text h2 {
  color: #00ffff;
  margin-bottom: 10px;
}

.about-text ul {
  padding-left: 20px;
}

.btn-glow {
  display: inline-block;
  padding: 12px 30px;
  background: rgba(0,255,255,0.2);
  color: #00ffff;
  border: 1px solid #00ffff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-glow:hover {
  background: #00ffff;
  color: #000;
  box-shadow: 0 0 20px #00ffff;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-section {
    flex-direction: column;
    text-align: center;
  }

  .about-container {
    margin: 80px 15px;
    padding: 25px;
  }

  .about-text {
    padding: 20px;
  }
}

/* Left: color portrait */
.landing-left {
  flex: 1;
  min-width: 50%;
  overflow: hidden;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Remove grayscale */
  filter: none;
  transition: transform 0.6s ease-in-out;
}

.portrait-img:hover {
  transform: scale(1.03);
}

/* Right: content */
.landing-right {
  flex: 1;
  background: linear-gradient(160deg, #111827 60%, #1f2937 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.landing-content {
  max-width: 550px;
  text-align: left;
}

/* Bold title */
.main-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

/* Glass effect logo box */
.logo-box {
  width: 160px;
  height: 160px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.logo-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
}

.logo-box img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

/* Text & buttons */
.intro-text {
  font-size: 1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-group {
  display: flex;
  gap: 1rem;
}

.glass-btn {
  padding: 0.8rem 1.8rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease-in-out;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #111827;
}
.experience-card:hover {
  transform: translateY(-5px);
  transition: all 0.3s ease;
  border-color: #38bdf8;
  box-shadow: 0 6px 25px rgba(56, 189, 248, 0.3);
}
/* Contact Page Layout */
.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
}

.contact-container {
    width: 100%;
    max-width: 600px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.contact-container:hover {
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.4);
    border-color: rgba(0, 255, 255, 0.3);
}

.contact-container h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2rem;
}

.contact-container p {
    text-align: center;
    margin-bottom: 30px;
    opacity: 0.8;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
    opacity: 0.85;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 10px;
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: 0.3s;
}

input:focus, textarea:focus {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.btn-glow {
    width: 100%;
    padding: 12px;
    background: rgba(0, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(0, 255, 255, 0.4);
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-glow:hover {
    background: rgba(0, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

/* Projects Section */
.projects {
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    color: #00ffff;
    text-shadow: 0 0 12px #00ffff;
    margin-bottom: 10px;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

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

.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.card-date {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 10px;
}

.card-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #ddd;
}

.tech-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    padding: 0;
}

.tech-list li {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.85rem;
    color: #00ffff;
}

/* Glowing border effect */
.glow-border {
    border: 2px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* Project logos */
.logo-container {
    position: absolute;
    top: 15px;
    right: 20px;
}

.logo-container img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 5px;
    border: 1px solid rgba(0, 255, 255, 0.3);
}
