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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f7f9fc;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- Layout ---------- */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
}

/* ---------- Header ---------- */
header {
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
}

header .container {
  text-align: center;
}

header h1 {
  font-size: 2.2rem;
  color: #1f2d3d;
  margin-bottom: 6px;
}

header p {
  color: #6b7a8c;
  margin-bottom: 12px;
}

.back-button {
  display: inline-block;
  padding: 10px 14px;
  background: #0b84ff;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.back-button:hover {
  background: #086bd0;
  transform: translateY(-1px);
}

/* ---------- Highlight (Hero) ---------- */
.highlight .container {
  text-align: center;            /* Center text inside highlight */
}

.cover {
  /* Center the hero image */
  margin: 20px auto;             /* <-- this centers the image horizontally */
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
  max-height: 520px;
  width: 100%;
  object-fit: cover;             /* Keeps nice crop across sizes */
}

.highlight h2 {
  font-size: 1.9rem;
  color: #0f314a;
  margin-top: 16px;
}

.highlight p {
  max-width: 850px;
  margin: 12px auto 0;
  color: #4f5d6b;
}

/* ---------- Gallery ---------- */
.gallery h3,
.experience h3 {
  text-align: center;
  font-size: 1.6rem;
  color: #0f314a;
  margin-bottom: 16px;
}

.gallery .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.gallery img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
}

.gallery img:hover {
  transform: scale(1.02);
}

/* ---------- Experience ---------- */
.experience p {
  max-width: 900px; 
  margin: 0 auto;
  background: #fff;
  border: 1px solid #eef1f5;
  border-left: 5px solid #0b84ff;
  padding: 18px 20px;
  border-radius: 10px;
  color: #3c4a59;
}
/* ---------- Tips Section ---------- */

.tips-center {
  text-align: center;
  max-width: 900px; /* ---------- changed to 900 from 700  ---------- */
  margin: 0 auto;
  margin-bottom: 25px; /* ---------- yha se khud se change kiya gya hai, experience section se inspire hoke ---------- */
  margin-top: 25px;
  background: #fff;
  border: 1px solid #eef1f5;
  border-left: 5px solid #0b84ff;
  padding: 18px 20px;
  border-radius: 10px;
  color: #3c4a59; /* ---------- yaha tak ---------- */
}

.tips-center ul {
  list-style: none;
  padding: 0;
}

.tips-center li {
  margin: 10px 0;
  font-size: 1rem;
  line-height: 1.6;
}
/* ---------- Tips Section End ---------- */


/* ---------- Footer ---------- */
  .footer {
    margin-top: 50px;
    padding: 30px 20px 15px;
    background: #f2f2f2;
    border-top: 1px solid #ddd;
  }
  .footer-container { display:flex; flex-wrap:wrap; justify-content:space-between; gap:20px; }
  .footer-left h2 { margin:0; font-size:20px; color:#004080; }
  .footer-left p { margin:6px 0 0; font-size:14px; color:#444; }
  .footer-links, .footer-socials { display:flex; gap:16px; flex-wrap:wrap; }
  .footer-links a, .footer-socials a { font-size:14px; color:#004080; transition: color 0.3s ease; }
  .footer-links a:hover, .footer-socials a:hover { color:#0073e6; }
  .footer-bottom { margin-top:20px; text-align:center; font-size:13px; color:#555; border-top:1px solid #ccc; padding-top:10px; }

/* ---------- Responsive Tweaks ---------- */
@media (max-width: 900px) {
  .cover {
    max-height: 420px;
  }
}

@media (max-width: 600px) {
  header h1 {
    font-size: 1.8rem;
  }

  .highlight h2 {
    font-size: 1.5rem;
  }

  .experience p {
    font-size: 1rem;
  }

  .back-button {
    font-size: 0.95rem;
    padding: 9px 12px;
  }
}
