/* =========================
   GLOBAL RESET
========================= */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background: #f4f4f9;
  color: #000;
}

/* =========================
   HEADER
========================= */
.site-header {
  background: #001f4d;
  border-bottom: 4px solid #b8860b;
  color: #fff;
  position: relative;
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px 20px;
}

.logo h1 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  -webkit-text-stroke: 1px #b8860b;
}

.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 12px;
  border-left: 1px solid rgba(255,255,255,0.3);
  border-right: 1px solid rgba(255,255,255,0.3);
}

.nav a:hover {
  color: #ffd700;
}

.profile-pic img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid #b8860b;
  object-fit: cover;
}

/* MOBILE MENU */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav { display: none; flex-direction: column; background: #001f4d;
    width: 100%; position: absolute; top: 100%; left: 0; padding: 12px 0;
    border-top: 2px solid #b8860b; z-index: 999;
  }
  .nav.active { display: flex; }
  .nav a { width: 100%; text-align: center; border: none; padding: 10px 0; }
  .site-header-inner { padding: 12px 16px; }
  .profile-pic img { width: 52px; height: 52px; }
}

/* =========================
   BANNER
========================= */
.global-banner img, .full-banner img {
  width: 100%;
  display: block;
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 70px 20px 50px; /* increased top space */
  border-bottom: 3px solid #b8860b;
  background: #fff;
  color: #000;
}

.white-bg { background: #fff; }
.gray-bg { background: #f4f4f9; }

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #001f4d;
  font-weight: 700;
  position: relative;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background: #b8860b;
  display: block;
  margin: 10px auto 0;
}

/* =========================
   INTRO GRID
========================= */
.intro-grid {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 20px;
  align-items: center;
}

.intro-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.intro-photo img {
  width: 100%;
  max-width: 220px;
  border: 4px solid #b8860b;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .intro-grid { grid-template-columns: 1fr; text-align: center; }
  .intro-photo { margin-top: 14px; }
}

/* =========================
   3-COLUMN GRID
========================= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border: 2px solid #b8860b;
  padding: 20px;
  text-align: center;
  color: #000;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* =========================
   ABOUT TEXT
========================= */
.about-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: #001f4d;
  border-top: 4px solid #b8860b;
  color: #fff;
  padding-top: 20px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 120px 1fr 150px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 20px;
  gap: 30px;
}

.footer-left img {
  width: 90px; height: 90px; border-radius: 50%;
  border: 3px solid #FFD700; object-fit: cover;
}

.footer-center p {
  margin: 0; font-style: italic; text-align: center;
}

.footer-right {
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}

.footer-right a {
  color: #fff; text-decoration: none; font-weight: 600;
}

.footer-bottom {
  background: #000; color: #aaa; text-align: center; padding: 12px 0;
}

.footer-bottom strong { color: #FFD700; }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
}

/* =========================
   SKILLS PAGE
========================= */
.skills-page { margin-top: 40px; }

.skill-section {
  max-width: 1100px;
  margin: 0 auto 30px;
  padding: 30px 25px;
  background: #fff;
  border: 2px solid #b8860b;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
}

.skill-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.skill-icon {
  width: 55px;
  height: 55px;
  border-radius: 10px;
  object-fit: contain;
}

.skill-heading {
  font-size: 1.5rem;
  color: #001f4d;
  margin: 0;
  font-weight: 700;
  border-bottom: 3px solid #b8860b;
  display: inline-block;
  padding-bottom: 5px;
}

.skill-content p {
  margin-top: 12px;
  line-height: 1.7;
  color: #444;
}

.top-spacing {
    margin-top: 40px;
}

.section-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.skill-box {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    border: 2px solid #e7e7e7;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.skill-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 18px rgba(0,0,0,0.09);
}

.skill-title {
    font-size: 26px;
    font-weight: 700;
    color: #d92778; /* Pink shade */
    margin: 0;
}

/* Mobile Responsive Skills */
@media (max-width: 768px) {
    .skill-box { padding: 20px; margin: 25px 15px; }
    .skill-title { font-size: 22px; }
    .skill-icon { width: 45px; height: 45px; }
}

/* =========================
   EXPERIENCES PAGE
========================= */
.experience-box {
    max-width: 900px;
    margin: 25px auto;
    padding: 20px 25px;
    background: #fff;
    border: 2px solid #b8860b;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.experience-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.09);
}

.experience-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.experience-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

.experience-info {
    display: flex;
    flex-direction: column;
}

.experience-title {
    font-size: 1.4rem;
    color: #001f4d;
    font-weight: 700;
    margin: 0;
}

.experience-company {
    font-size: 1rem;
    color: #4b3b8f;
    font-weight: 600;
    margin: 2px 0;
}

.experience-duration {
    font-size: 1rem;
    color: #b8860b;
    font-weight: 500;
}

.experience-box p {
    margin-top: 10px;
    color: #222;
    line-height: 1.6;
}

/* Mobile Responsive Experiences */
@media (max-width: 768px) {
    .experience-box { padding: 20px; margin: 20px 15px; }
    .experience-top { flex-direction: row; gap: 12px; flex-wrap: wrap; }
    .experience-icon { width: 30px; height: 30px; min-width: 30px; min-height: 30px; }
    .experience-title { font-size: 1.3rem; }
    .experience-company { font-size: 0.95rem; }
    .experience-duration { font-size: 0.9rem; }
}

/* =========================
   SKILLS GRID (Personality Sections)
========================= */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-box {
    background: #fff;
    border: 2px solid #b8860b;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.skill-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.09);
}

.skill-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #001f4d;
    margin-bottom: 10px;
}

.skill-box p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

/* =========================
   HOBBIES GRID 2x2 Layout
========================= */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 in a row */
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.hobby-icon {
    width: 50px;  /* smaller icon */
    height: 50px;
    object-fit: contain;
    display: block;
    margin-bottom: 12px;
}

/* Card styling reused */
.card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 8px 0;
    color: #001f4d;
}

.card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Mobile Responsive Hobbies & Skills */
@media (max-width: 768px) {
    .skills-grid, .hobbies-grid {
        grid-template-columns: 1fr; /* stack vertically */
    }

    .hobby-icon {
        width: 40px;
        height: 40px;
    }

    .skill-title {
        font-size: 1.2rem;
    }

    .card h4 {
        font-size: 1rem;
    }

    .card p, .skill-box p {
        font-size: 0.9rem;
    }
}


