/* GLOBAL SETTINGS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: #f2f4ff;
    color: #222;
}

h1, h2, h3, .logo {
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f2f4ff;
    color: #222;
}

/* Center all section headings */
section h2 {
    text-align: center;
    width: 100%;
    font-size: 34px;
    margin-bottom: 15px;
    margin-top: 0;
}

/* HEADER */
header {
    width: 100%;
    padding: 18px 40px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 42px;
    font-weight: bold;
    color: #053b9a;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #222;
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: #005eff;
    transform: translateY(-3px);
}

/* HERO */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #0034b3, #005eff, #4db8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: white;
    gap: 50px;
}

.hero-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-img {
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    border: 5px solid yellow;
    transition: 0.4s ease;
}

.profile-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.hero-right {
    flex: 1;
    text-align: left;
}

.hero-right h2 {
    font-size: 50px;
}

.hero-right p {
    font-size: 22px;
    margin: 20px 0;
    width: 90%;
}

/* BUTTONS */
.btn {
    padding: 12px 28px;
    background: #ffdf00;
    color: black;
    border-radius: 12px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    margin-right: 15px;
    transition: 0.3s;
    display: inline-block;
}

.btn:hover {
    background: #ffe74a;
    transform: translateY(-4px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}

/* SOCIAL LINKS */
.social-links {
    margin-top: 30px;
    margin-bottom: 10px;
}

.social-links a {
    margin-right: 20px;
    color: white;
    font-size: 22px;
    text-decoration: underline;
    transition: 0.3s;
}

.social-links a:hover {
    color: yellow;
    transform: translateY(-3px);
}

/* SECTIONS ANIMATION */
section {
    padding: 30px 40px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.2s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about {
    animation-delay: 0.2s;
}

.experience {
    animation-delay: 0.4s;
}

.projects {
    animation-delay: 0.6s;
}

.skills {
    animation-delay: 0.8s;
}

.contact {
    animation-delay: 1s;
}

/* ABOUT */
.about p {
    font-size: 22px;
    width: 75%;
    margin: auto;
}

/* EXPERIENCE + PROJECTS */
.exp-card,
.project-card {
    background: white;
    padding: 28px;
    border-radius: 14px;
    width: 80%;
    margin: 18px auto;
    box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.12);
    transition: 0.35s ease;
}

/* ✅ PROJECT CARD PROFESSIONAL LAYOUT */
.project-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.project-card h3 {
    font-size: 22px;
}

.project-card p {
    font-size: 18px;
    line-height: 1.6;
}

/* Project button – professional control */
.project-card .btn {
    align-self: flex-start;
    margin-top: 10px;
    font-size: 18px;
    padding: 10px 24px;
}

/* Hover effect */
.exp-card:hover,
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 16px 30px rgba(0, 0, 0, 0.2);
}

/* EXPERIENCE LIST */
.exp-card ul {
    margin-left: 20px;
    font-size: 18px;
}

/* SKILLS */
.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    width: 80%;
    margin: auto;
}

.skill-grid span {
    background: #dfe7ff;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

/* CONTACT */
.contact {
    text-align: center;
}

.contact-icons {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 35px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: 0.2s ease;
}

.contact-icon:hover {
    transform: scale(1.2);
    filter: brightness(1.15);
}

/* FOOTER */
footer {
    background: #053b9a;
    color: white;
    text-align: center;
    padding: 18px;
    margin-top: 20px;
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        height: auto;
    }

    .hero-right {
        text-align: center;
    }

    .project-card .btn {
        align-self: center;
    }

    .profile-img {
        width: 240px;
        height: 300px;
    }

    .hero-right h2 {
        font-size: 36px;
    }

    nav a {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 28px;
    }

    nav a {
        font-size: 14px;
    }

    .profile-img {
        width: 200px;
        height: 260px;
    }

    .hero-right h2 {
        font-size: 30px;
    }

    .hero-right p {
        font-size: 18px;
    }
}

/* ABOUT ANIMATION (JS SAFE) */
.animate-about {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 700ms ease-out, transform 700ms ease-out;
}

