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

:root {
    --primary-yellow: #ffa600;
    --dark-yellow: #FFA500;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --light-gray: #333;
    --white: white;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--black);
    color: var(--primary-yellow);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--dark-gray);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px #00ff334d;
}

nav .container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-yellow);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--primary-yellow);
    text-decoration: none;
    transition: color;
    font-weight: 550;
    
}

 .nav-links a:hover {
    color: var(--white);

}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-yellow);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: transparent;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(50px, 50px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text-content {
    flex: 1;
    text-align: left;
    color: white;
    
}

.profile-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid var(--primary-yellow);
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    animation: slideDown 1s ease-out;
    flex-shrink: 0;
}

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

/* Placeholder if no image */
.profile-photo-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid var(--primary-yellow);
    background: linear-gradient(135deg, var(--primary-yellow), var(--dark-yellow));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: 0 0 30px rgba(0, 255, 200, 0.5);
    animation: slideDown 1s ease-out;
    flex-shrink: 0;
}

.hero h1 {
    font-size: 3.6rem;
    margin-bottom: 1rem;
    animation: slideDown 1s ease-out;
}

.hero .tagline {
    font-size: 1.5rem;
    color: var(--dark-yellow);
    margin-bottom: 2rem;
    animation: slideUp 1s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-yellow);
    background-color: transparent;
    color: var(--primary-yellow);
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
}

.btn:hover {
    background-color: var(--primary-yellow);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--black);
}

.btn-primary:hover {
    background-color: var(--dark-yellow);
}

/* Section Styles */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    color: white;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-yellow);
}


/* About Section  right*/
.about-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

/* LEFT SIDE (About Text) */
.about-text {
    flex: 1;
}

/* RIGHT SIDE (Education) */
.education {
    flex: 1;
}


.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
}

.about-text p {
    margin-bottom: 1rem;
    color: #ddd;
    line-height: 1.8;
}

.about-section {
    background: #000;
    color: #fff;
    padding: 85px 10%;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}



/* Education Styling  left */
.edu-heading {
    color: #ffd700;
    margin-bottom: 30px;
    text-align: center;
 
}

.edu-track {
    border-left: 2px solid #ffd700;
    padding-left: 20px;
}

.edu-item {
    position: relative;
    margin-bottom: 30px;
}

.edu-circle {
    position: absolute;
    left: -31px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: #ffd700;
    border-radius: 50%;
}

.edu-card {
    background: #111;
    padding: 15px;
    border-radius: 8px;
    transition: 0.3s;
}

.edu-card:hover {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    transform: translateY(-5px);
}

.edu-year {
    color: #ffd700;
    font-weight: bold;
}
.edu-item h3{
    color: white;
}

.cv-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    border: 2px solid #ffd700;
    color: #ffd700;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.cv-btn:hover {
    background: #ffd700;
    color: #000;
}


/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background-color: var(--dark-gray);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--light-gray);
    transition: all 0.3s;
}

.skill-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.skill-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.skill-bar {
    background-color: var(--light-gray);
    height: 10px;
    border-radius: 5px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.skill-progress {
    background: linear-gradient(90deg, var(--primary-yellow), var(--dark-yellow));
    height: 100%;
    border-radius: 5px;
    transition: width 1s ease-out;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--dark-gray);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--light-gray);
    transition: all 0.3s;
}

.project-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--light-gray), var(--dark-gray));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-yellow);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.project-info p {
    color: #ddd;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    background-color: var(--light-gray);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary-yellow);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.project-links a:hover {
    color: var(--dark-yellow);
}

/* Experience/Timeline Section */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-yellow);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background-color: var(--dark-gray);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid var(--light-gray);
    transition: all 0.3s;
}

.timeline-content:hover {
    border-color: var(--primary-yellow);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: var(--dark-yellow);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #ddd;
}

/* Contact Section */
#contact {
    padding: 80px 20px;
}

.contact-content {
    display: flex;              /* grid hata do */
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    width: 50%;
}

.contact-info {
    width: 50%;
    margin-top: 5px;
}



.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    background-color: var(--dark-gray);
    border: 2px solid var(--light-gray);
    color: var(--primary-yellow);
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
   
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--dark-gray);
    border-radius: 10px;
    border: 2px solid var(--light-gray);
}

#statusMessage{
    margin-top:15px;
    text-align:center;
    font-size:16px;
    font-weight:600;
    min-height:20px;
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-yellow);
}

.contact-item h4 {
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: #ddd;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    position: relative;
    z-index: 9999;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-yellow);
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 9999;
    pointer-events: auto;
    cursor: pointer;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-yellow);
    transition: fill 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-yellow);
    color: var(--black);
    transform: translateY(-5px);
}

.social-icon:hover svg {
    fill: var(--black);
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    padding: 2rem;
    text-align: center;
    border-top: 2px solid var(--primary-yellow);
}

footer p {
    color: #ddd;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-yellow);
    color: var(--black);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 999;
}

.scroll-top:hover {
    background-color: var(--dark-yellow);
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-gray);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-text-content {
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .profile-photo,
    .profile-photo-placeholder {
        width: 200px;
        height: 200px;
        font-size: 5rem;
    }

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

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

    .about-container {
        flex-direction: column;
    }

    .about-text {
        width: 100%;
    }

    .education {
        width: 100%;
        margin-top: 40px;
    }

}

   @media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }

    .contact-form,
    .contact-info {
        width: 100%;
    }
}


