/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
    text-align: center;
}

/* Back Button */
.back-button {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #4b0082;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.2s;
    z-index: 1000;
}

.back-button:hover {
    background: #3a0066;
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #a50791, #007bff);
    text-align: center;
    padding: 12vw 5vw;
    color: white;
    position: relative;
    border-bottom-left-radius: 50% 20%;
    border-bottom-right-radius: 50% 20%;
}

.hero-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 3vw;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.profile-img {
    width: 18vw;
    height: 18vw;
    max-width: 140px;
    max-height: 180px;
    border-radius: 50%;
    border: 5px solid #ffdd57;
    object-fit: cover;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 4.5vw;
    margin-bottom: 10px;
    color: #ce11b5;
}

.hero h2 {
    font-size: 2.8vw;
    font-weight: normal;
    color: #ffdd57;
}

.hero p {
    font-size: 2.2vw;
    max-width: 550px;
    margin: 15px auto 0;
}

/* Section Styling */
section {
    padding: 4vw;
    max-width: 85%;
    margin: auto;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin-top: 30px;
    transition: 0.3s;
    text-align: center;
}

section:hover {
    transform: scale(1.02);
}

h3 {
    font-size: 3.5vw;
    color: #a50791;
    margin-bottom: 15px;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-links a {
    text-decoration: none;
    color: white;
    background: #007bff;
    margin: 8px;
    padding: 12px;
    border-radius: 50%;
    font-size: 3.5vw;
    width: 9vw;
    height: 9vw;
    max-width: 40px;
    max-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.social-links a:hover {
    background: #a50791;
}

/* Gallery Section */
.gallery {
    text-align: center;
    padding: 4vw;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Lightbox Effect */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
}

.lightbox.show {
    visibility: visible;
    opacity: 1;
}

/* Footer */
.footer {
    background: #4b0082;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
    font-size: 1.2vw;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.footer a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.footer a:hover {
    color: #FFAA00;
}
/* Contact Me Section */
.contact {
    padding: 4vw;
    max-width: 85%;
    margin: auto;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin-top: 30px;
    transition: 0.3s;
    text-align: center;
}

.contact:hover {
    transform: scale(1.02);
}

.contact h3 {
    font-size: 3.5vw;
    color: #a50791;
    margin-bottom: 15px;
}

/* Contact Form */
.contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact label {
    font-size: 1.2vw;
    color: #333;
    font-weight: bold;
    text-align: left;
    width: 100%;
    max-width: 400px;
}

.contact input, 
.contact textarea {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    font-size: 1.2vw;
    border: 2px solid #a50791;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
}

.contact input:focus, 
.contact textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

/* Send Button */
.send-button {
    background: #a50791;
    color: white;
    padding: 12px 20px;
    font-size: 1.3vw;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.send-button:hover {
    background: #007bff;
    transform: scale(1.05);
}

/* FAQ Section */
.faq {
    padding: 4vw;
    max-width: 85%;
    margin: auto;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin-top: 30px;
    transition: 0.3s;
    text-align: center;
}

.faq:hover {
    transform: scale(1.02);
}

.faq h3 {
    font-size: 3.5vw;
    color: #a50791;
    margin-bottom: 15px;
}

/* FAQ Accordion */
.faq-container {
    max-width: 700px;
    margin: auto;
}

.faq-item {
    border-bottom: 2px solid #a50791;
    margin-bottom: 15px;
    padding-bottom: 10px;
    text-align: left;
}

.faq-question {
    font-size: 1.5vw;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f8f8;
    border-radius: 8px;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #eaeaea;
}

.faq-answer {
    font-size: 1.2vw;
    color: #555;
    padding: 10px;
    display: none;
    transition: 0.3s ease-in-out;
}

/* Toggle Open State */
.faq-item.active .faq-answer {
    display: block;
}

/* FAQ Icon */
.faq-question span {
    font-size: 1.5vw;
    color: #a50791;
    transition: transform 0.3s;
}

.faq-item.active .faq-question span {
    transform: rotate(180deg);
}
