/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Cormorant+Garamond:wght@500;600&display=swap');

/* Reset spacing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Body styling */
body {
    font-family: 'Poppins', sans-serif;

    background: linear-gradient(to bottom right, #fff7fb, #fdfcff);

    color: #2b2b2b;

    line-height: 1.7;

    overflow-x: hidden;
}

/* Navigation bar */
.navbar {
    position: fixed;

    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 25px 12%;

    background: rgba(255,255,255,0.75);

    backdrop-filter: blur(12px);

    z-index: 1000;

    box-shadow: 0 2px 20px rgba(255, 182, 193, 0.15);
}

/* Logo */
.logo {
    font-size: 1.7rem;

    font-weight: 600;

    letter-spacing: 1px;

    color: #d16ba5;
}

/* =========================================
   PERSONAL LOGO
========================================= */

.logo {
    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
}


/* Logo image */

.logo img {
    width: 62px;
    height: 62px;

    object-fit: contain;

    display: block;

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}


/* Logo hover */

.logo:hover img {
    transform: scale(1.08);

    filter:
        drop-shadow(0 5px 10px rgba(209, 107, 165, 0.30));
}

/* Navigation links */
.nav-links {
    display: flex;

    list-style: none;

    gap: 30px;
}

/* Navigation link style */
.nav-links a {
    text-decoration: none;

    color: #444;

    font-weight: 500;

    transition: 0.3s ease;
}

/* Navigation hover */
.nav-links a:hover {
    color: #d16ba5;
}

/* Hero section */
.hero {
    height: 100vh;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 20px;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(circle at top left, rgba(255,182,193,0.25), transparent 30%),
        radial-gradient(circle at bottom right, rgba(209,107,165,0.15), transparent 30%),
        linear-gradient(to bottom right, #fff7fb, #ffffff);

    animation: fadeIn 1.2s ease;
}

/* Decorative butterflies */
.hero::before {
    content: "🦋";

    position: absolute;

    top: 120px;

    left: 10%;

    font-size: 5rem;

    opacity: 0.35;

    animation: floatButterfly 6s ease-in-out infinite;
}

.hero::after {
    content: "🦋";

    position: absolute;

    bottom: 100px;

    right: 12%;

    font-size: 4rem;

    opacity: 0.28;

    animation: floatButterfly 7s ease-in-out infinite;
}

/* Additional floating butterflies */
body::before {
    content: "🦋";

    position: fixed;

    top: 45%;

    left: 4%;

    font-size: 3rem;

    opacity: 0.18;

    z-index: -1;

    animation: floatButterfly 8s ease-in-out infinite;
}

body::after {
    content: "🦋";

    position: fixed;

    bottom: 8%;

    right: 5%;

    font-size: 3.5rem;

    opacity: 0.15;

    z-index: -1;

    animation: floatButterfly 9s ease-in-out infinite;
}

/* Main title */
.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    
    font-size: 6rem;

    font-weight: 600;

    margin-bottom: 20px;

    letter-spacing: 2px;

    line-height: 1.1;

    color: #2b2b2b;

    text-shadow:
        0 5px 20px rgba(209,107,165,0.15);
}

/* Elegant line */
.hero-line {
    width: 140px;

    height: 5px;

    background: linear-gradient(to right, #ff9ecf, #d16ba5);

    border-radius: 50px;

    margin: 15px auto 35px auto;

    box-shadow: 
        0 5px 15px rgba(209,107,165,0.2);
}

/* Hero text */
.hero p {
    font-size: 1.2rem;

    color: #666;

    margin-bottom: 40px;

    max-width: 750px;
}

/* Main button */
.btn {
    text-decoration: none;

    background: linear-gradient(to right, #ff9ecf, #d16ba5);

    color: white;

    padding: 16px 38px;

    border-radius: 50px;

    font-weight: 500;

    transition: all 0.3s ease;

    box-shadow:
        0 10px 25px rgba(209,107,165,0.25);
}

/* Button hover */
.btn:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 30px rgba(209,107,165,0.35);
}

/* Sections */
section {
    padding: 100px 12%;
}

/* Section titles */
h2 {
    font-size: 2.5rem;

    margin-bottom: 40px;

    position: relative;

    color: #d16ba5;
}

/* Decorative line */
h2::after {
    content: "";

    width: 70px;

    height: 4px;

    background: linear-gradient(to right, #ff9ecf, #d16ba5);

    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    bottom: -20px;

    border-radius: 50px;
}

/* About section */
.about p {
    max-width: 850px;

    font-size: 1.1rem;

    color: #555;
}

/* Projects section */
.projects {
    background: rgba(255,255,255,0.6);
}

/* Project cards */
.project-card {
    background: rgba(255,255,255,0.7);

    backdrop-filter: blur(10px);

    padding: 35px;

    margin-bottom: 25px;

    border-radius: 22px;

    border: 1px solid rgba(255,255,255,0.4);

    box-shadow:
        0 10px 30px rgba(209,107,165,0.08);

    transition: 0.3s ease;

    animation: fadeIn 1s ease;
}

/* Card hover */
.project-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 40px rgba(209,107,165,0.18);
}

/* Project titles */
.project-card h3 {
    margin-bottom: 15px;

    font-size: 1.5rem;

    color: #d16ba5;
}

/* Project text */
.project-card p {
    color: #555;
}

/* Skills container */
.skills-container {
    display: flex;

    flex-wrap: wrap;

    gap: 20px;

    margin-top: 40px;
}

/* Skill tags */
.skill {
    background: linear-gradient(to right, #ff9ecf, #d16ba5);

    color: white;

    padding: 14px 24px;

    border-radius: 50px;

    font-size: 0.95rem;

    transition: 0.3s ease;

    box-shadow:
        0 8px 18px rgba(209,107,165,0.15);
}

/* Skill hover */
.skill:hover {
    transform: scale(1.08);
}

/* =========================================
   WEB DEVELOPMENT SERVICES
========================================= */

.services {
    padding: 120px 10%;

    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #fff8fc 100%
    );
}


/* Services introduction */

.services-intro {
    max-width: 750px;

    margin: 25px auto 50px;

    text-align: center;

    font-size: 1.1rem;

    line-height: 1.8;

    color: #666;
}


/* Services grid */

.services-container {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    max-width: 1200px;

    margin: 0 auto;
}


/* Individual service card */

.service-card {
    background: #ffffff;

    padding: 35px 30px;

    border-radius: 20px;

    border: 1px solid rgba(209, 107, 165, 0.15);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* Service title */

.service-card h3 {
    margin-bottom: 15px;

    font-size: 1.25rem;

    color: #d16ba5;
}


/* Service description */

.service-card p {
    color: #666;

    line-height: 1.7;

    font-size: 0.95rem;
}


/* Hover effect */

.service-card:hover {
    transform: translateY(-8px);

    border-color: rgba(209, 107, 165, 0.4);

    box-shadow:
        0 18px 40px rgba(209, 107, 165, 0.16);
}


/* =========================================
   SERVICES RESPONSIVE
========================================= */

/* Tablet */

@media (max-width: 900px) {

    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* Mobile */

@media (max-width: 600px) {

    .services {
        padding: 80px 7%;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 28px 24px;
    }

}

/* Contact section */
.contact p {
    margin-bottom: 30px;

    color: #555;
}

/* Contact links */
.contact-links {
    display: flex;

    gap: 20px;
}

/* Contact buttons */
.contact-links a {
    text-decoration: none;

    background: linear-gradient(to right, #ff9ecf, #d16ba5);

    color: white;

    padding: 14px 28px;

    border-radius: 50px;

    transition: 0.3s ease;

    box-shadow:
        0 10px 20px rgba(209,107,165,0.18);
}

/* Contact hover */
.contact-links a:hover {
    transform: translateY(-4px);
}

/* Footer */
footer {
    text-align: center;

    padding: 40px;

    background: linear-gradient(to right, #ff9ecf, #d16ba5);

    color: white;
}

/* Fade animation */
@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Butterfly floating animation */
@keyframes floatButterfly {

    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(4deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
        text-align: center;
        word-break: normal;
    }

    .hero p {
        font-size: 1rem;
    }

    .navbar {
        flex-direction: column;

        gap: 15px;
    }

    .nav-links {
        gap: 15px;

        flex-wrap: wrap;

        justify-content: center;
    }

    section {
        padding: 80px 8%;
    }

    .skills-container {
        justify-content: center;
    }

    .contact-links {
        flex-direction: column;
    }

    .hero::before,
    .hero::after,
    body::before,
    body::after {
        font-size: 2.5rem;
    }
}

/* Mobile navbar */
.navbar {
    padding: 18px 7%;
}

.logo img {
    width: 52px;
    height: 52px;
}

.nav-links {
    gap: 12px 18px;
}

.nav-links a {
    font-size: 0.95rem;
}

/* Mobile hero spacing */
.hero {
    padding-top: 70px;
}

.hero-content {
    width: 100%;
    padding: 0 20px;
}

.hero h2 {
    font-size: 1.65rem;
    line-height: 1.35;
}

/* Gallery container */
.gallery {
    display: flex;

    gap: 15px;

    margin-bottom: 25px;
}

/* Gallery images */
.gallery-image {
    width: 50%;

    border-radius: 15px;

    transition: 0.3s ease;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.08);
}

/* Hover effect */
.gallery-image:hover {
    transform: scale(1.03);
}

/* Main project image */
.project-image {
    width: 55%;

    display: block;

    margin: 0 auto 25px auto;

    border-radius: 18px;

    object-fit: cover;

    transition: 0.3s ease;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.08);
}

/* Hover effect */
.project-image:hover {
    transform: scale(1.02);
}

/* Hero content */
.hero-content {
    max-width: 900px;

    z-index: 2;
}

/* Hero subtitle */
.hero h2 {
    font-size: 2rem;

    font-weight: 500;

    margin-bottom: 25px;

    color: #2b2b2b;
}

/* Hero paragraph */
.hero p {
    font-size: 1.15rem;

    color: #666;

    max-width: 700px;

    margin: 0 auto 40px auto;
}

/* Hero buttons */
.hero-buttons {
    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;
}

/* Secondary button */
.btn-secondary {
    text-decoration: none;

    padding: 16px 38px;

    border-radius: 50px;

    border: 2px solid #d16ba5;

    color: #d16ba5;

    font-weight: 500;

    transition: 0.3s ease;
}

/* Secondary hover */
.btn-secondary:hover {
    background-color: #d16ba5;

    color: white;

    transform: translateY(-4px);
}

/* Floating butterflies */
.floating-butterfly {
    position: absolute;

    font-size: 2.8rem;

    opacity: 0.25;

    animation: floatButterfly 6s ease-in-out infinite;
}

/* Butterfly positions */
.butterfly1 {
    top: 18%;

    left: 10%;
}

.butterfly2 {
    top: 60%;

    right: 12%;

    animation-delay: 2s;
}

.butterfly3 {
    bottom: 15%;

    left: 18%;

    animation-delay: 4s;
}

/* Extra glow */
.hero::before {
    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    background: radial-gradient(
        circle,
        rgba(255,158,207,0.18),
        transparent 70%
    );

    top: -100px;

    right: -100px;

    z-index: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .floating-butterfly {
        font-size: 2rem;
    }
}

/* Section titles */
.section-title {
    position: relative;

    display: inline-block;

    margin-bottom: 50px;
}

/* Decorative line under section titles */
.section-title::after {
    content: "";

    position: absolute;

    left: 10;

    bottom: -15px;

    width: 80px;

    height: 4px;

    background: linear-gradient(to right, #ff9ecf, #d16ba5);

    border-radius: 50px;
}

/* Skills section */
.skills {
    padding: 120px 10%;
}

/* Skills container */
.skills-container {
    display: flex;

    flex-wrap: wrap;

    gap: 25px;

    margin-top: 40px;
}

/* Skill cards */
.skill-card {
    background: white;

    padding: 20px 35px;

    border-radius: 18px;

    font-weight: 500;

    font-size: 1rem;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.06);

    transition: 0.3s ease;

    border: 1px solid rgba(209,107,165,0.15);
}

/* Hover effect */
.skill-card:hover {
    transform: translateY(-6px);

    background: linear-gradient(
        to right,
        #ff9ecf,
        #d16ba5
    );

    color: white;

    box-shadow:
        0 15px 30px rgba(209,107,165,0.2);
}

/* =========================================
   WEB DEVELOPMENT SERVICES
========================================= */

.services {
    padding: 120px 10%;

    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #fff8fc 100%
    );
}


/* Services introduction */

.services-intro {
    max-width: 750px;

    margin: 25px auto 50px;

    text-align: center;

    font-size: 1.1rem;

    line-height: 1.8;

    color: #666;
}


/* Services grid */

.services-container {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    max-width: 1200px;

    margin: 0 auto;
}


/* Individual service card */

.service-card {
    background: #ffffff;

    padding: 35px 30px;

    border-radius: 20px;

    border: 1px solid rgba(209, 107, 165, 0.15);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* Service title */

.service-card h3 {
    margin-bottom: 15px;

    font-size: 1.25rem;

    color: #d16ba5;
}


/* Service description */

.service-card p {
    color: #666;

    line-height: 1.7;

    font-size: 0.95rem;
}


/* Hover effect */

.service-card:hover {
    transform: translateY(-8px);

    border-color: rgba(209, 107, 165, 0.4);

    box-shadow:
        0 18px 40px rgba(209, 107, 165, 0.16);
}


/* =========================================
   SERVICES RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .services {
        padding: 80px 7%;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 28px 24px;
    }

}

/* Contact section */
.contact {
    padding: 120px 10%;

    text-align: center;
}

/* Contact text */
.contact-text {
    font-size: 1.15rem;

    color: #666;

    margin-top: 25px;

    margin-bottom: 45px;
}

/* Contact buttons */
.contact-buttons {
    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;
}

/* Main contact button */
.contact-btn {
    text-decoration: none;

    background: linear-gradient(
        to right,
        #ff9ecf,
        #d16ba5
    );

    color: white;

    padding: 16px 38px;

    border-radius: 50px;

    font-weight: 500;

    transition: 0.3s ease;

    box-shadow:
        0 12px 25px rgba(209,107,165,0.2);
}

/* Hover */
.contact-btn:hover {
    transform: translateY(-5px);
}

/* Outline buttons */
.contact-btn-outline {
    text-decoration: none;

    padding: 16px 38px;

    border-radius: 50px;

    border: 2px solid #d16ba5;

    color: #d16ba5;

    font-weight: 500;

    transition: 0.3s ease;
}

/* Outline hover */
.contact-btn-outline:hover {
    background: #d16ba5;

    color: white;

    transform: translateY(-5px);
}

/* Footer */
.footer {
    text-align: center;

    padding: 40px 20px;

    margin-top: 120px;

    color: #777;

    font-size: 0.95rem;

    border-top: 1px solid rgba(209,107,165,0.15);

    background: rgba(255,255,255,0.5);

    backdrop-filter: blur(10px);
}

/* =========================================
   FOOTER DEVELOPER SIGNATURE
========================================= */

.footer-content {
    max-width: 1200px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* Copyright */

.footer-copyright {
    margin: 0;
}


/* Designed by area */

.developer-credit {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 0.9rem;

    color: #777;
}


/* Developer logo button */

.developer-logo-btn {
    width: 54px;

    height: 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        filter 0.3s ease;

    cursor: pointer;
}


/* Logo image */

.developer-logo-btn img {
    width: 100%;

    height: 100%;

    object-fit: contain;

    display: block;
}


/* Logo hover */

.developer-logo-btn:hover {
    transform: translateY(-4px) scale(1.08);

    filter:
        drop-shadow(0 6px 12px rgba(209,107,165,0.35));
}