/* === Root Variables === */
:root {
  --primary-green: #e9692c;
  --dark-bg: #1a1a1a;
  --light-bg: #ffffff;
  --text-dark: #333333;
  --text-light: #ffffff;
  --transition: all 0.3s ease;
}

/* === Base Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: var(--text-dark);
}

/* === Header === */
header {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-green);
}

/* === Sections === */
section {
  padding: 5rem 2rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-box {
  background: #fff;
  padding: 2rem;
  border: 2px solid var(--primary-green, #e55300);
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.modal-box h2 {
  color: var(--primary-green, #e55300);
  margin-bottom: 0.8rem;
}

.username-display {
  margin-bottom: 1rem;
  font-weight: 500;
}

.password-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.password-wrapper input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  cursor: pointer;
}

.modal-box button {
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--primary-green, #e55300);
  background: transparent;
  color: var(--primary-green, #e55300);
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-box button:hover {
  background-color: var(--primary-green, #e55300);
  color: white;
}

.error-msg {
  margin-top: 0.5rem;
  color: red;
  font-size: 0.9rem;
}

  .close-btn {
      position: absolute;
      top: 10px;
      left: 10px;
      font-size: 1.2rem;
      background: none;
      border: none;
      color: #888;
      cursor: pointer;
    }
    .close-btn:hover {
      color: #000;
    }
/* === About === */
#about {
  background: var(--light-bg);
  margin-top: 4rem;
}
#about {
  background: url('Add\ a\ heading.jpg') no-repeat center center/cover;
  margin-top: 4rem;
  padding: 5rem 2rem; /* Adjust the padding if needed */
}
.profile-container {
  display: flex;
  gap: 5rem; /* Previously 4rem */
  align-items: center;
}



.profile-image-wrapper {
  position: relative;
  width: 400px; /* Increased from 340px */
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.decorative-frame {
  position: absolute;
  width: 400px; /* Match the wrapper */
  height: 400px;
  object-fit: contain;
  z-index: 1;
}
.profile-image {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--primary-green);
  background: white;
  z-index: 2;
  transition: box-shadow 0.4s ease, transform 0.3s ease; /* 👈 Glow + Smooth scale */
}

.profile-image:hover {
  box-shadow: 0 0 80px rgba(255, 115, 0, 0.6); /* 🔥 orange glow outside the circle */
  transform: scale(1.05);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}


.bio {
  flex: 1;
}

.bio h1 {
  font-size: 2rem; /* Larger Name */
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.bio h2 {
  font-size: 1.5rem; /* Larger title */
  font-weight: 500;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
}

.bio p {
  font-size: 1.1rem; /* Bigger paragraph */
  line-height: 1.8; /* More spacing between lines */
  color: var(--text-dark);
}


.cv-download-button {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  color: #e55300;
  border: 2px solid #e55300;
  border-radius: 6px;
  background: transparent;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cv-download-button:hover {
  background-color: #e55300;
  color: #fff;
}



/*-------------------------------------------------------------------------------------------------------------/*
/* === Projects === */
#projects {
  background: var(--dark-bg);
  color: var(--text-light);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* was 300px */
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  width: 100%;
}
.head
{
  color:green;
  text-align: center;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-card h3 {
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.project-card p {
  margin-bottom: 0.5rem;
}

.project-card p strong {
  color: var(--primary-green);
  margin-top: 0.5rem;
}

#projects h2 {
  text-align: center;
}

/* === GitHub Links === */
.github-link {
  margin-top: auto;
  padding-top: 1rem;
}

.github-link a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  width: fit-content;
  border: 1px solid transparent;
}

.github-link a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-green);
}

.github-link i {
  font-size: 1.2rem;
  color: var(--primary-green);
}

.github-link span {
  font-size: 0.9rem;
  transition: var(--transition);
}

.github-link a:hover span {
  color: var(--primary-green);
}


/* === INTerrnships === */
/* Root light theme */
:root {
  --background: #f8f9fc;
  --white: #ffffff;
  --text-dark: #111;
  --primary-blue: #3b5bdb;
  --border-radius: 12px;
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

body {
  background-color: var(--background);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border-bottom: 3px solid var(--primary-blue);
  display: inline-block;
  color: var(--text-dark);
}
/*-------------------------------------------------------------------------------------------------------------/*
/* Internship card */
/* Internship card */
.internship {
  display: flex;
  flex-direction: row;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, outline 0.3s ease;
  outline: 2px solid transparent; /* Outline around the card */
}

.internship:hover {
  transform: translateY(-5px); /* Slight lift effect */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); /* Increased shadow effect */
  outline: 2px solid #e9692c; /* Orange outline on hover */
}

.internship .left {
  flex: 1;
  border-right: 1px solid #e0e0e0;
  padding-right: 1rem;
}

.internship .left h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #e9692c; /* Orange text */
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
  text-decoration: underline;
  text-decoration-color: #e9692c; /* Orange underline */
  text-underline-offset: 4px; /* Spacing between text and underline */
}

.internship .left h3:hover {
  color: #cc5117; /* Darker orange on hover */
  text-decoration-color: #cc5117; /* Darker orange underline on hover */
}

.internship .left p {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
}

.internship .right {
  flex: 3;
  padding-left: 1rem;
}

.internship .right h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.internship .right p {
  margin-top: 0.3rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsive design */
@media (max-width: 768px) {
  .internship {
    flex-direction: column;
  }

  .internship .left {
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding-right: 0;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
  }

  .internship .right {
    padding-left: 0;
  }
}

.internship-link {
  text-decoration: none;
  color: inherit;
}

.internship-link .internship {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.internship-link .internship:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.internship-link .internship:hover .left h3 {
  color: #cc5117;
  text-decoration-color: #cc5117;
}


/*-------------------------------------------------------------------------------------------------------------/*

/* === Skills & Certifications === */
#skills-certifications {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 4rem 0;
}

.split-container {
  display: flex;
  gap: 4rem;
  margin-top: 3rem;
}

.skills-container,
.certifications-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#skills-certifications h2 {
  text-align: center;
}

h3 {
  margin-bottom: 0.5rem;
}

.fas {
  margin-right: 0.5rem;
  color: var(--primary-green);
}

.skill-bar,
.cert-bar {
  background: rgba(255, 255, 255, 0.1);
  height: 10px;
  border-radius: 5px;
  margin-top: 0.5rem;
  position: relative;
}

.skill-progress,
.cert-progress {
  height: 100%;
  background: var(--primary-green);
  border-radius: 5px;
  width: 0;
  transition: width 1s ease-in-out;
  position: relative;
}

.progress-text {
  position: absolute;
  right: 0;
  top: -25px;
  font-size: 0.9rem;
  color: var(--primary-green);
}

.cert-issuer,
.skill-tools {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
/* === Platforms Section === */
.platforms-container {
  margin-top: 3rem;
  text-align: center;
}

.platform-logos {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.platform-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Optional hover effect for a nice feel */
.platform-logo:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 255, 100, 0.5);
}


/* === Animation === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Progress Widths === */
.skill-progress[data-progress="90"] { width: 90%; }
.skill-progress[data-progress="85"] { width: 85%; }
.skill-progress[data-progress="80"] { width: 80%; }
.skill-progress[data-progress="75"] { width: 75%; }
.skill-progress[data-progress="70"] { width: 70%; }
.skill-progress[data-progress="65"] { width: 65%; }
.cert-progress[data-progress="100"] { width: 100%; }
.cert-progress[data-progress="80"] { width: 80%; }
.cert-progress[data-progress="75"] { width: 75%; }
/*-------------------------------------------------------------------------------------------------------------/*

/* === Achievements === */



#achievements {
  background: var(--light-bg);
  color: var(--text-dark);
  padding: 5rem 2rem;
}

#achievements h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-green);
  position: relative;
}