@media (max-width: 480px) {

    .profile-photo,
    .profile-photo-placeholder {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }

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

    .btn {
        width: 100%;
    }
}

/* ============================= */
/* Portfolio Analytics Section */
/* ============================= */

.portfolio-stats{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
margin:70px auto;
max-width:1200px;
padding:20px;

}

.stat-card{

background:rgba(255,255,255,.06);
border:2px solid #FFD700;
border-radius:18px;
padding:30px;
text-align:center;
backdrop-filter:blur(12px);

transition:.4s;

box-shadow:0 0 18px rgba(255,215,0,.25);

}

.stat-card:hover{

transform:translateY(-8px) scale(1.03);

box-shadow:0 0 30px rgba(255,215,0,.6);

}

.stat-icon{

font-size:45px;
margin-bottom:15px;

}

.stat-card h3{

color:#FFD700;
font-size:22px;
margin-bottom:12px;

}

.stat-card h1{

color:white;
font-size:40px;
font-weight:bold;

}

.online{

color:#00ff66 !important;

animation:blink 1s infinite;

}

@keyframes blink{

50%{

opacity:.4;

}

}

@media(max-width:768px){

.portfolio-stats{

grid-template-columns:1fr;

}

}

/* =====================================================
   PREMIUM CERTIFICATES SECTION
===================================================== */

.certificates-section {

    width: 100%;

    padding: 110px 7%;

    background: #f7f9fc;
}


/* =====================================================
   HEADING
===================================================== */

.certificate-heading {

    max-width: 720px;

    margin: 0 auto 60px;

    text-align: center;
}


.certificate-label {

    display: inline-block;

    padding: 8px 18px;

    margin-bottom: 16px;

    border-radius: 50px;

    background: #e8edff;

    color: #4f46e5;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.certificate-heading h2 {

    margin: 0 0 15px;

    color: #111827;

    font-size: 46px;

    font-weight: 800;

    line-height: 1.2;
}


.certificate-heading p {

    max-width: 650px;

    margin: 0 auto;

    color: #64748b;

    font-size: 16px;

    line-height: 1.7;
}


/* =====================================================
   GRID
===================================================== */

.certificates-grid {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 30px;
}


/* =====================================================
   CARD
===================================================== */

.certificate-card {

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 22px;

    box-shadow:
        0 10px 35px rgba(15, 23, 42, 0.07);

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


.certificate-card:hover {

    transform: translateY(-8px);

    border-color: #c7d2fe;

    box-shadow:
        0 25px 55px rgba(79, 70, 229, 0.16);
}


/* =====================================================
   CERTIFICATE IMAGE AREA
===================================================== */

.certificate-image {

    position: relative;

    width: 100%;

    height: 420px;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eef2f7;
}


/* =====================================================
   CANVAS
===================================================== */

.pdf-canvas {

    display: block;

    max-width: 100%;

    max-height: 100%;

    width: auto;

    height: auto;

    background: #ffffff;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.08);
}


/* =====================================================
   LOADING
===================================================== */

.certificate-loading {

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    padding: 10px 18px;

    border-radius: 30px;

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

    color: #4f46e5;

    font-size: 13px;

    font-weight: 700;

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

    z-index: 2;
}


/* =====================================================
   OVERLAY
===================================================== */

.certificate-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(15, 23, 42, 0.48);

    opacity: 0;

    transition:
        opacity 0.3s ease;

    z-index: 3;
}


.certificate-card:hover
.certificate-overlay {

    opacity: 1;
}


/* =====================================================
   PREVIEW BUTTON
===================================================== */

.preview-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 13px 22px;

    border-radius: 10px;

    background: #ffffff;

    color: #111827;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.preview-btn:hover {

    background: #4f46e5;

    color: #ffffff;

    transform: scale(1.04);
}


/* =====================================================
   DETAILS
===================================================== */

.certificate-details {

    min-height: 105px;

    padding: 22px 24px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}


.certificate-number {

    display: block;

    margin-bottom: 5px;

    color: #6366f1;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;
}


.certificate-details h3 {

    margin: 0 0 5px;

    color: #111827;

    font-size: 20px;

    font-weight: 750;
}


.certificate-details p {

    margin: 0;

    color: #64748b;

    font-size: 14px;
}


/* =====================================================
   OPEN BUTTON
===================================================== */

.open-certificate {

    width: 45px;

    height: 45px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #eef2ff;

    color: #4f46e5;

    text-decoration: none;

    font-size: 20px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.open-certificate:hover {

    background: #4f46e5;

    color: #ffffff;

    transform: rotate(8deg);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .certificates-section {

        padding: 85px 5%;
    }


    .certificates-grid {

        grid-template-columns: 1fr;

        max-width: 650px;
    }


    .certificate-heading h2 {

        font-size: 40px;
    }


    .certificate-image {

        height: 450px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .certificates-section {

        padding: 70px 20px;
    }


    .certificate-heading {

        margin-bottom: 40px;
    }


    .certificate-heading h2 {

        font-size: 32px;
    }


    .certificate-heading p {

        font-size: 14px;
    }


    .certificate-image {

        height: 360px;
    }


    .certificate-details {

        padding: 18px;
    }


    .certificate-details h3 {

        font-size: 18px;
    }


    .open-certificate {

        width: 40px;

        height: 40px;
    }

}