* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: #4A154B;
  box-sizing: border-box;
}

body {
  background: linear-gradient(90deg, #FFC0CB, #FFB6C1, #FFD1DC);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 20px;
}

a {
  text-decoration: none;
  color: #D6336C; /* Darker pink for better contrast */
  transition: color 0.3s ease;
}

a:hover {
  color: #A0134D; /* Even darker pink for hover */
}

/* Navigation */
nav {
  width: 100%;
  text-align: center;
  background: #FFC0CB; /* Softer pink for navigation background */
  border-radius: 10px;
  padding: 10px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

nav ul {
  list-style-type: none; /* Remove bullets */
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  font-size: 18px;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
  background: #D6336C;
  color: #FFFFFF;
}

/* Header Styling */
#header {
  background: rgba(255, 182, 193, 0.9);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  width: 100%;
  max-width: 800px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Profile Picture Section */
#profile-img {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

#profile-pic {
  width: 200px; /* Fixed width for the image container */
  height: 200px; /* Fixed height for the image container */
  border: 5px solid #D6336C; /* Border directly on the image */
  border-radius: 20px; /* Soft rounded corners */
  object-fit: cover; /* Ensures the image fills the space without stretching */
  object-position: top; /* Aligns the image to show the top part (e.g., your head) */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#profile-pic:hover {
  transform: scale(1.1); /* Slight zoom effect on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* Enhanced shadow on hover */
}

#header h1 {
  font-size: 2rem;
  color: #4A154B;
  margin-bottom: 10px;
}

#header p {
  font-size: 1.2rem;
  color: #4A154B;
}

/* Links Section */
#links {
  width: 100%;
  max-width: 800px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px 0;
}


/* Tile Styles */
.tile {
  background: linear-gradient(145deg, #FFDEE9, #f6a9c1); /* Gradient background for 3D effect */
  border: none; /* Removing flat border */
  border-radius: 15px; /* Smooth rounded edges */
  padding: 20px;
  text-align: center;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2), -4px -4px 8px rgba(255, 255, 255, 0.8); /* 3D inset and highlight shadows */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Tile Text Styles */
.tile h3 {
  font-size: 1.5rem;
  color: #4A154B; /* Deep purple for strong contrast */
  margin-bottom: 10px;
}

.tile p {
  font-size: 1rem;
  color: #4A154B;
}

/* Hover Effect */
.tile:hover {
  transform: translateY(-5px); /* Lifting effect */
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.25), -6px -6px 12px rgba(255, 255, 255, 0.9); /* Deeper shadow for hover */
}

/* Inner Gradient Hover Effect */
.tile:hover {
  background: linear-gradient(145deg, #f6a9c1, #FFDEE9); /* Reverse gradient on hover */
}

/* Text Hover Effect */
.tile h3:hover,
.tile p:hover {
  color: #D6336C; /* Highlighted text color on hover */
}

/* Social Icons */
#social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding-top: 10px;
}

#social-icons a i {
  font-size: 30px;
  color: #D6336C; /* High-contrast pink */
  transition: transform 0.3s ease, color 0.3s ease;
}

#social-icons a i:hover {
  color: #A0134D; /* Darker pink for hover */
  transform: scale(1.2);
}

/* Style for .reg p in costars.html */
.reg {
  text-align: center; /* Center-aligns all text in the .reg section */
  margin: 0 auto; /* Centers the section itself */
  max-width: 800px; /* Restricts the overall width of the content */
  padding: 20px; /* Adds padding around the section for breathing room */
}

.reg p {
  text-align: left; /* Aligns paragraphs to the left for readability */
  margin: 10px 0; /* Adds space between each paragraph */
  line-height: 1.6; /* Improves line spacing for better readability */
  max-width: 600px; /* Limits the paragraph width */
  margin-left: auto; /* Centers the paragraph horizontally */
  margin-right: auto;
}

.reg h2 {
  text-align: center; /* Center-aligns the heading */
  margin-bottom: 20px; /* Adds spacing below the heading */
  font-size: 1.5rem; /* Adjusts font size */
  color: #D6336C; /* Matches the pink aesthetic */
}

/* Footer */
.footer {
  width: 100%;
  text-align: center;
  padding: 20px;
  background: #FFC0CB; /* Softer pink for footer */
  border-radius: 10px;
  color: #4A154B;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsiveness */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  #profile-pic {
    width: 120px;
    height: auto;
  }

  #header h1 {
    font-size: 1.8rem;
  }

  #header p {
    font-size: 1rem;
  }

  .tile h3 {
    font-size: 1.3rem;
  }

  .tile p {
    font-size: 0.9rem;
  }
}

  .tile p {
    font-size: 0.9rem;
  }
}

