/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #ffffff;
  color: #0f172a;
  line-height: 1.6;
}

/* HEADINGS */
h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: #38bdf8;
}

/* ================= HERO ================= */
.hero {
  padding: 80px 8%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
}

.hero-text span {
  color: #38bdf8;
}

.hero-subtitle {
  margin: 16px 0 36px;
  font-weight: 700;
  font-size: 1.1rem;
  max-width: 720px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.profile-pic {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 4px solid #38bdf8;
  object-fit: cover;
}

/* ================= BUTTONS ================= */
.btn {
  padding: 12px 26px;
  border-radius: 30px;
  background: #38bdf8;
  text-decoration: none;
  font-weight: 600;
  color: #020617;
}

.btn.secondary {
  background: transparent;
  border: 2px solid #38bdf8;
  color: #38bdf8;
}

/* ================= SECTIONS ================= */
section {
  padding: 0 10%;
  margin: 60px 0;
}

/* ================= SKILLS ================= */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.skill-card {
  width: 160px;
  height: 120px;
  background: #f1f5f9;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.skill-card i {
  font-size: 34px;
  color: #38bdf8;
  margin-bottom: 8px;
}

.skill-card:hover {
  transform: translateY(-6px);
}

/* ================= CARDS ================= */
.project-card,
.experience-card,
.about-card,
.cert-card {
  background: #f8fafc;
  border-radius: 18px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover,
.experience-card:hover,
.about-card:hover,
.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.company-logo {
  height: 28px;
  margin-right: 10px;
}

/* ================= CERTIFICATIONS ================= */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.cert-card {
  height: 220px;
  text-align: center;
  text-decoration: none;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.cert-card i {
  font-size: 46px;
  color: #38bdf8;
}

.oracle-icon {
  font-size: 64px;
}

.cert-card p {
  font-size: 0.9rem;
  color: #475569;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 35px;
  border-top: 1px solid #e2e8f0;
}

.contact-icons i {
  font-size: 36px;
  margin: 0 15px;
  color: #0f172a;
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-icons i:hover {
  color: #38bdf8;
  transform: scale(1.15);
}

/* ================= ANIMATION ================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= MOBILE FIX ================= */
@media (max-width: 768px) {

  .hero {
    grid-template-columns: 1fr;
    text-align: left;
    min-height: auto;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-buttons a {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

  section {
    padding: 0 8%;
  }
}
