===== Reset and Base =====
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Times New Roman', serif;
  line-height: 1.6;
  background: linear-gradient(to right, #F5F7FA, #EAF1F8);
  color: #2c2c2c;
  min-height: 100vh;
}

/* ===== Layout Containers ===== */
.container,
.containero,
.hero-section,
.content,
.contact-section,
.resume-block {
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, #ffffff, #4a69bd, #dbe4f2);
}

.container,
.containero {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.containero {
  background: linear-gradient(135deg, #ffffff, #dbe4f2, #1a1a40);
}


.about-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 40px;
    background: linear-gradient(to bottom right, #a6c0fe, #f68084);
    border-radius: 20px;
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.about-image, .about-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
    border-radius: 50%;
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 5px solid #eee;
}


/* Section Card Common Styling */
.section-card {
    background: linear-gradient(to right, #a1c4fd, #c2e9fb);
    border-radius: 20px;
    padding: 30px 40px;
    margin: 30px auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    max-width: 1000px;
}

/* Section Titles */
.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

/* Skill Tags Styling */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.skill-tag {
    background-color: #2c3e50;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.skill-tag:hover {
    transform: scale(1.05);
}

/* Certificate list */
.certificate-list {
    list-style: none;
    padding-left: 0;
    color: #222;
}

.certificate-list li::before {
    content: "🎓 ";
    margin-right: 8px;
}

.nav-container{
background: linear-gradient(to right, #a1c4fd, #c2e9fb);
 border-radius: 20px;
    padding: 30px 40px;
    margin: 30px auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    max-width: 1000px;
}

.info-list {
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
}


.info-list li::before {
    content: "✔️ ";
    margin-right: 8px;
}

.site-title {
  white-space: nowrap;
  font-size: 1.5rem;
}


/* ===== Navbar ===== */
.navbar {
   flex-wrap: wrap; 
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 15px 30px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1500;
  max-width: 1000px;
  margin: 0 auto;
}

/* Fix dropdown alignment */
.navbar ul li {
    position: relative;
}

.navbar ul li ul {
    position: absolute;
    top: 100%; /* places dropdown just below the parent */
    left: 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: none;
    padding: 10px 0;
    z-index: 999;
}

.navbar ul li:hover ul {
    display: block;
}


.navbar h1.logo {
  font-size: 2rem;
  font-weight: 700;
  color: #3e4b92;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #2b2b2b;
  font-weight: 600;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: #3e4b92;
  left: 0;
  bottom: -4px;
  transition: width 0.3s ease-in-out;
}

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

/* ===== Dropdown Menu ===== */
.dropdown-menu {
  list-style: none;
  display: none;
  position: absolute;
  z-index: 2000;
  background: #ffffff;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 0.8rem 0;
  min-width: 200px;
  top: 100%;
  left: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu.show {
  display: block;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.2rem;
  color: #2b2b2b;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

.dropdown-menu li a:hover {
  background-color: #f0f0f0;
}

.hero-content {
  max-width: 1000px;
  margin: 40px auto;
  padding: 40px;
  border-radius: 20px;
  background: linear-gradient(to right, #a1c4fd, #c2e9fb);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-img img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  border: 5px solid white;
}

.hero-text {
  flex: 1;
  font-family: 'Segoe UI', sans-serif;
}

.hero-text h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #2e3c6d;
}

.hero-text h2 span {
  color: #1f2f86;
  font-weight: bold;
}

.hero-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #2e3c6d;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.btn:hover {
  background-color: #1f2f86;
}


/* ===== Hero Section ===== */
.hero-section {
  padding: 3rem;
  margin: 2rem 12rem 0 12rem;
  text-align: center;
  color: #2c3e50;
}

.hero-text h2 {
  font-size: 1rem;
  color: #3a3a3a;
  margin-bottom: 1rem;
}

.hero-text span {
  color: #3e4b92;
  font-weight: bold;
}

.hero-text p {
  font-size: 1.2rem;
  color: #555;
  margin-top: 1rem;
}

.hero-img img {
  width: 180px;
  border-radius: 50%;
  margin-top: 2rem;
  border: 6px solid #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ===== About Section ===== */
.about-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1rem;
}

.about-image img {
  width: 235px;
  height: 235px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.about-text {
  max-width: 600px;
  padding: 1rem;
}

/* ===== Skills ===== */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 2rem 0 2rem;
}

.skill-badge {
  padding: 0.6rem 1.2rem;
  background: #3e4b92;
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(62, 75, 146, 0.3);
}

/* ===== Content Section ===== */
section.content {
  padding: 1.5rem 2rem;
  margin: 2rem 12rem 0 12rem;
}

section.content h2,
.projects-intro h2,
.contact-section h2 {
  font-size: 2.5rem;
  color: #3e4b92;
  text-align: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

section.content h3 {
  font-size: 1.5rem;
  background: #eef1fa;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  color: #3e4b92;
  margin-top: 2.5rem;
}

section.content p {
  text-align: justify;
  max-width: 850px;
  margin: 1rem auto;
}

/* ===== Projects ===== */
/* .projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card {
  background-color: #f8ecec;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.project-card h3 {
  color: #3e4b92;
  margin-top: 0.5rem;
}

.projects-intro {
  padding: 1rem;
  background: linear-gradient(to right, #e3edf9, #f3d7d7);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin: 0 auto 2rem auto;
  text-align: center;
}

.projects-intro p {
  font-size: 1.1rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
} */


/* === Projects Section === */

.projects-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
   border-radius: 20px; /* Softer corners */
  background: linear-gradient(to right, #a1c4fd, #c2e9fb);
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
}

.project-card {
  background-color: #fff;
  border-radius: 16px;
   
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.project-card-content {
  padding: 24px;
}

.project-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #2e2e2e;
}

.project-card p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.project-card a {
  margin: 20px;
  display: inline-block;
  text-align: center;
  background-color: #2d3eaa;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
}

.project-card a:hover {
  background-color: #1e2d8a;
}





/* ===== Buttons ===== */
.btn,
.btn-view,
form button {
  background: #3e4b92;
  color: #fff;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn:hover,
.btn-view:hover,
form button:hover {
  background: #2b367f;
  transform: translateY(-4px);
}

/* ===== Contact Section ===== */
.contact-section {
  background: #ffffff;
  padding: 3rem 1rem;
  margin: 2rem auto;
  max-width: 800px;
  text-align: center;
}

.contact-section p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2rem;
}

form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input,
form textarea {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid #ccc;
  background: #ffffff;
  font-size: 1rem;
  transition: 0.3s ease;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: #3e4b92;
  box-shadow: 0 0 0 4px rgba(62, 75, 146, 0.1);
}

/* ===== Footer ===== */
footer {
  background: #ffffffdd;
  backdrop-filter: blur(8px);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  border-top: 1px solid #e0e0e0;
}

/* ===== Info Card & Global Div Styling ===== */
div,
.info-card,
.about-text,
.org-entry {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 20px;
  margin: 20px 0;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

div:hover,
.info-card:hover,
.about-text:hover,
.org-entry:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: #ccc;
}

/* .info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #3e4b92;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
} */

.resume-block h4 {
  color: #1E2A78;
  margin-bottom: 0.5rem;
}

.resume-block p {
  color: #555;
  margin-bottom: 1rem;
}


/* Contact Me Section (matching About section aesthetic) */
.section-card.contact-form {
  background: linear-gradient(to right, #a1c4fd, #c2e9fb);
  padding: 40px;
  margin: 40px auto;
  max-width: 1000px;
  border-radius: 20px;
  color: #030303;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Title & Subtitle */
.section-card.contact-form h2 {
  font-size: 30px;
  margin-bottom: 10px;
  text-align: center;
  color: #080808;
}

.section-card.contact-form p {
  text-align: center;
  margin-bottom: 30px;
  color: #f0f0f0;
  font-size: 16px;
}

/* Input + Textarea Styling */
.section-card.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-card.contact-form input,
.section-card.contact-form textarea {
  padding: 14px 18px;
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid #ccc;
  background-color: #fff;
  color: #333;
  transition: all 0.3s ease;
}

.section-card.contact-form input:focus,
.section-card.contact-form textarea:focus {
  border-color: #f6c667;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(246, 198, 103, 0.3);
  outline: none;
}

/* Button Styling */
.section-card.contact-form button {
  background-color: #f6c667;
  color: #2c3e50;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.section-card.contact-form button:hover {
  background-color: #e1ccec;
  color: #000;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .section-card.contact-form {
    padding: 25px;
  }

  .section-card.contact-form h2 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    text-align: center;
  }

  .navbar a {
    padding: 10px 0;
  }
}
