/* ===========================
   GOOGLE FONT
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
    font-family:'Poppins',sans-serif;
}

body{

    background:linear-gradient(135deg,#fff8fb,#ffeaf2,#ffdce8);

    color:#222;

    overflow-x:hidden;

}

/* ===========================
   HEADER
=========================== */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    background:rgba(255,255,255,.95);

    backdrop-filter:blur(12px);

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 8%;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    z-index:1000;

}

.logo{

    font-size:28px;

    font-weight:700;

    color:#ff4f8b;

}

.logo i{

    margin-right:8px;

}

nav a{

    text-decoration:none;

    color:#222;

    margin-left:25px;

    font-weight:500;

    transition:.3s;

}

nav a:hover{

    color:#ff4f8b;

}

#theme-btn{

    width:45px;

    height:45px;

    border:none;

    border-radius:50%;

    background:#ff4f8b;

    color:white;

    cursor:pointer;

    transition:.3s;

}

#theme-btn:hover{

    transform:rotate(180deg);

}

/* ===========================
   HERO
=========================== */

.hero{

    min-height:100vh;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:70px;

    padding:130px 8% 80px;

}

.hero-text{

    flex:1;

}

.hero-text h3{

    font-size:28px;

    color:#444;

}

.hero-text h1{

    font-size:70px;

    color:#111;

    margin:10px 0;

}

.hero-text h2{

    font-size:34px;

    margin-bottom:20px;

}

.hero-text p{

    font-size:18px;

    line-height:1.8;

    color:#555;

}

.buttons{

    margin-top:30px;

}

.btn,.btn2{

    display:inline-block;

    padding:14px 34px;

    border-radius:40px;

    text-decoration:none;

    transition:.3s;

    font-weight:600;

    margin-right:15px;

}

.btn{

    background:#ff4f8b;

    color:white;

}

.btn:hover{

    transform:translateY(-4px);

    box-shadow:0 12px 25px rgba(255,79,139,.35);

}

.btn2{

    background:white;

    color:#ff4f8b;

    border:2px solid #ff4f8b;

}

.btn2:hover{

    background:#ff4f8b;

    color:white;

}

.hero-image{

    flex:1;

    display:flex;

    justify-content:center;

}

.hero-image img{
    width:320px;
    height:420px;
    object-fit:contain;
    background:#fff;
    padding:10px;
    border-radius:20px;
    border:5px solid #fff;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
    transition:.4s ease;
}

.hero-image img:hover{
    transform:scale(1.03);
}

.hero-image img:hover{

    transform:scale(1.05);

}
/* ===========================
   SECTION TITLE
=========================== */

section{
    padding:90px 8%;
}

.section-title{

    text-align:center;

    font-size:42px;

    color:#111;

    margin-bottom:60px;

    font-weight:700;

}

/* ===========================
   ABOUT
=========================== */

.about-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:60px;

    background:#fff;

    padding:40px;

    border-radius:25px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.about-image{

    flex:1;

    display:flex;

    justify-content:center;

}

.about-image img{

    width:280px;

    height:280px;

    object-fit:cover;

    border-radius:50%;

    border:6px solid #fff;

    box-shadow:0 15px 35px rgba(255,79,139,.30);

}

.about-content{

    flex:2;

}

.about-content h3{

    font-size:32px;

    margin-bottom:20px;

}

.about-content p{

    line-height:1.9;

    color:#555;

    margin-bottom:15px;

}

.about-details{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

    margin-top:30px;

}

.about-details div{

    background:#fff6fa;

    padding:20px;

    border-radius:15px;

}

.about-details h4{

    color:#ff4f8b;

    margin-bottom:8px;

}

/* ===========================
   SKILLS
=========================== */

.skills{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:30px;

}

