*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    color: white;
}
.container{
    position: relative;
    width:100%;
    height:100%;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    /* background-color: #0c0f17; */
}
.back-vid{
    position: relative;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    mix-blend-mode: overlay;
    object-fit: cover;
}
h1{
    color:white;
}
header{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    padding: 20px 40px;
    display:flex;
    justify-content: space-between;
    align-items:center;
    z-index:1000;
    background: rgba(12,15,23,0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(42,252,133,0.1);

}
.logo{
    display: flex;
    align-items:center;
    gap:10px;
    font-size: 1.5rem;
    font-weight: 700;
    color:#e6e9f0;
    text-decoration: none;
}
.logo-icon{
    color:#2afc85;
    font-size: 1.8rem;
}
.logo-text{
    background: linear-gradient(90deg, #e6e9f0 0%, #f46c91 100%);
    -webkit-background-clip:text;
    font-family: Henotica;
    -webkit-text-fill-color: transparent;
}

nav ul{
    display:flex;
    list-style: none;
    gap:30px;
}

nav a{
    color:white;
    text-decoration: none;
    font-weight:500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
    font-family: Henotica;
    font-weight:bolder;
}
nav a:hover{
    color:#f6f685;
}
nav a:after{
    content: '';
    position: absolute;
    bottom:0;
    left:0;
    width:0;
    height:2px;
    background:#f6f685;
    transition:width 0.3s ease;
}
nav a:hover::after{
    width:100%;
}

.menu-toggle{
    display:none;
    font-size:1.5rem;
    color:#e6e9f0;
    cursor:pointer;
}

.hero{
    margin: 0;
    width:100%;
    display:flex;
    flex-direction: row;
    align-items: center;
    background-color: #0c0f17;
    justify-content: space-between;
    gap:80px;
    padding:120px 90px 60px;
    min-height:100vh;
}
.content{
    max-width:700px;
    opacity:1;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.5s;
}
h1{
    font-size: 3.5rem;
    font-family: Mogilte;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #f6f685 0%, #f46c91 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-shadow:0 5px 15px rgba(47, 2, 6, 0.3);
}
h2{
    font-size:1.8rem;
    margin-bottom: 25px;
    color:#c2c6d3;
    font-weight: 500;
}
p{
    font-size: 1.2rem;
    line-height:1.6;
    margin-bottom:30px;
    color:#c2c6d3;
}
.typing-text{
    position: relative;
    display: inline-block;
    color:#f5f59c;
}
.typing-text::after{
    content: "|";
    position: absolute;
    right:-10px;
    animation:blink 0.7s infinite;
    color:#f5f59c;
}
.cta-buttons{
    display: flex;
    gap:20px;
    margin-top: 40px;
    flex-wrap:wrap;
    opacity: 1;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.8s;
}

.btn{
    padding:15px 35px;
    border-radius: 50px;
    font-size:1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display:flex;
    align-items: center;
    gap:10px;
    position:relative;
    overflow:hidden;
}
.btn-primary{
    background: linear-gradient(90deg,#f6f685 0%, #f46c91 100%);
    color:#0c0f17;
    box-shadow: 0 5px 15px rgba(202, 94, 128, 0.6);
}
.btn-primary:hover{
    transform: translateY(-3px);
    box-shadow:0 8px 20px rgba(202, 94, 128, 0.6);
}
.btn-primary::before{
    content: "";
    position: absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4),transparent);
    transition: 0.5s;
}
.btn-primary:hover::before{
    left:100%;
}
.btn-secondary{
    border:2px solid #f6f685;
    color:#f6f685;
}
.btn-secondary:hover{
    background-color: rgba(252, 42, 147, 0.1);
    transform:translateY(-3px);
}
.social-icons{
    display: flex;
    gap:20px;
    margin-top: 50px;
    opacity:1;
    transform:translateY(20px);
    animation: fadeInUp 1s ease forwardss 1.1s;
}
.social-icons a{
    width:50px;
    height:50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#1a1f2e 0%, #232838 100%);
    color:#f6f685;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position:relative;
    overflow:hidden;
}
.social-icons a:hover{
    transform:translateY(-5px);
    color:#151925;
    box-shadow: 0 8px 20px rgba(215, 196, 30, 0.3);
}
.social-icons a::before{
    content: "";
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: linear-gradient(45deg,#ee9fb4,#fb86a5,#f46c91);
    opacity:0;
    transition: 0.3s;
    z-index:-1;
}
.social-icons a:hover::before{
    opacity: 1;
}
.profile-container{
    position: relative;
    width: 300px;
    height:300px;
}
.profile-img{
    width:240px;
    height:240px;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    z-index: 10;
    box-shadow: 0 5px 30px rgba(0,0,0,0.4);
    border:4px solid #0c0f17;
    transition: all 0.5s ease;
}
.profile-img:hover{
    transform: translate(-50%,-50%) scale(1.05);
}
/* animated rings */
.border-outer{
    position: absolute;
    width:300px;
    height: 300px;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(0deg);
    border-radius: 50%;
    background: conic-gradient(transparent,#f46c91,transparent,transparent);
    z-index: 1;
    animation: rotate 4s linear infinite;
}
.border-middle{
    position: absolute;
    width: 270px;
    height: 270px;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%) rotate(0deg);
    border-radius: 50%;
    background: conic-gradient(transparent,#f6f685,transparent,transparent);
    z-index: 2;
    animation: rotate-reverse 3s linear infinite;
    filter: blur(3px);
}
.border-inner{
    position: absolute;
    width:240px;
    height: 240px;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%) rotate(0deg);
    border-radius: 50%;
    background: conic-gradient(transparent,#f6f685,transparent,transparent);
    z-index: 3;
    animation: rotate 2s linear infinite;
}
.pulse-ring{
    position: absolute;
    width: 300px;
    height: 300px;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%) scale(1);
    border-radius: 50%;
    border:2px solid rgba(252, 42, 199, 0.3);
    z-index: 0;
    animation: pulse 3s ease-out infinite;
}
.pulse-ring:nth-child(2){
    animation-delay: 1s;
}
.pulse-ring:nth-child(3){
    animation-delay: 2s;
}

.border-container{
    position: absolute;
    width:300px;
    height:300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    z-index:4;
}
@keyframes rotate {
    0%{
        transform: translate(-50%,-50%) rotate(0deg);
    }
    100%{
        transform: translate(-50%,-50%) rotate(360deg);
    }
    
}
@keyframes rotate-reverse {
    0%{
        transform: translate(-50%,-50%) rotate(0deg);
    }
    100%{
        transform: translate(-50%,-50%) rotate(-360deg);
    }
    
}
@keyframes pulse {
    0%{
        transform: translate(-50%,-50%) scale(1);
        opacity: 1;
    }
    100%{
        transform: translate(-50%,-50%) scale(1.4);
        opacity: 0;
    }
    
}
@keyframes fadeInUp {
    from{
        opacity:0;
        transform: translateY(20px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
    
}
@keyframes blink {
    0%,100%{
        opacity: 1;
    }
    50%{
        opacity: 0;
    }
    
}
@media (max-width: 992px){
    .hero{
        flex-direction: column-reverse;
        text-align: center;
        gap:60px;
        padding:100px 20px 40px;
    }
    .cta-buttons{
        justify-content: center;
    }
    .social-icons{
        justify-content: center;
    }
}
@media (max-width:768px) {
    header{
        padding:15px 20px;
    }
    nav ul{
        position: fixed;
        top:70px;
        left:-100%;
        width:100%;
        height:calc(100vh-70px);
        background:rgba(12,15,23,0.95);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: left 0.3s ease;
    }
    nav ul.active{
        left:0;
    }
    nav a{
        font-size: 1.2rem;
        padding:15px 0;
    }
    .menu-toggle{
        display: block;
    }
    h1{
        font-size: 2.5rem;
    }
    h2{
        font-size: 1.5rem;
    }
    p{
        font-size: 1.1rem;
    }
    .btn{
        padding: 12px 25px;
        font-size: 1rem;
    }
}
@media (max-width:480px){
    h1{
        font-size: 2rem;
    }
    h2{
        font-size: 1.2rem;
    }
    .cta-buttons{
        flex-direction: column;
        align-items: center;
    }
}

.main-about{
    margin: 0;
    width:100%;
    display:flex;
    flex-direction: row;
    align-items: center;
    background-color: #0c0f17;
    justify-content: space-between;
    gap:80px;
    padding:120px 90px 60px;
    min-height:100vh;
}
h6{
    font-size: 1.1rem;
    line-height:1.6;
    margin-bottom:30px;
    color:#c2c6d3;
    font-family: Henotica;
    font-weight: lighter;
}
.about-edu{
    width: 100%;
    align-items: center;
    min-height: 90vh;
    background-color: #0c0f17;
}
.education{
    width: 1000px;
    margin:auto;
    height: calc(100% - 60px);
    border:1px solid white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.education:hover{
    cursor: pointer;
}
h3{
    margin-top: 15px;
    text-align: center;
    font-size: 3.5rem;
    font-family: Mogilte;
    margin-bottom: 15px;
    background-color: rgb(249, 242, 186);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-shadow:0 5px 15px rgba(42, 2, 21, 0.3);
}
#edu{
    width: calc(100% - 60px);
    margin: 15px auto;
    margin-bottom: 0;
    height:100px;
    /* border:1px solid white; */
}
h4{
    font-family: Mogilte;
    font-weight: lighter;
    font-size: 1.4rem;
    line-height: 1.4;
    color:rgb(244, 244, 162);
}
h5{
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.2rem;
    color:white;
    line-height: 1.4;
}
.about-project{
    width: 100%;
    align-items: center;
    min-height: 120vh;
    background-color: #0c0f17;
}
.projects{
    width: 90%;
    margin:auto;
    height:750px;
    /* border:1px solid white; */
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.project-card {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 40px;
}

/* LEFT SIDE */
.project-media {
    position: relative;
    width: 450px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}

.project-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-video {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.project-media:hover .project-img {
    opacity: 0;
}

.project-media:hover .project-video {
    opacity: 1;
}

/* RIGHT SIDE */
.project-info h3 {
    margin-bottom: 8px;
}

.project-info p {
    margin-bottom: 12px;
    color: #666;
}

.project-tags span {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background: #c9f6a3;
    color: #0c0f17;
    padding: 6px 12px;
    border-radius: 5px;
    margin-right: 8px;
    font-size: 14px;
}

.contact {
    background-color: #0c0f17;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.contact-container {
    max-width: 1100px;
    width: 100%;
    display: flex;
    gap: 40px;
    border:1px solid white;
    border-radius: 12px;
    padding: 40px;
}

/* Contact Info */
.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 10px;
    font-family: Mogilte;
    font-weight: lighter;
}

.contact-info p {
    color: #cbd5f5;
    margin-bottom: 30px;
    font-family: Henotica;
    font-weight: lighter;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
}

.info-box i {
    font-size: 20px;
    color: rgb(245 245 163);
}

.social-icons a {
    margin-right: 15px;
    font-size: 22px;
    color: #fff;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #370315;
}

/* Contact Form */
.contact-form {
    flex: 1;
}

.contact-form h2 {
    margin-bottom: 25px;
    font-family: Mogilte;
    font-weight: lighter;
}

.input-box {
    position: relative;
    margin-bottom: 25px;
}

.input-box input,
.input-box textarea {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid #334155;
    border-radius: 6px;
    color: #fff;
    outline: none;
}

.input-box textarea {
    resize: none;
    height: 120px;
}

.input-box label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    transition: 0.3s;
    padding: 0 6px;
}

.input-box textarea + label {
    top: 20px;
}

.input-box input:focus + label,
.input-box input:valid + label,
.input-box textarea:focus + label,
.input-box textarea:valid + label {
    top: -8px;
    font-size: 12px;
    color: rgb(245 245 163);
}

button {
    width: 100%;
    padding: 12px;
    background: rgb(245 245 163);
    font-family: Henotica;
    font-weight: lighter;
    border: none;
    color: #020617;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #033e1d;
    color: white;
}

.success-msg {
    display: none;
    margin-top: 15px;
    color: rgb(245 245 163);
    text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
    }
}
.skills {
    background: #0c0f17;;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-size: 36px;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #94a3b8;
    margin-bottom: 50px;
}

.skills-container {
    max-width: 900px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.skill-card {
    background: #020617;
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s;
}

.skill-card:hover {
    transform: translateY(-6px);
}
p{
    font-size: 22px;
    font-family: Henotica;
}

/* Progress Bar */
.progress {
    width: 100%;
    height: 8px;
    background: #1e293b;
    border-radius: 10px;
    overflow: hidden;
}

.progress span {
    display: block;
    height: 100%;
    width: 20px;
    background: #f46c91;
    border-radius: 10px;
    transition: width 1.5s ease;
}

/* Responsive */
@media (max-width: 600px) {
    .section-title {
        font-size: 28px;
    }
}

.footer {
    background: #020617;
    color: #cbd5f5;
    text-align: center;
    padding: 20px 10px;
    border-top: 1px solid #1e293b;
}

.footer p {
    font-size: 16px;
    margin-bottom: 8px;
}
@media (max-width: 1200px) {
    .education {
        width: 90%;
    }

    .projects {
        height: auto;
    }

    .project-media {
        width: 380px;
        height: 180px;
    }
}
@media (max-width: 768px) {
    .hero,
    .main-about {
        padding: 100px 20px 60px;
    }

    .education {
        padding: 20px;
    }

    h3 {
        font-size: 2.5rem;
    }

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

    .contact-container {
        padding: 25px;
    }
}
@media (max-width: 992px) {
    .project-tags {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
}
@media (max-width: 768px) {
    .project-tags {
        justify-content: center;
        gap: 10px;
    }

    .project-tags span {
        font-size: 15px;
        padding: 8px 14px;
    }
}
.about-certificate{
    width: 100%;
    align-items: center;
    min-height: 60vh;
    background-color: #0c0f17;
}

/* MAIN SECTION */
.graphic-section {
    padding: 60px 8%;
    background-color: #0c0f17;
}

/* HEADINGS */
.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
}

/* GRID */
.grid {
    display: grid;
    gap: 30px;
    margin-bottom: 60px;
}

.logos {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.posters {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* CARD */
.card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SIZES */
.square {
    aspect-ratio: 1 / 1;
}

.portrait {
    aspect-ratio: 3 / 5;
}

/* HOVER EFFECT */
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.25);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
}
.model-section {
    padding: 50px 6%;
    background:#0c0f17;;
    text-align: center;
}

.model-title {
    font-size: 48px;
    font-weight: 700;
    color: #7fffd4;
    margin-bottom: 50px;
    text-shadow: 0 0 12px rgba(127,255,212,0.6);
}

/* Black Card Container */
.model-container {
    background: #000;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.8);
    max-width: 1100px;
    margin: 0 auto;
}

/* Image */
.model-container img {
    width: 100%;
    max-height: 550px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

/* Hover effect */
.model-container:hover img {
    transform: scale(1.03);
}

/* Responsive */
@media (max-width: 768px) {
    .model-title {
        font-size: 36px;
    }

    .model-container {
        padding: 20px;
    }
}
