/* ========== Base Styling ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #000;
  line-height: 1.6;
}

/* ========== Header ========== */
header {
  background-color: #000;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

header h1 {
  font-size: 2rem;
}

header p {
  font-size: 1.1rem;
}

/* ========== Navigation ========== */
nav {
  background-color: #d60000;
  text-align: center;
  padding: 1rem 0.5rem;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  padding: 0.5rem 0;
}

nav a:hover {
  text-decoration: underline;
}

/* ========== Sections ========== */
section {
  padding: 2rem 1rem;
  max-width: 960px;
  margin: auto;
}

section h2 {
  color: #d60000;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

section p, section li {
  font-size: 1rem;
}

ul {
  padding-left: 1.5rem;
}

/* ========== About Me Layout ========== */
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem;
}

.profile-photo {
  max-width: 200px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 3px solid #d60000;
  object-fit: cover;
  flex-shrink: 0;
}

/* ========== Experience Job Block ========== */
.job {
  margin-bottom: 2rem;
}

/* ========== Contact & Footer ========== */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

a {
  color: #d60000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.social a {
  margin-right: 10px;
}

/* ========== Mobile Responsive Breakpoints ========== */
@media screen and (max-width: 768px) {
  header h1 {
    font-size: 1.5rem;
  }

  section h2 {
    font-size: 1.3rem;
  }

  nav {
    padding: 0.5rem;
  }

  nav a {
    display: block;
    margin: 5px 0;
  }

  .about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}


  .profile-photo {
    max-width: 100%;
  }

  section {
    padding: 1.5rem 1rem;
  }
}
.download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ff1e1e, #b00020);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(176, 0, 32, 0.4);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

/* Hover effect */
.download:hover {
  background: linear-gradient(135deg, #b00020, #000);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Active click effect */
.download:active {
  transform: scale(0.96);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Glow animation */
.download::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 10%, transparent 30%);
  animation: pulse 3s infinite;
  opacity: 0;
  pointer-events: none;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(0.8); opacity: 0; }
}

/* Download icon styling */
.download svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  transition: transform 0.3s ease;
}

.download:hover svg {
  transform: translateY(3px); /* little bounce effect */
}

/* Container to center the image */
.photo-container {
  text-align: center;
}

/* Profile photo styling */
.profile-photo {
  width: 220px;             /* Adjust size */
  height: 220px;
  object-fit: cover;
  border-radius: 50%;       /* Circular photo */
  border: 6px solid #b00020; /* Red brand border */
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  
  /* Animation */
  animation: float 4s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.profile-photo:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}

/* Floating animation */
@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}