.skill{

    background:white;

    padding:25px;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.skill h3{

    margin-bottom:15px;

}

.progress{

    width:100%;

    height:16px;

    background:#ececec;

    border-radius:30px;

    overflow:hidden;

}

.progress span{

    display:flex;

    justify-content:flex-end;

    align-items:center;

    height:100%;

    background:linear-gradient(90deg,#ff4f8b,#ff82b2);

    color:white;

    font-size:12px;

    font-weight:600;

    padding-right:10px;

    border-radius:30px;

}

/* ===========================
   EDUCATION
=========================== */

.timeline{

    display:flex;

    flex-direction:column;

    gap:25px;

}

.timeline-box{

    background:white;

    padding:30px;

    border-left:6px solid #ff4f8b;

    border-radius:15px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.timeline-box h3{

    margin-bottom:8px;

}

.timeline-box p{

    color:#666;

}

/* ===========================
   PROJECTS / SERVICES
=========================== */

.project-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.project-card{

    background:white;

    padding:30px;

    border-radius:20px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.35s;

}

.project-card:hover{

    transform:translateY(-10px);

    box-shadow:0 18px 35px rgba(255,79,139,.25);

}

.project-card i{

    color:#ff4f8b;

    margin-bottom:20px;

}

.project-card h3{

    margin-bottom:15px;

}

.project-card p{

    color:#666;

}
/* ===========================
   CONTACT
=========================== */

form{

    max-width:700px;

    margin:auto;

    background:white;

    padding:35px;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

form input,
form textarea{

    width:100%;

    padding:16px;

    margin-bottom:20px;

    border:2px solid #ffd3e3;

    border-radius:12px;

    outline:none;

    font-size:16px;

    transition:.3s;

}

form input:focus,
form textarea:focus{

    border-color:#ff4f8b;

}

form textarea{

    resize:none;

    height:160px;

}

/* ===========================
   SOCIAL ICONS
=========================== */

.social-icons{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-top:35px;

}

.social-icons a{

    width:55px;

    height:55px;

    border-radius:50%;

    background:white;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    color:#ff4f8b;

    font-size:22px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.3s;

}

.social-icons a:hover{

    background:#ff4f8b;

    color:white;

    transform:translateY(-8px);

}

/* ===========================
   FOOTER
=========================== */

footer{

    background:white;

    padding:30px;

    text-align:center;

    color:#555;

    margin-top:60px;

    box-shadow:0 -5px 20px rgba(0,0,0,.05);

}

/* ===========================
   DARK MODE
=========================== */

.dark{

    background:#111;

    color:white;

}

.dark header{

    background:#1a1a1a;

}

.dark .about-container,
.dark .skill,
.dark .timeline-box,
.dark .project-card,
.dark form,
.dark footer{

    background:#222;

    color:white;

}

.dark .project-card p,
.dark .timeline-box p,
.dark .about-content p{

    color:#ddd;

}

.dark nav a{

    color:white;

}

.dark .section-title{

    color:white;

}

/* ===========================
   ANIMATION
=========================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero,
.about,
#skills,
#education,
#projects,
#certificates,
#contact{

    animation:fadeUp .8s ease;

}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:992px){

.hero{

    flex-direction:column-reverse;

    text-align:center;

}

.hero-text{

    width:100%;

}

.about-container{

    flex-direction:column;

}

.about-details{

    grid-template-columns:1fr;

}

}

@media(max-width:768px){

header{

    flex-direction:column;

    gap:15px;

}

nav{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:15px;

}

nav a{

    margin:0;

}

.hero-text h1{

    font-size:48px;

}

.hero-text h2{

    font-size:26px;

}

.hero-image img{

    width:260px;

    height:260px;

}

.section-title{

    font-size:34px;

}

.project-container,
.skills{

    grid-template-columns:1fr;

}

}

/* ===========================
   SCROLLBAR
=========================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:#ff4f8b;

    border-radius:10px;

}

::-webkit-scrollbar-track{

    background:#ffe8f1;

}
.hero-image img{
    width: 320px !important;
    height: auto !important;
    max-height: 450px !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 20px !important;
    background: white;
    padding: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.about-image img{
    width: 250px !important;
    height: auto !important;
    max-height: 330px !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 20px !important;
    background: white;
    padding: 8px;
}
/* ===========================
   LOADING SCREEN
=========================== */

#loader{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:linear-gradient(135deg,#fff8fb,#ffe4ef,#ffd6e8);

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    z-index:99999;

    transition:opacity .6s ease, visibility .6s ease;

}

.spinner{

    width:70px;

    height:70px;

    border:8px solid #ffd6e8;

    border-top:8px solid #ff4f8b;

    border-radius:50%;

    animation:spin 1s linear infinite;

}

#loader h2{

    margin-top:20px;

    color:#ff4f8b;

    font-size:24px;

    font-weight:600;

}

@keyframes spin{

    100%{

        transform:rotate(360deg);

    }

}