/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background : rgb(59, 58, 58);
    background-size: 400% 400%;
    animation: gradientBackground 5s ease infinite;
}

/* Heading Styling */
#heading {
    text-align: center;
    color: rgb(190 24 93);
    font-size: 36px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInText 3s ease-out;
}

/* Container Styling */
.container, #resumePage {
    width: 90%;
    max-width: 650px;
    margin: auto;
    background-color: white;
    border-radius: 20px; /* Increased border radius */
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); /* Elevated shadow */
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    animation: fadeIn 1.2s ease-out, scaleUp 1.2s ease-out;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.9);
    }
    to {
        transform: scale(1);
    }
}

/* On Hover Effects */
.container:hover, #resumePage:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(-12px);
}

/* Form and Input Styling */
form div {
    margin-bottom: 1.5em;
}

label {
    display: block;
    margin-bottom: 0.7em;
    font-weight: bold;
    color: black;
    font-size: 1.1em;
}

fieldset{
    margin-top: 10px;
}

legend{
    margin-top: 10px;
}

input[type="text"], input[type="email"], input[type="number"], textarea {
    width: 100%;
    padding: 0.85rem;
    margin-top: 0.5rem;
    border: 2px solid #0075f1;
    border-radius: 10px; /* Smooth corners */
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="number"]:focus, textarea:focus {
    border-color: #004080;
    box-shadow: 0 0 12px rgba(4, 33, 65, 0.6);
    outline: none;
}

textarea {
    height: 130px;
    border-radius: 10px;
}

/* Button Styling */
button {
    padding: 0.85em 1.8em;
    margin-top: 25px;
    border: none;
    color: #fff;
    font-weight: 600;
    background: rgb(219, 43, 116);
    border-radius: 10px;
    cursor: pointer;
    margin-right: 1em;
    transition: background 0.3s ease, transform 0.3s ease;
    font-size: 1em;
}

button:hover {
    background: rgb(124, 9, 57);
    transform: scale(1.07);
}

/* fOOTER */
  .footer {
    background-color: #0084b4;
    color: black;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
    bottom: 0.1px;
  }
  
  .footer .logo {
    color: black;
    text-decoration: none;
    font-size: 24px;
    margin-bottom: 15px;
    display: inline-block;
  }
  
  .footer .menu a {
    color: black;
    text-decoration: none;
    margin: 0 10px;
    font-size: 16px;
  }
  
  .footer .menu a:hover {
    text-decoration: underline;
  }
  
  .social-icons {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
  }
  
  .social-icons li {
    display: inline;
    margin: 0 10px;
  }
  
  .social-icons a {
    color: black;
    text-decoration: none;
    font-size: 18px;
  }
  
  .footer-bottom {
    margin-top: 20px;
    font-size: 14px;
  }
  
  .footer-bottom a {
    color: black;
    text-decoration: underline;
  }
  
  .footer-bottom a:hover {
    color: #ddd;
  }
  

.hidden {
    display: none;
}

#resumePage img{
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin: auto;
    
}