/* ===============================
   GLOBAL COLOR PALETTE (ENFORCED)
   =============================== */
:root {
  --bg-dark: #061E29;
  --accent-dark: #1D546D;
  --muted: #5F9598;
  --text-light: #F3F4F4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
}

/* ===============================
   HERO SECTION
   =============================== */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
}

.hero-content {
  max-width: 500px;
}

/* NEW: Profile image styling */
.hero-profile-image {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-profile-image img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-dark);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.hero h2 {
  color: var(--muted);
  margin: 0.5rem 0;
}

/* ===============================
   BUTTONS (MOBILE FIXED)
   =============================== */
.hero-buttons {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Shared button base */
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px; /* Android touch target */
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

/* Explicit classes for bug fix */
.view-project {
  background: var(--accent-dark);
  color: var(--text-light);
}

.download-cv {
  border: 2px solid var(--muted);
  color: var(--muted);
}

.btn:hover {
  transform: translateY(-2px);
}

/* ===============================
   SECTIONS
   =============================== */
section {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 2rem;
}

/* ===============================
   SKILLS
   =============================== */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.skills-grid span {
  background: var(--accent-dark);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
}

/* ===============================
   PROJECTS
   =============================== */
.project-card {
  background: var(--accent-dark);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2rem;
}

.image-placeholder {
  background: #05141c;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
}

.project-info {
  padding: 1.5rem;
}

.tech-stack span {
  background: #05141c;
  padding: 0.3rem 0.7rem;
  border-radius: 12px;
  font-size: 0.8rem;
}

/* ===============================
   ABOUT ME CARD
   =============================== */
.about-content-card {
  background: rgba(29, 84, 109, 0.85);
  padding: 2rem;
  border-radius: 14px;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

/* ===============================
   FOOTER / CONTACT
   =============================== */
.contact {
  background: #05141c;
  text-align: center;
  padding: 3rem 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-links a {
  font-size: 1.6rem;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  color: var(--text-light);
  transform: translateY(-3px);
}

/* Footer styling */
footer {
  background-color: #061E29;   /* Dark primary background */
  color: #F3F4F4;              /* Light text */
  padding: 20px 30px;           /* Top/bottom & side padding */
  font-family: Arial, sans-serif;
  font-size: 12px;             /* Small letters */
  text-align: left;            /* Align text to the left */
  line-height: 1.5;            /* Spacing between lines */
}

footer p {
  margin: 5px 0;               /* Small spacing between paragraphs */
  text-transform: lowercase;   /* Make all text small letters */
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 768px) {
  .project-card {
    grid-template-columns: 1fr;
  }

  .hero-profile-image img {
    width: 120px;
    height: 120px;
  }
}