#achievements h2 i {
  margin-right: 10px;
  font-size: 2.5rem;
  color: var(--primary-green);
  animation: trophy-shine 2s infinite;
}

.achievements-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.achievement-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.15);
}

.icon {
  background: #f0f0f0;
  padding: 0.7rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon i {
  font-size: 1.5rem;
  color: var(--primary-green);
}

.content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text-dark);
}

.content p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

@keyframes trophy-shine {
  0% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
  100% { transform: rotate(-10deg); }
}


/*-------------------------------------------------------------------------------------------------------------/*

/* === Publicartions === */

#publications{
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 4rem 02rem;
  align-content: center;
}

#publications h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  font-weight: bold;
  position: relative;
  color:#e9692c;
}

#publications h2 i {
  margin-right: 10px;
  font-size: 2rem;
  color: #e55300; 
  animation: trophy-shine 2s infinite;
}

.publications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 1rem;
}
.publications-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid #000;
}.publications-icon {
  background: #f8f9fa;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.publications-icon i {
  font-size: 1.5rem;
  color:#e9692c;
}

.publications-content {
  flex-grow: 1;
}

.publications-date {
  display: block;
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}
.publications-content p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
}
.publications-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  border-color: #333;
}
@keyframes trophy-shine {
  0% { transform: rotate(-15deg); }
  50% { transform: rotate(15deg); }
  100% { transform: rotate(-15deg); }
}



