/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    height: 100%;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f8fcff;
    color: #333;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    font-size: 16px;
  }
  
  /* Navbar */
  nav {
    background: skyblue;
    text-align: center;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: 0.3s;
  }
  
  nav a:hover, nav a.active {
    text-decoration: underline;
  }
  
  /* Hero (Home) */
  .hero {
    text-align: center;
    padding: 80px 20px;
    flex: 1;
  }
  
  .profile-pic {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid skyblue;
    object-fit: cover;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    perspective: 1000px;
    transform-style: preserve-3d;
  }
  
  .profile-pic:hover {
    border-color: #4da6ff;
  }
  
  .highlight {
    color: skyblue;
  }
  
  .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #3498db;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  }
  
  .btn:active {
    transform: translateY(0);
  }
  
  /* Page Content */
  .content {
    max-width: 900px;
    margin: 60px auto;
    padding: 20px;
    flex: 1;
  }
  
  .content h1 {
    color: skyblue;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 600;
  }
  
/* Base state for cards */
.card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  /* When card fades in */
  .card.fade-in {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* When card fades out */
  .card.fade-out {
    opacity: 0;
    transform: translateY(20px);
  }
  
  /* Contact Form */
  form input, form textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    margin: 8px auto;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    display: block;
  }
  
  form textarea {
    resize: vertical;
  }
  
  form button {
    background: skyblue;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
  }
  
  form button:hover {
    background: #4da6ff;
  }
  
  .contact-info {
    margin-top: 20px;
    text-align: center;
    font-size: 0.95rem;
    color: #555;
  }
  
  .social-icons {
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .social-icons img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
  }
  
  .social-icons a:hover img {
    transform: scale(1.1);
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 12px;
    background: skyblue;
    color: white;
    font-size: 0.9rem;
    margin-top: auto;
    width: 100%;
  }
  

  #progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: #4da6ff;
    width: 0;
    z-index: 2000;
  }
  
  #back-to-top {
    position: fixed;
    bottom: 70px;
    right: 20px;
    padding: 10px 15px;
    background: skyblue;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    display: none;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  }
  #back-to-top:hover {
    background: #4da6ff;
  }

  /* Contact Form Styling */
  .container {
    max-width: 700px;
    margin: 60px auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    width: 90%;
  }
  
  .container h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 600;
  }
  
  form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }
  
  form input, form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eef2f7;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
  }
  
  form input:focus, form textarea:focus {
    outline: none;
    border-color: #3498db;
    background: white;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
  }
  
  form button {
    background: #3498db;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
  }
  
  form button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
  }
  
  .contact-info {
    background: #f8fafc;
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
    border: 2px solid #eef2f7;
  }
  
  .contact-info p {
    margin: 15px 0;
    color: #2c3e50;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  
  .contact-info p strong {
    color: #3498db;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 40px 0;
  }
  
  .social-icons a {
    background: #f8fafc;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #eef2f7;
  }
  
  .social-icons img {
    width: 24px;
    height: 24px;
  }
  
  .social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
  }
  
  .back-link {
    display: block;
    text-align: center;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    margin-top: 30px;
    padding: 15px;
    transition: all 0.3s ease;
  }
  
  .back-link:hover {
    color: #2980b9;
  }
  
  /* Media Queries for Mobile Responsiveness */
  @media screen and (max-width: 768px) {
    .container {
      margin: 20px auto;
      padding: 25px;
    }
  
    .container h1 {
      font-size: 1.75rem;
      margin-bottom: 30px;
    }
  
    form {
      gap: 15px;
    }
  
    form input, form textarea {
      padding: 12px;
    }
  
    .contact-info {
      padding: 20px;
    }
  
    .contact-info p {
      font-size: 1rem;
    }
  
    .social-icons {
      gap: 20px;
    }
  
    .social-icons a {
      padding: 10px;
    }
  }