.animate-about.visible {
    opacity: 1;
    transform: translateY(0);
}
/* HERO TITLE ALIGNMENT FIX */
.hero-title {
    font-size: 50px;
    line-height: 1.25;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-title span {
    display: inline-block;
}

.hero-title .amp {
    font-size: 42px;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .hero-title {
        justify-content: center;
        text-align: center;
    }
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 20px 0 30px;
}

.kpi-card {
  background: #f8fafc;
  border-left: 5px solid #2563eb;
  padding: 20px;
  border-radius: 6px;
  text-align: center;
}

.kpi-card h3 {
  margin: 0;
  font-size: 28px;
  color: #0f172a;
}

.kpi-card p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #475569;
}
.btn-d {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 14px 26px;
  margin-top: 24px;

  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;

  border-radius: 50px;
  text-decoration: none;
  border: none;

  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
  transition: all 0.3s ease;
}

.btn-d:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
}

.btn-d:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}
/* ============================
   Mobile Responsiveness
   ============================ */
@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  .header {
    padding: 22px 15px;
  }

  .header h1 {
    font-size: 22px;
    line-height: 1.3;
  }

  .header p {
    font-size: 14px;
  }

  .content {
    padding: 22px 16px;
    margin: 20px 10px;
  }

  h2 {
    font-size: 18px;
    margin-top: 28px;
  }

  p,
  li {
    font-size: 14px;
    line-height: 1.6;
  }

  /* KPI grid stacks cleanly */
  .kpi-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .kpi-card h3 {
    font-size: 22px;
  }

  /* PDF iframe mobile fix */
  iframe {
    height: 420px;
    border-radius: 8px;
  }

  /* Button touch optimization */
  .btn-download {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 14px 18px;
  }

  /* Reduce footer size */
  .footer {
    font-size: 12px;
    padding: 10px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {

  .header h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 17px;
  }

  iframe {
    height: 360px;
  }
}
.disclaimer {
  background: #f8f8f8;
  border-left: 4px solid #444;
  padding: 15px;
  margin: 20px 0;
  font-size: 0.95rem;
}
.formula {
  background: #ff8c00;
  color: #fff;
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .buttons .btn {
    margin-right: 0;
    width: 80%;
    text-align: center;
  }
}
.contact-section {
  max-width: 600px;
  margin: auto;
  padding: 60px 20px 20px;
}

.contact-section h2 {
  text-align: center;
  font-size: 28px;
}

.contact-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 15px;
}

input, textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #007bff;
}

button {
  width: 100%;
  padding: 12px;
  background-color: #FFEA00;
  color: #00000;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

.form-status {
  text-align: center;
  margin-top: 15px;
  font-weight: 500;
}

.form-status.success {
  color: green;
}

.form-status.error {
  color: red;
}

.direct-contact {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
}

.direct-contact a {
  color: #007bff;
  text-decoration: none;
}

.direct-contact a:hover {
  text-decoration: underline;
}
.floating-social {
    position: fixed;
    top: 65%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 1000;
}

.floating-social a {
    width: 48px;
    height: 48px;
    background: #ffffff;
    color: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-social a:hover {
    transform: scale(1.15);
    color: #fff;
}

/* Brand hover colors */
.floating-social .email:hover {
    background: #ea4335;
}

.floating-social .linkedin:hover {
    background: #0077b5;
}

.floating-social .github:hover {
    background: #000;
}

.floating-social .instagram:hover {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.floating-social .whatsapp:hover {
    background: #25D366;
}
.contact {
    padding: 20px 20px;
    text-align: center;
}

.section-title {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-card {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: #222;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-card i {
    font-size: 25px;
}

.contact-card span {
    font-size: 12px;
    font-weight: 600;
}

.contact-card:hover {
    transform: translateY(-8px);
    color: #fff;
}

/* Brand Colors */
.contact-card.email:hover {
    background: #ea4335;
}

.contact-card.linkedin:hover {
    background: #0077b5;
}

.contact-card.github:hover {
    background: #000;
}

.contact-card.instagram:hover {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.contact-card.whatsapp:hover {
    background: #25d366;
}

