/* =====================
   THEME VARIABLES
===================== */
:root {
  --bg: #f4f6f8;
  --text: #222;
  --card: #ffffff;
  --primary: #2563eb;
}

.dark {
  --bg: #0f172a;
  --text: #e5e7eb;
  --card: #1e293b;
}

/* =====================
   GLOBAL RESET
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
}

/* =====================
   HEADER & NAVBAR
===================== */
header {
  background: var(--card);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav a {
  margin-right: 15px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

nav a:hover {
  color: var(--primary);
}

/* =====================
   LAYOUT
===================== */
.container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

/* =====================
   CARDS & BUTTONS
===================== */
.card {
  background: var(--card);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

button {
  padding: 8px 15px;
  border: none;
  border-radius: 6px;
  background: var(--primary);
  color: white;
  cursor: pointer;
}

/* =====================
   CONTACT BUTTONS
===================== */
.contact-buttons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.contact-buttons button {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
}

.contact-buttons button:hover {
  opacity: 0.85;
}

/* =====================
   PROJECT CARDS
===================== */
.project-card {
  transition: transform 0.3s ease;
}

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

.project-card a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

.project-card a:hover {
  opacity: 0.85;
}

/* =====================
   HERO SECTION (FIXED)
===================== */
.hero {
  background:none;
  padding: 100px 20px;
  text-align: center;
  color: #0065d9; /* FIX: dark bg readable text */
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 30px;
}

/* =====================
   HERO BUTTONS
===================== */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn {
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
}

.primary {
  background: var(--primary);
  color: white;
}

.secondary {
  border: 1px solid var(--primary);
  color: var(--primary);
}

/* =====================
   SKILLS & LISTS
===================== */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.skills span {
  background: rgba(37, 99, 235, 0.15);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
}

.devops-list {
  margin-top: 15px;
  padding-left: 20px;
}

.devops-list li {
  margin-bottom: 10px;
}

/* =====================
   ABOUT PAGE (SCOPED SAFE)
===================== */
/* .about-section {
  max-width: 900px;
  margin: 0 auto;
} */
 .about-section {
  max-width: 900px;
  margin: 40px auto 0; /* Increased from 40px */
  padding: 0 20px;
}


.about-intro h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.about-work ul {
  margin-top: 10px;
  padding-left: 20px;
}

.about-work ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.tech-tags span {
  background: rgba(59,130,246,0.15);
  color: #3b82f6;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
}
/* .hero-dp {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--primary);
  object-fit: cover;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.hero-dp:hover {
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .hero-dp {
    width: 120px;
    height: 120px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
}
.hero-dp {
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
} */

.hero-dp {
  width: 150px;
  height: 150px;

  object-fit: cover;

  /* IMPORTANT FIX 👇 */
  object-position: center top;

  border-radius: 50%;
  border: 4px solid var(--primary);

  margin-bottom: 20px;

  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.hero-dp:hover {
  transform: scale(1.05);
  transition: 0.3s ease;
}
.logo {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.5px;
}
.logo:hover {
  opacity: 0.85;
}
.footer {
    
  background: var(--card);
  padding: 30px 20px;
  text-align: center;
  margin-top: 60px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* html, body {
  height: 100%;
} */

/* body {
  display: flex;
  flex-direction: column;
} */
.footer {
  margin-top: auto;
}


.footer p {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-sub {
  opacity: 0.8;
}

.footer-domain {
  font-weight: 500;
  color: var(--primary);
}

.footer-links {
  margin-top: 12px;
}

.footer-links a {
  margin: 0 10px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}