/*-------------------------------------------------------------------------------------------------------------/*
/* === Contact === */

/* === Contact Section === */
#contact {
  background: var(--white);
  color: var(--text-dark);
  padding: 5rem 2rem;
}


#contact h2 {
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-green);
  font-size: 2.5rem; /* 👈 Increased size */
}


#contact h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background: var(--primary-green);
  border-radius: 2px;
}


.contact-intro {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.contact-boxes {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.contact-box {
  background-color: var(--white);
  color: var(--text-dark);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 340px;
  position: relative;
  overflow: hidden;
  border: 2px solid #000;
}

.contact-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.contact-content h4 {
  margin: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--primary-green);
}

.contact-box i {
  font-size: 1.8rem;
  color: var(--primary-green);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.contact-box:hover i {
  transform: scale(1.2);
}

.contact-box a {
  
  text-decoration: none;
  color: var(--primary-green);
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.contact-box:hover a {
  color: var(--primary-green);
}
/* === Contact Form Styling === */
.contact-form {
  max-width: 700px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-form input,
.contact-form textarea {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  outline: none;
  font-family: inherit;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #e55300;
  box-shadow: 0 0 0 3px rgba(229, 83, 0, 0.15);
}

.contact-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 150px;
}

.contact-form button {
  align-self: center;
  padding: 0.7rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  color: #e55300;
  border: 2px solid #e55300;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-form button:hover {
  background-color: #e55300;
  color: #fff;
}


/*-------------------------------------------------------------------------------------------------------------/*

/* === Social Links Contact === */
/* === Social Links Contact === */
.social-links-contact {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.social-links-contact a {
  font-size: 2.5rem; /* Increased size */
  color: var(--primary-green);
  transition: color 0.3s ease;
}

.social-links-contact a:hover {
  color: #e55300; /* Slightly darker orange on hover */
}

/* === Location text === */
.contact-location {
  text-align: center;
  margin-top: 1rem;
  font-size: 1rem;
  color: #666;
}

/* === Animation === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/*-------------------------------------------------------------------------------------------------------------/*

/* === Footer === */
footer {
  background-color: #111;
  padding: 1.5rem 0;
  text-align: center;
  color: var(--text-light);
  position: relative;
}

footer .container {
  position: relative;
  z-index: 1;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  padding: 0 1rem;
}

footer p:before,
footer p:after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--primary-green);
}

footer p:before {
  left: -30px;
}

footer p:after {
  right: -30px;
}

/* === Social === */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  color: var(--primary-green);
  font-size: 1.5rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: black;
}

/* === Responsive === */
@media (max-width: 768px) {
  .profile-container {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    display: none;
  }

  .split-container {
    flex-direction: column;
    gap: 3rem;
  }

  .achievements-grid {
    grid-template-columns: 1fr;
  }

  .achievement-card {
    padding: 1rem;
  }
}
