:root {
  --bg: #0f172a;
  --text: #e2e8f0;
  --accent: #38bdf8;
  --card: #1e293b;
  font-family: 'Segoe UI', Arial, sans-serif;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

header.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--card);
  padding: 10px 20px;
  position: sticky;
  top: 0;
}

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

nav a {
  color: var(--text);
  margin: 0 10px;
  text-decoration: none;
}

.hero {
  text-align: center;
  padding: 50px 20px;
}

.profile {
  width: 120px;
  height: 120px;
  border-radius: 50%;
}

.highlight { color: var(--accent); }
/* About Section */
.about-section {
  background-color: #0b1120;
  color: #e6e6e6;
  padding: 60px 20px;
  border-radius: 15px;
  margin: 50px auto;
  width: 90%;
  max-width: 1000px;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

/* Title */
.about-title {
  text-align: center;
  font-size: 2rem;
  color: #58a6ff;
  font-weight: 700;
  margin-bottom: 30px;
  border-bottom: 2px solid #58a6ff;
  display: inline-block;
  padding-bottom: 6px;
}

/* Paragraphs */
.about-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #c9d1d9;
  margin-bottom: 20px;
  text-align: justify;
}

/* Highlights */
.highlight {
  color: #58a6ff;
  font-weight: 600;
  position: relative;
}

/* Subtle glow effect for highlights */
.highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #58a6ff, transparent);
  animation: glow 2s infinite linear;
}

/* Animation */
@keyframes glow {
  0% { opacity: 0; transform: translateX(-100%); }
  50% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(100%); }
}
/* Home Section */
.home-section {
  background-color: #0b0f19;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  min-height: 90vh;
  padding: 80px 20px;
  font-family: "Poppins", sans-serif;
}

/* Left Content */
.home-content {
  flex: 1 1 450px;
  max-width: 600px;
}

.home-content h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.highlight {
  color: #00e0ff;
}

.tagline {
  font-size: 1.1rem;
  color: #c9d1d9;
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 30px;
}

/* Buttons */
.home-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn-primary,
.btn-outline {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: transparent;
  border: 2px solid #00e0ff;
  color: #00e0ff;
}

.btn-primary:hover {
  background-color: #00e0ff;
  color: #0b0f19;
}

.btn-outline {
  background-color: #00e0ff;
  color: #0b0f19;
  border: 2px solid #00e0ff;
}

.btn-outline:hover {
  background-color: transparent;
  color: #00e0ff;
}

/* Profile Image */
.home-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.glow-circle {
  position: relative;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(0, 224, 255, 0.4) 0%, transparent 70%);
  animation: glow 3s ease-in-out infinite alternate;
}

.glow-circle img {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00e0ff;
}

/* Glow Animation */
@keyframes glow {
  from {
    box-shadow: 0 0 25px rgba(0, 224, 255, 0.5);
  }
  to {
    box-shadow: 0 0 45px rgba(0, 224, 255, 0.9);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .home-section {
    flex-direction: column-reverse;
    text-align: center;
    padding: 60px 20px;
  }

  .home-content h1 {
    font-size: 2rem;
  }

  .glow-circle {
    width: 220px;
    height: 220px;
  }

  .glow-circle img {
    width: 190px;
    height: 190px;
  }
}


/* Skills Section */
.section {
  background-color: #0b1120;
  color: #e6e6e6;
  padding: 60px 20px;
  border-radius: 15px;
  margin: 50px auto;
  width: 90%;
  max-width: 1100px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: #58a6ff;
  font-weight: 700;
  margin-bottom: 40px;
  border-bottom: 2px solid #58a6ff;
  display: inline-block;
  padding-bottom: 5px;
}

/* Skill Cards Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* Each Card */
.skill-card {
  background-color: #161b2e;
  padding: 25px 20px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid #58a6ff;
}

/* Card Headings */
.skill-card h3 {
  color: #58a6ff;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Card Paragraphs */
.skill-card p {
  color: #c9d1d9;
  font-size: 0.95rem;
  line-height: 1.5;
}


/* Projects Section */
.section {
  background-color: #0b1120;
  color: #e6e6e6;
  padding: 60px 20px;
  border-radius: 15px;
  margin: 50px auto;
  width: 90%;
  max-width: 1100px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.section-title {
  text-align: left;
  font-size: 1.8rem;
  font-weight: 700;
  color: #e6e6e6;
  margin-bottom: 20px;
}

/* Container for Cards */
.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #11172b;
  border-radius: 15px;
  padding: 25px;
  gap: 20px;
}

/* Individual Project Card */
.project-card {
  background-color: #161b2e;
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(88, 166, 255, 0.4);
  border: 1px solid #58a6ff;
}

.project-card h3 {
  color: #58a6ff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.project-card p {
  color: #c9d1d9;
  font-size: 0.95rem;
  line-height: 1.5;
}
/* Contact Section */
.section {
  background-color: #0b1120;
  color: #e6e6e6;
  padding: 60px 20px;
  border-radius: 15px;
  margin: 50px auto;
  width: 90%;
  max-width: 1100px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.section-title {
  text-align: left;
  font-size: 1.8rem;
  font-weight: 700;
  color: #e6e6e6;
  margin-bottom: 25px;
}

/* Container */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 25px;
  background-color: #11172b;
  padding: 25px;
  border-radius: 15px;
}

/* Individual Contact Card */
.contact-card {
  background-color: #161b2e;
  flex: 1 1 250px;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(88, 166, 255, 0.4);
  border: 1px solid #58a6ff;
}

/* Icons */
.contact-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  filter: invert(60%) sepia(100%) saturate(200%) hue-rotate(180deg) brightness(90%) contrast(90%);
}

/* Titles */
.contact-card h3 {
  color: #58a6ff;
  margin-bottom: 8px;
}

/* Text Links */
.email-link, .phone-link {
  color: #c9d1d9;
  text-decoration: none;
  font-size: 0.95rem;
}

.email-link:hover, .phone-link:hover {
  color: #58a6ff;
  text-decoration: underline;
}

/* Contact / Footer Section */
.footer-section {
  background-color: #0b1120;
  color: #e6e6e6;
  text-align: center;
  padding: 50px 20px 20px;
  font-family: "Poppins", sans-serif;
  border-top: 1px solid #222;
}

.footer-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #00e0ff;
  margin-bottom: 20px;
}

/* Links */
.footer-section a {
  color: #c9d1d9;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #00e0ff;
}

/* Social Icons */
.social-icons {
  margin: 15px 0;
}

.social-icons a {
  margin: 0 10px;
  display: inline-block;
}

.social-icons img {
  width: 25px;
  height: 25px;
  filter: invert(75%) sepia(100%) saturate(300%) hue-rotate(180deg) brightness(90%);
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
  filter: invert(90%) sepia(100%) saturate(400%) hue-rotate(180deg) brightness(100%);
}

/* Copyright */
.footer-copy {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #888;
}

.profile-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #333;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
