/* =======================
   GLOBAL RESET & VARIABLES
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --bg-main: #050b14;
  --bg-secondary: #0a1220;
  --card-bg: rgba(15, 25, 45, 0.85);
  --blue: #2f80ff;
  --blue-glow: rgba(47, 128, 255, 0.4);
  --text-main: #e6ecff;
  --text-muted: #9fb0ff;
}

body {
  background: linear-gradient(180deg, #030812, #050b14);
  color: var(--text-main);
}

/* =======================
   HEADER / NAVBAR
======================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 10%;
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(5, 11, 20, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(47,128,255,0.1);
}

.logo {
  font-size: 22px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 1px;
}

nav a {
  margin-left: 30px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  transition: 0.3s;
}

nav a:hover {
  color: var(--blue);
}

/* =======================
   HERO SECTION
======================= */
.hero {
  min-height: 100vh;
  padding: 140px 10% 80px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero h4 {
  color: var(--blue);
  letter-spacing: 2px;
  font-weight: 400;
}

.hero h1 {
  font-size: 52px;
  margin: 10px 0;
}

.hero h3 span {
  color: var(--blue);
}

.hero p {
  margin: 20px 0 35px;
  color: var(--text-muted);
  line-height: 1.8;
}

.btn {
  padding: 12px 36px;
  background: linear-gradient(135deg, #2f80ff, #1b5fff);
  border: none;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 0 25px var(--blue-glow);
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px var(--blue);
}

.hero-image-frame img {
  width: 100%;
  border-radius: 20px;
  border: 2px solid rgba(47,128,255,0.4);
  box-shadow: 0 0 50px rgba(47,128,255,0.3);
}

/* =======================
   SECTION TITLES
======================= */
section {
  padding: 100px 10%;
}

section h2 {
  font-size: 38px;
  margin-bottom: 50px;
  text-align: center;
}

section h2 span {
  color: var(--blue);
}

/* =======================
   ABOUT SECTION
======================= */
.about-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.about-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(47,128,255,0.15);
}

.profile-card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
}

.timeline-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

.read-more-btn {
  margin-top: 25px;
}

/* =======================
   CORE EXPERTISE
======================= */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.expertise-card {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 16px;
  border: 1px solid rgba(47,128,255,0.15);
}

.expertise-card h4 {
  margin-bottom: 12px;
}

.progress {
  height: 6px;
  background: #081122;
  border-radius: 10px;
  overflow: hidden;
}

.progress span {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #2f80ff, #5da9ff);
}

/* =======================
   SERVICES
======================= */
.service-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.service-card {
  background: var(--card-bg);
  padding: 35px;
  border-radius: 18px;
  text-align: center;
  border: 1px solid rgba(47,128,255,0.15);
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 35px rgba(47,128,255,0.25);
}

/* =======================
   PROJECTS
======================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.project-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(47,128,255,0.15);
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(47,128,255,0.25);
}

.project-card p {
  margin-top: 10px;
  color: var(--text-muted);
}

.more-projects {
  display: none;
}

.btn-primary {
  margin: 50px auto 0;
  display: block;
  padding: 12px 36px;
  border-radius: 30px;
  background: linear-gradient(135deg, #2f80ff, #1b5fff);
  color: white;
  border: none;
  cursor: pointer;
}

/* =======================
   CONTACT
======================= */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.contact-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(47,128,255,0.15);
}

.contact-icon {
  font-size: 30px;
  margin-bottom: 10px;
}

.contact-card a {
  color: var(--blue);
  text-decoration: none;
}

/* =======================
   FOOTER
======================= */
footer {
  padding: 25px;
  text-align: center;
  background: #02060f;
  color: #7d8cff;
}

/* =======================
   HIRE POPUP
======================= */
.hire-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup-content {
  background: var(--bg-secondary);
  padding: 40px;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  border: 1px solid rgba(47,128,255,0.25);
}

.close-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  cursor: pointer;
  font-size: 22px;
}
