/* File: css/style.css */

body, html {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(to right, #101820, #203040);
  color: white;
  height: 100vh;
  overflow: hidden;
  overflow-x: hidden; /* Prevent horizontal scroll */
  overflow-y: auto;   /* Enable vertical scroll */
  height: auto;
  min-height: 100vh;
}

.intro-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  animation: zoomIn 1s ease;
}

.intro-container h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.intro-container p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.enter-button {
  text-decoration: none;
  padding: 12px 24px;
  background: #ff5959;
  color: white;
  border-radius: 8px;
  transition: background 0.3s;
}

.enter-button:hover {
  background: #d94444;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.delay-1 {
  animation-delay: 1s;
}
.delay-2 {
  animation-delay: 2s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


/* ==== Home Page Specific ==== */
.home-body {
  background: #f8f9fa;
  color: #111;
  font-family: "Segoe UI", sans-serif;
  padding: 20px;
  animation: fadeIn 1s ease;
}

.main-header {
  text-align: center;
  margin-top: 80px;
}

.main-header h1 {
  font-size: 2.8rem;
}

.main-header .highlight {
  color: #ff5959;
}

.main-header p {
  font-size: 1.1rem;
  margin-top: 10px;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #ff5959;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #d94444;
}

.section {
  margin: 60px auto;
  text-align: center;
}

.card-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.card {
  background: white;
  color: #333;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, background 0.3s ease;
}

.card:hover {
  background: #ff5959;
  color: white;
  transform: scale(1.05);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 10px;
  color: #555;
  font-size: 0.9rem;
}


/* ==== About Page Specific ==== */
.about-body {
  background: #fff;
  color: #222;
  padding: 40px 20px;
  font-family: "Segoe UI", sans-serif;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 2.6rem;
  color: #ff5959;
}

.subtitle {
  font-size: 1.2rem;
  color: #555;
}

.about-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.profile-image {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #ff5959;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-text {
  max-width: 600px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #222;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 15px;
}

/* ==== Skills Page Specific ==== */
.skills-body {
  background: #f2f6fc;
  color: #222;
  font-family: "Segoe UI", sans-serif;
  padding: 40px 20px;
}

.skills-section {
  max-width: 1100px;
  margin: auto;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.skill-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.skill-card h3 {
  color: #ff5959;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.skill-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

/* ==== Publication Page Specific ==== */
.publication-body {
  background: #ffffff;
  color: #222;
  font-family: "Segoe UI", sans-serif;
  padding: 40px 20px;
}

.pub-section {
  max-width: 1000px;
  margin: auto;
}

.pub-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

.pub-item {
  background: #f8f8f8;
  padding: 20px 25px;
  border-radius: 10px;
  border-left: 5px solid #ff5959;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.pub-item:hover {
  transform: translateY(-5px);
}

.pub-item h3 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 10px;
}

.pub-item p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 10px;
}

.pub-item a {
  text-decoration: none;
  color: #ff5959;
  font-weight: bold;
}


/* ==== Certificates Page Specific ==== */
.certificates-body {
  background: #f9f9f9;
  color: #111;
  font-family: "Segoe UI", sans-serif;
  padding: 40px 20px;
}

.cert-section {
  max-width: 1000px;
  margin: auto;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.cert-card {
  background: white;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.07);
  border-left: 4px solid #ff5959;
  transition: transform 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-5px);
}

.cert-card h3 {
  font-size: 1.1rem;
  color: #ff5959;
  margin-bottom: 8px;
}

.cert-card p {
  font-size: 0.95rem;
  color: #444;
}

/* ==== Contact Page Specific ==== */
.contact-body {
  background: #eef3f9;
  color: #222;
  font-family: "Segoe UI", sans-serif;
  padding: 40px 20px;
}

.contact-section {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 30px;
}

.contact-form {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
}

.contact-form button {
  background: #ff5959;
  color: white;
  border: none;
  padding: 12px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #d94444;
}

.contact-info {
  flex: 1 1 250px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  font-size: 0.95rem;
  color: #444;
}

.contact-info a {
  color: #ff5959;
  text-decoration: none;
  font-weight: bold;
}


/* ==== Footer Styling ==== */
.site-footer {
  text-align: center;
  background: #222;
  color: #ddd;
  padding: 20px;
  font-size: 0.9rem;
  margin-top: 40px;
  border-top: 4px solid #ff5959;
}

.site-footer p {
  margin: 5px 0;
}
/* ==== Gallery Page Specific ==== */
.gallery-body {
  background: #ffffff;
  color: #222;
  font-family: "Segoe UI", sans-serif;
  padding: 40px 20px;
}

.gallery-section {
  max-width: 1100px;
  margin: auto;
  margin-top: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.section {
  margin: 60px auto;
  text-align: center;
}

.card-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.card {
  background: white;
  color: #333;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, background 0.3s ease;
}

.card:hover {
  background: #ff5959;
  color: white;
  transform: scale(1.05);
}
